1 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4 mtvsrd instruction in binary form.
6 2014-11-03 Andreas Schwab <schwab@suse.de>
9 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10 for less than MB_LEN_MAX use a local buffer of that size.
11 * libio/tst-fputws.c: New file.
12 * libio/Makefile (tests): Add tst-fputws.
14 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
16 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
17 the size of the fpu_fr.fpu_dregs[] array.
19 2014-11-01 Joseph Myers <joseph@codesourcery.com>
21 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
22 (__nanosleep): Do not define as alias.
23 (nanosleep): Define as alias of __nanosleep.
24 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25 __libc_nanosleep name.
27 2014-10-31 Joseph Myers <joseph@codesourcery.com>
29 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
30 install.texi in comment.
32 2014-10-31 Torvald Riegel <triegel@redhat.com>
34 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
35 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
36 ... add here and use lwsync or sync ...
37 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38 ... and add here using lwsync.
40 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
42 * elf/dl-machine-reject-phdr.h: New file.
43 * elf/dl-load.c: #include that.
44 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
45 if that returned true.
47 2014-10-31 Roland McGrath <roland@hack.frob.com>
50 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
51 gen-as-const-headers chunk. Add a big scare comment after the last
52 safe place to touch before-compile.
54 2014-10-31 Joseph Myers <joseph@codesourcery.com>
56 * manual/install.texi (Tools for Compilation): Update autoconf
58 * INSTALL: Regenerated.
60 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
61 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
62 (__libc_pselect): Likewise.
65 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
66 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
67 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70 2014-10-31 Torvald Riegel <triegel@redhat.com>
72 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
73 correct barrier instruction.
74 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
76 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
79 2014-10-30 Roland McGrath <roland@hack.frob.com>
81 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
82 after defining inlines. Instead, just use parens to defeat macro
83 expansion of __isctype in its declaration.
85 2014-10-30 Joseph Myers <joseph@codesourcery.com>
87 * include/sys/uio.h (__libc_readv): Remove declaration.
88 (__libc_writev): Likewise.
89 * misc/readv.c (__libc_readv): Rename to __readv.
90 (__readv): Do not define as alias.
91 (readv): Define as alias of __readv.
92 * misc/writev.c (__libc_writev): Rename to __writev.
93 (__writev): Do not define as alias.
94 (writev): Define as alias of __writev.
95 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
96 (__readv): Do not define as alias.
97 (readv): Define unconditionally as alias of __readv.
98 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
99 (__writev): Do not define as alias.
100 (writev): Define unconditionally as alias of __writev.
101 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
103 (writev): Do not define __libc_writev name.
105 2014-10-30 Roland McGrath <roland@hack.frob.com>
107 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
108 (convert_charseq): New function, broken out of ...
109 (use_from_charmap): ... here. Call it.
110 (use_to_charmap): Use convert_charseq and free instead of duplicating
111 its code with a variable-length stack struct.
113 2014-10-30 Joseph Myers <joseph@codesourcery.com>
115 * include/fcntl.h (__libc_creat): Remove declaration.
116 * io/creat.c (__libc_creat): Rename to creat.
117 (creat): Do not define as alias.
118 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
119 of creat instead of __libc_creat.
120 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
122 (creat): Do not define as alias.
123 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
125 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
127 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
130 2014-10-29 Carlos O'Donell <carlos@redhat.com>
132 * manual/llio.texi: Add comments discussing why write() may be
133 considered MT-unsafe on Linux.
135 2014-10-28 Carlos O'Donell <carlos@redhat.com>
137 * dl-load.c (local_strdup): Remove.
138 (expand_dynamic_string_token): Use __strdup.
139 (decompose_rpath): Likewise.
140 (_dl_map_object): Likewise.
142 2014-10-28 Joseph Myers <joseph@codesourcery.com>
145 * sysdeps/generic/unwind-dw2-fde.c
146 (__register_frame_info_bases_internal): Do not declare.
147 (__register_frame_info_table_bases_internal): Likewise.
148 (__deregister_frame_info_bases_internal): Likewise.
149 (__register_frame_info_bases): Declare and use hidden_proto before
150 definition. Use hidden_def instead of INTDEF.
151 (__register_frame_info_table_bases): Likewise.
152 (__deregister_frame_info_bases): Likewise.
153 (__register_frame_info): Do not use INTUSE.
154 (__register_frame): Likewise.
155 (__register_frame_info_table): Likewise.
156 (__register_frame_table): Likewise.
157 (__deregister_frame_info): Likewise.
158 (__deregister_frame): Likewise.
160 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
162 * sysdeps/unix/sysv/linux/arm/kernel-features.h
163 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
165 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
167 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
170 2014-10-27 Joseph Myers <joseph@codesourcery.com>
173 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
174 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
175 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
176 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
177 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
178 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
179 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
180 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
181 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
182 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
183 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
184 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
185 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
187 (setfsuid): Likewise.
188 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
189 (setfsuid): Likewise.
190 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
191 (setfsuid): Likewise.
192 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
194 (setfsuid): Likewise.
195 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
196 (setfsuid): Likewise.
197 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
199 (setfsuid): Likewise.
201 2014-10-27 Andreas Schwab <schwab@suse.de>
204 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
205 check for Slow_SSE4_2 feature bit.
206 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
207 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
208 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
209 Likewise. Fix check for Fast_Unaligned_Load feature bit.
211 2014-10-24 Roland McGrath <roland@hack.frob.com>
213 * configure.ac: Validate compiler version with a empirical test of
214 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
216 * configure: Regenerated.
218 * inet/htons.c (htons): Prototypify.
219 * inet/htonl.c (htonl): Likewise.
221 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
223 * string/strncat.c (strncat): Improve performance by using strlen.
225 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
227 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
229 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
231 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
232 Call libc_fetestexcept_aarch64.
234 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
236 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
237 Call libc_feholdexcept_aarch64.
239 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
241 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
242 Call get_rounding_mode.
244 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
246 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
249 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
251 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
254 2014-10-24 Joseph Myers <joseph@codesourcery.com>
257 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
258 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
259 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
260 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
261 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
262 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
263 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
264 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
265 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
266 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
267 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
268 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
269 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
270 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
271 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
272 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
273 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
274 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
275 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
276 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
277 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
278 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
279 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
280 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
281 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
282 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
283 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
284 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
285 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
286 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
287 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
288 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
289 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
290 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
291 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
292 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
293 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
294 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
295 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
296 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
297 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
302 (getresgid): Likewise.
303 (getresuid): Likewise.
304 (getgroups): Likewise.
305 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
309 (getresgid): Likewise.
310 (getresuid): Likewise.
311 (getgroups): Likewise.
312 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
316 (getresgid): Likewise.
317 (getresuid): Likewise.
318 (getgroups): Likewise.
319 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
324 (getresgid): Likewise.
325 (getresuid): Likewise.
326 (getgroups): Likewise.
327 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
331 (getresgid): Likewise.
332 (getresuid): Likewise.
333 (getgroups): Likewise.
334 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
339 (getgroups): Likewise.
342 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
343 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
344 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
345 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
346 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
347 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
348 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
349 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
350 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
351 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
352 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
353 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
354 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
356 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
359 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
363 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
366 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
371 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
373 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
376 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
378 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
381 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
383 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
384 Remove unused include.
386 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
388 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
389 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
390 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
391 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
393 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
394 Helge Deller <deller@gmx.de>
397 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
398 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
399 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
401 2014-10-23 Joseph Myers <joseph@codesourcery.com>
404 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
405 Remove macro definition.
406 (__ashrdi3_v_glibc20): Likewise.
407 (__lshrdi3_v_glibc20): Likewise.
408 (__cmpdi2_v_glibc20): Likewise.
409 (__ucmpdi2_v_glibc20): Likewise.
410 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
411 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
412 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
413 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
414 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
415 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
417 2014-10-22 Roland McGrath <roland@hack.frob.com>
419 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
420 old GNU extension [0] syntax.
421 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
422 alloca rather than an array member with variable length.
423 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
424 * nscd/nscd.c (invalidate_db): New function, broken out of ...
425 (parse_opt): ... here. Likewise use alloca there.
426 Validate the -i argument before checking for rootness.
427 (send_shutdown): New function, broken out of ...
428 (parse_opt): ... here.
430 2014-10-22 Roland McGrath <roland@hack.frob.com>
432 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
433 macro to get at the _rt_local_ro field.
434 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
435 ([PIC] case) or _dl_hwcap ([!PIC] case).
436 * sysdeps/arm/setjmp.S: Likewise.
438 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
439 * sysdeps/arm/configure.ac: New check to define it.
440 * sysdeps/arm/configure: Regenerated.
441 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
442 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
443 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
444 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
445 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
446 Use move/movt pair instead of a load.
447 (LDST_GLOBAL): Macro removed.
448 (LDR_GLOBAL): New macro replaces it.
449 (LDR_HIDDEN): New macro.
450 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
451 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
453 * setjmp/tst-setjmp-static.c: New file.
454 * setjmp/Makefile (tests): Add it.
455 (tests-static): New variable.
457 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
460 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
462 2014-10-21 Joseph Myers <joseph@codesourcery.com>
465 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
467 2014-10-21 Roland McGrath <roland@hack.frob.com>
469 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
471 2014-10-20 Roland McGrath <roland@hack.frob.com>
473 * io/fts.c (dirent_not_directory): New function.
474 (fts_build): Call it.
476 2014-10-20 Roland McGrath <roland@hack.frob.com>
478 * nptl/version.c (__nptl_main): Use normal __write rather than
480 (banner): Update copyright years.
482 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
484 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
485 * nptl/pthread_cond_timedwait.c: Likewise.
486 * nptl/pthread_mutex_timedlock.c: Likewise.
487 * nptl/sem_timedwait.c: Likewise.
489 * sysdeps/nptl/bits/libc-lock.h
490 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
491 (__libc_lock_init_recursive): Return void, not 0.
492 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
493 (__libc_rwlock_init): Likewise.
494 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
496 2014-10-20 Torvald Riegel <triegel@redhat.com>
499 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
500 (__pthread_once_slow): ... here.
501 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
502 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
504 2014-10-20 Torvald Riegel <triegel@redhat.com>
507 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
508 __PTHREAD_ONCE_FORK_GEN_INCR): New.
509 * sysdeps/nptl/fork.c (__libc_fork): Use them.
510 * nptl/pthread_once.c (__pthread_once): Likewise.
513 2014-10-20 Joseph Myers <joseph@codesourcery.com>
516 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
518 (writev): Use __libc_writev as strong name.
519 * sysdeps/unix/sysv/linux/readv.c: Remove file.
520 * sysdeps/unix/sysv/linux/writev.c: Likewise.
522 2014-10-17 Roland McGrath <roland@hack.frob.com>
524 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
526 * sysdeps/i386/nptl/tls.h
527 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
528 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
530 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
531 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
532 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
533 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
534 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
535 Call CHECK_THREAD_SYSINFO instead of doing an assert.
537 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
538 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
540 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
542 (__pthread_mutex_init): ... here. Call it.
543 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
544 Conditionalize PI cases on [__NR_futex].
545 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
546 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
547 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
549 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
550 conditional on [SIGSETXID].
551 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
552 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
553 is defined. Likewise for SIGSETXID.
554 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
555 Conditionalize definitions on [SIGSETXID].
556 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
557 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
558 unblocking on [SIGCANCEL].
560 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
561 [__NR_set_robust_list].
563 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
565 * string/strcoll_l.c (get_next_seq): Fix up formatting.
566 (do_compare): Likewise.
568 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
571 * string/strcoll_l.c: Don't include stdio.h.
572 (coll_seq): Remove members idxarr and rulearr.
573 (get_next_seq_cached): Remove function.
574 (get_next_seq): Likewise.
575 (get_next_seq_nocache): Rename to get_next_seq.
576 (do_compare): Remove function.
577 (do_compare_nocache): Rename to do_compare.
578 (STRCOLL): Remove weight and rules cache.
580 2014-10-16 Roland McGrath <roland@hack.frob.com>
582 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
583 * sysdeps/arm/sfp-machine.h: ... to here.
584 * sysdeps/arm/Implies: Remove arm/soft-fp.
586 2014-10-14 Joseph Myers <joseph@codesourcery.com>
588 * conform/data/sys/utsname.h-data (*_t): Allow.
589 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
590 [POSIX] (WEXITED): Do not expect constant.
591 [POSIX] (WSTOPPED): Likewise.
592 [POSIX] (WNOHANG): Likewise.
593 [POSIX] (WNOWAIT): Likewise.
594 [POSIX] (siginfo_t): Do not expect type or elements.
595 [POSIX] (pid_t): Do not expect type.
596 [POSIX] (signal.h): Do not allow header.
597 [POSIX] (sys/resource.h): Likewise.
598 [POSIX] (si_*): Do not allow pattern.
599 [POSIX] (W*): Likewise.
600 [POSIX] (P_*): Likewise.
601 [POSIX] (BUS_*): Likewise.
602 [POSIX] (CLD_*): Likewise.
603 [POSIX] (FPE_*): Likewise.
604 [POSIX] (ILL_*): Likewise.
605 [POSIX] (POLL_*): Likewise.
606 [POSIX] (SEGV_*): Likewise.
607 [POSIX] (SI_*): Likewise.
608 [POSIX] (TRAP_*): Likewise.
609 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
612 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
615 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
616 infinite loop when __recvmsg returns 0.
618 2014-10-10 Joseph Myers <joseph@codesourcery.com>
620 * CANCEL-FCT-WAIVE: Remove file.
621 * CANCEL-FILE-WAIVE: Likewise.
624 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
625 instead of INTVARDEF.
626 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
627 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
628 rtld_hidden_data_def instead of INTVARDEF.
629 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
630 * elf/dl-deps.c (expand_dst): Likewise.
631 * elf/dl-load.c (_dl_dst_count): Likewise.
632 (_dl_dst_substitute): Likewise.
633 (decompose_rpath): Likewise.
634 (_dl_init_paths): Likewise.
635 (open_path): Likewise.
636 (_dl_map_object): Likewise.
637 * elf/rtld.c (dl_main): Likewise.
638 (process_dl_audit): Likewise.
639 (process_envvars): Likewise.
640 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
642 (__libc_enable_secure): Use rtld_hidden_proto.
644 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
647 (add_path): New function broken out of _dl_rtld_di_serinfo.
648 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
650 2014-10-09 Joseph Myers <joseph@codesourcery.com>
652 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
653 parentheses around macro arguments.
654 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
655 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
656 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
657 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
658 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
659 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
660 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
661 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
662 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
663 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
664 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
665 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
666 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
667 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
668 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
669 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
670 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
671 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
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 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
691 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
692 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
693 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
694 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
695 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
696 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
697 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
698 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
699 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
700 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
701 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
702 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
703 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
704 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
705 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
706 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
707 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
708 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
709 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
710 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
711 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
712 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
713 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
714 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
715 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
716 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
717 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
718 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
719 (_FP_FRAC_SRS_1): Likewise.
720 (_FP_FRAC_CLZ_1): Likewise.
721 (_FP_MUL_MEAT_1_imm): Likewise.
722 (_FP_MUL_MEAT_1_wide): Likewise.
723 (_FP_MUL_MEAT_1_hard): Likewise.
724 (_FP_SQRT_MEAT_1): Likewise.
725 (_FP_FRAC_ASSEMBLE_1): Likewise.
726 (_FP_FRAC_DISASSEMBLE_1): Likewise.
727 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
728 (__FP_CLZ_2): Likewise.
729 (_FP_MUL_MEAT_2_wide): Likewise.
730 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
731 (_FP_MUL_MEAT_2_gmp): Likewise.
732 (_FP_MUL_MEAT_2_120_240_double): Likewise.
733 (_FP_SQRT_MEAT_2): Likewise.
734 (_FP_FRAC_ASSEMBLE_2): Likewise.
735 (_FP_FRAC_DISASSEMBLE_2): Likewise.
736 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
737 (_FP_FRAC_CLZ_4): Likewise.
738 (_FP_MUL_MEAT_4_wide): Likewise.
739 (_FP_MUL_MEAT_4_gmp): Likewise.
740 (_FP_SQRT_MEAT_4): Likewise.
741 (_FP_FRAC_ASSEMBLE_4): Likewise.
742 (_FP_FRAC_DISASSEMBLE_4): Likewise.
743 * soft-fp/op-common.h (_FP_CMP): Likewise.
744 (_FP_CMP_EQ): Likewise.
745 (_FP_CMP_UNORD): Likewise.
746 (_FP_TO_INT): Likewise.
747 (_FP_FROM_INT): Likewise.
748 [!__FP_CLZ] (__FP_CLZ): Likewise.
749 (_FP_DIV_HELP_imm): Likewise.
750 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
752 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
753 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
754 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
755 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
756 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
757 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
758 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
759 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
761 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
762 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
763 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
764 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
765 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
766 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
767 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
768 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
769 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
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 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
788 (FP_UNPACK_RAW_SP): Likewise.
789 (FP_PACK_RAW_S): Likewise.
790 (FP_PACK_RAW_SP): Likewise.
791 (FP_UNPACK_S): Likewise.
792 (FP_UNPACK_SP): Likewise.
793 (FP_UNPACK_SEMIRAW_S): Likewise.
794 (FP_UNPACK_SEMIRAW_SP): Likewise.
795 (FP_PACK_S): Likewise.
796 (FP_PACK_SP): Likewise.
797 (FP_PACK_SEMIRAW_S): Likewise.
798 (FP_PACK_SEMIRAW_SP): Likewise.
799 (_FP_SQRT_MEAT_S): Likewise.
800 (FP_CMP_S): Likewise.
801 (FP_CMP_EQ_S): Likewise.
802 (FP_CMP_UNORD_S): Likewise.
803 (FP_TO_INT_S): Likewise.
804 (FP_FROM_INT_S): Likewise.
806 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
808 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
809 (FP_EX_INVALID_IMZ): Likewise.
810 (FP_EX_INVALID_IMZ_FMA): Likewise.
811 (FP_EX_INVALID_ISI): Likewise.
812 (FP_EX_INVALID_ZDZ): Likewise.
813 (FP_EX_INVALID_IDI): Likewise.
814 (FP_EX_INVALID_SQRT): Likewise.
815 (FP_EX_INVALID_CVI): Likewise.
816 (FP_EX_INVALID_VC): Likewise.
817 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
818 "invalid" exceptions.
819 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
820 (_FP_ADD_INTERNAL): Likewise.
824 (_FP_CMP_CHECK_NAN): Likewise.
825 (_FP_SQRT): Likewise.
826 (_FP_TO_INT): Likewise.
827 (FP_EXTEND): Likewise.
829 2014-10-09 Allan McRae <allan@archlinux.org>
831 * po/fr.po: Update French translation from translation project.
833 2014-10-09 Joseph Myers <joseph@codesourcery.com>
836 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
838 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
839 (__cxa_atexit): Use libc_hidden_proto.
840 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
843 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
845 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
846 [!_ISOMAC] (__iswspace_l_internal): Likewise.
847 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
848 [!_ISOMAC] (__iswctype_internal): Likewise.
849 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
850 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
852 (fcntl): Remove __fcntl_internal alias.
853 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
854 __connect_internal alias.
855 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
858 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
859 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
861 (_FP_CHECK_FLUSH_ZERO): New macro.
862 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
864 (_FP_CMP_EQ): Likewise.
865 (_FP_TO_INT): Do not set inexact for subnormal arguments if
867 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
868 (FP_TRUNC): Likewise.
870 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
871 treated as invalid conversion, not as normal exponent.
873 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
874 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
875 (_FP_CMP_EQ): Likewise.
876 (_FP_CMP_UNORD): Likewise.
877 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
878 (FP_CMP_EQ_D): Likewise.
879 (FP_CMP_UNORD_D): Likewise.
880 * soft-fp/extended.h (FP_CMP_E): Likewise.
881 (FP_CMP_EQ_E): Likewise.
882 (FP_CMP_UNORD_E): Likewise.
883 * soft-fp/quad.h (FP_CMP_Q): Likewise.
884 (FP_CMP_EQ_Q): Likewise.
885 (FP_CMP_UNORD_Q): Likewise.
886 * soft-fp/single.h (FP_CMP_S): Likewise.
887 (FP_CMP_EQ_S): Likewise.
888 (FP_CMP_UNORD_S): Likewise.
889 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
890 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
891 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
892 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
893 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
894 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
895 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
896 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
897 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
898 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
899 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
900 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
901 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
903 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
905 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
906 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
908 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
910 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
911 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
912 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
913 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
915 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
917 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
918 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
920 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
922 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
923 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
924 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
925 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
928 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
929 a subnormal result, set the underflow exception if trapping on
930 underflow is enabled.
931 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
932 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
933 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
935 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
936 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
937 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
938 * soft-fp/extendxftf2.c (__extendxftf2): Use
939 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
941 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
942 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
943 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
944 FP_HANDLE_EXCEPTIONS.
945 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
946 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
947 FP_HANDLE_EXCEPTIONS.
948 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
949 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
950 FP_HANDLE_EXCEPTIONS.
951 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
952 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
953 FP_HANDLE_EXCEPTIONS.
955 2014-10-08 Joseph Myers <joseph@codesourcery.com>
958 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
959 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
961 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
962 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
964 (__adjtimex): Define using libc_hidden_ver.
965 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
967 (ntp_gettime): Call __adjtimex directly.
968 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
970 (ntp_gettimex): Call __adjtimex directly.
971 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
972 __adjtimex_internal alias.
974 2014-10-08 Roland McGrath <roland@hack.frob.com>
977 * nscd/nscd.c (more_help): Rewrite list of tables collection
978 using xstrdup and asprintf.
980 * nscd/nscd_conf.c: Remove local xstrdup declaration.
982 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
983 Roland McGrath <roland@hack.frob.com>
985 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
986 (do_lookup_unique): ... local function 'enter' here; update callers.
988 2014-10-06 Joseph Myers <joseph@codesourcery.com>
990 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
991 compat_symbol calls on [SHARED].
992 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
993 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
995 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
996 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
997 (oldsetrlimit): Remove.
998 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1000 (lchown): New syscall entry.
1001 (oldsetrlimit): Remove.
1002 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1003 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1004 (oldsetrlimit): Remove.
1005 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1008 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1009 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1010 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1011 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1012 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1013 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1015 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1020 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1022 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1023 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1024 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1025 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1026 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1028 (__old_sem_post): Likewise.
1030 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1032 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1033 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1034 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1035 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1036 Use INLINE_VSYSCALL macro.
1037 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1038 __vdso_clock_gettime.
1039 * sysdeps/unix/sysv/linux/tile/init-first.c
1040 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1041 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1042 __vdso_clock_gettime.
1044 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1045 to set up frame more cleanly.
1047 * sysdeps/tile/memcmp.c: New file.
1049 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1051 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1052 * sysdeps/tile/tilegx/strcasestr.c: New file.
1053 * sysdeps/tile/tilegx/strnlen.c: New file.
1054 * sysdeps/tile/tilegx/strstr.c: New file.
1056 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1058 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
1060 * nptl/tst-setuid3.c: Write errors to stdout.
1062 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1065 (preload): New functions broken out of _dl_map_object_deps.
1066 (_dl_map_object_deps): Remove a nested function. Update call sites.
1068 2014-10-01 Joseph Myers <joseph@codesourcery.com>
1071 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1072 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1074 2014-10-01 Steve Ellcey <sellcey@mips.com>
1076 * sysdeps/mips/strcmp.S: New.
1078 2014-09-30 Joseph Myers <joseph@codesourcery.com>
1081 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1083 (mkdirat): Likewise.
1084 (readlinkat): Likewise.
1085 (renameat): Likewise.
1086 (symlinkat): Likewise.
1087 (unlinkat): Likewise.
1088 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1089 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1090 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1091 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1092 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1093 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1094 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1096 2014-09-30 Will Newton <will.newton@linaro.org>
1098 * math/math.h: Define long double math functions if
1099 _LIBC_TEST is defined.
1100 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1102 * localedata/Makefile: Move assignment to tests-special
1103 into an ifdef testing run-built-tests.
1104 * timezone/Makefile: Likewise.
1106 2014-09-29 Joseph Myers <joseph@codesourcery.com>
1108 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1109 with $(BASH) not $(SHELL).
1111 2014-09-29 Carlos O'Donell <carlos@redhat.com>
1112 Matthew LeGendre <legendre1@llnl.gov>
1115 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1118 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1120 * stdio-common/printf_fp.c
1121 (hack_digit): New function, broken out of ...
1122 (__printf_fp): ... local function here. Update call sites.
1123 hack_digit now takes an additional parameter that is a pointer
1124 to a struct of the referenced locals. Those locals moved inside
1125 the struct and references updated.
1127 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1129 * aclocal.m4: Require autoconf 2.69.
1130 * configure: Regenerated.
1131 * sysdeps/aarch64/configure: Likewise.
1132 * sysdeps/alpha/configure: Likewise.
1133 * sysdeps/arm/armv7/configure: Likewise.
1134 * sysdeps/arm/configure: Likewise.
1135 * sysdeps/ia64/configure: Likewise.
1136 * sysdeps/mach/configure: Likewise.
1137 * sysdeps/mips/configure: Likewise.
1138 * sysdeps/s390/configure: Likewise.
1139 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1142 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1144 * sysdeps/ia64/configure.ac: Likewise.
1146 2014-09-26 Joseph Myers <joseph@codesourcery.com>
1148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1149 specify symbol version for ld.so. Do not include entry for
1151 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1152 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1153 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1156 * Makeconfig [$(build-shared) = yes]
1157 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1159 [$(build-shared) = yes && $(soversions.mk-done) = t]
1160 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1161 [$(build-shared) = yes && $(soversions.mk-done) = t]
1162 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1164 [$(build-shared) = yes && $(soversions.mk-done) = t]
1165 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1167 [$(build-shared) = yes && $(soversions.mk-done) = t]
1168 (common-generated): Don't append gnu/lib-names.h and
1169 gnu/lib-names.stmp here.
1170 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1171 (lib-names-h-abi): New variable.
1172 [$(build-shared) = yes && $(soversions.mk-done) = t]
1173 (lib-names-stmp-abi): Likewise.
1174 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1175 abi-variants] (before-compile): Append
1176 $(common-objpfx)$(lib-names-h-abi).
1177 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1178 abi-variants] (common-generated): Append gnu/lib-names.h.
1179 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1180 abi-variants] (install-others-nosubdir): Depend on
1181 $(inst_includedir)/$(lib-names-h-abi).
1182 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1183 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1184 [$(build-shared) = yes && $(soversions.mk-done) = t]
1185 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1186 [$(build-shared) = yes && $(soversions.mk-done) = t]
1187 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1188 [$(build-shared) = yes && $(soversions.mk-done) = t]
1189 (common-generated): Append $(lib-names-h-abi) and
1190 $(lib-names-stmp-abi).
1191 * scripts/lib-names.awk: Do not handle multi being set.
1192 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1194 (abi-lp64_be-ld-soname): Likewise.
1195 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1197 (abi-hard-ld-soname): Likewise.
1198 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1199 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1201 (abi-o32_hard-ld-soname): Likewise.
1202 (abi-o32_soft_2008-ld-soname): Likewise.
1203 (abi-o32_hard_2008-ld-soname): Likewise.
1204 (abi-n32_soft-ld-soname): Likewise.
1205 (abi-n32_hard-ld-soname): Likewise.
1206 (abi-n32_soft_2008-ld-soname): Likewise.
1207 (abi-n32_hard_2008-ld-soname): Likewise.
1208 (abi-n64_soft-ld-soname): Likewise.
1209 (abi-n64_hard-ld-soname): Likewise.
1210 (abi-n64_soft_2008-ld-soname): Likewise.
1211 (abi-n64_hard_2008-ld-soname): Likewise.
1212 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1214 (abi-64-v2-ld-soname): Likewise.
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1217 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1219 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1221 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1223 (abi-64-ld-soname): Likewise.
1224 (abi-x32-ld-soname): Likewise.
1225 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1227 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1229 2014-09-23 Joseph Myers <joseph@codesourcery.com>
1232 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1233 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1234 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1235 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1236 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1237 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1238 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1239 syscall entry for GLIBC_2.2 symbol version.
1240 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1243 (setrlimit): Likewise.
1244 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1247 2014-09-23 Will Newton <will.newton@linaro.org>
1249 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1250 _LINUX_ARM_SYSDEP_H include guard too.
1251 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1254 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1256 * sysdeps/unix/sysv/linux/eventfd.c:
1257 Make first argument unsigned.
1258 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1259 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1261 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
1263 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1264 * socket/sys/socket.h: Likewise
1265 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1267 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1269 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1271 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
1273 * time/tst-ftime.c: New test.
1274 * time/Makefile (tests): Add tst-ftime.
1276 2014-09-17 Joseph Myers <joseph@codesourcery.com>
1278 * soft-fp/extended.h: Fix comment formatting.
1279 * soft-fp/op-1.h: Likewise.
1280 * soft-fp/op-2.h: Likewise.
1281 * soft-fp/op-4.h: Likewise.
1282 * soft-fp/op-8.h: Likewise.
1283 * soft-fp/op-common.h: Likewise.
1284 * soft-fp/soft-fp.h: Likewise.
1286 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1288 2014-09-16 Joseph Myers <joseph@codesourcery.com>
1291 * Makeconfig (soversions-default-setname): Remove variable.
1292 ($(common-objpfx)soversions.i): Don't pass default_setname to
1294 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1295 oldest_abi to abi-versions.awk.
1296 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1297 * config.make.in (oldest-abi): Remove variable.
1298 * configure.ac (--enable-oldest-abi): Remove configure option.
1299 * configure: Regenerated.
1300 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1302 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1303 * scripts/soversions.awk: Do not handle default_setname variable.
1304 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1306 * sysdeps/mach/hurd/configure: Regenerated.
1307 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1309 * sysdeps/unix/sysv/linux/configure: Regenerated.
1311 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1313 * elf/Makefile (CFLAGS-interp.c): Remove.
1314 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1316 * elf/interp.c: Include generated runtime-linker.h
1318 * Makerules (lib%.so): Don't include $(+interp) in
1320 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1321 * dlfcn/eval.c: Remove file.
1323 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1327 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1331 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1333 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1334 Jakub Jelinek <jakub@redhat.com>
1337 * libio/stdio.h: Check definition of __fortify_function
1338 instead of __extern_always_inline to include bits/stdio2.h.
1339 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1340 check if __extern_always_inline is defined.
1341 [__USE_MISC || __USE_XOPEN]: Likewise.
1342 [__USE_ISOC99] Likewise.
1343 * misc/sys/cdefs.h (__fortify_function): Define only if
1344 __extern_always_inline is defined.
1345 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1346 __extern_always_inline and __extern_inline only for g++-4.3
1347 and newer or a compatible gcc.
1349 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1352 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1353 last change to handle zero prefix length.
1355 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1357 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1360 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1363 2014-09-13 Allan McRae <allan@archlinux.org>
1365 * po/ru.po: Update Russian translation from translation project.
1367 2014-09-12 Roland McGrath <roland@hack.frob.com>
1369 * locale/programs/locale.c (show_locale_vars): Inline local function
1370 into its sole call site. Clean up some style nits.
1371 (print_item): New function, broken out of ...
1372 (show_info): ... local function here. Clean up style nits.
1374 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1376 (set_class_defaults): ... local function set_default here.
1377 Define set_default as a macro locally to pass constant parameters.
1378 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1379 rather than a shared local.
1381 * stdlib/rpmatch.c (try): New function, broken out of ...
1382 (rpmatch): ... local function here. Also, prototypify definition.
1384 2014-09-12 Joseph Myers <joseph@codesourcery.com>
1386 * scripts/soversions.awk: Do not handle configuration names.
1387 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1388 vendor and os variables to soversions.awk.
1389 * configure.ac: Do not modify gnu-* host_os.
1390 * configure: Regenerated
1391 * shlib-versions: Remove first column with configuration names.
1392 * nptl/shlib-versions: Likewise.
1393 * nptl_db/shlib-versions: Likewise.
1394 * sysdeps/hppa/shlib-versions: Likewise.
1395 * sysdeps/m68k/shlib-versions: Likewise.
1396 * sysdeps/mach/hurd/shlib-versions: Likewise.
1397 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1398 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1399 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1400 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1401 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1402 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1403 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1404 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1407 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1408 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1409 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1410 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1411 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1412 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1413 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1414 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1417 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1420 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1422 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1424 * shlib-versions: Remove OS-specific entries. Moved to files in
1426 * sysdeps/mach/hurd/shlib-versions: New file.
1427 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1429 * nptl/shlib-versions: Remove architecture-specific entries.
1430 Moved to files in sysdeps.
1431 * shlib-versions: Likewise.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1434 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1435 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1436 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1437 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1439 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1440 (UDP_NO_CHECK6_RX): Likewise.
1442 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1444 * sysdeps/posix/sysconf.c (__sysconf): Spell
1445 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1447 2014-08-12 Florian Weimer <fweimer@redhat.com>
1449 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1451 * iconv/Versions (__gconv_transliterate): Export for use from
1453 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1454 (struct __gconv_trans_data, __gconv_trans_fct,
1455 __gconv_trans_context_fct, __gconv_trans_query_fct,
1456 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1458 (struct __gconv_step_data): Remove __trans member.
1459 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1460 longer hidden. Remove unused trans_data argument.
1461 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1462 (__gconv_translit_find): Remove declaration.
1463 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1465 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1466 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1467 trans_data argument. Add hidden definition.
1468 (__gconv_translit_find): Remove.
1469 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1470 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1471 * iconv/skeleton.c: Remove transliteration initialization.
1472 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1473 __gconv_step_data initialization.
1474 * libio/iofwide.c (__libio_translit_): Remove.
1475 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1476 * wcsmbs/btowc.c (__btowc): Likewise.
1477 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1478 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1479 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1480 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1481 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1482 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1483 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1484 * wcsmbs/wctob.c (wctob): Likewise.
1486 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1489 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1490 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1492 * sysdeps/x86/Makefile: Adjust.
1494 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1495 Roland McGrath <roland@hack.frob.com>
1497 * locale/weight.h: Add include guard.
1498 (findidx): Make static rather than auto; take new parameters
1499 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1500 * locale/weightwc.h: Likewise.
1501 * posix/fnmatch_loop.c
1502 (FCT): Change type of EXTRA from int32_t to wint_t.
1503 Don't include either header inside the function.
1504 Call FINDIDX rather than findidx, and pass new arguments.
1505 #undef FINDIDX at the end of the file.
1506 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1507 FINDIDX before including fnmatch_loop.c for the non-wide version.
1508 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1509 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1510 for the wide version.
1511 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1512 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1513 Pass new arguments to findidx.
1514 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1515 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1516 Don't #include it inside the function. Pass new arguments to findidx.
1517 * posix/regex_internal.h
1518 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1519 (re_string_elem_size_at): Don't #include it inside the function.
1520 Pass new arguments to findidx.
1521 * string/strcoll_l.c: #include WEIGHT_H at top level.
1522 (get_next_seq): Don't #include it inside the function.
1523 Pass new arguments to findidx.
1524 (get_next_seq_nocache): Likewise.
1525 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1526 (STRXFRM): Don't #include it inside the function.
1527 Pass new arguments to findidx.
1529 2014-09-11 Florian Weimer <fweimer@redhat.com>
1532 * malloc/malloc.c (unlink): Turn asserts into a call to
1535 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
1538 * libio/wfileops (do_ftell_wide): Free OUT.
1540 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1542 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1544 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1547 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1548 group if the current group is empty.
1550 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1552 * benchtests/bench-memset.c (test_main): Add more test from size
1553 from 32 to 512 bytes.
1554 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1555 Add POWER8 memset object.
1556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1557 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1558 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1560 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1562 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1563 multiarch POWER8 memset optimization.
1564 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1565 POWER8 memset optimization.
1567 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1568 Remove bzero multiarch objects.
1569 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1570 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1571 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1572 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1574 [__bzero]: Redefine to specific name.
1575 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1576 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1577 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1579 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1580 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1582 2014-09-10 Florian Weimer <fweimer@redhat.com>
1584 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1585 warnings into errors.
1587 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1588 __cxa_thread_atexit_impl prototype.
1590 2014-09-09 Steve Ellcey <sellcey@mips.com>
1592 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1593 Fix capitalization of error message.
1595 2014-09-09 Steve Ellcey <sellcey@mips.com>
1597 * sysdeps/mips/preconfigure: Modify ABI tests.
1599 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1601 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1603 2014-09-07 Roland McGrath <roland@hack.frob.com>
1604 Carlos O'Donell <carlos@systemhalted.org>
1606 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1607 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1608 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1609 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1610 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1611 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1612 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1613 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1614 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1615 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1616 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1617 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1618 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1619 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1620 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1621 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1622 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1623 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1624 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1625 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1626 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1627 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1628 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1629 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1630 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1631 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1632 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1633 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1634 Deconditionalize the code that was previously under [RESET_PID].
1635 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1636 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1637 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1638 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1641 2014-09-08 Allan McRae <allan@archlinux.org>
1643 * version.h (RELEASE): Set to "development".
1644 (VERSION): Set to "2.20.90"
1646 2014-09-07 Allan McRae <allan@archlinux.org
1648 * version.h (RELEASE): Set to "stable".
1649 (VERSION): Set to "2.20"
1650 * include/features.h (__GLIBC_MINOR__): Set to 20.
1652 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1655 * po/ko.po: Update Korean translation from translation project.
1657 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1660 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1661 macro for handling signed relocations.
1663 2014-09-03 Florian Weimer <fweimer@redhat.com>
1666 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1667 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1669 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1670 * iconvdata/ibm935.c (BODY): Likewise.
1671 * iconvdata/ibm937.c (BODY): Likewise.
1672 * iconvdata/ibm939.c (BODY): Likewise.
1673 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1675 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1677 * iconvdata/run-iconv-test.sh: New test loop for checking for
1680 2014-09-02 Khem Raj <raj.khem@gmail.com>
1682 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1685 2014-09-01 Allan McRae <allan@archlinux.org>
1687 * po/eo.po: Update Esperanto translation from translation project.
1689 * po/ca.po: Update Catalan translation from translation project.
1691 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1693 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1696 2014-08-27 Mark Wielaard <mjw@redhat.com>
1699 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1700 to call set_thread_area instead of hand written asm.
1701 (__NR_set_thread_area): Removed define.
1702 (TLS_FLAG_WRITABLE): Likewise.
1703 (__ASSUME_SET_THREAD_AREA): Remove check.
1704 (TLS_EBX_ARG): Remove define.
1705 (TLS_LOAD_EBX): Likewise.
1707 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1709 Simplify atomicity of socket creation in bind.
1711 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1712 looking up the name after linking the file.
1714 2014-08-27 Allan McRae <allan@archlinux.org>
1716 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1718 2014-08-26 Florian Weimer <fweimer@redhat.com>
1721 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1722 trans_compare, open_translit, __gconv_translit_find):
1723 Remove module loading code.
1725 2014-08-26 Allan McRae <allan@archlinux.org>
1727 * po/vi.po: Update Vietnamese translation from translation project.
1729 * po/uk.po: Update Ukrainian translation from translation project.
1731 * po/fr.po: Update French translation from translation project.
1733 * po/ru.po: Update Russian translation from translation project.
1735 * po/pl.po: Update Polish translation from translation project.
1737 * po/cs.po: Update Czech translation from translation project.
1739 * po/de.po: Update German translation from translation project.
1741 * po/bg.po: Update Bulgarian translation from translation project.
1743 * po/sv.po: Update Sweedish translation from translation project.
1745 * po/nl.po: Update Dutch translation from translation project.
1747 * po/es.po: Update Spanish translation from translation project.
1749 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1751 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1753 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1754 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1755 (CPPFLAGS-iconvconfig): Likewise.
1756 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1758 * include/libc-symbols.h: Remove unnecessary check for
1760 * nptl/pthreadP.h: Likewise.
1761 * sysdeps/aarch64/setjmp.S: Likewise.
1762 * sysdeps/alpha/setjmp.S: Likewise.
1763 * sysdeps/arm/sysdep.h: Likewise.
1764 * sysdeps/i386/setjmp.S: Likewise.
1765 * sysdeps/m68k/setjmp.c: Likewise.
1766 * sysdeps/posix/getcwd.c: Likewise.
1767 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1768 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1769 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1770 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1771 * sysdeps/sh/sh3/setjmp.S: Likewise.
1772 * sysdeps/sh/sh4/setjmp.S: Likewise.
1773 * sysdeps/unix/alpha/sysdep.h: Likewise.
1774 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1775 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1776 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1777 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1780 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1782 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1785 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1787 * sysdeps/x86_64/setjmp.S: Likewise.
1789 2014-08-13 Joseph Myers <joseph@codesourcery.com>
1792 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1794 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1795 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1797 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1799 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1802 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1803 and __x86_64__ when disabling x87 inline functions.
1805 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1808 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1809 asm statement with __cpuid_count.
1811 2014-08-12 Mike Frysinger <vapier@gentoo.org>
1813 * configure.ac: Change __ehdr_start code to dereference the struct.
1814 Run readelf on the output to look for relocations.
1815 * configure: Regenerated.
1817 2014-08-12 Joseph Myers <joseph@codesourcery.com>
1820 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1822 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1824 2014-08-12 Roland McGrath <roland@hack.frob.com>
1826 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1828 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1831 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1832 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1834 2014-08-12 Sean Anderson <seanga2@gmail.com>
1836 * malloc/malloc.c: Fix typo in comment.
1838 2014-08-09 Allan McRae <allan@archlinux.org>
1840 * Regenerate libc.po.
1842 2014-08-08 Mike Frysinger <vapier@gentoo.org>
1844 * intl/tst-gettext2.sh: Check every lang file for creation.
1846 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1848 * sysdeps/aarch64/fpu/math_private.h
1849 (libc_feholdsetround_noex_aarch64_ctx): New function.
1851 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1853 * sysdeps/arm/armv6/strcpy.S (strcpy):
1854 Fix performance issue in misaligned cases.
1856 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1858 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1859 Move definition from termios.h.
1860 (struct termio): Likewise.
1861 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1862 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1863 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1864 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1866 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1867 Move definition to ioctl-types.h
1868 (struct termio): Likewise.
1869 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1870 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1871 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1872 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1875 2014-08-05 Richard Henderson <rth@redhat.com>
1877 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1879 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1881 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1882 Use __feraiseexcept.
1883 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1884 Protect libm symbols with IS_IN_libm.
1886 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1888 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1890 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1892 2014-08-04 Will Newton <will.newton@linaro.org>
1894 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1897 2014-08-04 Mike Frysinger <vapier@gentoo.org>
1899 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1900 variants for each function.
1902 2014-08-04 Roland McGrath <roland@hack.frob.com>
1904 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1906 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1907 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1909 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1910 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1911 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1912 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1913 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1914 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1915 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1916 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1917 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1918 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1919 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1920 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1921 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1922 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1923 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1924 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1925 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1926 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1927 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1929 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1930 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1931 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1935 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1937 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1939 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1940 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1941 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1942 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1943 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1944 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1945 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1946 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1947 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1948 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1949 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1950 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1951 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1952 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1953 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1954 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1955 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1956 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1957 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1958 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1959 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1960 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1961 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1963 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1964 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1966 2014-08-04 Roland McGrath <roland@hack.frob.com>
1968 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1969 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1970 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1971 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1972 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1973 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1975 2014-08-04 Roland McGrath <roland@hack.frob.com>
1977 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1978 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1979 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1980 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1982 2014-08-04 Roland McGrath <roland@hack.frob.com>
1984 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1985 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1986 (__libc_vfork): Define function under this name.
1987 (__vfork): Define as an alias.
1988 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1989 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1991 2014-08-04 Roland McGrath <roland@hack.frob.com>
1993 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1994 that was previously under [RESET_PID].
1995 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1997 2014-08-04 Andreas Schwab <schwab@suse.de>
1999 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2001 2014-08-03 Mike Frysinger <vapier@gentoo.org>
2003 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2006 2014-08-01 Roland McGrath <roland@hack.frob.com>
2008 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2010 2014-08-01 Richard Henderon <rth@redhat.com>
2012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2013 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2014 typo in exact zero test.
2015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2016 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2019 2014-08-01 Roland McGrath <roland@hack.frob.com>
2021 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2022 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2023 * sysdeps/arm/sysdep.h: ... here.
2024 [!__ASSEMBLER__]: Include <stdint.h>.
2026 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2028 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2029 (HAVE_WCTYPE_H): Likewise.
2030 (HAVE_ISWCTYPE): Likewise.
2031 (ENABLE_NLS): Likewise.
2032 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2033 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2035 * posix/regex_internal.c: Check if DEBUG is defined and is
2038 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2039 (HAVE_MBSRTOWCS): Likewise.
2040 * posix/fnmatch.c: Include string.h unconditionally.
2042 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2044 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2047 2014-07-31 Roland McGrath <roland@hack.frob.com>
2049 * sysdeps/generic/safe-fatal.h: New file.
2050 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2051 * nptl/forward.c: Include it.
2052 (__pthread_unwind): Use __safe_fatal as default action, rather
2053 than a bogus use of INTERNAL_SYSCALL that could never work.
2055 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2056 * configure.ac (libc_cv_builtin_trap): New test.
2057 * configure: Regenerated.
2058 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2059 (ABORT_INSTRUCTION): Define using __builtin_trap.
2061 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2062 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2063 * sysdeps/nptl/nptl-signals.h: New file.
2064 * nptl/pthreadP.h: Include <nptl-signals.h>.
2066 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2068 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2069 (ONE_DIRECTION): Define.
2070 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2071 (ONE_DIRECTION): Define.
2072 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2073 (ONE_DIRECTION): Define.
2075 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2077 * sysdeps/s390/Makefile: Delete file.
2078 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2079 * sysdeps/s390/__longjmp.c: Delete file.
2080 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2081 Remove fields __flags and __reserved.
2082 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2084 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2085 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2086 * sysdeps/s390/rtld-setjmp.S: Likewise.
2087 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2088 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2089 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2090 * sysdeps/s390/s390-32/setjmp.S: ... here.
2092 (__sigsetjmp): Remove setting __flags field.
2093 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2094 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2095 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2096 * sysdeps/s390/s390-64/setjmp.S: ... here.
2098 (__sigsetjmp): Remove setting __flags field.
2099 * sysdeps/s390/setjmp.S: Delete file.
2100 * sysdeps/s390/sigjmp.c: Likewise.
2101 * sysdeps/s390/v1-longjmp.c: Likewise.
2102 * sysdeps/s390/v1-setjmp.h: Likewise.
2103 * sysdeps/s390/v1-sigjmp.c: Likewise.
2104 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2105 Remove v1-longjmp_chk.
2106 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2107 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2108 Include debug/longjmp_chk.c and add versioning.
2109 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2110 Include nptl/pt-longjmp.c and add versioning.
2111 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2112 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2113 Include __longjmp.c.
2114 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2116 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2117 (__getcontext): Remove setting __flags field.
2119 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2120 Don't restore upper high grps.
2121 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2123 (__swapcontext): Remove setting uc_flags field.
2124 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2126 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2127 Include __longjmp.c.
2128 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2130 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2131 (__getcontext): Remove setting __flags field.
2133 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2134 (__swapcontext): Remove setting uc_flags field.
2135 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2136 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2137 Remove fields uc_high_gprs and __reserved.
2138 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2139 New file with reverted content.
2140 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2141 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2143 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2146 2014-07-31 Andreas Schwab <schwab@suse.de>
2148 * config.h.in (HAVE_IFUNC): Define to 0.
2149 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2152 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2155 memmove-avx-unaligned, memcpy-avx-unaligned and
2156 mempcpy-avx-unaligned.
2157 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2158 Add tests for AVX memcpy functions.
2159 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2160 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2162 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2163 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2165 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2166 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2168 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2169 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2170 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2172 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2175 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2178 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
2181 * manual/llio.texi: Add section about open file description locks.
2182 * manual/examples/ofdlocks.c: Example of open file description
2184 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2185 F_OFD_SETLK, and F_OFD_SETLKW.
2187 2014-07-23 Allan McRae <allan@archlinux.org>
2189 * po/es.po: Update Spanish translation from translation project.
2191 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2193 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2195 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2198 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2199 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2200 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2202 2014-07-17 Joseph Myers <joseph@codesourcery.com>
2205 * math/fesetenv.c (__fesetenv)
2206 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2207 * math/feupdateenv.c (__feupdateenv)
2208 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2210 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2211 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2212 (__ASSUME_SOCKETCALL): Do not define.
2214 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2215 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2216 (__ASSUME_SOCKETCALL): Do not define.
2217 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2218 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2219 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2220 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2221 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2222 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2223 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2224 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2226 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2227 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2228 (__ASSUME_SOCKETCALL): Do not define.
2229 (__ASSUME_IPC64): Define unconditionally.
2230 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2231 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2232 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2233 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2234 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2235 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2236 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2239 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2240 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2241 (__ASSUME_SOCKETCALL): Do not define.
2242 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2243 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2244 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2245 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2246 (__ASSUME_REQUEUE_PI): Define unconditionally.
2247 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2248 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2249 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2250 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2251 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2252 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2254 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2255 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2256 (__ASSUME_SOCKETCALL): Do not define.
2257 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2258 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2259 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2260 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2261 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2262 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2264 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2265 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2266 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2267 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2268 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2269 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2270 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2271 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2272 (__ASSUME_GETCPU_SYSCALL): Likewise.
2274 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2275 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2276 cases for individual architectures.
2277 * sysdeps/gnu/configure: Regenerated.
2278 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2279 LIBC_SLIBDIR_RTLDDIR.
2280 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2281 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2282 LIBC_SLIBDIR_RTLDDIR.
2283 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2285 LIBC_SLIBDIR_RTLDDIR.
2286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2288 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2289 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2291 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2292 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2294 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2295 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2296 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2297 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2299 * sysdeps/aarch64/shlib-versions: Move to ...
2300 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2301 * sysdeps/alpha/shlib-versions: Move to ...
2302 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2303 * sysdeps/arm/shlib-versions: Move to ...
2304 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2305 * sysdeps/hppa/shlib-versions: Move all contents except for
2306 libgcc_s entry to ...
2307 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2309 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2310 * sysdeps/ia64/shlib-versions: Move to ...
2311 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2313 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2314 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2315 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2316 * sysdeps/microblaze/shlib-versions: Move to ...
2317 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2318 * sysdeps/mips/shlib-versions: Move to ...
2319 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2321 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2322 * sysdeps/tile/shlib-versions: Move to ...
2323 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2324 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2326 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2327 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2329 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2331 2014-07-17 Will Newton <will.newton@linaro.org>
2333 * sysdeps/arm/bits/atomic.h
2334 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2335 (__arch_compare_and_exchange_bool_16_int): Likewise.
2336 (__arch_compare_and_exchange_bool_64_int): Likewise.
2338 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2339 into an #else block.
2341 2014-07-16 Roland McGrath <roland@hack.frob.com>
2343 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2344 just Linux configurations. Test empirically that the compiler sets
2345 __ARM_EABI__, rather than using the tuple to decide.
2346 * sysdeps/arm/preconfigure: Regenerated.
2347 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2348 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2349 contents appended ...
2350 * sysdeps/arm/configure.ac: ... here.
2351 * sysdeps/arm/configure: Regenerated.
2353 2014-07-15 Roland McGrath <roland@hack.frob.com>
2355 * nptl/pthread_kill.c: New file.
2356 * nptl/pthread_sigmask.c: New file.
2357 * nptl/pthread_sigqueue.c: New file.
2359 * sysdeps/nptl/lowlevellock.h: New file.
2360 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2361 * sysdeps/nptl/lowlevellock-futex.h: New file.
2363 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2364 Remove dead declarations.
2366 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2368 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2369 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2371 * sysdeps/x86_64/configure.ac: Likewise.
2372 * sysdeps/i386/configure: Regenerated.
2373 * sysdeps/x86_64/configure: Likewise.
2374 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2375 memset-avx2 only if config-cflags-avx2 is yes.
2376 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2377 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2379 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2380 only if HAVE_AVX2_SUPPORT is defined.
2381 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2383 2014-07-14 Alan Modra <amodra@gmail.com>
2386 * elf/elf.h (DT_PPC64_NUM): Correct value.
2387 * NEWS: Add to fixed bug list.
2389 2014-07-13 Jim Meyering <meyering@fb.com>
2392 regex: don't deref NULL upon heap allocation failure
2393 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2394 failure in one more place.
2395 To trigger the segfault, configure grep -with-included-regex,
2396 build it, and run these commands:
2397 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2399 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2401 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2403 2014-07-11 Richard Henderson <rth@redhat.com>
2405 * sysdeps/aarch64/libm-test-ulps: Update.
2407 2014-07-10 Florian Weimer <fweimer@redhat.com>
2410 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2411 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2412 (__nptl_setxid): Initialize error member. Call
2413 __nptl_setxid_error.
2414 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2415 * nptl/descr.h (struct xid_command): Add error member.
2416 * nptl/tst-setuid3.c: New file.
2417 * nptl/Makefile (tests): Add it.
2419 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2421 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2423 (__lll_trylock): Use __lll_base_trylock.
2424 (__lll_cond_trylock): Likewise.
2426 2014-07-10 Roland McGrath <roland@hack.frob.com>
2428 * nptl/pthread_create.c (start_thread): Use atomic_or and
2429 lll_futex_wake directly rather than lll_robust_dead.
2430 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2431 (lll_robust_dead): Macro removed.
2432 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2433 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2434 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2435 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2436 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2437 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2438 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2439 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2440 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2441 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2442 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2443 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2444 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2445 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2446 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2448 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2449 Use atomic_compare_and_exchange_val_acq directly rather than
2451 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2452 (__lll_robust_trylock, lll_robust_trylock): Removed.
2453 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2454 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2455 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2456 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2457 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2458 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2459 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2460 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2462 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2463 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2464 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2465 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2466 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2468 2014-07-02 Florian Weimer <fweimer@redhat.com>
2470 * manual/locale.texi (Locale Names): New section documenting
2471 locale name syntax. Adjust menu and node chaining accordingly.
2472 (Choosing Locale): Reference Locale Names, Locale Categories.
2473 Mention setting LC_ALL=C. Reflect that name syntax is now
2475 (Locale Categories): New section title. Reference Locale Names.
2476 LC_ALL is an environment variable, but not a category.
2477 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2478 description, now in Locale Name. Reference that section. Locale
2479 name syntax is now documented.
2481 2014-07-02 Florian Weimer <fweimer@redhat.com>
2484 * locale/findlocale.c (name_present, valid_locale_name): New
2486 (_nl_find_locale): Use the loc_name variable to store name
2487 candidates. Call name_present and valid_locale_name to check and
2488 validate locale names. Return an error if the locale is invalid.
2490 2014-07-02 Florian Weimer <fweimer@redhat.com>
2492 * locale/setlocale.c (setlocale): Use strdup for allocating
2493 composite name copy.
2495 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2497 Sync up with gnulib.
2498 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2499 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2500 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2501 and _GL_ARG_NONNULL.
2502 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2503 [!_LIBC]: Include code for Windows and Cygwin.
2504 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2505 Include prototype for int strerror_r.
2506 [!_LIBC] (is_open): New function.
2507 (flush_stdout): New function.
2508 (print_errno_message): Use it.
2510 (error_at_line): Likewise.
2511 (error_tail) Add function attribute macros. Use
2514 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2516 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2518 * io/ftw.c: Include sys/param.h unconditionally.
2520 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2523 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2525 (freecache): New function to free CACHE on exit.
2527 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2530 2014-07-09 David S. Miller <davem@davemloft.net>
2532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2534 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2535 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2536 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2537 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2538 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2539 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2540 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2541 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2542 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2543 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2544 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2545 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2546 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2548 2014-07-09 Andreas Schwab <schwab@suse.de>
2550 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2552 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2553 (do_test): Likewise.
2555 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2557 2014-07-09 Will Newton <will.newton@linaro.org>
2559 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2560 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2561 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2562 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2563 * sysdeps/hppa/start.S (_start): Likewise.
2565 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2567 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2569 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2572 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2574 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2575 after checking that it is non-NULL.
2577 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2579 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2581 * sysdeps/powerpc/memmove.c: Remove file.
2582 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2583 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2584 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2585 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2586 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2587 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2588 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2589 string memmove instead of removed powerpc one.
2591 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2592 [weak_alias]: Fix compiler warning due trailing data.
2593 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2594 [weak_alias]: Likewise.
2595 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2596 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2599 (__libc_ifunc_impl_list): Add memmove functions.
2601 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2603 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2605 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2607 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2609 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2611 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2613 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2615 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2617 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2619 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2621 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2623 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2625 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2627 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2629 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2631 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2633 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2635 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2638 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2640 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2641 to avoid alignment traps in non-cacheable memory.
2642 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2646 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2647 file: multiarch power7 memmove.
2648 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2649 multiarch default memmove.
2650 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2651 multiarch memove for powerpc32/power4.
2653 * string/bcopy.c: Use full path to include memmove.c.
2654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2656 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2657 bcopy for powerpc64.
2658 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2659 bcopy for powerpc64.
2660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2661 and memmove implementations.
2662 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2663 optimized multiarch memmove for POWER7/powerpc64.
2664 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2665 default multiarch memmove for powerpc64.
2666 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2667 multiarch for powerpc64.
2668 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2669 for POWER7/powerpc64.
2670 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2671 memmove for POWER7/powerpc64.
2673 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2676 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2677 __ELF_NATIVE_CLASS equal to 64.
2679 2014-07-07 Roland McGrath <roland@hack.frob.com>
2681 * sysdeps/nptl/lowlevellock.h: File removed.
2683 * NEWS: NPTL is no longer an add-on!
2684 * nptl/internaltypes.h: Moved ...
2685 * sysdeps/nptl/internaltypes.h: ... here.
2686 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2687 * sysdeps/nptl/fork.c: Likewise.
2688 * sysdeps/nptl/gai_misc.h: Likewise.
2689 * sysdeps/nptl/librt-cancellation.c: Likewise.
2690 * sysdeps/nptl/jmp-unwind.c: Likewise.
2691 * sysdeps/nptl/setxid.h: Likewise.
2692 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2693 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2694 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2695 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2696 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2697 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2698 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2699 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2700 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2701 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2702 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2703 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2704 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2705 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2706 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2707 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2708 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2709 * nptl/Makeconfig: Moved ...
2710 * sysdeps/nptl/Makeconfig: ... here.
2711 * nptl/configure: File removed.
2712 * nptl/ANNOUNCE: File removed.
2713 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2714 * sysdeps/unix/sysv/linux/configure: Regenerated.
2716 * nptl/Makefile (routines): Add libc_pthread_init,
2717 libc_multiple_threads, register-atfork and unregister-atfork.
2718 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2719 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2720 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2721 pthread-pi-defines.sym, structsem.sym.
2722 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2723 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2724 [$(subdir) = nptl] (tests): Add tst-setgetname.
2725 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2726 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2727 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2728 [!LIBC_SIGACTION]: Remove aliases.
2729 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2730 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2731 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2732 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2733 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2734 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2735 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2736 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2737 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2738 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2739 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2740 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2741 __libc_allocate_rtsig_private.
2742 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2743 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2744 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2745 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2746 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2747 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2748 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2749 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2750 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2751 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2752 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2753 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2754 * nptl/internaltypes.h: ... here.
2755 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2756 * sysdeps/nptl/jmp-unwind.c: ... here.
2757 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2758 * nptl/libc-lowlevellock.c: ... here.
2759 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2760 * nptl/libc_multiple_threads.c: ... here.
2761 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2762 * nptl/libc_pthread_init.c: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2764 * nptl/lowlevelbarrier.sym: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2766 * nptl/lowlevelcond.sym: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2768 * nptl/lowlevellock.c: ... here.
2769 * nptl/lowlevellock.h: Moved ...
2770 * sysdeps/nptl/lowlevellock.h: ... here.
2771 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2772 * nptl/lowlevelrobustlock.c: ... here.
2773 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2774 * nptl/lowlevelrobustlock.sym: ... here.
2775 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2776 * nptl/lowlevelrwlock.sym: ... here.
2777 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2778 * nptl/pt-fork.c: ... here.
2779 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2780 * nptl/pthread-pi-defines.sym: ... here.
2781 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2782 * nptl/pthread_attr_getaffinity.c: ... here.
2783 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2784 * nptl/pthread_attr_setaffinity.c: ... here.
2785 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2786 * nptl/pthread_mutex_cond_lock.c: ... here.
2787 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2789 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2790 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2791 * nptl/pthread_once.c: ... here, replacing old file.
2792 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2793 * nptl/pthread_yield.c: ... here.
2794 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2795 * nptl/register-atfork.c: ... here.
2796 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2797 * nptl/sem_post.c: ... here.
2798 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2799 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2800 * nptl/sem_timedwait.c: ... here.
2801 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2802 * nptl/sem_trywait.c: ... here.
2803 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2804 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2805 * nptl/sem_wait.c: ... here.
2806 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2807 * nptl/structsem.sym: ... here.
2808 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2809 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2810 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2811 * nptl/unregister-atfork.c: ... here.
2812 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2813 * nptl/unwindbuf.sym: ... here.
2814 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2815 * sysdeps/nptl/fork.c: ... here.
2816 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2817 * sysdeps/nptl/fork.h: ... here.
2818 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2819 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2820 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2821 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2822 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2823 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2824 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2825 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2826 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2827 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2828 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2829 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2830 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2831 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2832 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2833 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2834 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2835 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2836 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2837 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2838 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2839 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2840 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2841 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2842 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2843 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2844 * sysdeps/unix/sysv/linux/raise.c: ... here.
2845 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2846 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2847 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2848 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2849 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2850 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2851 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2852 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2853 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2854 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2855 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2856 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2857 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2858 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2859 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2861 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2863 * sysdeps/generic/memcopy.h: Add comment for
2864 MEMCPY_OK_FOR_FWD_MEMMOVE.
2866 2014-07-04 Will Newton <will.newton@linaro.org>
2868 * string/memchr.c: Merge from gnulib.
2869 [_LIBC]: Remove conditionals.
2870 (__ptr_t): Remove define.
2871 (LONG_MAX_32_BITS): Likewise.
2872 (LONG_MAX): Likewise.
2873 (MEMCHR): Use ANSI prototype and optimize algorithm.
2875 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2877 2014-07-03 Roland McGrath <roland@hack.frob.com>
2879 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2880 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2882 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2883 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2884 in a bare environment with no <stdlib.h> installed.
2885 * sysdeps/nptl/configure: Regenerated.
2887 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2889 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2890 AC_EGREP_CPP for kernel header checks, so they only succeed if
2891 including <linux/version.h> actually works right.
2892 * sysdeps/unix/sysv/linux/configure: Regenerated.
2894 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2895 value so it's not diagnosed as unused.
2897 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2898 thing) with "ifeq ($(subdir),rt)".
2900 2014-07-03 Richard Henderson <rth@redhat.com>
2902 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2903 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2904 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2906 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2907 (math_force_eval): New.
2909 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2910 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2912 * sysdeps/alpha/fpu/s_round.c: Remove file.
2913 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2915 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2916 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2917 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2918 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2919 (_dl_start, print_statistics): Likewise.
2920 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2921 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2923 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2924 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2925 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2926 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2927 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2928 (HP_SMALL_TIMING_AVAIL): Define.
2929 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2930 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2931 (HP_SMALL_TIMING_AVAIL): Define.
2932 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2933 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2935 * sysdeps/aarch64/hp-timing.h: New file.
2937 * sysdeps/generic/hp-timing.h: Remove dead comment.
2938 * sysdeps/generic/hp-timing-common.h: New file.
2939 * sysdeps/alpha/hp-timing.h: Include it.
2940 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2941 * sysdeps/i386/i686/hp-timing.h: Likewise.
2942 * sysdeps/ia64/hp-timing.h: Likewise.
2943 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2944 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2945 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2946 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2947 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2948 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2951 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2952 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2953 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2954 * elf/rtld.c (_dl_start_final): Likewise.
2955 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2956 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2957 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2958 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2959 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2960 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2961 (HP_TIMING_DIFF_INIT): Remove.
2962 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2963 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2964 (HP_TIMING_DIFF_INIT): Remove.
2965 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2966 * sysdeps/i386/i686/hp-timing.c: Remove file.
2967 * sysdeps/x86_64/hp-timing.c: Remove file.
2968 * sysdeps/ia64/hp-timing.c: Remove file.
2969 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2970 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2971 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2972 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2974 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2975 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2976 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2977 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2978 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2979 (HP_TIMING_ACCUM): Remove.
2980 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2981 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2982 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2984 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2985 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2986 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2987 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2988 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2989 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2990 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2991 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2993 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2995 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2997 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2999 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3001 Sync up with gettext.
3002 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3003 [_MSC_VER]: Include malloc.h
3004 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3005 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3006 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3007 TEMP_FAILURE_RETRY. Cast return of alloca.
3008 [!_LIBC] Call gl_rwlock_init.
3009 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3011 2014-07-02 Roland McGrath <roland@hack.frob.com>
3013 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3014 before checking its value.
3016 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3018 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3020 * debug/memcpy_chk.c: Don't include pagecopy.h.
3021 * debug/mempcpy_chk.c: Likewise.
3022 * string/memcpy.c: Likewise.
3023 * string/memmove.c: Likewise.
3024 * sysdeps/powerpc/memmove.c: Likewise.
3025 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3026 definition of PAGE_COPY_FWD_MAYBE here...
3027 * sysdeps/generic/pagecopy.h: ... from here.
3028 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3030 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3031 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3033 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3037 (__libc_ifunc_impl_list): Likewise.
3038 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3039 multiarch strcat for PPC64.
3040 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3041 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3043 2014-07-02 Roland McGrath <roland@hack.frob.com>
3045 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3047 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3049 * intl/loadmsgcat.c: Remove declaration of
3050 get_sysdep_segment_value.
3051 (get_sysdep_segment_value): Use ISO C style.
3052 (_nl_load_domain): Use ISO C style. Get rid of redundant
3053 semicolon. Fix typo and formatting in comment.
3054 (_nl_unload_domain): Use ISO C style.
3056 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3058 2014-07-02 Will Newton <will.newton@linaro.org>
3060 * malloc/obstack.c: Merge from gnulib master.
3061 [HAVE_CONFIG_H]: Remove conditional code.
3062 [!_LIBC]: Include config.h.
3063 [!ELIDE_CODE]: Don't include inttypes.h, include
3064 stdint.h unconditionally.
3065 (print_and_abort): Mark as _Noreturn.
3066 (_obstack_allocated_p): Mark as __attribute_pure__.
3067 (obstack_free): Rename to __obstack_free.
3068 [!__attribute__]: Remove conditional code.
3069 * malloc/obstack.h: Merge from gnulib master.
3070 [__cplusplus]: Move conditional down.
3071 [!__attribute_pure__]: Define __attribute_pure__ here
3072 if it is not already defined.
3073 (_obstack_memory_used): Mark as __attribute_pure__.
3074 [!__obstack_free]: Define as obstack_free.
3075 [__GNUC__]: Remove check for ancient NeXT gcc.
3077 2014-07-02 Will Newton <will.newton@linaro.org>
3078 Paul Eggert <eggert@cs.ucla.edu>
3080 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3082 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3084 * resolv/gethnamaddr.c: Add comment warning that the file is
3087 2014-07-01 Carlos O'Donell <carlos@redhat.com>
3089 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3092 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3093 entry for aio_cancel and aio_cancel64.
3094 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3095 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3096 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3097 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3098 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3099 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3100 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3101 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3102 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3103 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3104 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3105 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3106 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3108 2014-07-01 Roland McGrath <roland@hack.frob.com>
3110 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3111 * nptl/pthread_mutex_lock.c: Likewise.
3112 * nptl/pthread_mutex_timedlock.c: Likewise.
3113 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3115 2014-07-01 Richard henderson <rth@redhat.com>
3117 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3118 (__isnan, __isnanl): Remove.
3119 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3121 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3123 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3125 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3127 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3129 * resolv/nss_dns/dns-host.c (getanswer_r)
3130 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3132 2014-07-01 Joseph Myers <joseph@codesourcery.com>
3134 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3135 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3137 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3138 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3140 2014-07-01 Roland McGrath <roland@hack.frob.com>
3142 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3143 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3145 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3146 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3148 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3149 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3151 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3152 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3154 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3155 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3156 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3157 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3159 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3160 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3161 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3162 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3163 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3165 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3167 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3168 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3169 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3170 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3171 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3172 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3173 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3174 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3175 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3176 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3177 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3178 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3179 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3180 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3181 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3182 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3183 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3184 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3185 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3186 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3188 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3189 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3190 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3191 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3192 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3193 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3194 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3195 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3197 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3199 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3200 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3201 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3204 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3208 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3210 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3211 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3213 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3215 * sysdeps/arm/libm-test-ulps: Regenerated.
3217 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3218 Roland McGrath <roland@hack.frob.com>
3220 * test-skeleton.c (signal_handler): Kill the whole process group
3221 before killing the child individually.
3222 (main): Report any failure on `setpgid'.
3224 2014-06-30 Roland McGrath <roland@hack.frob.com>
3226 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3227 from _TLS_H to _ARM_NPTL_TLS_H.
3228 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3229 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3231 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3234 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3235 (__expm1l): Return argument unchanged when small but not
3238 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3240 (_FP_UNPACK_RAW_1_P): Likewise.
3241 (_FP_PACK_RAW_1): Likewise.
3242 (_FP_PACK_RAW_1_P): Likewise.
3243 (_FP_MUL_MEAT_1_wide): Likewise.
3244 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3245 (_FP_MUL_MEAT_1_hard): Likewise.
3246 (_FP_DIV_MEAT_1_imm): Likewise.
3247 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3248 (_FP_DIV_MEAT_1_udiv): Likewise.
3249 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3250 (_FP_UNPACK_RAW_2): Likewise.
3251 (_FP_UNPACK_RAW_2_P): Likewise.
3252 (_FP_PACK_RAW_2): Likewise.
3253 (_FP_PACK_RAW_2_P): Likewise.
3254 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3255 (_FP_MUL_MEAT_2_wide): Likewise.
3256 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3257 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3258 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3259 (_FP_MUL_MEAT_2_gmp): Likewise.
3260 (_FP_DIV_MEAT_2_udiv): Likewise.
3261 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3262 (_FP_FRAC_SRL_4): Likewise.
3263 (_FP_FRAC_SRST_4): Likewise.
3264 (_FP_FRAC_SRS_4): Likewise.
3265 (_FP_UNPACK_RAW_4): Likewise.
3266 (_FP_UNPACK_RAW_4_P): Likewise.
3267 (_FP_PACK_RAW_4): Likewise.
3268 (_FP_PACK_RAW_4_P): Likewise.
3269 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3270 (_FP_MUL_MEAT_4_wide): Likewise.
3271 (_FP_MUL_MEAT_4_gmp): Likewise.
3272 (umul_ppppmnnn): Likewise.
3273 (_FP_DIV_MEAT_4_udiv): Likewise.
3274 (__FP_FRAC_ADD_4): Likewise.
3275 (__FP_FRAC_SUB_3): Likewise.
3276 (__FP_FRAC_SUB_4): Likewise.
3277 (__FP_FRAC_DEC_3): Likewise.
3278 (__FP_FRAC_DEC_4): Likewise.
3279 (__FP_FRAC_ADDI_4): Likewise.
3280 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3281 (_FP_FRAC_SRL_8): Likewise.
3282 (_FP_FRAC_SRS_8): Likewise.
3284 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3286 (FP_UNPACK_RAW_EP): Likewise.
3287 (FP_PACK_RAW_E): Likewise.
3288 (FP_PACK_RAW_EP): Likewise.
3289 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3290 (_FP_ISSIGNAN): Likewise.
3291 (_FP_ADD_INTERNAL): Likewise.
3292 (_FP_FMA): Likewise.
3293 (_FP_CMP): Likewise.
3294 (_FP_SQRT): Likewise.
3295 (_FP_TO_INT): Likewise.
3296 (_FP_FROM_INT): Likewise.
3297 (FP_EXTEND): Likewise.
3298 (_FP_DIV_MEAT_N_loop): Likewise.
3300 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3302 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3305 2014-06-29 Joseph Myers <joseph@codesourcery.com>
3308 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3309 result with correct sign in case of exponents that produce
3310 overflow except for X very close to 1.
3312 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3314 mktime: merge #if/#ifdef usage from glibc
3315 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3316 as that works with both Glibc's and Gnulib's style.
3317 See thread starting at Siddhesh Poyarekar's bug report at:
3318 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3320 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3322 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3323 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3324 * sysdeps/tile/tilegx/memmove.c: Remove file.
3326 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3328 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3329 abi-name definition.
3330 * scripts/soversions.awk: Do not handle or generate ABI lines.
3331 * shlib-versions: Remove ABI entries.
3332 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3333 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3335 2014-06-27 Roland McGrath <roland@hack.frob.com>
3337 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3338 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3339 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3340 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3342 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3343 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3345 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3347 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3348 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3349 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3350 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3352 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3353 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3354 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3356 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3358 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3361 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3362 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3363 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3365 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3368 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3369 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3371 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3372 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3373 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3374 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3376 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3377 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3378 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3379 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3380 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3381 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3382 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3383 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3385 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3386 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3387 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3388 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3390 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3391 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3393 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3394 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3395 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3396 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3398 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3400 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3401 Identical file removed.
3402 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3404 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3405 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3406 Identical file removed.
3407 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3408 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3411 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3412 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3413 Identical file removed.
3414 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3415 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3416 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3417 Identical file removed.
3418 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3419 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3421 Identical file removed.
3422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3423 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3424 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3425 Identical file removed.
3426 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3428 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3429 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3430 Identical file removed.
3431 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3433 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3434 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3435 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3436 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3437 Identical file removed.
3438 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3440 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3442 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3443 Identical file removed.
3444 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3446 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3447 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3448 Identical file removed.
3449 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3451 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3452 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3453 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3454 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3455 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3456 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3458 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3459 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3460 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3462 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3463 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3464 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3465 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3466 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3468 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
3471 * nscd/nscd.c (monitor_child): Return exit status of child
3472 instead of return value from wait syscall.
3474 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3476 * configure.ac (libc_commonpagesize): Remove variable.
3477 (libc_relro_required): Likewise.
3478 (libc_cv_z_relro): Remove configure test.
3479 * configure: Regenerated.
3480 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3482 (libc_relro_required): Likewise.
3483 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3484 (libc_relro_required): Likewise.
3485 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3486 (libc_relro_required): Likewise.
3487 * sysdeps/arm/preconfigure: Regenerated.
3488 * sysdeps/ia64/preconfigure: Remove file.
3489 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3491 (libc_relro_required): Likewise.
3495 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3496 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3497 recompute overflowing results in original rounding mode.
3498 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3499 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3500 recompute overflowing results in original rounding mode.
3501 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3502 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3503 recompute overflowing results in original rounding mode.
3504 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3505 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3506 recompute overflowing results in original rounding mode.
3507 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3508 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3509 recompute overflowing results in original rounding mode.
3510 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3511 (libc_feholdsetround_ctx): New macro.
3512 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3513 * sysdeps/i386/fpu/libm-test-ulps: Update.
3514 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3516 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3518 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3519 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3520 corresponding .cpsetup call.
3522 2014-06-26 Roland McGrath <roland@hack.frob.com>
3524 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3525 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3526 * sysdeps/arm/Makefile [$(subdir) = csu]
3527 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3528 (static-only-routines): Add aeabi_read_tp here.
3529 (shared-only-routines): Add libc-aeabi_read_tp here.
3530 (CFLAGS-libc-start.c): Add -fexceptions here.
3531 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3532 (sysdep_routines, static-only-routines, shared-only-routines):
3533 Don't add to these here.
3534 (CFLAGS-libc-start.c): Likewise.
3536 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3537 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3538 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3539 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3540 * sysdeps/arm/Makefile [$(subdir) = rt]
3541 (librt-sysdep_routines, librt-shared-only-routines):
3542 Append rt-aeabi_unwind_cpp_pr1 here.
3543 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3544 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3545 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3546 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3547 Append nptl-aeabi_unwind_cpp_pr1 here.
3548 (tests): Filter out tst-cleanupx4 here.
3549 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3550 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3551 Don't do those here.
3553 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3555 * scripts/list-sources.sh: Do not handle ports specially.
3557 2014-06-26 Roland McGrath <roland@hack.frob.com>
3559 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3560 * sysdeps/arm/feupdateenv.c: Likewise.
3562 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3564 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3566 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3567 trailing whitespace removed.
3568 * scripts/config.guess: Update to version 2014-03-23.
3569 * scripts/config.sub: Update to version 2014-05-01
3570 * scripts/install-sh: Update to version 2013-12-25.23.
3571 * scripts/move-if-change: Update from gnulib.
3573 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3575 * debug/memmove_chk.c: Remove pagecopy.h include.
3577 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3579 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3580 identical to gnulib mktime.
3582 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3584 * configure.ac: Do not test for machine being rs6000. Do not test
3586 * configure: Regenerated.
3588 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3590 * configure: Regenerated.
3591 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3592 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3593 Remove configure test.
3594 * sysdeps/arm/configure: Regenerated.
3595 * sysdeps/nptl/configure.ac: Do not check
3596 libc_cv_asm_cfi_directives.
3597 * sysdeps/nptl/configure: Regenerated.
3598 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3599 * sysdeps/x86_64/nptl/configure: Remove generated file.
3600 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3602 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3604 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3606 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3607 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3608 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3611 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3612 instead of whether it is defined.
3613 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3614 * sysdeps/hppa/dl-machine.h: Likewise.
3615 * sysdeps/ia64/dl-machine.h: Likewise.
3616 * sysdeps/m68k/dl-machine.h: Likewise.
3617 * sysdeps/microblaze/dl-machine.h: Likewise.
3618 * sysdeps/mips/dl-machine.: Likewise.
3619 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3620 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3621 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3622 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3623 * sysdeps/sh/dl-machine.h: Likewise.
3624 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3625 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3626 * sysdeps/tile/dl-machine.h: Likewise.
3627 * sysdeps/x86_64/dl-machine.h: Likewise.
3629 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3631 (verify_persistent_db): Likewise.
3633 2014-06-26 Roland McGrath <roland@hack.frob.com>
3635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3636 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3638 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3641 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3644 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3646 Identical file removed.
3647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3648 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3650 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3652 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3654 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3656 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3659 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3661 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3663 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3666 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3668 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3670 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3672 Identical file removed.
3673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3674 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3676 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3679 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3682 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3684 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3686 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3688 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3690 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3693 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3696 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3698 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3701 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3703 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3705 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3707 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3708 * sysdeps/unix/sysv/linux/s390/Versions
3709 (libpthread: GLIBC_2.19): New version set.
3710 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3711 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3712 (librt: GLIBC_2.3.3): New version set.
3713 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3714 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3715 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3716 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3717 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3718 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3719 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3720 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3721 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3722 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3723 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3724 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3725 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3726 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3727 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3728 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3729 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3730 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3731 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3732 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3733 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3734 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3735 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3736 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3737 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3738 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3739 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3740 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3741 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3742 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3743 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3744 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3745 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3746 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3748 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3749 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3751 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3753 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3755 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3757 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3759 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3760 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3761 (__libc_vfork): Define the function under this name.
3762 [!NOT_IN_libc] (__vfork): Make this an alias.
3763 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3764 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3765 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3766 (__libc_vfork): Define the function under this name.
3767 [!NOT_IN_libc] (__vfork): Make this an alias.
3768 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3769 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3770 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3771 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3772 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3773 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3775 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3776 code that was previously under [RESET_PID].
3777 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3778 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3779 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3781 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3782 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3783 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3784 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3785 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3786 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3787 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3788 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3789 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3790 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3791 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3793 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3794 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3795 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3796 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3797 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3798 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3799 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3800 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3801 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3802 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3803 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3804 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3805 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3806 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3807 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3808 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3809 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3810 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3811 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3812 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3813 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3814 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3815 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3816 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3817 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3818 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3819 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3820 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3821 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3823 2014-06-25 Roland McGrath <roland@hack.frob.com>
3825 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3826 that was previously under [RESET_PID].
3827 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3829 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3831 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3832 not undefine and redefine.
3833 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3834 [O_CLOEXEC]: Make code unconditional.
3835 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3836 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3837 <kernel-features.h>.
3838 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3839 conditional variable definition.
3840 (shm_open) [O_CLOEXEC]: Make code unconditional.
3841 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3844 * configure.ac (USE_REGPARMS): Don't define here.
3845 * configure: Regenerated.
3846 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3847 * sysdeps/i386/configure: Regenerated.
3849 * nptl/createthread.c: Don't include kernel-features.h.
3850 * nptl/pthread_cancel.c: Likewise.
3851 * nptl/pthread_condattr_setclock.c: Likewise.
3852 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3853 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3854 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3855 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3856 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3857 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3858 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3859 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3860 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3861 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3862 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3863 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3864 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3865 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3866 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3867 * nscd/gai.c: Likewise.
3868 * nss/nss_db/db-open.c: Likewise.
3869 * sysdeps/generic/ldsodefs.h: Likewise.
3870 * sysdeps/sh/nptl/tls.h: Likewise.
3871 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3872 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3873 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3874 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3875 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3876 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3877 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3878 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3879 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3880 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3881 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3882 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3883 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3884 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3885 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3886 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3887 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3888 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3889 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3890 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3891 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3892 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3893 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3894 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3895 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3896 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3897 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3898 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3899 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3900 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3901 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3902 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3903 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3904 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3905 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3906 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3907 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3908 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3909 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3910 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3911 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3912 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3913 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3914 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3915 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3916 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3917 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3918 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3919 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3920 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3921 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3922 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3923 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3924 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3925 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3926 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3927 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3928 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3951 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3952 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3953 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3954 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3955 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3956 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3957 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3958 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3959 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3960 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3961 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3962 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3963 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3964 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3965 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3966 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3967 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3968 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3969 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3970 * sysdeps/unix/sysv/linux/system.c: Likewise.
3971 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3972 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3973 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3974 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3975 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3976 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3977 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3979 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3980 * configure: Regenerated.
3981 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3983 * configure.ac (base_machine): Do not set specially for particular
3985 * configure: Regenerated.
3986 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3987 settings from configure.ac.
3988 * sysdeps/i386/preconfigure: New file.
3989 * sysdeps/s390/preconfigure: Likewise.
3990 * sysdeps/sh/preconfigure: Likewise.
3991 * sysdeps/sparc/preconfigure: Likewise.
3993 2014-06-25 Roland McGrath <roland@hack.frob.com>
3995 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3996 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3997 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3998 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3999 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4000 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4001 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4002 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4003 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4004 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4005 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4006 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4007 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4008 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4009 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4010 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4011 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4012 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4013 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4015 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4016 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4017 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4018 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4019 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4020 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4021 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4022 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4023 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4024 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4025 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4026 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4027 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4028 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4029 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4030 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4031 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4032 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4033 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4034 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4035 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4036 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4037 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4038 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4039 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4040 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4041 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4042 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4044 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4045 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4046 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4047 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4048 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4049 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4050 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4052 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4055 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4057 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4060 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4063 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4065 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4068 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4070 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4072 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4074 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4077 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4080 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4082 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4085 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4087 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4089 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4091 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4093 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4096 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4099 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4101 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4104 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4106 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4108 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4110 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4113 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4116 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4118 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4121 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4123 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4125 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4127 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4129 * timezone/checktab.awk: Update from tzcode 2014e.
4130 * timezone/private.h: Likewise.
4131 * timezone/tzfile.h: Likewise.
4132 * timezone/zdump.c: Likewise.
4133 * timezone/zic.c: Likewise.
4135 * sysdeps/unix/sysv/linux/kernel-features.h
4136 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4137 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4138 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4139 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4140 Remove conditional code.
4142 2014-06-25 Will Newton <will.newton@linaro.org>
4144 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4145 (_dl_arm_cap_flags): Add HWCAP2 values.
4146 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4147 (_DL_HWCAP_COUNT): Increase to 37.
4148 (_DL_HWCAP_LAST): New define.
4149 (_DL_HWCAP2_LAST): New define.
4150 (_dl_procinfo): Add support for printing
4152 (_dl_string_hwcap): Use _dl_hwcap_string.
4154 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4158 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4160 * README: Do not mention ports directory.
4162 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4164 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4165 <kernel-features.h>.
4166 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4167 conditional variable definition.
4168 (__futimes): Update comment.
4169 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4170 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4173 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4174 arguments close to 0.
4175 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4177 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4179 * math/auto-libm-test-in: Add more tests of exp10.
4180 * math/auto-libm-test-out: Regenerated.
4181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4183 * sysdeps/unix/sysv/linux/kernel-features.h
4184 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4185 * sysdeps/unix/sysv/linux/readv.c: Do not include
4186 <kernel-features.h>.
4187 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4188 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4189 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4191 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4193 * sysdeps/unix/sysv/linux/writev.c: Do not include
4194 <kernel-features.h>.
4195 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4196 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4197 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4199 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4202 2014-06-25 Will Newton <will.newton@linaro.org>
4204 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4205 comment changes throughout the file. Remove checks
4206 for HAVE_*_H definitions that are not required.
4207 (__gen_tempname): Call abort if an unknown kind value is
4210 2014-06-25 Andreas Schwab <schwab@suse.de>
4213 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4214 scalbln, scalblnf, scalblnl in libc.
4216 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4219 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4220 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4221 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4223 2014-06-24 Roland McGrath <roland@hack.frob.com>
4225 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4226 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4227 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4228 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4230 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4231 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4233 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4234 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4235 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4236 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4237 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4238 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4239 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4240 * sysdeps/x86/bits/semaphore.h: ... here.
4241 * sysdeps/x86/nptl/elide.h: Moved ...
4242 * sysdeps/x86/elide.h: ... here.
4243 * sysdeps/x86_64/nptl/Implies: File removed.
4244 * sysdeps/i386/nptl/Implies: File removed.
4246 2014-06-24 Joseph Myers <joseph@codesourcery.com>
4249 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4250 return the argument for normal arguments with exponent below -64.
4251 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4253 * math/auto-libm-test-in: Add another test of expm1.
4254 * math/auto-libm-test-out: Regenerated.
4257 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4258 calling __erfcl for arguments at least 16.
4259 * math/auto-libm-test-in: Add more tests of erf.
4260 * math/auto-libm-test-out: Regenerated.
4262 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4263 individual architectures.
4264 * sysdeps/unix/sysv/linux/configure: Regenerated.
4265 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4266 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4267 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4268 (ldd_rewrite_script): Define variable.
4269 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4274 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4275 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4276 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4277 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4278 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4279 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4280 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4281 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4283 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4286 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4287 Rename member __data.d to __data.__elision_data.
4289 2014-06-24 Wilco <wdijkstr@arm.com>
4291 * NEWS: Add 16918 to fixed bug list.
4293 2014-06-24 Wilco <wdijkstr@arm.com>
4295 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4297 2014-06-24 Wilco <wdijkstr@arm.com>
4299 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4300 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4301 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4302 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4303 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4304 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4305 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4308 2014-06-24 Wilco <wdijkstr@arm.com>
4310 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4312 2014-06-24 Wilco <wdijkstr@arm.com>
4314 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4315 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4316 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4317 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4319 2014-06-24 Wilco <wdijkstr@arm.com>
4322 * sysdeps/arm/feupdateenv.c (feupdateenv):
4323 Rewrite to reduce FPSCR accesses and fix return value.
4325 2014-06-24 Wilco <wdijkstr@arm.com>
4327 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4328 Optimize to avoid unnecessary FPSCR writes.
4329 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4330 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4331 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4332 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4334 2014-06-24 Wilco <wdijkstr@arm.com>
4336 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4337 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4338 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4339 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4340 Call libc_fetestexcept_vfp.
4341 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4342 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4343 __SOFTFP__ ifdef so that they can be built for softfp.
4345 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4347 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4348 argument type signed char.
4350 * Makerules (check-abi): Dump diff of symlist if the test
4353 2014-06-23 Roland McGrath <roland@hack.frob.com>
4355 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4358 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4359 Remove unused variable ST.
4361 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4365 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4366 small arguments before calling __expm1.
4367 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4368 small arguments before calling __expm1f.
4369 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4370 small arguments before calling __expm1l.
4371 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4373 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4374 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4375 spurious underflow for some cosh tests.
4376 * math/auto-libm-test-out: Regenerated.
4377 * sysdeps/i386/fpu/libm-test-ulps: Update.
4380 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4381 (__ieee754_y1): Set errno if return value overflows.
4382 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4383 (__ieee754_y1f): Set errno if return value overflows.
4384 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4385 (__ieee754_y1l): Set errno if return value overflows.
4386 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4387 (__ieee754_y1l): Set errno if return value overflows.
4388 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4389 * math/auto-libm-test-out: Regenerated.
4391 * math/gen-auto-libm-tests.c: Document use of
4392 ignore-zero-inf-sign.
4393 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4394 (input_flags): Add ignore-zero-inf-sign.
4395 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4396 * math/gen-libm-test.pl (generate_testfile): Handle
4397 ignore-zero-inf-sign.
4398 * math/auto-libm-test-in: Mark some cpow tests with
4399 ignore-zero-inf-sign and some with xfail-rounding.
4400 * math/auto-libm-test-out: Regenerated.
4401 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4402 * sysdeps/i386/fpu/libm-test-ulps: Update.
4403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4406 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4407 overflowing or underflowing operations take place with sign of
4409 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4410 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4411 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4412 (__ieee754_pow): Recompute overflowing and underflowing results in
4413 original rounding mode.
4414 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4415 (__powl_helper): Allow negative argument X and scale negated value
4416 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4417 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4418 overflowing or underflowing operations take place with sign of
4420 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4422 * math/auto-libm-test-in: Add more tests of pow.
4423 * math/auto-libm-test-out: Regenerated.
4424 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4425 (pow_tonearest_test_data): Remove.
4426 (pow_test_tonearest): Likewise.
4427 (pow_towardzero_test_data): Likewise.
4428 (pow_test_towardzero): Likewise.
4429 (pow_downward_test_data): Likewise.
4430 (pow_test_downward): Likewise.
4431 (pow_upward_test_data): Likewise.
4432 (pow_test_upward): Likewise.
4433 (main): Don't call removed functions.
4434 * sysdeps/i386/fpu/libm-test-ulps: Update.
4435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4437 2014-06-23 Roland McGrath <roland@hack.frob.com>
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4613 2014-06-23 Will Newton <will.newton@linaro.org>
4614 Wilco <wdijkstr@arm.com>
4616 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4617 implementation. Include get-rounding-mode.h.
4618 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4619 [!libc_feholdsetround_noex_ctx]: Define
4620 libc_feholdsetround_noex_ctx.
4621 [!libc_feholdsetround_noexf_ctx]: Define
4622 libc_feholdsetround_noexf_ctx.
4623 [!libc_feholdsetround_noexl_ctx]: Define
4624 libc_feholdsetround_noexl_ctx.
4625 (libc_feholdsetround_ctx): New function.
4626 (libc_feresetround_ctx): New function.
4627 (libc_feholdsetround_noex_ctx): New function.
4628 (libc_feresetround_noex_ctx): New function.
4630 2014-06-23 Roland McGrath <roland@hack.frob.com>
4632 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4633 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4634 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4635 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4636 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4637 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4639 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4640 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4641 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4642 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4643 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4644 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4645 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4646 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4647 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4648 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4649 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4651 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4654 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4655 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4656 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4657 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4659 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4660 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4661 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4662 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4663 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4664 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4668 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4669 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4671 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4672 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4673 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4674 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4676 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4677 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4678 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4679 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4680 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4681 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4682 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4683 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4684 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4685 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4687 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4689 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4690 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4691 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4692 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4694 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4695 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4696 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4698 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4700 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4703 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4704 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4705 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4706 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4707 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4708 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4710 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4711 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4714 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4716 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4717 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4718 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4719 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4720 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4721 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4722 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4723 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4724 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4725 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4726 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4727 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4728 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4733 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4734 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4735 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4736 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4737 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4741 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4742 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4743 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4745 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4747 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4748 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4749 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4750 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4751 (IPV6_PMTUDISC_INTERFACE): Likewise.
4752 (IPV6_PMTUDISC_OMIT): Likewise.
4754 2014-06-23 Andreas Schwab <schwab@suse.de>
4756 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4757 Remove unused errout label.
4759 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4761 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4762 macro: hardware supports Vector Crypto instructions.
4764 2014-06-23 Will Newton <will.newton@linaro.org>
4766 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4767 rather than __builtin_expect.
4769 * elf/dl-lookup.c (undefined_msg): Remove variable.
4770 (_dl_lookup_symbol_x): Replace undefined_msg with string
4773 * elf/dl-lookup.c (do_lookup_unique): New function.
4774 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4775 to a separate function.
4777 2014-06-23 Andreas Schwab <schwab@suse.de>
4780 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4781 before reading the next line.
4783 2014-06-23 Will Newton <will.newton@linaro.org>
4785 * test-skeleton.c (signal_handler): Use printf and %m
4786 rather than perror. Use printf rather than fprintf to
4787 stderr. Use puts rather than fputs to stderr.
4790 2014-06-22 Ludovic Courtès <ludo@gnu.org>
4792 * nscd/nscd.c (thread_info_t): Remove typedef.
4793 (thread_info): Remove variable.
4795 2014-06-21 Allan McRae <allan@archlinux.org>
4797 * NEWS: Mention CVE-2014-4043.
4799 2014-06-20 Roland McGrath <roland@hack.frob.com>
4801 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4802 * nptl/smp.h: ... here.
4804 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4806 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4807 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4808 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4809 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4811 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4812 * nptl/stack-aliasing.h: New file.
4813 * sysdeps/i386/i686/stack-aliasing.h: New file.
4814 * sysdeps/i386/i686/nptl/Makefile: File removed.
4815 * sysdeps/x86_64/stack-aliasing.h: New file.
4816 * sysdeps/x86_64/nptl/Makefile
4817 (CFLAGS-pthread_create.c): Variable removed.
4819 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4820 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4822 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4823 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4826 2014-06-21 Joseph Myers <joseph@codesourcery.com>
4828 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4829 (__ASSUME_SIGFRAME_V2): Remove macro.
4830 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4831 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4832 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4833 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4834 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4835 Declare as function. Remove conditional macro definitions.
4836 (__default_rt_sa_restorer): Likewise.
4837 (__default_sa_restorer_v1): Remove declaration.
4838 (__default_sa_restorer_v2): Likewise.
4839 (__default_rt_sa_restorer_v1): Likewise.
4840 (__default_rt_sa_restorer_v2): Likewise.
4841 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4842 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4843 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4845 2014-06-20 Roland McGrath <roland@hack.frob.com>
4847 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4848 (libpthread-routines): Add sysdep.
4849 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4850 * sysdeps/unix/sysv/linux/sparc/Versions
4851 (libpthread: GLIBC_2.3.3): New version set.
4852 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4853 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4854 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4855 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4856 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4857 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4859 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4860 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4861 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4862 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4863 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4865 * sysdeps/sparc/nptl/sem_init.c: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4867 * sysdeps/sparc/nptl/sem_post.c: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4869 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4871 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4872 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4873 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4874 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4875 (libpthread-routines): Add cpu_relax.
4876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4878 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4879 (librt: GLIBC_2.3.3): New version set.
4880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4881 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4882 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4883 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4886 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4889 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4891 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4893 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4895 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4897 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4900 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4904 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4908 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4912 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4916 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4920 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4923 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4925 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4929 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4931 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4934 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4936 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4938 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4940 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4942 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4943 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4944 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4945 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4946 * nscd/nscd.c: Likewise.
4947 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4948 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4949 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4950 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4952 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4953 <kernel-features.h>.
4954 (init_mq_netlink): Remove conditional have_sock_cloexec
4955 definitions. Remove code conditional on have_sock_cloexec < 0.
4956 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4957 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4958 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4959 <kernel-features.h>.
4960 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4961 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4963 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4965 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4966 Add tests for memset_chk and memset.
4968 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4971 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4974 * elf/tst-dl-iter-static.c: New file.
4975 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4977 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4980 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4982 * sysdeps/unix/sysv/linux/kernel-features.h
4983 (__ASSUME_F_GETOWN_EX): Remove macro.
4984 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4985 <kernel-features.h>.
4986 (miss_F_GETOWN_EX): Remove variable or macro.
4987 (do_fcntl): Do not check miss_F_GETOWN_EX.
4988 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4990 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4992 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4993 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4994 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4996 * sysdeps/unix/sysv/linux/kernel-features.h
4997 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4998 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4999 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5000 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5002 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5005 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5006 Fix calculation of the symbol's value.
5007 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5008 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5009 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5010 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5011 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5012 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5013 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5014 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5015 (modules-names): Add `tst-armtlsdescmod',
5016 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5017 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5018 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5019 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5020 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5021 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5022 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5023 ($(objpfx)tst-armtlsdescloc): New dependency.
5024 ($(objpfx)tst-armtlsdescextnow): Likewise.
5025 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5026 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5028 * sysdeps/arm/configure: Regenerate.
5030 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5032 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5033 (__atfct_seterrno_2): Likewise.
5034 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5035 <kernel-features.h>.
5036 (__ASSUME_ATFCTS): Do not undefine and redefine.
5037 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5038 (__have_atfcts): Remove conditional definition.
5039 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5040 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5041 unreachable if [__ASSUME_ATFCTS].
5042 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5043 not undefine and redefine.
5044 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5045 <kernel-features.h>.
5046 (faccessat) [__NR_faccessat]: Make code unconditional.
5047 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5048 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5049 <kernel-features.h>.
5050 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5051 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5052 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5053 <kernel-features.h>.
5054 (fchownat) [__NR_fchownat]: Make code unconditional.
5055 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5056 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5057 <kernel-features.h>.
5058 (futimesat) [__NR_futimesat]: Make code unconditional.
5059 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5060 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5061 <kernel-features.h>.
5062 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5063 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5064 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5065 <kernel-features.h>.
5066 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5067 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5068 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5069 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5070 <kernel-features.h>.
5071 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5072 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5073 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5074 <kernel-features.h>.
5075 (linkat) [__NR_linkat]: Make code unconditional.
5076 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5077 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5078 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5079 <kernel-features.h>.
5080 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5081 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5082 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5083 <kernel-features.h>.
5084 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5085 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5086 * sysdeps/unix/sysv/linux/openat.c: Do not include
5087 <kernel-features.h>.
5088 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5089 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5090 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5091 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5092 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5093 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5094 <kernel-features.h>.
5095 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5096 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5097 result of INLINE_SYSCALL directly, not via int variable.
5098 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5099 <kernel-features.h>.
5100 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5101 (renameat) [__NR_renameat]: Make code unconditional.
5102 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5103 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5104 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5105 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5106 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5107 (__ASSUME_ATFCTS): Do not undefine and redefine.
5108 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5109 <kernel-features.h>.
5110 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5111 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5112 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5113 <kernel-features.h>.
5114 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5115 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5116 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5117 (__ASSUME_ATFCTS): Do not undefine and redefine.
5118 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5119 <kernel-features.h>.
5120 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5121 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5122 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5123 <kernel-features.h>.
5124 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5125 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5127 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5129 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5131 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5134 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5135 constructed tree before returning error.
5136 * posix/bug-regexp36.c: Expand test case.
5138 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5141 * math/libm-test.inc (scalbln_test_date):
5142 Add errno expectations.
5143 * math/w_scalblnf.c: New File.
5144 Add wrapper which checks for setting errno to ERANGE.
5145 Add weak_alias for corresponding scalbln function.
5146 * math/w_scalbln.c: Likewise.
5147 * math/w_scalblnl.c: Likewise.
5148 * math/Makefile (libm-calls): Add w_scalbln.
5149 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5150 Remove weak_alias for corresponding scalbln function.
5151 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5152 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5153 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5154 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5155 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5156 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5157 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5158 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5159 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5160 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5161 Remove long_double_symbol for scalblnl function in libm, libc.
5162 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5163 Add wrapper which checks for setting errno to ERANGE.
5164 Add long_double_symbol for scalblnl function in libm, libc.
5165 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5166 Remove long_double_symbol for scalblnl in libm.
5167 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5168 Add wrapper which checks for setting errno to ERANGE.
5169 Add long_double_symbol for scalblnl function in libm.
5170 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5171 Do not use wrapper because of own implementation.
5173 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5175 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5176 3 bytes for __pad1 for x32.
5177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5179 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5180 H.J. Lu <hongjiu.lu@intel.com>
5182 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5183 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5184 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5185 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5186 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5188 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5191 * posix/regcomp.c (parse_expression): Deallocate partially
5192 constructed tree before returning error.
5193 * posix/Makefile.c (tests): Add bug-regex36.
5194 (generated): Add bug-regex36.mtrace.
5195 (tests-special): Add $(objpfx)bug-regex36-mem.out
5196 (bug-regex36-ENV): New variable.
5197 ($(objpfx)bug-regex36-mem.out): New rule.
5198 * posix/bug-regex36.c: New file.
5200 2014-06-19 Will Newton <will.newton@linaro.org>
5202 * malloc/malloc.c (systrim): If extra is zero then return
5205 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5207 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5209 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
5211 * sysdeps/aarch64/strchr.S: New file.
5213 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5216 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5217 from arguments -2 or below.
5218 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5219 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5221 2014-06-18 Andreas Schwab <schwab@suse.de>
5224 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5225 of a bracket expr not to run off the end of the string.
5226 * posix/Makefile (tests): Add tst-fnmatch3.
5227 * posix/tst-fnmatch3.c: New file.
5229 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5231 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5232 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5233 [$(cross-compiling) = no]: Likewise.
5234 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5235 [$(cross-compiling) = no]: Likewise.
5237 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5240 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5241 double, adjusted for any remainder from the high double.
5242 * math/libm-test.inc (nearbyint): Add tests.
5245 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5247 * nptl/sysdeps/powerpc/Makefile: Moved ...
5248 * sysdeps/powerpc/nptl/Makefile: ... here.
5249 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5250 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5251 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5252 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5253 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5254 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5255 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5256 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5257 * nptl/sysdeps/powerpc/tls.h: Moved ...
5258 * sysdeps/powerpc/nptl/tls.h: ... here.
5260 2014-06-16 Joseph Myers <joseph@codesourcery.com>
5263 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5264 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5265 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5266 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5267 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5268 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5269 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5270 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5271 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5273 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5275 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5277 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5279 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5282 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5285 2014-06-16 Florian Weimer <fweimer@redhat.com>
5288 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5289 non-executed part of the test.
5291 2014-06-16 Andreas Schwab <schwab@suse.de>
5293 * string/bits/string2.h (strdup, strndup): Update feature guard.
5295 2014-06-14 David S. Miller <davem@davemloft.net>
5297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5299 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5301 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5302 that was previously under [RESET_PID].
5303 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5305 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5306 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5307 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5308 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5309 (__libc_vfork): New strong alias.
5310 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5312 2014-06-14 Andi Kleen <ak@linux.intel.com>
5314 * sysdeps/generic/elide.h: New file.
5316 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5318 * Makefile (installed-headers): Adjust path of pthread.h header.
5320 2014-06-13 Roland McGrath <roland@hack.frob.com>
5322 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5323 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5324 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5325 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5327 * nptl/sysdeps/s390/Makefile: Moved ...
5328 * sysdeps/s390/nptl/Makefile: ... here.
5329 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5330 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5331 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5332 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5333 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5334 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5335 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5336 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5337 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5338 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5339 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5340 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5341 * nptl/sysdeps/s390/tls.h: Moved ...
5342 * sysdeps/s390/nptl/tls.h: ... here.
5344 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5345 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5347 2014-06-13 David S. Miller <davem@davemloft.net>
5349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5350 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5352 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5356 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5357 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5358 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5359 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5360 Remove RESET_PID cpp guards.
5361 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5362 Remove RESET_PID cpp guards.
5363 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5365 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5367 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5370 2014-06-13 Andi Kleen <ak@linux.intel.com>
5372 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5373 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5374 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5375 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5376 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5377 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5378 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5379 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5380 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5381 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5382 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5383 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5384 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5385 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5386 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5387 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5388 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5389 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5390 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5391 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5393 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5394 (pthread_rwlock_rdlock): Add elision.
5395 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5396 (pthread_rwlock_wrlock): Add elision.
5397 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5398 (pthread_rwlock_trywrlock): Add elision.
5399 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5400 (pthread_rwlock_tryrdlock): Add elision.
5401 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5402 (pthread_rwlock_tryrdlock): Add elision unlock.
5403 * nptl/sysdeps/pthread/pthread.h:
5404 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5405 (PTHREAD_RWLOCK_INITIALIZER,
5406 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5407 Handle new elision field.
5408 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5409 * sysdeps/arm/nptl/bits/pthreadtypes.h
5410 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5411 * sysdeps/sh/nptl/bits/pthreadtypes.h
5412 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5413 * sysdeps/tile/nptl/bits/pthreadtypes.h
5414 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5415 * sysdeps/a/nptl/bits/pthreadtypes.h
5416 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5417 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5419 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5420 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5421 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5423 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5425 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5426 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5427 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5429 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5431 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5433 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5434 (elision_init): Set try_xbegin to zero when no RTM.
5435 * sysdeps/x86/nptl/bits/pthreadtypes.h
5436 (pthread_rwlock_t): Change __pad1 to __rwelision.
5437 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5439 2014-06-13 Andi Kleen <ak@linux.intel.com>
5441 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5442 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5443 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5444 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5446 2014-06-13 Meador Inge <meadori@codesourcery.com>
5449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5450 that the cached result has been set before returning it.
5452 2014-06-12 Roland McGrath <roland@hack.frob.com>
5454 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5455 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5456 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5457 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5458 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5459 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5461 * nptl/sysdeps/sparc/Makefile: Moved ...
5462 * sysdeps/sparc/nptl/Makefile: ... here.
5463 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5464 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5465 * nptl/sysdeps/sparc/tls.h: Moved ...
5466 * sysdeps/sparc/nptl/tls.h: ... here.
5467 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5468 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5469 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5470 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5471 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5472 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5473 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5474 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5475 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5476 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5477 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5478 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5479 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5480 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5481 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5482 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5483 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5484 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5486 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5487 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5489 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5490 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5492 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5493 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5496 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5498 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5499 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5501 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5502 (struct list_links): Type removed.
5503 (struct thread_node, struct timer_node): Replace struct list_links
5504 with struct list_head.
5505 (list_unlink_ip): Likewise.
5506 * sysdeps/pthread/timer_routines.c
5507 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5508 (list_append, list_insbefore): Likewise.
5509 (list_init): Function removed.
5510 (thread_init, init_module): Use INIT_LIST_HEAD instead.
5511 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5512 * sysdeps/pthread/Makefile: ... here, new file.
5514 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5515 * sysdeps/nptl/Implies: ... here.
5516 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5517 * nptl/sysdeps/pthread/list.h: Moved ...
5518 * include/list.h: ... here.
5519 * nptl/sysdeps/pthread/createthread.c: Moved ...
5520 * nptl/createthread.c: ... here.
5521 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5522 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5523 * nptl/pt-longjmp.c: ... here.
5524 * nptl/sysdeps/pthread/Makefile: Moved ...
5525 * sysdeps/nptl/Makefile: ... here.
5526 * nptl/sysdeps/pthread/Subdirs: Moved ...
5527 * sysdeps/nptl/Subdirs: ... here.
5528 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5529 * sysdeps/nptl/aio_misc.h: ... here.
5530 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5531 * sysdeps/nptl/bits/libc-lock.h: ... here.
5532 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5533 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5534 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5535 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5536 * nptl/sysdeps/pthread/configure: Moved ...
5537 * sysdeps/nptl/configure: ... here.
5538 * nptl/sysdeps/pthread/configure.ac: Moved ...
5539 * sysdeps/nptl/configure.ac: ... here.
5540 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5541 * sysdeps/nptl/gai_misc.h: ... here.
5542 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5543 * sysdeps/nptl/librt-cancellation.c: ... here.
5544 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5545 * sysdeps/nptl/malloc-machine.h: ... here.
5546 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5547 * sysdeps/nptl/pthread-functions.h: ... here.
5548 * nptl/sysdeps/pthread/pthread.h: Moved ...
5549 * sysdeps/nptl/pthread.h: ... here.
5550 * nptl/sysdeps/pthread/setxid.h: Moved ...
5551 * sysdeps/nptl/setxid.h: ... here.
5552 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5553 * sysdeps/nptl/sigfillset.c: ... here.
5554 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5555 * sysdeps/nptl/tcb-offsets.h: ... here.
5556 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5557 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5558 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5559 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5560 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5561 * sysdeps/pthread/allocalim.h: ... here.
5562 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5563 * sysdeps/pthread/bits/sigthread.h: ... here.
5564 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5565 * sysdeps/pthread/flockfile.c: ... here.
5566 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5567 * sysdeps/pthread/ftrylockfile.c: ... here.
5568 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5569 * sysdeps/pthread/funlockfile.c: ... here.
5570 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5571 * sysdeps/pthread/posix-timer.h: ... here.
5572 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5573 * sysdeps/pthread/timer_create.c: ... here.
5574 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5575 * sysdeps/pthread/timer_delete.c: ... here.
5576 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5577 * sysdeps/pthread/timer_getoverr.c: ... here.
5578 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5579 * sysdeps/pthread/timer_gettime.c: ... here.
5580 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5581 * sysdeps/pthread/timer_routines.c: ... here.
5582 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5583 * sysdeps/pthread/timer_settime.c: ... here.
5584 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5585 * sysdeps/pthread/tst-timer.c: ... here.
5586 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5587 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5589 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5590 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5592 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5593 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5594 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5595 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5596 Update #include target.
5597 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5598 * sysdeps/i386/i686/nptl/Makefile: ... here.
5599 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5600 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5601 Update #include target.
5602 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5603 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5604 * nptl/sysdeps/i386/Makefile: Moved ...
5605 * sysdeps/i386/nptl/Makefile: ... here.
5606 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5607 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5608 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5609 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5610 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5611 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5612 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5613 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5614 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5615 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5616 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5617 * nptl/sysdeps/i386/tls.h: Moved ...
5618 * sysdeps/i386/nptl/tls.h: ... here.
5620 * sysdeps/sh/Makefile [$(subdir) = csu]
5621 (gen-as-const-headers): Add tcb-offsets.sym.
5622 * nptl/sysdeps/sh/Makefile: File removed.
5623 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5624 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5625 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5626 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5627 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5628 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5629 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5630 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5631 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5632 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5633 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5634 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5635 * nptl/sysdeps/sh/tls.h: Moved ...
5636 * sysdeps/sh/nptl/tls.h: ... here.
5637 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5638 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5639 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5640 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5641 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5642 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5643 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5644 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5645 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5646 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5647 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5648 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5649 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5650 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5651 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5652 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5653 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5654 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5655 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5656 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5657 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5658 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5659 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5660 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5661 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5663 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5664 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5666 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5667 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5668 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5669 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5670 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5671 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5672 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5673 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5674 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5675 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5676 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5677 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5678 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5679 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5680 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5681 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5682 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5683 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5684 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5686 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5688 * posix/spawn_faction_addopen.c: Include string.h.
5690 2014-06-11 Roland McGrath <roland@hack.frob.com>
5692 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5693 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5694 * nptl/sysdeps/x86_64/Makefile: Moved ...
5695 * sysdeps/x86_64/nptl/Makefile: ... here.
5696 * nptl/sysdeps/x86_64/configure: Moved ...
5697 * sysdeps/x86_64/nptl/configure: ... here.
5698 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5699 * sysdeps/x86_64/nptl/configure.ac: ... here.
5700 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5701 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5702 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5703 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5704 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5705 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5706 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5707 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5708 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5709 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5710 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5711 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5712 * nptl/sysdeps/x86_64/tls.h: Moved ...
5713 * sysdeps/x86_64/nptl/tls.h: ... here.
5714 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5715 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5716 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5717 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5719 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5721 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5725 2014-06-11 Joseph Myers <joseph@codesourcery.com>
5727 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5729 [POSIX] (off_t): Likewise.
5730 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5731 [POSIX] (S_ISBLK): Require macro.
5732 [POSIX] (S_ISCHR): Likewise.
5733 [POSIX] (S_ISDIR): Likewise.
5734 [POSIX] (S_ISFIFO): Likewise.
5735 [POSIX] (S_ISREG): Likewise.
5736 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5738 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5740 [POSIX] (time_t): Likewise.
5741 [POSIX] (timer_t): Likewise.
5743 2014-06-11 Florian Weimer <fweimer@redhat.com>
5746 * posix/spawn_int.h (struct __spawn_action): Make the path string
5747 non-const to support deallocation.
5748 * posix/spawn_faction_addopen.c
5749 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5750 * posix/spawn_faction_destroy.c
5751 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5752 path in all spawn_do_open actions.
5753 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5754 posix_spawn_file_actions_addopen.
5756 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5758 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5759 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5760 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5761 conditional code always true.
5762 (__libc_vfork): New alias.
5764 2014-06-11 Roland McGrath <roland@hack.frob.com>
5766 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5767 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5769 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5771 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5772 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5774 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5775 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5777 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5778 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5780 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5782 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5783 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5784 multiarch strcmp for PPC64.
5785 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5786 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5788 multiarch optimizations.
5789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5790 (__libc_ifunc_impl_list): Likewise.
5792 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5794 * benchtests/scripts/validate_benchout.py: New script.
5795 * benchtests/Makefile (bench-func): Call it.
5796 * benchtests/scripts/benchout.schema.json: New file.
5798 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5800 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5801 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5802 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5803 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5804 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5805 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5806 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5807 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5808 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5809 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5810 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5811 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5812 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5813 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5814 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5815 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5919 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5920 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5921 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5922 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5923 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5925 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5928 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5930 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5931 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5932 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5933 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5934 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5936 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5938 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5941 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5942 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5944 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5945 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5946 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5949 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5950 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5951 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5952 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5953 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5954 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5955 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5957 2014-06-10 Wilco <wdijkstr@arm.com>
5959 * math/test-fenv-return.c: New file.
5960 * math/Makefile: Add new test test-fenv-return.
5962 2014-06-10 Joseph Myers <joseph@codesourcery.com>
5965 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5967 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5968 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5969 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5970 0.0L for an argument of 1.0L.
5971 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5973 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5974 value when x - 1 is zero.
5975 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5976 * sysdeps/i386/fpu/libm-test-ulps: Update.
5977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5979 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5982 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5984 2014-06-09 Roland McGrath <roland@hack.frob.com>
5986 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5987 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5989 2014-06-09 Roland McGrath <roland@hack.frob.com>
5991 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5992 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5994 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5995 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5997 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5998 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6000 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6001 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6003 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6004 if not already defined.
6005 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6006 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6007 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6008 (TLS_INIT_TP): Use it.
6009 (TLS_DEFINE_INIT_TP): New macro.
6010 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6012 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6014 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6016 [POSIX] (IXANY): Likewise.
6017 [POSIX] (OLCUC): Likewise.
6018 [POSIX || POSIX2008] (CBAUD): Do not allow.
6019 [POSIX || POSIX2008] (DEFECHO): Likewise.
6020 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6021 [POSIX || POSIX2008] (ECHOKE): Likewise.
6022 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6023 [POSIX || POSIX2008] (EXTA): Likewise.
6024 [POSIX || POSIX2008] (EXTB): Likewise.
6025 [POSIX || POSIX2008] (FLUSHO): Likewise.
6026 [POSIX || POSIX2008] (LOBLK): Likewise.
6027 [POSIX || POSIX2008] (PENDIN): Likewise.
6028 [POSIX || POSIX2008] (SWTCH): Likewise.
6029 [POSIX || POSIX2008] (VDISCARD): Likewise.
6030 [POSIX || POSIX2008] (VDSUSP): Likewise.
6031 [POSIX || POSIX2008] (VLNEXT): Likewise.
6032 [POSIX || POSIX2008] (VREPRINT): Likewise.
6033 [POSIX || POSIX2008] (VSTATUS): Likewise.
6034 [POSIX || POSIX2008] (VWERASE): Likewise.
6035 (B*): Change to B[0123456789]*.
6036 * conform/data/time.h-data [POSIX || UNIX98]
6037 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6038 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6039 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6040 [POSIX] (tm_*): Do not allow.
6042 2014-06-07 Joseph Myers <joseph@codesourcery.com>
6044 * Makefile (install): Don't set LANGUAGE.
6045 * Makefile.in (install): Likewise.
6046 * assert/Makefile (test-assert-ENV): Remove variable.
6047 (test-assert-perr-ENV): Likewise.
6048 * elf/Makefile (neededtest4-ENV): Likewise.
6049 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6050 [$(cross-compiling) = no]: Don't set LANGUAGE.
6051 * io/ftwtest-sh (LANG): Remove variable.
6052 * libio/Makefile (tst-widetext-ENV): Likewise.
6053 * manual/install.texi (Running make install): Don't refer to
6054 environment settings for make install.
6055 * INSTALL: Regenerated.
6056 * nptl/tst-tls6.sh: Don't set LANG.
6057 * posix/globtest.sh (LANG): Remove variable.
6058 * string/Makefile (tester-ENV): Likewise.
6059 (inl-tester-ENV): Likewise.
6060 (noinl-tester-ENV): Likewise.
6061 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6062 [$(cross-compiling) = no]: Don't set LANGUAGE.
6063 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6064 without explicit environment settings.
6066 2014-06-06 Roland McGrath <roland@hack.frob.com>
6068 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6069 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6070 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6071 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6073 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6075 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6076 other files in the crypt directory.
6077 * crypt/crypt.c: Remove duplicate includes.
6078 * crypt/crypt-entry.c: Likewise.
6079 * crypt/crypt_util.c: Likewise.
6081 2014-06-06 Joseph Myers <joseph@codesourcery.com>
6083 * Makeconfig (run-program-env): New variable.
6084 (run-program-prefix-before-env): Likewise.
6085 (run-program-prefix-after-env): Likewise.
6086 (run-program-prefix): Define in terms of new variables.
6087 (built-program-cmd-before-env): New variable.
6088 (built-program-cmd-after-env): Likewise.
6089 (built-program-cmd): Define in terms of new variables.
6090 (test-program-prefix-before-env): New variable.
6091 (test-program-prefix-after-env): Likewise.
6092 (test-program-prefix): Define in terms of new variables.
6093 (test-program-cmd-before-env): New variable.
6094 (test-program-cmd-after-env): Likewise.
6095 (test-program-cmd): Define in terms of new variables.
6096 * Rules (make-test-out): Use $(run-program-env).
6097 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6098 (help): Do not mention environment variables. Mention
6099 --timeoutfactor option.
6100 (timeoutfactor): New variable.
6101 (blacklist_exports): Remove function.
6102 (exports): Remove variable.
6103 (command): Do not include ${exports}.
6104 * manual/install.texi (Configuring and compiling): Do not mention
6105 test wrappers preserving environment variables. Mention that last
6106 assignment to a variable must take precedence.
6107 * INSTALL: Regenerated.
6108 * benchtests/Makefile (run-bench): Use $(run-program-env).
6109 * catgets/Makefile ($(objpfx)test1.cat): Use
6110 $(built-program-cmd-before-env), $(run-program-env) and
6111 $(built-program-cmd-after-env).
6112 ($(objpfx)test2.cat): Do not specify environment variables
6114 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6115 $(run-program-env) and $(built-program-cmd-after-env).
6116 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6117 $(run-program-env) and $(test-program-cmd-after-env).
6118 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6120 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6121 run_program_env and test_program_cmd_after_env arguments.
6122 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6123 * elf/tst-pathopt.sh: Use run_program_env argument.
6124 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6125 $(test-wrapper-env) and $(run-program-env).
6126 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6127 run_program_env arguments.
6128 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6129 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6130 $(test-program-prefix-before-env), $(run-program-env) and
6131 $(test-program-prefix-after-env).
6132 ($(objpfx)tst-gettext2.out): Likewise.
6133 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6134 run_program_env and test_program_prefix_after_env arguments.
6135 * intl/tst-gettext2.sh: Likewise.
6136 * intl/tst-gettext4.sh: Do not set environment variables
6138 * intl/tst-gettext6.sh: Likewise.
6139 * intl/tst-translit.sh: Likewise.
6140 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6141 $(test-program-prefix-before-env), $(run-program-env) and
6142 $(test-program-prefix-after-env).
6143 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6144 run_program_env and test_program_prefix_after_env arguments.
6145 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6146 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6147 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6148 explicitly with each use of ${test_wrapper_env}.
6149 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6150 $(test-program-prefix-before-env), $(run-program-env) and
6151 $(test-program-prefix-after-env).
6152 * posix/tst-getconf.sh: Do not set environment variables
6154 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6155 run_program_env and test_program_prefix_after_env arguments.
6156 * stdio-common/tst-printf.sh: Do not set environment variables
6158 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6159 $(test-program-prefix-before-env), $(run-program-env) and
6160 $(test-program-prefix-after-env).
6161 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6162 run_program_env and test_program_prefix_after_env arguments.
6163 Split $test calls into $test_pre and $test.
6164 * timezone/Makefile (build-testdata): Use
6165 $(built-program-cmd-before-env), $(run-program-env) and
6166 $(built-program-cmd-after-env).
6168 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6170 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6171 strlen for non SHARED builds.
6173 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6175 * nptl/allocatestack.c (check_list): Inlined function...
6176 (__reclaim_stacks): ... here.
6178 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6181 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6184 2014-06-05 Joseph Myers <joseph@codesourcery.com>
6186 * Rules (make-test-out): Include
6187 LOCPATH=$(common-objpfx)localedata in default environment.
6188 * debug/Makefile (tst-chk1-ENV): Remove variable.
6189 (tst-chk2-ENV): Likewise.
6190 (tst-chk3-ENV): Likewise.
6191 (tst-chk4-ENV): Likewise.
6192 (tst-chk5-ENV): Likewise.
6193 (tst-chk6-ENV): Likewise.
6194 (tst-lfschk1-ENV): Likewise.
6195 (tst-lfschk2-ENV): Likewise.
6196 (tst-lfschk3-ENV): Likewise.
6197 (tst-lfschk4-ENV): Likewise.
6198 (tst-lfschk5-ENV): Likewise.
6199 (tst-lfschk6-ENV): Likewise.
6200 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6201 (tst-iconv7-ENV): Likewise.
6202 * intl/Makefile (LOCPATH-ENV): Likewise.
6203 (tst-codeset-ENV): Likewise.
6204 (tst-gettext3-ENV): Likewise.
6205 (tst-gettext5-ENV): Likewise.
6206 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6207 (tst-fopenloc-ENV): Likewise.
6208 (tst-fgetws-ENV): Remove variable.
6209 (tst-ungetwc1-ENV): Likewise.
6210 (tst-ungetwc2-ENV): Likewise.
6211 (bug-ungetwc2-ENV): Likewise.
6212 (tst-swscanf-ENV): Likewise.
6213 (bug-ftell-ENV): Likewise.
6214 (tst-fgetwc-ENV): Likewise.
6215 (tst-fseek-ENV): Likewise.
6216 (tst-ftell-partial-wide-ENV): Likewise.
6217 (tst-ftell-active-handler-ENV): Likewise.
6218 (tst-ftell-append-ENV): Likewise.
6219 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6220 (tst-regexloc-ENV): Likewise.
6221 (bug-regex1-ENV): Likewise.
6222 (tst-regex-ENV): Likewise.
6223 (tst-regex2-ENV): Likewise.
6224 (bug-regex5-ENV): Likewise.
6225 (bug-regex6-ENV): Likewise.
6226 (bug-regex17-ENV): Likewise.
6227 (bug-regex18-ENV): Likewise.
6228 (bug-regex19-ENV): Likewise.
6229 (bug-regex20-ENV): Likewise.
6230 (bug-regex22-ENV): Likewise.
6231 (bug-regex23-ENV): Likewise.
6232 (bug-regex25-ENV): Likewise.
6233 (bug-regex26-ENV): Likewise.
6234 (bug-regex30-ENV): Likewise.
6235 (bug-regex32-ENV): Likewise.
6236 (bug-regex33-ENV): Likewise.
6237 (bug-regex34-ENV): Likewise.
6238 (bug-regex35-ENV): Likewise.
6239 (tst-rxspencer-ENV): Likewise.
6240 (tst-rxspencer-no-utf8-ENV): Likewise.
6241 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6242 (tst-sscanf-ENV): Likewise.
6243 (tst-swprintf-ENV): Likewise.
6244 (tst-swscanf-ENV): Likewise.
6245 (test-vfprintf-ENV): Likewise.
6246 (scanf13-ENV): Likewise.
6247 (bug14-ENV): Likewise.
6248 (tst-grouping-ENV): Likewise.
6249 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6250 (tst-strtod3-ENV): Likewise.
6251 (tst-strtod4-ENV): Likewise.
6252 (tst-strtod5-ENV): Likewise.
6253 (testmb2-ENV): Likewise./
6254 * string/Makefile (tst-strxfrm-ENV): Likewise.
6255 (tst-strxfrm2-ENV): Likewise.
6256 (bug-strcoll1-ENV): Likewise.
6257 (test-strcasecmp-ENV): Likewise.
6258 (test-strncasecmp-ENV): Likewise.
6259 * time/Makefile (tst-strptime-ENV): Likewise.
6260 (tst-ftime_l-ENV): Likewise.
6261 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6262 (tst-mbrtowc-ENV): Likewise.
6263 (tst-wcrtomb-ENV): Likewise.
6264 (tst-mbrtowc2-ENV): Likewise.
6265 (tst-c16c32-1-ENV): Likewise.
6266 (tst-mbsnrtowcs-ENV): Likewise.
6268 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6270 * manual/resource.texi (How to get information about the memory
6271 subsystem?): Fix typo.
6272 Reported by Peon de la Parra Ivan <peon@keba.com>
6274 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6277 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6278 (pthread_spin_lock): Branch out of spin loop to proper location.
6279 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6280 (pthread_spin_lock): Likewise.
6282 * nptl/tst-spin4.c: New test.
6283 * nptl/Makefile (tests): Add tst-spin4.
6285 2014-06-03 Andreas Schwab <schwab@suse.de>
6288 * resolv/res_send.c (send_dg): Reload file descriptor after
6291 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6293 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6295 2014-06-03 Richard Henderson <rth@redhat.com>
6297 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6298 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6299 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6300 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6301 in the SAVE_PID block.
6302 (__libc_vfork): New alias.
6303 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6305 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6306 child in registers, not on the stack. Remove RESET_PID conditionals.
6307 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6309 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6311 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6313 2014-06-03 Wilco <wdijkstr@arm.com>
6315 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6316 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6317 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6318 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6319 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6322 2014-06-03 Wilco <wdijkstr@arm.com>
6324 * sysdeps/aarch64/fpu/math_private.h
6325 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6326 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6327 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6328 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6331 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6333 * crypt/crypt-private.h: Include ufc-crypt.h.
6334 (__b64_from_24bit): Declare extern.
6335 * crypt/crypt_util.c(__b64_from_24bit): New function.
6336 (b64t): New static const variable.
6337 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6338 (b64t): Remove variable.
6339 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6340 * crypt/sha256-crypt.c: Include crypt-private.h.
6341 (b64t): Remove variable.
6342 (__sha256_crypt_r): Remove b64_from_24bit and replace
6343 with __b64_from_24bit.
6344 * crypt/sha512-crypt.c: Likewise.
6346 2014-06-02 Roland McGrath <roland@hack.frob.com>
6348 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6349 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6350 Label the code __libc_vfork rather than __vfork.
6351 [!NOT_IN_libc] (vfork): Define as weak alias.
6352 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6353 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6354 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6356 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6358 * malloc/malloc.c (malloc_info): Fix format specifier for
6361 2014-06-02 Wilco <wdijkstr@arm.com>
6363 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6366 2014-06-02 Wilco <wdijkstr@arm.com>
6369 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6370 Rewrite to reduce FPCR/FPSR accesses.
6372 2014-06-01 David S. Miller <davem@davemloft.net>
6374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6376 2014-05-31 David S. Miller <davem@davemloft.net>
6378 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6379 to occur in round to nearest mode when |x| >= 2.0
6381 2014-05-30 Richard Henderson <rth@twiddle.net>
6383 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6384 (PSEUDO_RET_NOERRNO): Remove.
6385 (ret): Don't redefine.
6386 (ret_NOERRNO): Define in terms of ret.
6387 (ret_ERRVAL): Likewise.
6389 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6390 use of PSEUDO_RET; perform the error check directly.
6392 2014-05-30 Marko Myllynen <myllynen@redhat.com>
6394 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6397 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6399 * malloc/malloc (malloc_info): Fix formatting.
6401 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6402 Roland McGrath <roland@hack.frob.com>
6404 * malloc/malloc (malloc_info): Also print mmapped statistics.
6406 2014-05-30 Roland McGrath <roland@hack.frob.com>
6408 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6409 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6411 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
6413 * malloc/malloc.c (malloc_info): Inline mi_arena.
6415 2014-05-29 Richard Henderson <rth@twiddle.net>
6417 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6418 Remove comma before expanding ASM_ARGS_##nr.
6419 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6420 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6422 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6423 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6424 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6425 (ASM_ARGS_1): Add leading comma.
6427 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6428 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6429 to __errno_location.
6430 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6431 Remove the expected plt for __errno_location.
6433 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6434 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6437 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6438 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6439 it and break it down.
6440 (DOCARGS_0, DOCARGS_1): Do nothing.
6441 (DOCARGS_2): Update to store into the new stack frame.
6442 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6443 (UNDOCARGS_1): Update to restore from the new stack frame.
6444 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6445 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6447 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6448 (SINGLE_THREAD_P): New parameter for result regno.
6449 (PSEUDO): Update to match; use cbz instead of beq.
6451 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6452 Use ENTRY to define the _nocancel entry point. Share the syscall
6453 and syscall error check paths with the cancel path.
6456 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6457 whitespace; tabs before and after asm mnemonics.
6459 2014-05-29 Eric Wong <normalperson@yhbt.net>
6462 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6463 Call fstat64 or stat64 internally, depending on arguments passed.
6464 Replace stat buffer argument with file descriptor argument.
6465 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6466 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6467 Pass fd to __internal_statvfs instead of calling fstat64.
6468 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6469 Pass fd to __internal_statvfs64 instead of calling fstat64.
6470 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6471 Pass -1 to __internal_statvfs instead of calling stat64.
6472 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6473 Pass -1 to __internal_statvfs64 instead of calling stat64.
6475 2014-05-28 Roland McGrath <roland@hack.frob.com>
6477 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6478 that was previously under [RESET_PID].
6479 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6481 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6482 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6484 2014-05-27 Roland McGrath <roland@hack.frob.com>
6486 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6488 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6489 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6491 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
6493 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6495 2014-05-27 Andreas Schwab <schwab@suse.de>
6497 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6499 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6500 * elf/rtld.c (init_tls, dl_main): Likewise.
6501 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6502 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6503 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6504 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6505 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6506 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6507 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6508 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6509 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6510 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6511 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6512 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6513 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6514 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6515 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6516 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6517 * sysdeps/generic/tls.h: Update description.
6519 2014-05-27 Will Newton <will.newton@linaro.org>
6522 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6523 and restore r2 rather than just restoring.
6525 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6528 * libio/tst-ftell-append.c: New test case.
6529 * libio/Makefile (tests): Add test case.
6530 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6532 * libio/wfileops.c (do_ftell_wide): Likewise.
6534 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6538 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6542 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6543 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6544 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6545 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6546 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6547 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6548 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6551 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6554 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6555 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6556 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6557 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6558 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6560 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6561 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6563 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6565 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6567 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6568 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6569 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6571 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6572 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6573 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6574 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6579 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6585 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6597 conditional [RESET_PID].
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6606 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6607 (__libc_vfork): New strong alias.
6608 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6615 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6616 (__libc_vfork): New strong alias.
6617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6622 2014-05-26 Carlos O'Donell <carlos@redhat.com>
6624 * malloc/malloc.c (mi_arena): New function.
6625 (malloc_info): Remove nested function mi_arena. Call non-nosted
6628 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6630 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6632 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6633 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6634 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6635 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6636 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6637 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6638 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6640 2014-05-26 Andreas Schwab <schwab@suse.de>
6643 * locale/programs/repertoire.c (repertoire_read): Add slash
6644 between I18NPATH element and file name.
6645 * locale/programs/locfile.c (locfile_read): Likewise.
6647 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6649 * nptl/pthread_mutexattr_settype.c
6650 (__pthread_mutexattr_settype):
6651 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6653 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6655 * nptl/tst-mutex5 (do_test):
6656 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6658 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6660 * benchtests/README: Document 'init' directive.
6661 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6663 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6664 (parse_file): Recognize 'init' directive.
6666 2014-05-26 Kyle McMartin <kyle@redhat.com>
6669 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6670 alignment of struct pthread.
6672 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6675 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6676 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6677 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6678 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6680 2014-05-25 Richard Henderson <rth@twiddle.net>
6682 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6683 (SINGLE_THREAD_P_PIC): Remove.
6684 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6685 (SINGLE_THREAD_P_PIC): Remove.
6687 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6688 branch to syscall error ...
6690 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6691 from __local_syscall_error to .Lsyscall_error.
6692 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6693 (SYSCALL_ERROR): Update label name.
6695 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6696 Do not use DOARGS/UNDOARGS.
6697 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6698 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6699 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6700 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6701 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6706 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6707 define if !NOT_IN_libc.
6708 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6709 define with non-default symbol versions.
6711 2014-05-23 Richard Henderson <rth@twiddle.net>
6713 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6714 (vfork, __vfork): Define via compat_symbol.
6716 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6717 [!HAVE_IFUNC] (vfork_compat): Remove.
6718 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6720 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6723 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6724 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6727 2014-05-23 Richard Henderson <rth@twiddle.net>
6729 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6730 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6731 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6732 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6734 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6735 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6736 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6737 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6738 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6739 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6740 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6741 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6742 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6743 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6744 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6745 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6746 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6747 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6748 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6749 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6750 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6751 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6752 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6753 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6754 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6755 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6756 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6757 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6758 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6759 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6760 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6761 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6762 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6763 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6764 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6765 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6766 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6767 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6768 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6769 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6770 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6771 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6772 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6773 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6774 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6775 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6776 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6777 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6778 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6779 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6780 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6781 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6782 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6783 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6784 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6785 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6786 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6787 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6789 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6791 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6792 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6793 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6794 before exiting on error.
6795 (__libc_vfork): New strong alias.
6796 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6797 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6799 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6800 that was previously under [RESET_PID].
6801 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6803 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6805 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6808 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6809 value when x - 1 is zero.
6810 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6811 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6812 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6813 0.0L for an argument of 1.0L.
6814 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6816 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6817 value when x - 1 is zero.
6818 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6819 * sysdeps/i386/fpu/libm-test-ulps: Update.
6820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6822 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6824 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6825 alphasort and versionsort.
6827 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6829 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6831 [copysignf]: Likewise.
6833 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6835 * crypt/md5-crypt.c: Fix formatting.
6837 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6839 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6840 (b64_from_24bit): New function.
6842 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6844 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6845 libc_hidden_builtin_def to ifunc.
6846 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6847 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6849 2014-05-21 Roland McGrath <roland@hack.frob.com>
6851 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6852 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6854 2014-05-21 Joseph Myers <joseph@codesourcery.com>
6856 * nscd/Depend (linuxthreads): Remove.
6858 * resolv/Depend (linuxthreads): Remove.
6859 * rt/Depend (linuxthreads): Remove.
6861 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6862 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6863 $(common-objpfx)elf/.
6864 (link-libc-before-gnulib): Likewise.
6865 (elfobjdir): Remove variable.
6866 * Makefile (install): Use $(elf-objpfx) instead of
6867 $(common-objpfx)elf/.
6868 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6870 (link-libc-deps): Likewise.
6871 ($(common-objpfx)libc.so): Likewise.
6872 ($(common-objpfx)linkobj/libc.so): Likewise.
6873 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6874 instead of $(common-objpfx)elf/.
6875 (symbolic-link-list): Likewise.
6876 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6877 [$(cross-compiling) = no]: Likewise.
6878 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6880 (static-gnulib-arch): Likewise.
6881 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6882 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6883 $(common-objpfx)elf/.
6885 2014-05-21 Richard Henderson <rth@redhat.com>
6887 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6888 (SINGLE_THREAD_P): Use the correct width load. Fold
6889 into the ldr offset.
6891 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6892 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6894 2014-05-20 Joseph Myers <joseph@codesourcery.com>
6896 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6897 (libgcc_s_resume): Use __attribute_used__.
6898 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6901 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6903 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6904 optimization when used with float constants.
6906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6908 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6911 * locale/nl_langinfo_l.c: Make direct reference to every
6912 _nl_current_CATEGORY symbol.
6913 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6914 (tests-static): Add tst-langinfo-static.
6915 (tests-special): Add tst-langinfo-static.out.
6916 ($(objpfx)tst-langinfo.out): Redirect output.
6917 ($(objpfx)tst-langinfo-static.out): New.
6918 * localedata/tst-langinfo.sh: Send output to stdout.
6919 * localedata/tst-langinfo-static.c: New file.
6922 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6923 when the shift amount is modulo the limb size.
6925 2014-05-20 Richard Henderson <rth@redhat.com>
6928 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6929 Change type of sa_flags from unsigned int to int.
6932 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6934 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6936 2014-05-20 Will Newton <will.newton@linaro.org>
6938 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6939 Test the return value of the system call in the nocancel case.
6941 2014-05-20 Will Newton <will.newton@linaro.org>
6942 Yvan Roux <yvan.roux@linaro.org>
6944 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6945 #include of asm/ptrace.h.
6946 (PTRACE_GET_THREAD_AREA): Remove #undef.
6947 (PTRACE_GETHBPREGS): Likewise.
6948 (PTRACE_SETHBPREGS): Likewise.
6949 (struct user_regs_struct): New structure.
6950 (struct user_fpsimd_struct): New structure.
6951 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6952 #include of asm/ptrace.h and second #include of sys/user.h.
6953 (PTRACE_GET_THREAD_AREA): Remove #undef.
6954 (PTRACE_GETHBPREGS): Likewise.
6955 (PTRACE_SETHBPREGS): Likewise.
6956 (ELF_NGREG): Use new struct user_regs_struct.
6957 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6959 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6961 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6962 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6964 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6967 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6968 membar to avoid block loads/stores to overlap previous stores.
6970 2014-05-17 Richard Henderson <rth@redhat.com>
6972 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6973 Create the __##syscall_name##_nocancel entry point.
6974 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6975 Remove; let the sysdep-cancel.h code create it.
6977 2014-05-17 David S. Miller <davem@davemloft.net>
6979 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6980 Protect with __USE_GNU.
6981 (TIOCSET_TEMPT): Likewise.
6982 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6983 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6984 these are already provided in bits/ioctl-types.h
6986 2014-05-16 Roland McGrath <roland@hack.frob.com>
6988 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6989 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6991 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6992 Use wait4 regardless of [__NR_waitpid].
6994 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6997 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6998 (_FP_NANSIGN_Q): Set the quiet bit.
7000 2014-05-16 Joseph Myers <joseph@codesourcery.com>
7002 * benchtests/Makefile
7003 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7004 not $(common-objpfx)math/libm.so.
7005 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7006 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7007 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7008 $(common-objpfx)dlfcn/libdl.so.
7009 ($(objpfx)tst-audit8): Depend on $(libm), not
7010 $(common-objpfx)math/libm.so.
7011 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7012 not $(common-objpfx)dlfcn/libdl.so.
7014 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7015 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7016 [$(build-shared) = yes].
7017 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7018 $(common-objpfx)nptl/libpthread.so.
7019 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7020 $(common-objpfx)math/libm.so$(libm.so-version) or
7021 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7022 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7023 $(common-objpfx)dlfcn/libdl.so.
7024 * setjmp/Makefile (link-libm): Remove variable.
7025 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7026 * stdio-common/Makefile (link-libm): Remove variable.
7027 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7028 * stdlib/Makefile (link-libm): Remove variable.
7029 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7030 ($(objpfx)tst-strtod-round): Likewise.
7031 ($(objpfx)tst-tininess): Likewise.
7032 ($(objpfx)tst-strtod-underflow): Likewise.
7033 ($(objpfx)tst-strtod6): Likewise.
7034 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7035 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7036 $(common-objpfx)dlfcn/libdl.so.
7038 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7040 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7041 BSD terminal modes definitions.
7043 2014-05-16 Roland McGrath <roland@hack.frob.com>
7045 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7046 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7048 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7049 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7050 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7051 Don't do #include_next.
7052 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7053 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7054 Don't do #include_next.
7055 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7056 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7057 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7058 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7060 2014-05-16 Allan McRae <allan@archlinux.org>
7062 * po/sv.po: Update Swedish translation from translation project.
7064 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7067 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7070 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7071 errno if the TIOCGPTN ioctl fails with an error different than
7073 * login/tst-ptsname.c: New file.
7074 * login/Makefile (tests): Add tst-ptsname.
7077 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7080 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7084 herrno to return EAI_AGAIN.
7086 2014-05-14 Roland McGrath <roland@hack.frob.com>
7088 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7089 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7090 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7091 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7092 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7093 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7094 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7095 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7096 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7097 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7098 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7099 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7100 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7101 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7102 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7103 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7104 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7105 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7106 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7107 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7108 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7109 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7110 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7111 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7112 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7113 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7114 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7115 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7116 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7117 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7119 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7121 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7124 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7126 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7128 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7130 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7132 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7134 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7136 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7138 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7140 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7142 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7144 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7146 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7148 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7150 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7153 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7155 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7157 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7159 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7161 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7163 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7165 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7167 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7169 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7171 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7174 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7176 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7178 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7179 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7180 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7181 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7182 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7183 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7184 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7185 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7186 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7187 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7188 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7189 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7190 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7191 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7192 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7193 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7194 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7195 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7196 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7197 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7198 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7199 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7200 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7201 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7202 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7203 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7204 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7205 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7206 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7207 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7208 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7210 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7211 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7213 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7214 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7215 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7216 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7217 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7218 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7220 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7221 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7223 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7224 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7226 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7227 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7229 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7230 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7231 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7232 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7234 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7235 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7236 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7237 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7238 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7239 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7240 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7241 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7243 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7244 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7246 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7248 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7249 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7250 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7251 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7252 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7254 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7256 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7258 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7259 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7260 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7261 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7262 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7263 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7265 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7266 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7268 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7269 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7271 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7272 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7274 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7275 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7276 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7277 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7279 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7280 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7281 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7282 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7283 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7284 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7285 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7286 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7288 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7289 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7291 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7293 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7294 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7295 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7296 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7297 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7299 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7301 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7303 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7304 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7305 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7306 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7307 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7308 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7309 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7310 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7311 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7312 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7314 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7315 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7317 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7318 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7320 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7321 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7323 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7324 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7325 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7326 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7327 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7328 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7330 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7331 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7332 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7333 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7334 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7335 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7336 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7337 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7339 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7340 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7342 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7344 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7345 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7346 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7347 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7348 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7350 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7352 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7354 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7355 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7356 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7357 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7358 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7359 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7360 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7361 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7362 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7363 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7364 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7366 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7367 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7369 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7370 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7372 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7373 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7374 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7375 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7376 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7377 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7378 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7379 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7380 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7381 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7382 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7383 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7384 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7385 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7386 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7387 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7388 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7389 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7391 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7392 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7393 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7394 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7396 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7398 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7399 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7400 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7402 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7405 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7406 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7408 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7410 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7412 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7414 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7415 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7416 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7417 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7418 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7419 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7420 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7421 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7422 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7423 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7424 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7426 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7427 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7428 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7429 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7430 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7432 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7433 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7434 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7435 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7436 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7437 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7438 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7439 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7440 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7441 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7443 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7444 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7446 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7447 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7448 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7449 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7450 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7451 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7452 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7453 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7454 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7455 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7456 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7457 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7459 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7460 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7462 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7480 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7481 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7485 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7486 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7487 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7488 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7489 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7490 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7491 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7492 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7493 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7494 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
7496 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7497 that was previously under [RESET_PID].
7498 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7499 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7500 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7502 * sysdeps/i386/nptl/Implies: New file.
7503 * sysdeps/x86_64/nptl/Implies: New file.
7504 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7505 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7506 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7507 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7509 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7510 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7511 (__libc_vfork): New strong alias.
7512 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7513 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7515 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7516 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7517 (__libc_vfork): New strong alias.
7518 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7519 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7521 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7522 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7523 (__libc_vfork): New strong alias.
7524 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7525 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7526 * nptl/pt-vfork.c: New file.
7527 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7528 (libpthread: GLIBC_2.20): New version set (empty).
7530 2014-05-14 Will Newton <will.newton@linaro.org>
7532 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7535 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7538 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7539 arguments with exponent 65 or above.
7540 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7541 arguments 0x1p113L or above.
7542 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7543 to arguments 0x1p107L or above.
7544 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7545 positive arguments with exponent 65 or above.
7546 * math/auto-libm-test-in: Add more tests of log1p.
7547 * math/auto-libm-test-out: Regenerated.
7550 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7551 non-finite arguments is +0.
7552 * math/s_cacosf.c (__cacosf): Likewise.
7553 * math/s_cacosl.c (__cacosl): Likewise.
7554 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7555 * sysdeps/i386/fpu/libm-test-ulps: Update.
7556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7559 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7561 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7562 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7563 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7564 for explicit high bit of mantissa when testing for argument equal
7566 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7567 * sysdeps/i386/fpu/libm-test-ulps: Update.
7568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7571 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7572 (__erf): Scale by 16 instead of 8 in potentially underflowing
7573 case. Ensure exception if result actually underflows.
7574 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7575 (__erff): Scale by 16 instead of 8 in potentially underflowing
7576 case. Ensure exception if result actually underflows.
7577 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7578 (efx8): Remove variable.
7579 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7580 case. Ensure exception if result actually underflows.
7581 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7582 (efx8): Remove variable.
7583 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7584 case. Ensure exception if result actually underflows.
7585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7586 (efx8): Remove variable.
7587 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7588 case. Ensure exception if result actually underflows.
7589 * math/auto-libm-test-in: Add more tests of erf.
7590 * math/auto-libm-test-out: Regenerated.
7592 2014-05-14 Andreas Schwab <schwab@suse.de>
7594 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7595 Remove code conditionalized on USE___THREAD.
7597 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7598 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7601 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7604 Define unconditionally.
7605 (__ASSUME_O_CLOEXEC): Likewise.
7606 (__ASSUME_SOCK_CLOEXEC): Likewise.
7607 (__ASSUME_IN_NONBLOCK): Likewise.
7608 (__ASSUME_PIPE2): Likewise.
7609 (__ASSUME_EVENTFD2): Likewise.
7610 (__ASSUME_SIGNALFD4): Likewise.
7611 (__ASSUME_DUP3): Likewise.
7612 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7613 (__ASSUME_DUP3): Do not define.
7614 (__ASSUME_EVENTFD2): Likewise.
7615 (__ASSUME_IN_NONBLOCK): Likewise.
7616 (__ASSUME_O_CLOEXEC): Likewise.
7617 (__ASSUME_PIPE2): Likewise.
7618 (__ASSUME_SIGNALFD4): Likewise.
7619 (__ASSUME_SOCK_CLOEXEC): Likewise.
7620 (__ASSUME_UTIMES): Undefine.
7621 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7622 (__ASSUME_UTIMES): Do not define.
7623 (__ASSUME_O_CLOEXEC): Likewise.
7624 (__ASSUME_SOCK_CLOEXEC): Likewise.
7625 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7626 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7628 (__ASSUME_PIPE2): Likewise.
7629 (__ASSUME_EVENTFD2): Likewise.
7630 (__ASSUME_SIGNALFD4): Likewise.
7631 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7632 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7634 (__ASSUME_EVENTFD2): Likewise.
7635 (__ASSUME_SIGNALFD4): Likewise.
7636 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7637 (__ASSUME_32BITUIDS): Likewise.
7638 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7639 (__ASSUME_IPC64): Likewise.
7640 (__ASSUME_ST_INO_64_BIT): Likewise.
7641 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7642 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7643 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7644 (__ASSUME_UTIMES): Do not define.
7645 (__ASSUME_PSELECT): Likewise.
7646 (__ASSUME_PPOLL): Likewise.
7647 (__ASSUME_O_CLOEXEC): Likewise.
7648 (__ASSUME_SOCK_CLOEXEC): Likewise.
7649 (__ASSUME_IN_NONBLOCK): Likewise.
7650 (__ASSUME_PIPE2): Likewise.
7651 (__ASSUME_EVENTFD2): Likewise.
7652 (__ASSUME_SIGNALFD4): Likewise.
7653 (__ASSUME_DUP3): Likewise.
7654 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7655 (__ASSUME_UTIMES): Likewise.
7656 (__ASSUME_O_CLOEXEC): Likewise.
7657 (__ASSUME_SOCK_CLOEXEC): Likewise.
7658 (__ASSUME_IN_NONBLOCK): Likewise.
7659 (__ASSUME_PIPE2): Likewise.
7660 (__ASSUME_EVENTFD2): Likewise.
7661 (__ASSUME_SIGNALFD4): Likewise.
7662 (__ASSUME_DUP3): Likewise.
7663 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7664 (__ASSUME_UTIMES): 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/mips/kernel-features.h (__ASSUME_IPC64):
7674 (__ASSUME_UTIMES): Likewise.
7675 (__ASSUME_EVENTFD2): Likewise.
7676 (__ASSUME_SIGNALFD4): Likewise.
7677 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7678 (__ASSUME_O_CLOEXEC): Likewise.
7679 (__ASSUME_SOCK_CLOEXEC): Likewise.
7680 (__ASSUME_IN_NONBLOCK): Likewise.
7681 (__ASSUME_PIPE2): Likewise.
7682 (__ASSUME_EVENTFD2): Likewise.
7683 (__ASSUME_SIGNALFD4): Likewise.
7684 (__ASSUME_DUP3): Likewise.
7685 (__ASSUME_UTIMES): Undefine.
7687 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7688 feclearexcept. Remove symbol versioning code.
7689 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7690 symbol versioning code.
7691 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7692 symbol versioning code.
7693 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7694 feupdateenv. Remove symbol versioning code.
7695 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7696 fegetexceptflag. Remove symbol versioning code.
7697 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7698 fesetexceptflag. Remove symbol versioning code.
7699 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7700 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7701 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7702 (__posix_fadvise64_l32): Remove prototype.
7703 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7706 2014-05-13 Roland McGrath <roland@hack.frob.com>
7708 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7709 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7710 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7711 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7713 2014-05-13 Sami Kerola <kerolasa@iki.fi>
7715 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7716 current working directory
7718 2014-05-13 Roland McGrath <roland@hack.frob.com>
7720 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7721 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7722 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7723 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7724 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7725 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7726 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7727 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7728 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7729 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7730 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7731 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7732 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7733 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7734 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7735 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7736 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7737 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7738 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7739 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7740 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7741 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7742 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7743 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7744 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7745 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7746 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7747 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7748 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7749 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7750 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7751 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7752 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7753 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7754 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7755 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7756 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7757 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7758 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7759 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7760 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7761 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7763 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7764 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7766 * sysdeps/unix/sysv/linux/arm/Makefile
7767 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7768 Add rt-aeabi_unwind_cpp_pr1.
7769 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7770 Add nptl-aeabi_unwind_cpp_pr1.
7771 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7772 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7773 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7774 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7775 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7776 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7778 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7779 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7780 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7781 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7783 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7784 Deconditionalize the code that was previously under [RESET_PID].
7785 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7787 * sysdeps/generic/exit-thread.h: New file.
7788 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7789 * include/unistd.h (__exit_thread): Remove declaration.
7790 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7791 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7792 * csu/libc-start.c: Include <exit-thread.h>.
7793 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7794 * nptl/pthread_create.c: Include <exit-thread.h>.
7795 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7796 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7797 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7798 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7799 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7800 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7801 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7802 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7803 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7804 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7805 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7806 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7807 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7808 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7809 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7810 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7811 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7813 2014-05-13 Andreas Schwab <schwab@suse.de>
7815 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7817 2014-05-12 Joseph Myers <joseph@codesourcery.com>
7819 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7820 (__ASSUME_UTIMES): Do not condition on kernel version.
7821 (__ASSUME_PSELECT): Define unconditionally.
7822 (__ASSUME_PPOLL): Likewise.
7823 (__ASSUME_ATFCTS): Likewise.
7824 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7825 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7826 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7827 (__ASSUME_UTIMENSAT): Define unconditionally.
7828 (__ASSUME_PRIVATE_FUTEX): Likewise.
7829 (__ASSUME_FALLOCATE): Likewise.
7830 (__ASSUME_O_CLOEXEC): Likewise.
7831 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7832 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7833 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7834 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7835 (__ASSUME_IN_NONBLOCK): Likewise.
7836 (__ASSUME_PIPE2): Likewise.
7837 (__ASSUME_EVENTFD2): Likewise.
7838 (__ASSUME_SIGNALFD4): Likewise.
7839 (__ASSUME_DUP3): Likewise.
7840 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7841 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7842 (__ASSUME_AT_RANDOM): Likewise.
7843 (__ASSUME_PREADV): Likewise.
7844 (__ASSUME_PWRITEV): Likewise.
7845 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7846 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7847 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7848 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7849 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7850 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7851 (__ASSUME_O_CLOEXEC): Define unconditionally.
7852 (__ASSUME_PSELECT): Do not undefine conditionally.
7853 (__ASSUME_PPOLL): Likewise.
7854 (__ASSUME_ATFCTS): Likewise.
7855 (__ASSUME_SET_ROBUST_LIST): Likewise.
7856 (__ASSUME_UTIMENSAT): Likewise.
7857 (__ASSUME_FDATASYNC): Define unconditionally.
7858 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7859 (__ASSUME_SIGFRAME_V2): Likewise.
7860 )__ASSUME_EVENTFD2): Likewise.
7861 (__ASSUME_SIGNALFD4): Likewise.
7862 (__ASSUME_PSELECT): Do not undefine conditionally.
7863 (__ASSUME_PPOLL): Likewise.
7864 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7865 (__ASSUME_PSELECT): Define unconditionally.
7866 (__ASSUME_PPOLL): Likewise.
7867 (__ASSUME_O_CLOEXEC): Likewise.
7868 (__ASSUME_SOCK_CLOEXEC): Likewise.
7869 (__ASSUME_IN_NONBLOCK): Likewise.
7870 (__ASSUME_PIPE2): Likewise.
7871 (__ASSUME_EVENTFD2): Likewise.
7872 (__ASSUME_SIGNALFD4): Likewise.
7873 (__ASSUME_DUP3): Likewise.
7874 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7875 (__ASSUME_O_CLOEXEC): Likewise.
7876 (__ASSUME_SOCK_CLOEXEC): Likewise.
7877 (__ASSUME_IN_NONBLOCK): Likewise.
7878 (__ASSUME_PIPE2): Likewise.
7879 (__ASSUME_EVENTFD2): Likewise.
7880 (__ASSUME_SIGNALFD4): Likewise.
7881 (__ASSUME_DUP3): Likewise.
7882 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7883 (__ASSUME_EVENTFD2): Likewise.
7884 (__ASSUME_SIGNALFD4): Likewise.
7885 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7887 2014-05-12 Andreas Schwab <schwab@suse.de>
7890 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7891 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7892 than maximum RPC packet size.
7893 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7894 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7895 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7896 (_nss_nis_getservbyport_r): Likewise.
7898 2014-05-12 Will Newton <will.newton@linaro.org>
7900 * malloc/Makefile (tests): Add tst-mallopt.
7901 * malloc/tst-mallopt.c: New file.
7903 2014-05-09 Roland McGrath <roland@hack.frob.com>
7905 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7906 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7908 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7910 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7911 (tst-tlsmod6.so): Likewise.
7913 2014-05-09 Roland McGrath <roland@hack.frob.com>
7915 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7917 2014-05-09 Joseph Myers <joseph@codesourcery.com>
7920 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7921 and <dl-procinfo.h>.
7922 (__fegetenv): Save SSE state in envp->__eip if supported.
7923 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7924 envp->__eip if supported.
7925 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7926 and <dl-procinfo.h>.
7927 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7928 __data_offset and __data_selector in environment to 0. Set SSE
7930 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7932 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7934 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7936 2014-05-09 Will Newton <will.newton@linaro.org>
7938 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7939 and libc_relro_required for ARM.
7940 * sysdeps/arm/preconfigure: Regenerate.
7942 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7943 Stefan Liebler <stli@linux.vnet.ibm.com>
7945 * config.make.in (enable-lock-elision): New Makefile variable.
7946 * configure.ac: Likewise.
7947 * configure: Regenerate.
7948 * sysdeps/s390/configure.ac:
7949 Add check for gcc transactions support.
7950 * sysdeps/s390/configure: Regenerate.
7951 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7952 Build elision files if enabled.
7953 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7954 Add lock elision support for s390.
7955 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7956 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7957 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7958 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7959 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7960 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7961 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7963 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7965 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7969 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7970 (__lll_timedlock_elision, __lll_lock_elision)
7971 (__lll_unlock_elision, __lll_trylock_elision)
7972 (lll_timedlock_elision, lll_lock_elision)
7973 (lll_unlock_elision, lll_trylock_elision): Add.
7974 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7975 (pthread_mutex_t): Add lock elision support for s390.
7977 2014-05-14 Wilco <wdijkstr@arm.com>
7979 * sysdeps/arm/fclrexcpt.c: Cleanup.
7980 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7981 * sysdeps/arm/feenablxcpt.c: Cleanup.
7982 * sysdeps/arm/fegetenv.c: Cleanup.
7983 * sysdeps/arm/fegetexcept.c: Cleanup.
7984 * sysdeps/arm/fegetround.c: Cleanup.
7985 * sysdeps/arm/feholdexcpt.c: Cleanup.
7986 * sysdeps/arm/fesetenv.c: Cleanup.
7987 * sysdeps/arm/fesetround.c: Cleanup.
7988 * sysdeps/arm/feupdateenv.c: Cleanup.
7989 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7990 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7991 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7992 * sysdeps/arm/ftestexcept.c: Cleanup.
7993 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7994 * sysdeps/arm/setfpucw.c: Cleanup.
7996 2014-05-09 Will Newton <will.newton@linaro.org>
7998 * sysdeps/arm/armv7/strcmp.S: New file.
7999 * NEWS: Mention addition of ARMv7 optimized strcmp.
8001 2014-05-08 Roland McGrath <roland@hack.frob.com>
8003 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8004 look for %.ac rather than %.in.
8006 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8007 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8008 * sysdeps/mach/hurd/configure: Regenerated.
8009 * sysdeps/unix/sysv/linux/configure: Regenerated.
8011 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8013 2014-05-07 Steve Ellcey <sellcey@mips.com>
8016 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8020 2014-05-07 Andreas Schwab <schwab@suse.de>
8022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8023 when skipping over non-matching result from nscd.
8025 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8028 * nptl/sockperf.c (client): Check socket return value.
8031 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8032 nscd security class.
8034 2014-05-06 Roland McGrath <roland@hack.frob.com>
8036 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8037 * sysdeps/arm/unwind.h: ... here.
8039 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8042 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8045 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8047 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8048 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8049 multiarch strncpy for PPC64.
8050 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8051 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8053 multiarch optimizations.
8054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8055 (__libc_ifunc_impl_list): Likewise.
8056 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8057 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8058 multiarch stpncpy for PPC64.
8059 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8060 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8062 2014-05-06 Andreas Schwab <schwab@suse.de>
8065 * gmon/mcount.c (_MCOUNT_DECL): Use
8066 atomic_compare_and_exchange_bool_acq instead of
8067 catomic_compare_and_exchange_bool_acq.
8069 2014-05-05 Roland McGrath <roland@hack.frob.com>
8071 * elf/Makefile (others, install-bin): Remove pldd.
8072 (pldd-modules): Variable removed.
8073 ($(objpfx)pldd): Target removed.
8074 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8075 (others, install-bin): Append pldd here.
8076 ($(objpfx)pldd): New target.
8078 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8079 to 0, so the first #if test emitted later doesn't see it undefined.
8080 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8081 * sysdeps/gnu/errlist.c: Regenerated.
8083 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8085 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8086 [libc_hidden_builtin_def]: Define to empty value.
8087 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8088 [libc_hidden_builtin_def]: Likewise.
8089 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8090 [libc_hidden_builtin_def]: Likewise.
8091 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8092 [libc_hidden_builtin_def]: Likewise.
8093 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8094 __redirect_memcpy and define ifunc as default hidden symbol.
8095 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8096 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8098 2014-05-04 Adam Conrad <adconrad@0c3.net>
8100 * locale/iso-4217.def: Reintroduce XDR currency.
8102 2014-05-04 Allan McRae <allan@archlinux.org>
8104 * po/eo.po: Update Esperanto translation from translation project.
8106 2014-05-02 Carlos O'Donell <carlos@redhat.com>
8108 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8109 and FEATURE_INDEX_MAX to 1.
8110 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8112 2014-05-01 Steve Ellcey <sellcey@mips.com>
8114 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8115 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8116 * iconvdata/big5.c (ONE_DIRECTION): Define.
8117 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8118 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8119 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8120 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8121 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8122 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8123 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8124 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8125 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8126 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8127 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8128 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8129 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8130 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8131 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8132 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8133 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8134 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8135 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8136 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8137 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8138 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8139 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8140 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8141 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8142 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8143 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8144 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8145 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8146 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8147 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8148 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8149 * iconvdata/johab.c (ONE_DIRECTION): Define.
8150 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8151 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8152 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8153 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8154 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8155 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8156 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8157 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8158 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8159 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8161 2014-05-01 Roland McGrath <roland@hack.frob.com>
8163 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8164 (_IO_JUMPS_OFFSET): Define to 0.
8166 * nptl/sysdeps/pthread/bits/libc-lock.h
8167 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8168 (__libc_lock_define_initialized_recursive): Always define using
8169 initializer. Modern compilers treat uninitialized (implicit zero) and
8170 explicit zero initializers the same (i.e. put the datum in bss).
8172 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8174 * nscd/nscd-client.h: Include <string.h>.
8176 2014-05-01 David S. Miller <davem@davemloft.net>
8179 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8180 multiple zero bytes exist at the end of a string.
8181 Reported by Aurelien Jarno <aurelien@aurel32.net>
8183 * string/test-strcmp.c (check): Add explicit test for situations where
8184 there are multiple zero bytes after the first.
8186 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8189 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8190 when compiling wprintf.
8191 * stdio-common/tstdiomisc.c (t3): New function.
8194 2014-05-01 Steve Ellcey <sellcey@mips.com>
8196 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8197 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8198 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8199 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8201 2014-05-01 Steve Ellcey <sellcey@mips.com>
8203 * stdlib/longlong.h: Updated from GCC.
8205 2014-05-01 Will Newton <will.newton@linaro.org>
8206 Bernard Ogden <bernie.ogden@linaro.org>
8208 * NEWS: Update fixed bug list.
8211 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8213 2014-04-30 David S. Miller <davem@davemloft.net>
8215 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8216 (libc_feholdexcept_setround_sparc_ctx): New function.
8217 (libc_fesetenv_sparc_ctx): Likewise.
8218 (libc_feupdateenv_sparc_ctx): Likewise.
8219 (libc_feholdsetround_sparc_ctx): Likewise.
8220 (libc_feholdexcept_setround_ctx): Define.
8221 (libc_feholdexcept_setroundf_ctx): Likewise.
8222 (libc_feholdexcept_setroundl_ctx): Likewise.
8223 (libc_fesetenv_ctx): Likewise.
8224 (libc_fesetenvf_ctx): Likewise.
8225 (libc_fesetenvl_ctx): Likewise.
8226 (libc_feupdateenv_ctx): Likewise.
8227 (libc_feupdateenvf_ctx): Likewise.
8228 (libc_feupdateenvl_ctx): Likewise.
8229 (libc_feresetround_ctx): Likewise.
8230 (libc_feresetroundf_ctx): Likewise.
8231 (libc_feresetroundl_ctx): Likewise.
8232 (libc_feholdsetround_ctx): Likewise.
8233 (libc_feholdsetroundf_ctx): Likewise.
8234 (libc_feholdsetroundl_ctx): Likewise.
8236 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8237 with __USE_GNU instead of XOPEN cpp guards.
8239 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8243 with XOPEN cpp guards.
8245 2014-04-30 Julian Brown <julian@codesourcery.com>
8248 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8251 2014-04-30 Joseph Myers <joseph@codesourcery.com>
8254 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8256 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8257 * sysdeps/unix/sysv/linux/configure: Regenerated.
8258 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8259 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8260 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8261 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8262 * README: Update reference to required Linux kernel version.
8263 * manual/install.texi (Linux): Update reference to required Linux
8264 kernel headers version.
8265 * INSTALL: Regenerated.
8267 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8269 [POSIX] (limits.h): Likewise.
8270 [POSIX] (math.h): Likewise.
8271 [POSIX] (sys/wait.h): Likewise.
8272 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8274 [POSIX] (stddef.h): Do not allow header inclusion.
8276 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8278 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8280 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8282 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8283 Return immediately after lll_futex_wake.
8285 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8288 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8290 (datahead_init_pos): Call datahead_init_common early.
8291 (datahead_init_neg): Likewise.
8293 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8294 datahead_init_neg): New functions.
8295 * nscd/aicache.c (addhstaiX): Use them.
8296 * nscd/grpcache.c (cache_addgr): Likewise.
8297 * nscd/hstcache.c (cache_addhst): Likewise.
8298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8299 * nscd/netgroupcache.c (do_notfound): Likewise.
8300 (addgetnetgrentX): Likewise.
8301 (addinnetgrX): Likewise.
8302 * nscd/pwdcache.c (cache_addpw): Likewise.
8303 * nscd/servicescache.c (cache_addserv): Likewise.
8305 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8306 Atsushi Onoe <atsushi@onoe.org>
8311 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8312 one response is valid.
8313 * resolv/res_send.c (send_dg): Check for validity of other
8314 response if the current response is a referral.
8316 2014-04-29 Steve Ellcey <sellcey@mips.com>
8318 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8320 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8323 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8324 Always divide by positive zero when computing -Inf result.
8325 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8326 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8328 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8330 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8331 FPSCR if value do not change.
8332 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8333 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8334 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8335 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8336 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8337 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8340 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8342 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8343 * sysdeps/unix/sysv/linux/hppa: Move directory from
8344 ports/systeps/unix/sysv/linux/hppa.
8345 * README: Update listing for hppa-*-linux-gnu.
8347 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
8350 * manual/stdio.texi (Hook functions): Fix types of stream hook
8353 * socket/sys/socket.h: Fix typo in comment.
8355 2014-04-28 Wilco <wdijkstr@arm.com>
8357 * sysdeps/arm/fenv_private.h: New file.
8358 * sysdeps/arm/math_private.h: New file.
8359 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8361 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8363 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8365 (La_x86_64_retval): Likewise.
8367 2014-04-24 Ian Bolton <ian.bolton@arm.com>
8369 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8370 fpsr if value didn't change.
8371 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8372 to fpcr if value didn't change.
8373 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8374 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8375 fpsr or fpcr if value didn't change.
8376 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8377 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8378 fpcr if value didn't change.
8379 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8380 to fpsr if value didn't change.
8382 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8384 * nptl/tst-sem3.c: Use test-skeleton.c
8385 (main): Rename to do_test. Use return instead of
8387 * nptl/tst-sem4.c: Use test-skeleton.c
8388 (main): Rename to do_test.
8390 2014-04-22 David S. Miller <davem@davemloft.net>
8392 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8393 (struct sigaction): New struct member __glibc_reserved0, change
8394 type of sa_flags to int.
8396 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8398 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8399 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8401 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8403 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8404 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8406 2014-04-22 Will Newton <will.newton@linaro.org>
8407 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8409 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8410 (__longjmp): Add longjmp and longjmp_target SystemTap
8412 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8413 (__sigsetjmp): Add setjmp SystemTap probe.
8415 2014-04-17 Carlos O'Donell <carlos@redhat.com>
8417 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8420 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8422 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8424 * sysdeps/powerpc/fpu/fenv_private.h
8425 (libc_feholdexcept_setroundl_ctx): Define to
8426 libc_feholdexcept_setround_ppc_ctx.
8427 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8428 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8429 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8430 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8432 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8434 * sysdeps/aarch64/math-tests.h: New file.
8436 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8438 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8441 Check and set bit_AVX2_Usable.
8442 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8444 (bit_AVX2): Likewise.
8445 (index_AVX2_Usable): Likewise.
8446 (CPUID_AVX2): Likewise.
8447 (HAS_AVX2): Likewise.
8449 2014-04-17 Will Newton <will.newton@linaro.org>
8451 * manual/setjmp.texi (System V contexts): Add note that
8452 calling setcontext on a context created by a call to a
8453 signal handler is undefined. Update text to note that
8454 setcontext from a signal handler is possible but not
8458 * stdlib/tst-setcontext.c: Include signal.h.
8459 (main): Check that the signal stack before and
8460 after swapcontext is the same.
8462 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8463 Re-implement to restore registers in user code and avoid
8464 rt_sigreturn system call.
8466 2014-04-17 Wilco <wdijkstr@arm.com>
8468 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8469 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8470 * math/test-fenv.c: Skip exception trap tests on targets which only
8471 support non-stop mode.
8473 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8474 Wilco Dijkstra <wilco.dijkstra@arm.com>
8476 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8477 (libc_feholdsetround_aarch64_ctx)
8478 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8479 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8480 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8481 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8482 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8483 (libc_feresetround_noexl_ctx): Define.
8485 2014-04-16 Richard Henderson <rth@redhat.com>
8487 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8489 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8492 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8493 const from the non-libc, non-ldso copy.
8495 * sysdeps/alpha/libm-test-ulps: Regenerate.
8497 2014-04-16 Ian Bolton <ian.bolton@arm.com>
8498 Wilco Dijkstra <wilco.dijkstra@arm.com>
8500 * sysdeps/aarch64/fpu/math_private.h: New file.
8502 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8504 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8506 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8509 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8510 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8512 Intel MPX bound registers before _dl_profile_fixup.
8513 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8514 registers after _dl_profile_fixup. Save and restore bound
8515 registers bnd0/bnd1 when calling _dl_call_pltexit.
8516 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8517 (LR_BND_OFFSET): Likewise.
8518 (LRV_BND0_OFFSET): Likewise.
8519 (LRV_BND1_OFFSET): Likewise.
8521 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8523 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8525 * sysdeps/mach/hurd/i386/tls.h: ... here.
8526 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8527 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8530 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8532 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8534 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8536 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8538 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8541 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8542 * sysdeps/s390/configure: Regenerate.
8545 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8546 Set round-to-nearest internally to reduce error accumulation.
8548 2014-04-16 Alan Modra <amodra@gmail.com>
8552 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8553 * math/libm-test.inc (frexp_test_data): Add tests.
8554 * NEWS: Update fixed bug list.
8556 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8558 * benchtests/Makefile: Depend on libraries in build directory.
8559 (bench-math): Separate out math tests.
8560 (bench-pthread): Separate out pthread tests.
8561 (bench): Include math and pthread tests.
8563 2014-04-14 Carlos O'Donell <carlos@redhat.com>
8566 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8567 _dl_debug_initialize.
8569 * configure.ac: Remove SELinux header check.
8570 * configure: Regenerate.
8571 * nscd/selinux.c (perms): Array of const char* to permission names.
8572 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8573 default policy. Call string_to_security_class and string_to_av_perm to
8574 translate strings. Enforce default policy and call avs_has_perm with
8575 results of translated strings.
8577 2014-04-13 David S. Miller <davem@davemloft.net>
8579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8581 2014-04-12 Allan McRae <allan@archlinux.org>
8584 * manual/string.texi (Collation Functions): Fix qsort argument
8586 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8588 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8590 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8591 Make the test a no-op if there are no exceptions defined.
8593 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8595 * elf/Makefile (tests): make tst-dlopen-aout conditional on
8596 enable-hardcoded-path-in-tests
8598 2014-04-11 Will Newton <will.newton@linaro.org>
8600 * benchtests/Makefile (extra-objs): Add json-lib.o.
8601 (bench-func): Tidy up JSON output.
8602 * benchtests/bench-skeleton.c: Include json-lib.h.
8603 (main): Use JSON library functions to do output of
8605 * benchtests/bench-timing-type.c (main): Output the
8606 timing type simply, leaving formatting to the user.
8607 * benchtests/json-lib.c: New file.
8608 * benchtests/json-lib.h: Likewise.
8610 2014-04-11 Torvald Riegel <triegel@redhat.com>
8613 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8614 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8615 memory barriers. Add comments.
8616 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8617 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8618 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8619 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8620 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8621 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8623 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8625 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8626 * sysdeps/s390/s390-64/configure.ac: ... this ...
8627 * sysdeps/s390/configure.ac: ... to here.
8628 * sysdeps/s390/s390-32/configure: Delete file.
8629 * sysdeps/s390/s390-64/configure: Delete file.
8630 * sysdeps/s390/configure: Regenerate.
8632 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8634 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8636 2014-04-11 Will Newton <will.newton@linaro.org>
8638 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8639 to zero if it is not defined elsewhere. (mtrim): Test
8640 the value of MALLOC_DEBUG with #if rather than #ifdef.
8642 2014-04-10 Torvald Riegel <triegel@redhat.com>
8644 * benchtests/pthread_once-inputs: New file.
8645 * benchtests/pthread_once-source.c: New file.
8646 * benchtests/README: Update documentation.
8648 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8649 H.J. Lu <hongjiu.lu@intel.com>
8652 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8653 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8654 * sysdeps/x86_64/configure: Regenerated.
8655 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8657 (REGISTER_SAVE_RAX): Likewise.
8658 (REGISTER_SAVE_RCX): Likewise.
8659 (REGISTER_SAVE_RDX): Likewise.
8660 (REGISTER_SAVE_RSI): Likewise.
8661 (REGISTER_SAVE_RDI): Likewise.
8662 (REGISTER_SAVE_R8): Likewise.
8663 (REGISTER_SAVE_R9): Likewise.
8664 (REGISTER_SAVE_BND0): Likewise.
8665 (REGISTER_SAVE_BND1): Likewise.
8666 (REGISTER_SAVE_BND2): Likewise.
8667 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8668 bound registers when calling _dl_fixup.
8670 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8672 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8673 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8675 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8676 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8677 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8678 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8679 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8680 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8681 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8683 2014-04-09 Peter Brett <peter@peter-b.co.uk>
8686 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8687 pathconf(_PC_NAME_MAX).
8689 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8691 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8693 (__PTHREAD_SPINS): Move definition to ...
8694 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8695 (__PTHREAD_SPINS): ... here.
8696 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8697 (__PTHREAD_SPIN): Likewise.
8698 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8699 (__PTHREAD_SPIN): Likewise.
8700 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8701 (__PTHREAD_SPIN): Likewise.
8702 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8703 (__PTHREAD_SPIN): Likewise.
8704 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8705 (__PTHREAD_SPIN): Likewise.
8706 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8707 (__PTHREAD_SPIN): Likewise.
8708 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8709 (__PTHREAD_SPIN): Likewise.
8710 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8711 (__PTHREAD_SPIN): Likewise.
8712 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8713 (__PTHREAD_SPIN): Likewise.
8714 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8715 (__PTHREAD_SPIN): Likewise.
8716 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8717 (__PTHREAD_SPIN): Likewise.
8718 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8719 (__PTHREAD_SPIN): Likewise.
8721 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8722 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8723 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8724 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8726 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8727 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8728 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8729 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8731 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8732 strlen symbol for non multi-arch builds.
8733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8734 missing hidden_def and weak_alias.
8736 2014-04-08 Carlos O'Donell <carlos@redhat.com>
8738 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8740 2014-04-07 Will Newton <will.newton@linaro.org>
8742 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8743 and contents. [!_LIBC] Remove #ifndef and contents.
8744 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8745 * string/memccpy.c (__memccpy): Use ANSI prototype.
8746 * string/memfrob.c (memfrob): Likewise.
8747 * string/strcoll.c (STRCOLL): Likewise.
8748 * string/strlen.c (strlen): Likewise.
8749 * string/strtok.c (STRTOK): Likewise.
8750 * string/strcat.c: Remove unused #include of memcopy.h.
8751 (strcat): Use ANSI prototype.
8752 * string/strchr.c: Remove unused #include of memcopy.h.
8753 (strchr): Use ANSI prototype.
8754 * string/strcmp.c: Remove unused #include of memcopy.h.
8755 (strcmp): Use ANSI prototype.
8756 * string/strcpy.c: Remove unused #include of memcopy.h.
8757 (strcpy): Use ANSI prototype.
8759 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8761 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8762 * config.make.in (config-extra-cppflags): Set it from
8763 libc_extra_cppflags.
8764 * configure.ac (libc_extra_cflags): Make it accumulate over
8765 configure fragments.
8766 (libc_extra_cppflags): New flag.
8767 * configure. Regenerate.
8768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8769 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8770 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
8771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8774 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8775 result for FE_DOWNWARD rounding mode.
8776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8780 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8782 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8783 in function argument name.
8785 2014-04-03 David Svoboda <svoboda@cert.org>
8788 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8791 2014-04-03 Roland McGrath <roland@hack.frob.com>
8793 * elf/dl-unmap-segments.h: New file.
8794 * sysdeps/generic/ldsodefs.h
8795 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8796 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8797 * elf/dl-fptr.c: Likewise.
8798 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8799 * sysdeps/aarch64/tlsdesc.c: Likewise.
8800 * sysdeps/arm/tlsdesc.c: Likewise.
8801 * sysdeps/i386/tlsdesc.c: Likewise.
8802 * sysdeps/tile/dl-runtime.c: Likewise.
8803 * sysdeps/x86_64/tlsdesc.c: Likewise.
8804 * elf/dl-load.h: New file.
8805 * elf/dl-load.c: Include it.
8806 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8807 Macros moved to dl-load.h.
8808 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8809 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8810 Use _dl_unmap_segments in place of __munmap.
8811 Break out segment-mapping loop into ...
8812 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8814 2014-04-03 Will Newton <will.newton@linaro.org>
8816 * elf/dl-lookup.c (do_lookup_x): Remove comment
8817 referring to nested function and move variable
8818 declarations down to before first use.
8820 2014-04-02 Joseph Myers <joseph@codesourcery.com>
8824 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8826 * math/s_catanf.c (__catanf): Likewise.
8827 * math/s_catanh.c (__catanh): Likewise.
8828 * math/s_catanhf.c (__catanhf): Likewise.
8829 * math/s_catanhl.c (__catanhl): Likewise.
8830 * math/s_catanl.c (__catanl): Likewise.
8831 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8832 by positive zero when computing -Inf result.
8833 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8834 (catanh_test): Likewise.
8835 * sysdeps/i386/fpu/libm-test-ulps: Update.
8836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8839 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8840 instead of using underflowing value in computing result.
8841 * math/s_clog10.c (__clog10): Likewise.
8842 * math/s_clog10f.c (__clog10f): Likewise.
8843 * math/s_clog10l.c (__clog10l): Likewise.
8844 * math/s_clogf.c (__clogf): Likewise.
8845 * math/s_clogl.c (__clogl): Likewise.
8846 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8847 (clog10_test): Likewise.
8848 * sysdeps/i386/fpu/libm-test-ulps: Update.
8849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8851 2014-04-02 Alan Modra <amodra@gmail.com>
8854 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8855 output when value is near a power of two. Use int64_t for lx and
8856 remove casts. Use decimal rather than hex exponent constants.
8857 Don't use long double multiplication when double will suffice.
8858 * math/libm-test.inc (nextafter_test_data): Add tests.
8859 * NEWS: Add 16739 and 16786 to bug list.
8861 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8863 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8865 2014-04-01 Will Newton <will.newton@linaro.org>
8867 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8868 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8870 2014-04-01 Florian Weimer <fweimer@redhat.com>
8873 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8874 * nptl/tst-setuid2.c: New file.
8875 * nptl/Makefile (xtests): Add tst-setuid2.
8877 2014-04-01 Alan Modra <amodra@gmail.com>
8880 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8882 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8886 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8887 set errno as appropriate.
8888 * math/w_scalbf.c (__scalbf): Likewise.
8889 * math/w_scalbl.c (__scalbl): Likewise.
8890 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8891 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8892 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8896 * math/w_atan2.c: Include <errno.h>.
8897 (__atan2): Set errno for result underflowing to zero.
8898 * math/w_atan2f.c: Include <errno.h>.
8899 (__atan2f): Set errno for result underflowing to zero.
8900 * math/w_atan2l.c: Include <errno.h>.
8901 (__atan2l): Set errno for result underflowing to zero.
8902 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8904 * math/auto-libm-test-out: Regenerated.
8906 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8908 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8909 Encode instruction correctly in little endian.
8910 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8912 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8914 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8916 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8919 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8922 * sysdeps/unix/sysv/linux/kernel-features.h
8923 [__sparc__ && !__arch64__ && !__sparc_v9__]
8924 (__ASSUME_SET_ROBUST_LIST): Do not define.
8925 [__sparc__ && !__arch64__ && !__sparc_v9__]
8926 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8927 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8929 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8930 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8931 (__ASSUME_REQUEUE_PI): Likewise.
8932 (__ASSUME_SET_ROBUST_LIST): Likewise.
8933 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8934 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8936 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8937 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8939 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8941 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8943 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8944 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8946 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8947 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8951 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8952 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8953 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8955 2014-03-31 Will Newton <will.newton@linaro.org>
8957 * benchtests/Makefile (bench): Add ffs and ffsll to list
8959 * benchtests/ffs-inputs: New file.
8960 * benchtests/ffsll-inputs: Likewise.
8962 2014-03-29 Joseph Myers <joseph@codesourcery.com>
8965 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8966 too large before casting to int.
8967 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8968 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8969 * math/libm-test.inc (scalb_test_data): Add more tests.
8971 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8973 * benchtests/Makefile (DETAILED_OPT): New make option.
8974 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8976 * benchtests/bench-skeleton.c: Include stdbool.h.
8977 (main): Store and print timings per input.
8978 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8979 member to each argument value.
8980 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8981 (_print_arg_data): Initialize per-input timing to 0.
8983 * benchtests/Makefile (timing-type): New binary.
8984 (bench-clean): Also remove bench-timing-type.
8985 (bench): New target for timing-type.
8986 (bench-func): Print output in JSON format.
8987 * benchtests/bench-skeleton.c (main): Print output in JSON
8989 * benchtests/bench-timing-type.c: New file.
8990 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8991 (TIMING_PRINT_STATS): Remove.
8992 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8995 * benchtests/bench-modf.c: Remove.
8996 * benchtests/modf-inputs: New inputs file.
8998 2014-03-28 Joseph Myers <joseph@codesourcery.com>
9001 * math/s_clog10.c (M_PI_LOG10E): New macro.
9002 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9003 imaginary parts are 0.
9004 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9005 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9006 imaginary parts are 0.
9007 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9008 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9009 imaginary parts are 0.
9010 * math/libm-test.inc (clog10_test_data): Update expected results
9011 for when real and imaginary parts are 0.
9013 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9015 * elf/dl-load.c: Finish conversion of __builtin_expect into
9018 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9022 1+x for argument with exponent below -67.
9023 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9025 * math/auto-libm-test-in: Add more tests of exp.
9026 * math/auto-libm-test-out: Regenerated.
9028 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9031 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9032 (nscd_getnetgrent): Use it.
9035 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9038 2014-03-27 Andi Kleen <ak@linux.intel.com>
9040 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9041 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9042 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9043 (lll_robust_unlock): Remove out of line section. Use cfi
9045 (LLL_STUB_UNWIND_INFO*): Remove.
9046 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9047 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9048 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9049 (lll_robust_unlock): Remove out of line section. Use cfi
9051 (LLL_STUB_UNWIND_INFO*): Remove.
9053 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9056 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9059 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9061 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9063 2014-03-26 Joseph Myers <joseph@codesourcery.com>
9066 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9068 * math/test-fenv-preserve.c: New file.
9069 * math/Makefile (tests): Add test-fenv-preserve.
9071 2014-03-26 Will Newton <will.newton@linaro.org>
9073 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9075 2014-03-25 Roland McGrath <roland@hack.frob.com>
9077 * scripts/versionlist.awk: Partition the version sets and emit all
9078 GLIBC_* (sorted) before all others (sorted).
9080 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9082 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9083 GLIBC_2.2.5 version.
9085 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9087 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9090 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9095 2014-03-25 Andreas Schwab <schwab@suse.de>
9097 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9098 label to be used after in6ailist is initialized.
9100 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9102 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9103 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9105 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9109 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9111 (fp_formats): Update initializers.
9112 (init_fp_formats): Initialize new field.
9113 (output_for_one_input_case): Allow underflow for results up to
9115 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9116 * math/auto-libm-test-in: Don't mark some underflows from asin and
9118 * math/auto-libm-test-out: Regenerated.
9119 * sysdeps/i386/fpu/libm-test-ulps: Update.
9120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9122 2014-03-25 Andreas Schwab <schwab@suse.de>
9124 * libio/Makefile (tst-ftell-partial-wide-ENV)
9125 (tst-ftell-active-handler-ENV): Define.
9127 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9129 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9131 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9133 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9135 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9137 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9138 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9139 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9141 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9144 * elf/dl-load.c (open_verify): Add mode parameter.
9145 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9146 (open_path): Change from boolean 'secure' to complete flag 'mode'
9147 (_dl_map_object): Adjust.
9148 * elf/Makefile (tests): Add tst-dlopen-aout.
9149 * elf/tst-dlopen-aout.c: New test.
9151 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9154 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9155 (struct stat): Rename member pad0 to __glibc_reserved0.
9158 * sysdeps/s390/s390-32/bits/wordsize.h
9159 (__WORDSIZE32_SIZE_ULONG): New define.
9160 * sysdeps/s390/s390-64/bits/wordsize.h
9161 (__WORDSIZE32_SIZE_ULONG): Likewise.
9162 * sysdeps/generic/stdint.h (SIZE_MAX):
9163 Define as UL if __WORDSIZE32_SIZE_ULONG.
9166 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9167 (__glibc_reserved0): New variable.
9168 (sa_flags): Change type to int.
9170 * posix/Makefile (before-compile): Use += before-compile instead
9173 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9174 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9176 2014-03-20 Andreas Schwab <schwab@suse.de>
9179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9180 non-matching result from nscd.
9182 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9184 * scripts/bench.py: Moved to ...
9185 * benchtests/scripts/bench.py: ... here.
9186 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9188 2014-03-24 Andreas Schwab <schwab@suse.de>
9191 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9192 alloca_account and account alloca use for struct in6ailist.
9194 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9197 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9198 rounding mode to recompute results that overflow to infinity or
9200 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9202 * math/auto-libm-test-out: Regenerated.
9203 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9204 (ccosh_test): Likewise.
9205 (csin_test_data): Use plus_oflow.
9206 (csin_test): Use ALL_RM_TEST.
9207 (csinh_test_data): Use plus_oflow.
9208 (csinh_test): Use ALL_RM_TEST.
9209 * sysdeps/i386/fpu/libm-test-ulps: Update.
9210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9212 2014-03-21 Joseph Myers <joseph@codesourcery.com>
9214 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9215 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9216 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9219 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9221 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9222 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9223 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9224 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9226 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9227 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9229 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9230 * sysdeps/i386/fpu/libm-test-ulps: Update.
9231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9233 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9235 * scripts/bench.pl: Remove file.
9236 * scripts/bench.py: New benchmark script.
9237 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9238 * benchtests/README: Mention python dependency.
9239 * scripts/pylintrc: New file.
9240 * scripts/pylint: New file.
9242 * bits/mathdef.h: Use #ifdef instead of #if.
9243 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9244 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9245 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9246 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9247 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9248 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9250 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9251 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9253 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9255 and strpbrk-ppc64 objects.
9256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9257 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9258 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9259 multiarch strpbrk for POWER7.
9260 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9261 multiarch strpbrk for PPC64.
9262 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9264 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9267 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9269 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9270 (atan_test): Likewise.
9271 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9272 (atanh_test): Use ALL_RM_TEST.
9273 (atan2_test_data): Likewise.
9274 (cabs_test): Likewise.
9275 (cacosh_test): Likewise.
9276 (carg_test): Likewise.
9277 (casin_test): Likewise.
9278 (casinh_test): Likewise.
9279 (cbrt_test): Likewise.
9280 (csqrt_test): Likewise.
9281 (erf_test): Likewise.
9282 (erfc_test): Likewise.
9283 (pow10_test): Likewise.
9284 (exp2_test): Likewise.
9285 (hypot_test): Likewise.
9286 (j0_test): Likewise.
9287 (j1_test): Likewise.
9288 (lgamma_test): Likewise.
9289 (gamma_test): Likewise.
9290 (sincos_test): Likewise.
9291 (tanh_test): Likewise.
9292 (y0_test): Likewise.
9293 (y1_test): Likewise.
9294 * sysdeps/i386/fpu/libm-test-ulps: Update.
9295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9297 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9299 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9301 and strcspn-ppc64 objects.
9302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9303 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9304 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9305 multiarch strcspn for POWER7.
9306 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9307 multiarch strcspn for PPC64.
9308 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9310 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9313 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9315 * math/gen-libm-test.pl (generate_testfile): Expect only function
9316 name as argument to AUTO_TESTS_* and pass results for all rounding
9317 modes to parse_args.
9318 (parse_auto_input): Separate inputs of automatic tests from
9319 outputs before storing in %auto_tests.
9320 * math/libm-test.inc (acos_test_data): Update call to
9322 (acos_test): Use ALL_RM_TEST.
9323 (acos_tonearest_test_data): Remove.
9324 (acos_test_tonearest): Likewise.
9325 (acos_towardzero_test_data): Likewise.
9326 (acos_test_towardzero): Likewise.
9327 (acos_downward_test_data): Likewise.
9328 (acos_test_downward): Likewise.
9329 (acos_upward_test_data): Likewise.
9330 (acos_test_upward): Likewise.
9331 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9332 (asin_test_data): Likewise.
9333 (asin_test): Use ALL_RM_TEST.
9334 (asin_tonearest_test_data): Remove.
9335 (asin_test_tonearest): Likewise.
9336 (asin_towardzero_test_data): Likewise.
9337 (asin_test_towardzero): Likewise.
9338 (asin_downward_test_data): Likewise.
9339 (asin_test_downward): Likewise.
9340 (asin_upward_test_data): Likewise.
9341 (asin_test_upward): Likewise.
9342 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9343 (atan_test_data): Likewise.
9344 (atanh_test_data): Likewise.
9345 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9346 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9347 (carg_test_data): Likewise.
9348 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9349 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9350 (ccosh_test_data): Likewise.
9351 (cexp_test_data): Likewise.
9352 (clog_test_data): Likewise.
9353 (clog10_test_data): Likewise.
9354 (cos_test_data): Update call to AUTO_TESTS_f_f.
9355 (cos_test): Use ALL_RM_TEST.
9356 (cos_tonearest_test_data): Remove.
9357 (cos_test_tonearest): Likewise.
9358 (cos_towardzero_test_data): Likewise.
9359 (cos_test_towardzero): Likewise.
9360 (cos_downward_test_data): Likewise.
9361 (cos_test_downward): Likewise.
9362 (cos_upward_test_data): Likewise.
9363 (cos_test_upward): Likewise.
9364 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9365 (cosh_test): Use ALL_RM_TEST.
9366 (cosh_tonearest_test_data): Remove.
9367 (cosh_test_tonearest): Likewise.
9368 (cosh_towardzero_test_data): Likewise.
9369 (cosh_test_towardzero): Likewise.
9370 (cosh_downward_test_data): Likewise.
9371 (cosh_test_downward): Likewise.
9372 (cosh_upward_test_data): Likewise.
9373 (cosh_test_upward): Likewise.
9374 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9375 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9376 (ctan_test_data): Likewise.
9377 (ctan_test): Use ALL_RM_TEST.
9378 (ctan_tonearest_test_data): Remove.
9379 (ctan_test_tonearest): Likewise.
9380 (ctan_towardzero_test_data): Likewise.
9381 (ctan_test_towardzero): Likewise.
9382 (ctan_downward_test_data): Likewise.
9383 (ctan_test_downward): Likewise.
9384 (ctan_upward_test_data): Likewise.
9385 (ctan_test_upward): Likewise.
9386 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9387 (ctanh_test): Use ALL_RM_TEST.
9388 (ctanh_tonearest_test_data): Remove.
9389 (ctanh_test_tonearest): Likewise.
9390 (ctanh_towardzero_test_data): Likewise.
9391 (ctanh_test_towardzero): Likewise.
9392 (ctanh_downward_test_data): Likewise.
9393 (ctanh_test_downward): Likewise.
9394 (ctanh_upward_test_data): Likewise.
9395 (ctanh_test_upward): Likewise.
9396 (erf_test_data): Update call to AUTO_TESTS_f_f.
9397 (erfc_test_data): Likewise.
9398 (exp_test_data): Likewise.
9399 (exp_test): Use ALL_RM_TEST.
9400 (exp_tonearest_test_data): Remove.
9401 (exp_test_tonearest): Likewise.
9402 (exp_towardzero_test_data): Likewise.
9403 (exp_test_towardzero): Likewise.
9404 (exp_downward_test_data): Likewise.
9405 (exp_test_downward): Likewise.
9406 (exp_upward_test_data): Likewise.
9407 (exp_test_upward): Likewise.
9408 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9409 (exp10_test): Use ALL_RM_TEST.
9410 (exp10_tonearest_test_data): Remove.
9411 (exp10_test_tonearest): Likewise.
9412 (exp10_towardzero_test_data): Likewise.
9413 (exp10_test_towardzero): Likewise.
9414 (exp10_downward_test_data): Likewise.
9415 (exp10_test_downward): Likewise.
9416 (exp10_upward_test_data): Likewise.
9417 (exp10_test_upward): Likewise.
9418 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9419 (expm1_test_data): Likewise.
9420 (expm1_test): Use ALL_RM_TEST.
9421 (expm1_tonearest_test_data): Remove.
9422 (expm1_test_tonearest): Likewise.
9423 (expm1_towardzero_test_data): Likewise.
9424 (expm1_test_towardzero): Likewise.
9425 (expm1_downward_test_data): Likewise.
9426 (expm1_test_downward): Likewise.
9427 (expm1_upward_test_data): Likewise.
9428 (expm1_test_upward): Likewise.
9429 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9430 (fma_test): Use ALL_RM_TEST.
9431 (fma_towardzero_test_data): Remove.
9432 (fma_test_towardzero): Likewise.
9433 (fma_downward_test_data): Likewise.
9434 (fma_test_downward): Likewise.
9435 (fma_upward_test_data): Likewise.
9436 (fma_test_upward): Likewise.
9437 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9438 (j0_test_data): Update call to AUTO_TESTS_f_f.
9439 (j1_test_data): Likewise.
9440 (jn_test_data): Update call to AUTO_TESTS_if_f.
9441 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9442 (log_test_data): Update call to AUTO_TESTS_f_f.
9443 (log10_test_data): Likewise.
9444 (log1p_test_data): Likewise.
9445 (log2_test_data): Likewise.
9446 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9447 (pow_tonearest_test_data): Likewise.
9448 (sin_test_data): Update call to AUTO_TESTS_f_f.
9449 (sin_test): Use ALL_RM_TEST.
9450 (sin_tonearest_test_data): Remove.
9451 (sin_test_tonearest): Likewise.
9452 (sin_towardzero_test_data): Likewise.
9453 (sin_test_towardzero): Likewise.
9454 (sin_downward_test_data): Likewise.
9455 (sin_test_downward): Likewise.
9456 (sin_upward_test_data): Likewise.
9457 (sin_test_upward): Likewise.
9458 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9459 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9460 (sinh_test): Use ALL_RM_TEST.
9461 (sinh_tonearest_test_data): Remove.
9462 (sinh_test_tonearest): Likewise.
9463 (sinh_towardzero_test_data): Likewise.
9464 (sinh_test_towardzero): Likewise.
9465 (sinh_downward_test_data): Likewise.
9466 (sinh_test_downward): Likewise.
9467 (sinh_upward_test_data): Likewise.
9468 (sinh_test_upward): Likewise.
9469 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9470 (sqrt_test): Use ALL_RM_TEST.
9471 (sqrt_tonearest_test_data): Remove.
9472 (sqrt_test_tonearest): Likewise.
9473 (sqrt_towardzero_test_data): Likewise.
9474 (sqrt_test_towardzero): Likewise.
9475 (sqrt_downward_test_data): Likewise.
9476 (sqrt_test_downward): Likewise.
9477 (sqrt_upward_test_data): Likewise.
9478 (sqrt_test_upward): Likewise.
9479 (tan_test_data): Update call to AUTO_TESTS_f_f.
9480 (tan_test): Use ALL_RM_TEST.
9481 (tan_tonearest_test_data): Remove.
9482 (tan_test_tonearest): Likewise.
9483 (tan_towardzero_test_data): Likewise.
9484 (tan_test_towardzero): Likewise.
9485 (tan_downward_test_data): Likewise.
9486 (tan_test_downward): Likewise.
9487 (tan_upward_test_data): Likewise.
9488 (tan_test_upward): Likewise.
9489 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9490 (tgamma_test_data): Likewise.
9491 (y0_test_data): Likewise.
9492 (y1_test_data): Likewise.
9493 (yn_test_data): Update call to AUTO_TESTS_if_f.
9494 (main): Do not call removed functions.
9496 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9498 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9499 (ldexp_test_data): Remove.
9500 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9502 (scalb_test): Use ALL_RM_TEST.
9504 2014-03-19 Andreas Schwab <schwab@suse.de>
9506 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9508 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9511 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9512 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9513 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9514 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9515 (__ASSUME_PREADV): Undefine.
9516 (__ASSUME_PWRITEV): Likewise.
9518 2014-03-18 Roland McGrath <roland@hack.frob.com>
9520 * bits/mman-linux.h: Add comment about non-Linux use.
9521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9522 bits/mman-linux.h resting place.
9524 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9525 * bits/mman-linux.h: ... here.
9527 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9529 * conform/conformtest.pl: Add standard definition when calling C
9530 preprocessor on data files.
9531 (checknamespace): Remove unused variable.
9533 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9535 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9536 minus_oflow, plus_uflow and minus_uflow in expected results.
9537 * math/libm-test.inc (scalbn_test_data): Add more tests of
9538 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9540 (scalbn_test): Use ALL_RM_TEST.
9541 (scalbln_test_data): Add more tests of negative arguments. Use
9542 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9543 (scalbln_test): Use ALL_RM_TEST.
9545 2014-03-18 Roland McGrath <roland@hack.frob.com>
9547 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9549 2014-03-18 Will Newton <will.newton@linaro.org>
9551 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9554 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9556 * Makerules [!subdir] (check-abi): Exit with error status if a
9559 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9561 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9562 for rint. Include results for all rounding modes.
9563 (nearbyint_test): Use ALL_RM_TEST.
9564 (rint_test_data): Include all tests used for nearbyint.
9566 2014-03-17 Will Newton <will.newton@linaro.org>
9568 * nptl/sysdeps/pthread/pthread.h: Revert previous
9571 * sysdeps/generic/ldsodefs.h: Revert previous
9574 * libio/genops.c: Revert previous change.
9575 * libio/libioP.h: Likewise.
9576 * stdio-common/vfprintf.c: Likewise.
9578 * sysdeps/generic/math_private.h: Revert previous
9581 * sysdeps/generic/math_private.h: Check whether
9582 HAVE_RM_CTX is defined with #ifdef rather
9585 * argp/argp-fmtstream.h: Check whether
9586 __STRICT_ANSI__ is defined with #ifdef rather
9588 * argp/argp.h: Likewise.
9590 * libio/genops.c: Check whether
9591 _IO_JUMPS_OFFSET is defined with #ifdef rather
9593 * libio/libioP.h: Likewise.
9594 * stdio-common/vfprintf.c: Likewise.
9596 * sysdeps/generic/ldsodefs.h: Check whether
9597 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9600 * nptl/sysdeps/pthread/pthread.h: Check
9601 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9604 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9606 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9608 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9612 * libio/fileops.c (_IO_file_open): Seek to end of file but
9613 don't cache the offset.
9614 (get_file_offset): Remove function.
9615 (do_ftell): Use cached offset when available.
9616 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9617 don't cache the offset.
9618 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9620 (do_one_test): Call it.
9621 (do_ftell_test): Fix up expected old offset for a+ mode.
9622 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9625 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9626 up test status with function return status.
9627 (do_write_test): Likewise.
9628 (do_append_test): Likewise.
9630 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9631 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9634 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9636 * math/gen-libm-test.pl (parse_args): Handle results specified for
9637 each rounding mode separately.
9638 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9639 tests and results from lrint_tonearest_test_data,
9640 lrint_towardzero_test_data, lrint_downward_test_data and
9641 lrint_upward_test_data.
9642 (lrint_test): Use ALL_RM_TEST.
9643 (lrint_tonearest_test_data): Remove.
9644 (lrint_test_tonearest): Likewise.
9645 (lrint_towardzero_test_data): Likewise.
9646 (lrint_test_towardzero): Likewise.
9647 (lrint_downward_test_data): Likewise.
9648 (lrint_test_downward): Likewise.
9649 (lrint_upward_test_data): Likewise.
9650 (lrint_test_upward): Likewise.
9651 (llrint_test_data): Merge in per-rounding-mode tests and results
9652 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9653 llrint_downward_test_data and llrint_upward_test_data.
9654 (llrint_test): Use ALL_RM_TEST.
9655 (llrint_tonearest_test_data): Remove.
9656 (llrint_test_tonearest): Likewise.
9657 (llrint_towardzero_test_data): Likewise.
9658 (llrint_test_towardzero): Likewise.
9659 (llrint_downward_test_data): Likewise.
9660 (llrint_test_downward): Likewise.
9661 (llrint_upward_test_data): Likewise.
9662 (llrint_test_upward): Likewise.
9663 (rint_test_data): Merge in per-rounding-mode tests and results
9664 from rint_tonearest_test_data, rint_towardzero_test_data,
9665 rint_downward_test_data and rint_upward_test_data. Add
9666 per-rounding-mode results for tests not in those arrays.
9667 (rint_test): Use ALL_RM_TEST.
9668 (rint_tonearest_test_data): Remove.
9669 (rint_test_tonearest): Likewise.
9670 (rint_towardzero_test_data): Likewise.
9671 (rint_test_towardzero): Likewise.
9672 (rint_downward_test_data): Likewise.
9673 (rint_test_downward): Likewise.
9674 (rint_upward_test_data): Likewise.
9675 (rint_test_upward): Likewise.
9676 (main): Don't call removed functions.
9678 2014-03-14 Roland McGrath <roland@hack.frob.com>
9680 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9681 "Compiled on ..." crapola. It is anti-useful.
9683 2014-03-14 Joseph Myers <joseph@codesourcery.com>
9685 * scripts/evaluate-test.sh: Handle fourth argument to determine
9686 whether test run should stop on failure.
9687 * Makeconfig (stop-on-test-failure): New variable.
9688 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9689 $(stop-on-test-failure).
9690 * Makefile (tests): Give a summary of results from testing and
9691 exit with failure status if they include an ERROR or FAIL.
9693 * manual/install.texi (Configuring and compiling): Mention
9694 stop-on-test-failure=y.
9695 * INSTALL: Regenerated.
9697 2014-03-14 Roland McGrath <roland@hack.frob.com>
9699 * scripts/versionlist.awk: New file.
9700 * Makerules [$(build-shared) = yes]
9701 (postclean-generated): Add Versions.def, not Versions.def.v and
9703 ($(common-objpfx)Versions.def.v.i): Target removed.
9704 ($(common-objpfx)Versions.def): New target.
9705 ($(common-objpfx)Versions.all): Depend on that rather that
9706 $(common-objpfx)Versions.def.v.
9707 * Versions.def: File removed.
9709 * Makeconfig (+gccwarn): Add -Wundef.
9710 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9711 a dl-sysdep.h breaking its contract.
9712 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9713 * include/stackinfo.h: New file.
9714 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9715 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9716 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9717 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9718 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9719 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9720 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9721 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9722 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9723 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9724 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9725 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9726 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9727 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9728 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9730 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9733 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9735 * math/libm-test.inc (round_test_data): Add more tests.
9738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9740 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9743 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9745 * math/libm-test.inc (ceil_test_data): Add more tests.
9747 * math/libm-test.inc (trunc_test_data): Add more tests related to
9750 2014-03-14 Roland McGrath <roland@hack.frob.com>
9752 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9753 with #if rather than #ifdef.
9754 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9756 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9758 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9759 first. Disable AVX-512 GCC support if assembler doesn't support
9761 * sysdeps/x86_64/configure: Regenerated.
9763 2014-03-13 Carlos O'Donell <carlos@redhat.com>
9765 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9766 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9767 (__old_pthread_attr_setstack): Likewise.
9768 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9769 [!_STACK_GROWS_DOWN]: Likewise.
9771 2014-03-13 Mike Frysinger <vapier@gentoo.org>
9773 * config.make.in (have-bash2): Delete.
9774 * configure.ac (libc_cv_have_bash2): Delete.
9775 * configure: Regenerate.
9776 * elf/Makefile (common-ldd-rewrite): Rename to ...
9777 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9778 (sh-ldd-rewrite): Delete.
9779 (bash-ldd-rewrite): Delete.
9780 (have-bash2): Delete checks.
9781 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9784 * config.make.in (have-ksh): Delete.
9786 * configure.ac (libc_cv_have_ksh): Delete.
9787 * configure: Regenerate.
9789 * elf/Makefile: Delete $(have-ksh) check.
9790 ($(objpfx)sotruss): Change KSH to BASH.
9791 * elf/sotruss.ksh: Rename to ...
9792 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9793 function style to match POSIX. Drop ksh vim mode setting.
9795 * manual/time.texi (Specifying the Time Zone with TZ): Change
9796 Tuesday to Thursday.
9798 * debug/tst-longjmp_chk2.c: Update header comment.
9799 (stackoverflow_handler): Add comment. Call assert on pass value.
9801 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9804 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9805 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9806 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9807 (La_x86_64_vector): Add zmm.
9808 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9809 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9810 ($(objpfx)tst-audit10): New target.
9811 ($(objpfx)tst-audit10.out): Likewise.
9812 (tst-audit10-ENV): New.
9813 (AVX512-CFLAGS): Likewise.
9814 (CFLAGS-tst-audit10.c): Likewise.
9815 (CFLAGS-tst-auditmod10a.c): Likewise.
9816 (CFLAGS-tst-auditmod10b.c): Likewise.
9817 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9818 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9819 * sysdeps/x86_64/configure: Regenerated.
9820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9821 AVX-512 zmm register support.
9822 (_dl_x86_64_save_sse): Likewise.
9823 (_dl_x86_64_restore_sse): Likewise.
9824 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9825 size vector registers.
9826 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9827 (ZMM_SIZE): Likewise.
9828 * sysdeps/x86_64/tst-audit10.c: New file.
9829 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9830 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9832 2014-03-13 Roland McGrath <roland@hack.frob.com>
9834 * configure.ac (HAVE_EHDR_START): New check.
9835 * configure: Regenerated.
9836 * config.h.in (HAVE_EHDR_START): New #undef.
9837 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9838 assuming the lowest-addressed segment maps the start of the file.
9840 2014-03-13 Joseph Myers <joseph@codesourcery.com>
9842 * INSTALL: Regenerated.
9844 2014-03-13 Will Newton <will.newton@linaro.org>
9846 * manual/setjmp.texi (System V contexts): Improve
9847 clarity and grammar of documentation.
9849 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9852 * elf/Makefile (tests): Add tst-pie2.
9853 (tests-pie): Add tst-pie2.
9854 * elf/tst-pie2.c: New file.
9855 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9857 * elf/rtld.c (map_doit): Load executable as lt_executable.
9858 (dl_main): Likewise.
9860 2014-03-12 Joseph Myers <joseph@codesourcery.com>
9863 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9864 (__ASSUME_PSELECT): Undefine.
9866 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9869 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9870 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9872 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9873 selector for static builds.
9875 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9878 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9881 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9883 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9884 IFUNC selector for static builds.
9886 2014-03-11 Joseph Myers <joseph@codesourcery.com>
9888 * sysdeps/mips/math_private.h [__mips_hard_float]
9889 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9890 libc_feresetround_mips_ctx.
9891 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9892 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9893 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9896 * math/s_nextafter.c (__nextafter): Do not return value from
9897 overflowing computation.
9898 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9899 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9900 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9902 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9904 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9905 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9907 2014-03-11 Roland McGrath <roland@hack.frob.com>
9909 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9910 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9911 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9912 the new mov targetting sp.
9914 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9917 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9918 Define it for static builds as well.
9919 (NO_BZERO_IMPL): Likewise.
9921 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9923 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9924 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9925 multiarch strspn for PPC64.
9926 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9927 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9929 (__libc_ifunc_impl_list): Likewise.
9930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9931 multiarch optimizations
9932 * string/strspn.c (strspn): Using macro to redefine symbol name.
9934 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9935 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9937 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9938 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9939 multiarch strncat for PPC64.
9940 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9941 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9943 (__libc_ifunc_impl_list): Likewise.
9944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9945 multiarch optimizations
9947 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9950 * nscd/nscd.service: Make service type forking.
9952 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9954 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9955 sign in non default rounding modes.
9956 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9958 2014-03-08 Joseph Myers <joseph@codesourcery.com>
9960 * math/libm-test.inc (ALL_RM_TEST): New macro.
9961 (ceil_test): Use ALL_RM_TEST.
9962 (cimag_test): Likewise.
9963 (conj_test): Likewise.
9964 (copysign_test): Likewise.
9965 (cproj_test): Likewise.
9966 (creal_test): Likewise.
9967 (fabs_test): Likewise.
9968 (floor_test): Likewise.
9969 (fmax_test): Likewise.
9970 (fmin_test): Likewise.
9971 (fmod_test): Likewise.
9972 (fpclassify_test): Likewise.
9973 (frexp_test): Likewise.
9974 (ilogb_test): Likewise.
9975 (isfinite_test): Likewise.
9976 (finite_test): Likewise.
9977 (isgreater_test): Likewise.
9978 (isgreaterequal_test): Likewise.
9979 (isinf_test): Likewise.
9980 (isless_test): Likewise.
9981 (islessequal_test): Likewise.
9982 (islessgreater_test): Likewise.
9983 (isnan_test): Likewise.
9984 (isnormal_test): Likewise.
9985 (issignaling_test): Likewise.
9986 (isunordered_test): Likewise.
9987 (logb_test): Likewise.
9988 (logb_downward_test_data): Remove.
9989 (logb_test_downward): Likewise.
9990 (lround_test): Use ALL_RM_TEST.
9991 (llround_test): Likewise.
9992 (modf_test): Likewise.
9993 (nexttoward_test): Likewise.
9994 (remainder_test): Likewise.
9995 (drem_test): Likewise.
9996 (remainder_tonearest_test_data): Likewise.
9997 (remainder_test_tonearest): Likewise.
9998 (drem_test_tonearest): Likewise.
9999 (remainder_towardzero_test_data): Likewise.
10000 (remainder_test_towardzero): Likewise.
10001 (drem_test_towardzero): Likewise.
10002 (remainder_downward_test_data): Likewise.
10003 (remainder_test_downward): Likewise.
10004 (drem_test_downward): Likewise.
10005 (remainder_upward_test_data): Likewise.
10006 (remainder_test_upward): Likewise.
10007 (drem_test_upward): Likewise.
10008 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10009 (round_test): Use ALL_RM_TEST.
10010 (signbit_test): Likewise.
10011 (trunc_test): Likewise.
10012 (significand_test): Likewise.
10013 (main): Don't call removed functions.
10015 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10018 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10019 || __USE_XOPEN2K8].
10020 (ILL_ILLOPN): Likewise.
10021 (ILL_ILLADR): Likewise.
10022 (ILL_ILLTRP): Likewise.
10023 (ILL_PRVOPC): Likewise.
10024 (ILL_PRVREG): Likewise.
10025 (ILL_COPROC): Likewise.
10026 (ILL_BADSTK): Likewise.
10027 (FPE_INTDIV): Likewise.
10028 (FPE_INTOVF): Likewise.
10029 (FPE_FLTDIV): Likewise.
10030 (FPE_FLTOVF): Likewise.
10031 (FPE_FLTUND): Likewise.
10032 (FPE_FLTRES): Likewise.
10033 (FPE_FLTINV): Likewise.
10034 (FPE_FLTSUB): Likewise.
10035 (SEGV_MAPERR): Likewise.
10036 (SEGV_ACCERR): Likewise.
10037 (BUS_ADRALN): Likewise.
10038 (BUS_ADRERR): Likewise.
10039 (BUS_OBJERR): Likewise.
10040 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10041 (TRAP_TRACE): Likewise.
10042 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10044 (CLD_KILLED): Likewise.
10045 (CLD_DUMPED): Likewise.
10046 (CLD_TRAPPED): Likewise.
10047 (CLD_STOPPED): Likewise.
10048 (CLD_CONTINUED): Likewise.
10049 (POLL_IN): Likewise.
10050 (POLL_OUT): Likewise.
10051 (POLL_MSG): Likewise.
10052 (POLL_ERR): Likewise.
10053 (POLL_PRI): Likewise.
10054 (POLL_HUP): Likewise.
10055 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10057 (ILL_ILLOPN): Likewise.
10058 (ILL_ILLADR): Likewise.
10059 (ILL_ILLTRP): Likewise.
10060 (ILL_PRVOPC): Likewise.
10061 (ILL_PRVREG): Likewise.
10062 (ILL_COPROC): Likewise.
10063 (ILL_BADSTK): Likewise.
10064 (FPE_INTDIV): Likewise.
10065 (FPE_INTOVF): Likewise.
10066 (FPE_FLTDIV): Likewise.
10067 (FPE_FLTOVF): Likewise.
10068 (FPE_FLTUND): Likewise.
10069 (FPE_FLTRES): Likewise.
10070 (FPE_FLTINV): Likewise.
10071 (FPE_FLTSUB): Likewise.
10072 (SEGV_MAPERR): Likewise.
10073 (SEGV_ACCERR): Likewise.
10074 (BUS_ADRALN): Likewise.
10075 (BUS_ADRERR): Likewise.
10076 (BUS_OBJERR): Likewise.
10077 (BUS_MCEERR_AR): Likewise.
10078 (BUS_MCEERR_AO): Likewise.
10079 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10080 (TRAP_TRACE): Likewise.
10081 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10083 (CLD_KILLED): Likewise.
10084 (CLD_DUMPED): Likewise.
10085 (CLD_TRAPPED): Likewise.
10086 (CLD_STOPPED): Likewise.
10087 (CLD_CONTINUED): Likewise.
10088 (POLL_IN): Likewise.
10089 (POLL_OUT): Likewise.
10090 (POLL_MSG): Likewise.
10091 (POLL_ERR): Likewise.
10092 (POLL_PRI): Likewise.
10093 (POLL_HUP): Likewise.
10094 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10095 (ILL_ILLOPN): Likewise.
10096 (ILL_ILLADR): Likewise.
10097 (ILL_ILLTRP): Likewise.
10098 (ILL_PRVOPC): Likewise.
10099 (ILL_PRVREG): Likewise.
10100 (ILL_COPROC): Likewise.
10101 (ILL_BADSTK): Likewise.
10102 (FPE_INTDIV): Likewise.
10103 (FPE_INTOVF): Likewise.
10104 (FPE_FLTDIV): Likewise.
10105 (FPE_FLTOVF): Likewise.
10106 (FPE_FLTUND): Likewise.
10107 (FPE_FLTRES): Likewise.
10108 (FPE_FLTINV): Likewise.
10109 (FPE_FLTSUB): Likewise.
10110 (SEGV_MAPERR): Likewise.
10111 (SEGV_ACCERR): Likewise.
10112 (BUS_ADRALN): Likewise.
10113 (BUS_ADRERR): Likewise.
10114 (BUS_OBJERR): Likewise.
10115 (BUS_MCEERR_AR): Likewise.
10116 (BUS_MCEERR_AO): Likewise.
10117 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10118 (TRAP_TRACE): Likewise.
10119 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10121 (CLD_KILLED): Likewise.
10122 (CLD_DUMPED): Likewise.
10123 (CLD_TRAPPED): Likewise.
10124 (CLD_STOPPED): Likewise.
10125 (CLD_CONTINUED): Likewise.
10126 (POLL_IN): Likewise.
10127 (POLL_OUT): Likewise.
10128 (POLL_MSG): Likewise.
10129 (POLL_ERR): Likewise.
10130 (POLL_PRI): Likewise.
10131 (POLL_HUP): Likewise.
10132 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10134 (ILL_ILLOPN): Likewise.
10135 (ILL_ILLADR): Likewise.
10136 (ILL_ILLTRP): Likewise.
10137 (ILL_PRVOPC): Likewise.
10138 (ILL_PRVREG): Likewise.
10139 (ILL_COPROC): Likewise.
10140 (ILL_BADSTK): Likewise.
10141 (ILL_BADIADDR): Likewise.
10142 (ILL_BREAK): Likewise.
10143 (FPE_INTDIV): Likewise.
10144 (FPE_INTOVF): Likewise.
10145 (FPE_FLTDIV): Likewise.
10146 (FPE_FLTOVF): Likewise.
10147 (FPE_FLTUND): Likewise.
10148 (FPE_FLTRES): Likewise.
10149 (FPE_FLTINV): Likewise.
10150 (FPE_FLTSUB): Likewise.
10151 (FPE_DECOVF): Likewise.
10152 (FPE_DECDIV): Likewise.
10153 (FPE_DECERR): Likewise.
10154 (FPE_INVASC): Likewise.
10155 (FPE_INVDEC): Likewise.
10156 (SEGV_MAPERR): Likewise.
10157 (SEGV_ACCERR): Likewise.
10158 (SEGV_PSTKOVF): Likewise.
10159 (BUS_ADRALN): Likewise.
10160 (BUS_ADRERR): Likewise.
10161 (BUS_OBJERR): Likewise.
10162 (BUS_MCEERR_AR): Likewise.
10163 (BUS_MCEERR_AO): Likewise.
10164 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10165 (TRAP_TRACE): Likewise.
10166 (TRAP_BRANCH): Likewise.
10167 (TRAP_HWBKPT): Likewise.
10168 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10170 (CLD_KILLED): Likewise.
10171 (CLD_DUMPED): Likewise.
10172 (CLD_TRAPPED): Likewise.
10173 (CLD_STOPPED): Likewise.
10174 (CLD_CONTINUED): Likewise.
10175 (POLL_IN): Likewise.
10176 (POLL_OUT): Likewise.
10177 (POLL_MSG): Likewise.
10178 (POLL_ERR): Likewise.
10179 (POLL_PRI): Likewise.
10180 (POLL_HUP): Likewise.
10181 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10182 (ILL_ILLOPN): Likewise.
10183 (ILL_ILLADR): Likewise.
10184 (ILL_ILLTRP): Likewise.
10185 (ILL_PRVOPC): Likewise.
10186 (ILL_PRVREG): Likewise.
10187 (ILL_COPROC): Likewise.
10188 (ILL_BADSTK): Likewise.
10189 (FPE_INTDIV): Likewise.
10190 (FPE_INTOVF): Likewise.
10191 (FPE_FLTDIV): Likewise.
10192 (FPE_FLTOVF): Likewise.
10193 (FPE_FLTUND): Likewise.
10194 (FPE_FLTRES): Likewise.
10195 (FPE_FLTINV): Likewise.
10196 (FPE_FLTSUB): Likewise.
10197 (SEGV_MAPERR): Likewise.
10198 (SEGV_ACCERR): Likewise.
10199 (BUS_ADRALN): Likewise.
10200 (BUS_ADRERR): Likewise.
10201 (BUS_OBJERR): Likewise.
10202 (BUS_MCEERR_AR): Likewise.
10203 (BUS_MCEERR_AO): Likewise.
10204 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10205 (TRAP_TRACE): Likewise.
10206 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10208 (CLD_KILLED): Likewise.
10209 (CLD_DUMPED): Likewise.
10210 (CLD_TRAPPED): Likewise.
10211 (CLD_STOPPED): Likewise.
10212 (CLD_CONTINUED): Likewise.
10213 (POLL_IN): Likewise.
10214 (POLL_OUT): Likewise.
10215 (POLL_MSG): Likewise.
10216 (POLL_ERR): Likewise.
10217 (POLL_PRI): Likewise.
10218 (POLL_HUP): Likewise.
10219 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10220 (ILL_ILLOPN): Likewise.
10221 (ILL_ILLADR): Likewise.
10222 (ILL_ILLTRP): Likewise.
10223 (ILL_PRVOPC): Likewise.
10224 (ILL_PRVREG): Likewise.
10225 (ILL_COPROC): Likewise.
10226 (ILL_BADSTK): Likewise.
10227 (FPE_INTDIV): Likewise.
10228 (FPE_INTOVF): Likewise.
10229 (FPE_FLTDIV): Likewise.
10230 (FPE_FLTOVF): Likewise.
10231 (FPE_FLTUND): Likewise.
10232 (FPE_FLTRES): Likewise.
10233 (FPE_FLTINV): Likewise.
10234 (FPE_FLTSUB): Likewise.
10235 (SEGV_MAPERR): Likewise.
10236 (SEGV_ACCERR): Likewise.
10237 (BUS_ADRALN): Likewise.
10238 (BUS_ADRERR): Likewise.
10239 (BUS_OBJERR): Likewise.
10240 (BUS_MCEERR_AR): Likewise.
10241 (BUS_MCEERR_AO): Likewise.
10242 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10243 (TRAP_TRACE): Likewise.
10244 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10246 (CLD_KILLED): Likewise.
10247 (CLD_DUMPED): Likewise.
10248 (CLD_TRAPPED): Likewise.
10249 (CLD_STOPPED): Likewise.
10250 (CLD_CONTINUED): Likewise.
10251 (POLL_IN): Likewise.
10252 (POLL_OUT): Likewise.
10253 (POLL_MSG): Likewise.
10254 (POLL_ERR): Likewise.
10255 (POLL_PRI): Likewise.
10256 (POLL_HUP): Likewise.
10257 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10258 (ILL_ILLOPN): Likewise.
10259 (ILL_ILLADR): Likewise.
10260 (ILL_ILLTRP): Likewise.
10261 (ILL_PRVOPC): Likewise.
10262 (ILL_PRVREG): Likewise.
10263 (ILL_COPROC): Likewise.
10264 (ILL_BADSTK): Likewise.
10265 (FPE_INTDIV): Likewise.
10266 (FPE_INTOVF): Likewise.
10267 (FPE_FLTDIV): Likewise.
10268 (FPE_FLTOVF): Likewise.
10269 (FPE_FLTUND): Likewise.
10270 (FPE_FLTRES): Likewise.
10271 (FPE_FLTINV): Likewise.
10272 (FPE_FLTSUB): Likewise.
10273 (SEGV_MAPERR): Likewise.
10274 (SEGV_ACCERR): Likewise.
10275 (BUS_ADRALN): Likewise.
10276 (BUS_ADRERR): Likewise.
10277 (BUS_OBJERR): Likewise.
10278 (BUS_MCEERR_AR): Likewise.
10279 (BUS_MCEERR_AO): Likewise.
10280 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10281 (TRAP_TRACE): Likewise.
10282 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10284 (CLD_KILLED): Likewise.
10285 (CLD_DUMPED): Likewise.
10286 (CLD_TRAPPED): Likewise.
10287 (CLD_STOPPED): Likewise.
10288 (CLD_CONTINUED): Likewise.
10289 (POLL_IN): Likewise.
10290 (POLL_OUT): Likewise.
10291 (POLL_MSG): Likewise.
10292 (POLL_ERR): Likewise.
10293 (POLL_PRI): Likewise.
10294 (POLL_HUP): Likewise.
10295 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10296 (ILL_ILLOPN): Likewise.
10297 (ILL_ILLADR): Likewise.
10298 (ILL_ILLTRP): Likewise.
10299 (ILL_PRVOPC): Likewise.
10300 (ILL_PRVREG): Likewise.
10301 (ILL_COPROC): Likewise.
10302 (ILL_BADSTK): Likewise.
10303 (ILL_DBLFLT): Likewise.
10304 (ILL_HARDWALL): Likewise.
10305 (FPE_INTDIV): Likewise.
10306 (FPE_INTOVF): Likewise.
10307 (FPE_FLTDIV): Likewise.
10308 (FPE_FLTOVF): Likewise.
10309 (FPE_FLTUND): Likewise.
10310 (FPE_FLTRES): Likewise.
10311 (FPE_FLTINV): Likewise.
10312 (FPE_FLTSUB): Likewise.
10313 (SEGV_MAPERR): Likewise.
10314 (SEGV_ACCERR): Likewise.
10315 (BUS_ADRALN): Likewise.
10316 (BUS_ADRERR): Likewise.
10317 (BUS_OBJERR): Likewise.
10318 (BUS_MCEERR_AR): Likewise.
10319 (BUS_MCEERR_AO): Likewise.
10320 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10321 (TRAP_TRACE): Likewise.
10322 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10324 (CLD_KILLED): Likewise.
10325 (CLD_DUMPED): Likewise.
10326 (CLD_TRAPPED): Likewise.
10327 (CLD_STOPPED): Likewise.
10328 (CLD_CONTINUED): Likewise.
10329 (POLL_IN): Likewise.
10330 (POLL_OUT): Likewise.
10331 (POLL_MSG): Likewise.
10332 (POLL_ERR): Likewise.
10333 (POLL_PRI): Likewise.
10334 (POLL_HUP): Likewise.
10335 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10336 (ILL_ILLOPN): Likewise.
10337 (ILL_ILLADR): Likewise.
10338 (ILL_ILLTRP): Likewise.
10339 (ILL_PRVOPC): Likewise.
10340 (ILL_PRVREG): Likewise.
10341 (ILL_COPROC): Likewise.
10342 (ILL_BADSTK): Likewise.
10343 (FPE_INTDIV): Likewise.
10344 (FPE_INTOVF): Likewise.
10345 (FPE_FLTDIV): Likewise.
10346 (FPE_FLTOVF): Likewise.
10347 (FPE_FLTUND): Likewise.
10348 (FPE_FLTRES): Likewise.
10349 (FPE_FLTINV): Likewise.
10350 (FPE_FLTSUB): Likewise.
10351 (SEGV_MAPERR): Likewise.
10352 (SEGV_ACCERR): Likewise.
10353 (BUS_ADRALN): Likewise.
10354 (BUS_ADRERR): Likewise.
10355 (BUS_OBJERR): Likewise.
10356 (BUS_MCEERR_AR): Likewise.
10357 (BUS_MCEERR_AO): Likewise.
10358 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10359 (TRAP_TRACE): Likewise.
10360 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10362 (CLD_KILLED): Likewise.
10363 (CLD_DUMPED): Likewise.
10364 (CLD_TRAPPED): Likewise.
10365 (CLD_STOPPED): Likewise.
10366 (CLD_CONTINUED): Likewise.
10367 (POLL_IN): Likewise.
10368 (POLL_OUT): Likewise.
10369 (POLL_MSG): Likewise.
10370 (POLL_ERR): Likewise.
10371 (POLL_PRI): Likewise.
10372 (POLL_HUP): Likewise.
10373 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10374 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10377 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10378 before #include of <time.h>.
10379 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10380 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10381 (test-xfail-UNIX98/sched.h/conform): Likewise.
10383 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10385 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10386 error absence of trapping exception support.
10387 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10389 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10391 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10392 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10393 * timezone/Makefile (testdata): Move definition above include of
10395 (test-zones): New variable.
10396 (tests-special): Add zone files.
10397 (build-testdata): Use $(evaluate-test).
10399 * elf/Makefile (tests-special): Rename tests to end with .out.
10400 ($(objpfx)noload-mem): Likewise.
10401 ($(objpfx)tst-leaks1-mem): Likewise.
10402 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10403 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10404 $(objpfx)test-iconvconfig.out.
10405 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10406 set -e inside subshell and redirect output to file.
10407 * iconvdata/Makefile (generated): Rename tests to end with .out.
10409 (tests-special): Rename tests to end with .out.
10410 ($(objpfx)mtrace-tst-loading): Likewise.
10411 * intl/Makefile (generated): Likewise.
10412 (tests-special): Likewise.
10413 ($(objpfx)mtrace-tst-gettext): Likewise.
10414 * misc/Makefile (generated): Likewise.
10415 (tests-special): Likewise.
10416 ($(objpfx)tst-error1-mem): Likewise.
10417 * nptl/Makefile (tests-special): Likewise.
10418 ($(objpfx)tst-stack3-mem): Likewise.
10419 (generated): Likewise.
10420 * posix/Makefile (generated): Likewise.
10421 (tests-special): Likewise.
10422 (xtests-special): Likewise.
10423 ($(objpfx)tst-fnmatch-mem): Likewise.
10424 ($(objpfx)bug-regex2-mem): Likewise.
10425 ($(objpfx)bug-regex14-mem): Likewise.
10426 ($(objpfx)bug-regex21-mem): Likewise.
10427 ($(objpfx)bug-regex31-mem): Likewise.
10428 ($(objpfx)tst-vfork3-mem): Likewise.
10429 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10430 ($(objpfx)tst-pcre-mem): Likewise.
10431 ($(objpfx)tst-boost-mem): Likewise.
10432 ($(objpfx)bug-ga2-mem): Likewise.
10433 ($(objpfx)bug-glob2-mem): Likewise.
10434 * resolv/Makefile (generate): Likewise.
10435 (tests-special): Likewise.
10436 (xtests-special): Likewise.
10437 (generated): Likewise.
10438 ($(objpfx)mtrace-tst-leaks): Likewise.
10439 ($(objpfx)mtrace-tst-leaks2): Likewise.
10441 * scripts/merge-test-results.sh: New file.
10442 * Makefile (tests-special-notdir): New variable.
10443 (tests): Run merge-test-results.sh.
10444 (xtests): Likewise.
10445 * Rules (tests-special-notdir): New variable.
10446 (xtests-special-notdir): Likewise.
10447 (tests): Run merge-test-results.sh
10448 (xtests): Likewise.
10450 * Makeconfig (test-xfail-name): New variable.
10451 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10452 compute variable name for expected failures.
10453 * conform/Makefile (conformtest-headers-data): New variable.
10454 (conformtest-standards): Likewise.
10455 (conformtest-headers-ISO): Likewise.
10456 (conformtest-headers-ISO99): Likewise.
10457 (conformtest-headers-ISO11): Likewise.
10458 (conformtest-headers-POSIX): Likewise.
10459 (conformtest-headers-XPG3): Likewise.
10460 (conformtest-headers-XPG4): Likewise.
10461 (conformtest-headers-UNIX98): Likewise.
10462 (conformtest-headers-XOPEN2K): Likewise.
10463 (conformtest-headers-POSIX2008): Likewise.
10464 (conformtest-headers-XOPEN2K8): Likewise.
10465 (conformtest-header-list-base): Likewise.
10466 (conformtest-header-list-tests): Likewise.
10467 (conformtest-header-base): Likewise.
10468 (conformtest-header-tests): Likewise.
10469 (tests-special): Add $(conformtest-header-list-tests). If
10470 [$(fast-check) && !$(cross-compiling)], add
10471 $(conformtest-header-tests) instead of
10472 $(objpfx)run-conformtest.out.
10473 (generated): Add $(conformtest-header-list-base). If
10474 [$(fast-check) && !$(cross-compiling)], add
10475 $(conformtest-header-base). Remove previous setting.
10476 ($(conformtest-header-list-tests)): New target.
10477 (test-xfail-run-conformtest): Remove variable.
10478 ($(objpfx)run-conformtest.out): Remove target.
10479 (test-xfail-ISO11/complex.h/conform): New variable.
10480 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10481 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10482 (test-xfail-XPG3/varargs.h/conform): Likewise.
10483 (test-xfail-XPG4/varargs.h/conform): Likewise.
10484 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10485 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10486 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10487 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10488 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10489 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10490 (test-xfail-XPG3/ftw.h/conform): Likewise.
10491 (test-xfail-XPG3/grp.h/conform): Likewise.
10492 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10493 (test-xfail-XPG3/limits.h/conform): Likewise.
10494 (test-xfail-XPG3/pwd.h/conform): Likewise.
10495 (test-xfail-XPG3/search.h/conform): Likewise.
10496 (test-xfail-XPG3/signal.h/conform): Likewise.
10497 (test-xfail-XPG3/stdio.h/conform): Likewise.
10498 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10499 (test-xfail-XPG3/string.h/conform): Likewise.
10500 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10501 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10502 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10503 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10504 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10505 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10506 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10507 (test-xfail-XPG3/termios.h/conform): Likewise.
10508 (test-xfail-XPG3/time.h/conform): Likewise.
10509 (test-xfail-XPG3/unistd.h/conform): Likewise.
10510 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10511 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10512 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10513 (test-xfail-XPG4/netdb.h/conform): Likewise.
10514 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10515 (test-xfail-XPG4/signal.h/conform): Likewise.
10516 (test-xfail-XPG4/stdio.h/conform): Likewise.
10517 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10518 (test-xfail-XPG4/stropts.h/conform): Likewise.
10519 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10520 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10521 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10522 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10523 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10524 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10525 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10526 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10527 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10528 (test-xfail-XPG4/termios.h/conform): Likewise.
10529 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10530 (test-xfail-XPG4/unistd.h/conform): Likewise.
10531 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10532 (test-xfail-POSIX/sched.h/conform): Likewise.
10533 (test-xfail-POSIX/signal.h/conform): Likewise.
10534 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10535 (test-xfail-POSIX/tar.h/conform): Likewise.
10536 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10537 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10538 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10539 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10540 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10541 (test-xfail-UNIX98/sched.h/conform): Likewise.
10542 (test-xfail-UNIX98/signal.h/conform): Likewise.
10543 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10544 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10545 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10546 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10547 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10548 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10549 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10550 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10551 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10552 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10553 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10554 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10555 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10556 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10557 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10558 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10559 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10560 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10561 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10562 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10563 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10564 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10565 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10566 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10567 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10568 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10569 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10570 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10571 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10572 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10573 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10574 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10575 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10576 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10577 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10578 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10579 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10580 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10581 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10582 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10583 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10584 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10585 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10586 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10587 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10588 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10589 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10590 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10591 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10592 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10593 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10594 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10595 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10596 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10597 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10598 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10599 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10600 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10601 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10602 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10603 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10604 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10605 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10606 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10607 (conformtest-cc-flags): Likewise.
10608 ($(conformtest-header-tests): New target.
10609 * conform/check-header-lists.sh: New file.
10610 * conform/run-conformtest.sh: Remove.
10612 * conform/conformtest.pl: Allow ' and \ in values given for
10614 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10616 [POSIX] (sys/types.h): Likewise.
10617 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10619 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10621 * conform/data/signal.h-data (SIGIO): Remove expectation.
10622 [XPG3] (SIGBUS): Do not expect.
10623 [POSIX || XPG3] (SIGPOLL): Likewise.
10624 [POSIX || XPG3] (SIGPROF): Likewise.
10625 [POSIX || XPG3] (SIGSYS): Likewise.
10626 [XPG3] (SIGTRAP): Likewise.
10627 [POSIX || XPG3] (SIGURG): Likewise.
10628 [POSIX || XPG3] (SIGVTALRM): Likewise.
10629 [POSIX || XPG3] (SIGXCPU): Likewise.
10630 [POSIX || XPG3] (SIGXFSZ): Likewise.
10631 [POSIX] (SA_SIGINFO): Expect.
10632 [XPG3] (siginfo_t): Do not expect type or contents.
10633 [POSIX] (si_pid): Do not expect element.
10634 [POSIX] (si_uid): Likewise.
10635 [POSIX] (si_addr): Likewise.
10636 [POSIX] (si_status): Likewise.
10637 [POSIX] (si_band): Likewise.
10638 [XPG4] (si_value): Likewise.
10639 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10640 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10641 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10642 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10643 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10644 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10645 [POSIX || XPG3] (ILL_COPROC): Likewise.
10646 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10647 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10648 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10649 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10650 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10651 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10652 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10653 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10654 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10655 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10656 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10657 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10658 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10659 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10660 [POSIX || XPG3] (CLD_EXITED): Likewise.
10661 [POSIX || XPG3] (CLD_KILLED): Likewise.
10662 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10663 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10664 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10665 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10666 [POSIX || XPG3] (POLL_IN): Likewise.
10667 [POSIX || XPG3] (POLL_OUT): Likewise.
10668 [POSIX || XPG3] (POLL_MSG): Likewise.
10669 [POSIX || XPG3] (POLL_ERR): Likewise.
10670 [POSIX || XPG3] (POLL_PRI): Likewise.
10671 [POSIX || XPG3] (POLL_HUP): Likewise.
10672 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10673 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10674 (SIG*): Do not allow.
10675 [XPG3] (si_*): Likewise.
10676 [XPG3] (SI_*): Likewise.
10677 [XPG3 || XPG4] (sigev_*): Likewise.
10678 [XPG3 || XPG4] (SIGEV_*): Likewise.
10679 [XPG3 || XPG4] (sival_*): Likewise.
10680 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10681 [POSIX || XPG3] (BUS_*): Likewise.
10682 [POSIX || XPG3] (CLD_*): Likewise.
10683 [POSIX || XPG3] (FPE_*): Likewise.
10684 [POSIX || XPG3] (ILL_*): Likewise.
10685 [POSIX || XPG3] (POLL_*): Likewise.
10686 [POSIX || XPG3] (SEGV_*): Likewise.
10687 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10688 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10689 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10690 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10691 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10692 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10693 Specify type and value.
10694 (TVERSLEN): Likewise.
10695 (REGTYPE): Likewise.
10696 (AREGTYPE): Likewise.
10697 (LNKTYPE): Likewise.
10698 (SYMTYPE): Likewise.
10699 (CHRTYPE): Likewise.
10700 (BLKTYPE): Likewise.
10701 (DIRTYPE): Likewise.
10702 (FIFOTYPE): Likewise.
10703 (CONTTYPE): Likewise.
10707 (TUREAD): Likewise.
10708 (TUWRITE): Likewise.
10709 (TUEXEC): Likewise.
10710 (TGREAD): Likewise.
10711 (TGWRITE): Likewise.
10712 (TGEXEC): Likewise.
10713 (TOREAD): Likewise.
10714 (TOWRITE): Likewise.
10715 (TOEXEC): Likewise.
10716 [POSIX] (TSVTX): Expect constant.
10718 2014-03-06 Joseph Myers <joseph@codesourcery.com>
10720 * Makefile (tests): Change dependencies to ....
10721 (tests-special): ... additions to this variable.
10722 (tests): Depend on $(tests-special).
10723 * Makerules (check-abi-list): New variable.
10724 (check-abi): Depend on $(check-abi-list).
10725 [$(subdir) = elf] (tests-special): Add
10726 $(objpfx)check-abi-libc.out.
10727 [$(build-shared) = yes && subdir] (tests-special): Add
10729 [$(build-shared) = yes && subdir] (tests): Do not depend on
10731 * Rules (tests): Depend on $(tests-special).
10732 (xtests): Depend on $(xtests-special).
10733 * catgets/Makefile (tests): Change dependencies to ....
10734 (tests-special): ... additions to this variable.
10735 * conform/Makefile (tests): Change dependencies to ....
10736 (tests-special): ... additions to this variable.
10737 * elf/Makefile (tests): Change dependencies to ....
10738 (tests-special): ... additions to this variable.
10739 * grp/Makefile (tests): Change dependencies to ....
10740 (tests-special): ... additions to this variable.
10741 * iconv/Makefile (xtests): Change dependencies to ....
10742 (xtests-special): ... additions to this variable.
10743 * iconvdata/Makefile (tests): Change dependencies to ....
10744 (tests-special): ... additions to this variable.
10745 * intl/Makefile (tests): Change dependencies to ....
10746 (tests-special): ... additions to this variable. Also add
10747 $(objpfx)tst-gettext.out.
10748 * io/Makefile (tests): Change dependencies to ....
10749 (tests-special): ... additions to this variable.
10750 * libio/Makefile (tests): Change dependencies to ....
10751 (tests-special): ... additions to this variable.
10752 * malloc/Makefile (tests): Change dependencies to ....
10753 (tests-special): ... additions to this variable.
10754 * misc/Makefile (tests): Change dependencies to ....
10755 (tests-special): ... additions to this variable.
10756 * nptl/Makefile (tests): Change dependencies to ....
10757 (tests-special): ... additions to this variable.
10758 * nptl_db/Makefile (tests): Change dependencies to ....
10759 (tests-special): ... additions to this variable.
10760 * posix/Makefile (tests): Change dependencies to ....
10761 (tests-special): ... additions to this variable.
10762 (xtests): Change dependencies to ....
10763 (xtests-special): ... additions to this variable.
10764 * resolv/Makefile (tests): Change dependencies to ....
10765 (tests-special): ... additions to this variable.
10766 (xtests): Change dependencies to ....
10767 (xtests-special): ... additions to this variable.
10768 * stdio-common/Makefile (tests): Change dependencies to ....
10769 (tests-special): ... additions to this variable.
10770 (do-tst-unbputc): Remove target.
10771 (do-tst-printf): Likewise.
10772 * stdlib/Makefile (tests): Change dependencies to ....
10773 (tests-special): ... additions to this variable.
10774 * string/Makefile (tests): Change dependencies to ....
10775 (tests-special): ... additions to this variable.
10776 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10777 (tests-special): ... additions to this variable.
10779 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10781 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10783 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10784 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10786 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10787 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10788 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10789 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10790 * conform/data/libgen.h-data [XPG3]: Likewise.
10791 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10792 * conform/data/ndbm.h-data [XPG3]: Likewise.
10793 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10794 * conform/data/netdb.h-data [XPG3]: Likewise.
10795 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10796 * conform/data/poll.h-data [XPG3]: Likewise.
10797 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10798 * conform/data/strings.h-data [XPG3]: Likewise.
10799 * conform/data/stropts.h-data [XPG3]: Likewise.
10800 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10801 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10802 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10804 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10805 * conform/data/sys/time.h-data [XPG3]: Likewise.
10806 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10807 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10808 * conform/data/sys/un.h-data [XPG3]: Likewise.
10809 * conform/data/syslog.h-data [XPG3]: Likewise.
10810 * conform/data/ucontext.h-data [XPG3]: Likewise.
10811 * conform/data/utmpx.h-data [XPG3]: Likewise.
10812 * conform/data/varargs.h-data [UNIX98]: Enable file.
10814 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10816 * math/libm-test.inc (struct test_f_f_data): Move expected results
10817 into structure for each rounding mode.
10818 (struct test_ff_f_data): Likewise.
10819 (struct test_ff_f_data_nexttoward): Likewise.
10820 (struct test_fi_f_data): Likewise.
10821 (struct test_fl_f_data): Likewise.
10822 (struct test_if_f_data): Likewise.
10823 (struct test_fff_f_data): Likewise.
10824 (struct test_c_f_data): Likewise.
10825 (struct test_f_f1_data): Likewise.
10826 (struct test_fF_f1_data): Likewise.
10827 (struct test_ffI_f1_data): Likewise.
10828 (struct test_c_c_data): Likewise.
10829 (struct test_cc_c_data): Likewise.
10830 (struct test_f_i_data): Likewise.
10831 (struct test_ff_i_data): Likewise.
10832 (struct test_f_l_data): Likewise.
10833 (struct test_f_L_data): Likewise.
10834 (struct test_fFF_11_data): Likewise.
10836 (RM_FE_DOWNWARD): Likewise.
10837 (RM_FE_TONEAREST): Likewise.
10838 (RM_FE_TOWARDZERO): Likewise.
10839 (RM_FE_UPWARD): Likewise.
10840 (RUN_TEST_LOOP_f_f): Update references to expected results.
10841 (RUN_TEST_LOOP_2_f): Likewise.
10842 (RUN_TEST_LOOP_fff_f): Likewise.
10843 (RUN_TEST_LOOP_c_f): Likewise.
10844 (RUN_TEST_LOOP_f_f1): Likewise.
10845 (RUN_TEST_LOOP_fF_f1): Likewise.
10846 (RUN_TEST_LOOP_fI_f1): Likewise.
10847 (RUN_TEST_LOOP_ffI_f1): Likewise.
10848 (RUN_TEST_LOOP_c_c): Likewise.
10849 (RUN_TEST_LOOP_cc_c): Likewise.
10850 (RUN_TEST_LOOP_f_i): Likewise.
10851 (RUN_TEST_LOOP_f_i_tg): Likewise.
10852 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10853 (RUN_TEST_LOOP_f_b): Likewise.
10854 (RUN_TEST_LOOP_f_b_tg): Likewise.
10855 (RUN_TEST_LOOP_f_l): Likewise.
10856 (RUN_TEST_LOOP_f_L): Likewise.
10857 (RUN_TEST_LOOP_fFF_11): Likewise.
10858 * math/gen-libm-test.pl (parse_args): Output four copies of
10859 expected results for each test.
10861 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10862 (__ASSUME_UTIMES): Remove.
10863 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10864 (__ASSUME_UTIMES): Likewise.
10866 * math/gen-auto-libm-tests.c: Update comment on output format.
10867 (output_for_one_input_case): Generate before-rounding and
10868 after-rounding information as conditions on output flags not
10869 floating-point format.
10870 * math/auto-libm-test-out: Regenerated.
10871 * math/gen-libm-test.pl (cond_value): New function.
10872 (or_cond_value): Use cond_value.
10873 (generate_testfile): Handle conditional exceptions.
10875 2014-03-05 Joseph Myers <joseph@codesourcery.com>
10877 * math/libm-test.inc (max_valid_error): New variable.
10878 (init_max_error): Take new argument specifying whether function
10879 results are exactly determined. Set max_valid_error and bound
10880 other variables for errors based on this argument.
10881 (set_max_error): Do not record results above max_valid_error.
10882 (check_float_internal): Only accept errors of up to 0.5ulps if
10883 also at most max_valid_error.
10884 (START): Take new argument EXACT and pass it to init_max_error.
10885 (acos_test): Update call to START.
10886 (acos_test_tonearest): Likewise.
10887 (acos_test_towardzero): Likewise.
10888 (acos_test_downward): Likewise.
10889 (acos_test_upward): Likewise.
10890 (acosh_test): Likewise.
10891 (asin_test): Likewise.
10892 (asin_test_tonearest): Likewise.
10893 (asin_test_towardzero): Likewise.
10894 (asin_test_downward): Likewise.
10895 (asin_test_upward): Likewise.
10896 (asinh_test): Likewise.
10897 (atan_test): Likewise.
10898 (atanh_test): Likewise.
10899 (atan2_test): Likewise.
10900 (cabs_test): Likewise.
10901 (cacos_test): Likewise.
10902 (cacosh_test): Likewise.
10903 (carg_test): Likewise.
10904 (casin_test): Likewise.
10905 (casinh_test): Likewise.
10906 (catan_test): Likewise.
10907 (catanh_test): Likewise.
10908 (cbrt_test): Likewise.
10909 (ccos_test): Likewise.
10910 (ccosh_test): Likewise.
10911 (ceil_test): Likewise.
10912 (cexp_test): Likewise.
10913 (cimag_test): Likewise.
10914 (clog_test): Likewise.
10915 (clog10_test): Likewise.
10916 (conj_test): Likewise.
10917 (copysign_test): Likewise.
10918 (cos_test): Likewise.
10919 (cos_test_tonearest): Likewise.
10920 (cos_test_towardzero): Likewise.
10921 (cos_test_downward): Likewise.
10922 (cos_test_upward): Likewise.
10923 (cosh_test): Likewise.
10924 (cosh_test_tonearest): Likewise.
10925 (cosh_test_towardzero): Likewise.
10926 (cosh_test_downward): Likewise.
10927 (cosh_test_upward): Likewise.
10928 (cpow_test): Likewise.
10929 (cproj_test): Likewise.
10930 (creal_test): Likewise.
10931 (csin_test): Likewise.
10932 (csinh_test): Likewise.
10933 (csqrt_test): Likewise.
10934 (ctan_test): Likewise.
10935 (ctan_test_tonearest): Likewise.
10936 (ctan_test_towardzero): Likewise.
10937 (ctan_test_downward): Likewise.
10938 (ctan_test_upward): Likewise.
10939 (ctanh_test): Likewise.
10940 (ctanh_test_tonearest): Likewise.
10941 (ctanh_test_towardzero): Likewise.
10942 (ctanh_test_downward): Likewise.
10943 (ctanh_test_upward): Likewise.
10944 (erf_test): Likewise.
10945 (erfc_test): Likewise.
10946 (exp_test): Likewise.
10947 (exp_test_tonearest): Likewise.
10948 (exp_test_towardzero): Likewise.
10949 (exp_test_downward): Likewise.
10950 (exp_test_upward): Likewise.
10951 (exp10_test): Likewise.
10952 (exp10_test_tonearest): Likewise.
10953 (exp10_test_towardzero): Likewise.
10954 (exp10_test_downward): Likewise.
10955 (exp10_test_upward): Likewise.
10956 (pow10_test): Likewise.
10957 (exp2_test): Likewise.
10958 (expm1_test): Likewise.
10959 (expm1_test_tonearest): Likewise.
10960 (expm1_test_towardzero): Likewise.
10961 (expm1_test_downward): Likewise.
10962 (expm1_test_upward): Likewise.
10963 (fabs_test): Likewise.
10964 (fdim_test): Likewise.
10965 (floor_test): Likewise.
10966 (fma_test): Likewise.
10967 (fma_test_towardzero): Likewise.
10968 (fma_test_downward): Likewise.
10969 (fma_test_upward): Likewise.
10970 (fmax_test): Likewise.
10971 (fmin_test): Likewise.
10972 (fmod_test): Likewise.
10973 (fpclassify_test): Likewise.
10974 (frexp_test): Likewise.
10975 (hypot_test): Likewise.
10976 (ilogb_test): Likewise.
10977 (isfinite_test): Likewise.
10978 (finite_test): Likewise.
10979 (isgreater_test): Likewise.
10980 (isgreaterequal_test): Likewise.
10981 (isinf_test): Likewise.
10982 (isless_test): Likewise.
10983 (islessequal_test): Likewise.
10984 (islessgreater_test): Likewise.
10985 (isnan_test): Likewise.
10986 (isnormal_test): Likewise.
10987 (issignaling_test): Likewise.
10988 (isunordered_test): Likewise.
10989 (j0_test): Likewise.
10990 (j1_test): Likewise.
10991 (jn_test): Likewise.
10992 (ldexp_test): Likewise.
10993 (lgamma_test): Likewise.
10994 (gamma_test): Likewise.
10995 (lrint_test): Likewise.
10996 (lrint_test_tonearest): Likewise.
10997 (lrint_test_towardzero): Likewise.
10998 (lrint_test_downward): Likewise.
10999 (lrint_test_upward): Likewise.
11000 (llrint_test): Likewise.
11001 (llrint_test_tonearest): Likewise.
11002 (llrint_test_towardzero): Likewise.
11003 (llrint_test_downward): Likewise.
11004 (llrint_test_upward): Likewise.
11005 (log_test): Likewise.
11006 (log10_test): Likewise.
11007 (log1p_test): Likewise.
11008 (log2_test): Likewise.
11009 (logb_test): Likewise.
11010 (logb_test_downward): Likewise.
11011 (lround_test): Likewise.
11012 (llround_test): Likewise.
11013 (modf_test): Likewise.
11014 (nearbyint_test): Likewise.
11015 (nextafter_test): Likewise.
11016 (nexttoward_test): Likewise.
11017 (pow_test): Likewise.
11018 (pow_test_tonearest): Likewise.
11019 (pow_test_towardzero): Likewise.
11020 (pow_test_downward): Likewise.
11021 (pow_test_upward): Likewise.
11022 (remainder_test): Likewise.
11023 (drem_test): Likewise.
11024 (remainder_test_tonearest): Likewise.
11025 (drem_test_tonearest): Likewise.
11026 (remainder_test_towardzero): Likewise.
11027 (drem_test_towardzero): Likewise.
11028 (remainder_test_downward): Likewise.
11029 (drem_test_downward): Likewise.
11030 (remainder_test_upward): Likewise.
11031 (drem_test_upward): Likewise.
11032 (remquo_test): Likewise.
11033 (rint_test): Likewise.
11034 (rint_test_tonearest): Likewise.
11035 (rint_test_towardzero): Likewise.
11036 (rint_test_downward): Likewise.
11037 (rint_test_upward): Likewise.
11038 (round_test): Likewise.
11039 (scalb_test): Likewise.
11040 (scalbn_test): Likewise.
11041 (scalbln_test): Likewise.
11042 (signbit_test): Likewise.
11043 (sin_test): Likewise.
11044 (sin_test_tonearest): Likewise.
11045 (sin_test_towardzero): Likewise.
11046 (sin_test_downward): Likewise.
11047 (sin_test_upward): Likewise.
11048 (sincos_test): Likewise.
11049 (sinh_test): Likewise.
11050 (sinh_test_tonearest): Likewise.
11051 (sinh_test_towardzero): Likewise.
11052 (sinh_test_downward): Likewise.
11053 (sinh_test_upward): Likewise.
11054 (sqrt_test): Likewise.
11055 (sqrt_test_tonearest): Likewise.
11056 (sqrt_test_towardzero): Likewise.
11057 (sqrt_test_downward): Likewise.
11058 (sqrt_test_upward): Likewise.
11059 (tan_test): Likewise.
11060 (tan_test_tonearest): Likewise.
11061 (tan_test_towardzero): Likewise.
11062 (tan_test_downward): Likewise.
11063 (tan_test_upward): Likewise.
11064 (tanh_test): Likewise.
11065 (tgamma_test): Likewise.
11066 (trunc_test): Likewise.
11067 (y0_test): Likewise.
11068 (y1_test): Likewise.
11069 (yn_test): Likewise.
11070 (significand_test): Likewise.
11072 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11073 individual tests in comment.
11074 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11075 (prev_max_error): New variable.
11076 (prev_real_max_error): Likewise.
11077 (prev_imag_max_error): Likewise.
11078 (compare_ulp_data): Don't refer to test names in comment.
11079 (find_test_ulps): Remove function.
11080 (find_function_ulps): Likewise.
11081 (find_complex_function_ulps): Likewise.
11082 (init_max_error): Take function name as argument. Look up ulps
11084 (print_ulps): Remove function.
11085 (print_max_error): Use prev_max_error instead of calling
11086 find_function_ulps.
11087 (print_complex_max_error): Use prev_real_max_error and
11088 prev_imag_max_error instead of calling find_complex_function_ulps.
11089 (check_float_internal): Take max_ulp parameter instead of calling
11090 find_test_ulps. Don't call print_ulps.
11091 (check_float): Update call to check_float_internal.
11092 (check_complex): Update calls to check_float_internal.
11093 (START): Pass argument to init_max_error.
11094 * math/gen-libm-test.pl (%results): Don't include "kind"
11096 (parse_ulps): Don't handle ulps of individual tests.
11097 (print_ulps_file): Likewise.
11098 (output_ulps): Likewise.
11099 * math/README.libm-test: Update.
11100 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11102 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11103 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11104 * sysdeps/arm/libm-test-ulps: Likewise.
11105 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11106 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11107 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11108 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11109 * sysdeps/microblaze/libm-test-ulps: Likewise.
11110 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11111 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11112 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11113 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11114 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11115 * sysdeps/sh/libm-test-ulps: Likewise.
11116 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11117 * sysdeps/tile/libm-test-ulps: Likewise.
11118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11120 2014-03-04 Joseph Myers <joseph@codesourcery.com>
11122 * math/libm-test.inc (print_complex_max_error): Check separately
11123 whether real and imaginary errors are within allowed range and
11124 pass 0 to print_complex_function_ulps instead of value within
11127 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11129 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11131 (get_handles_fopen): Likewise.
11132 (do_write_test): Likewise.
11134 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11136 * libio/fileops.c (do_ftell): Use cached offset when
11138 * libio/iofwide.c (do_ftell_wide): Likewise.
11139 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11141 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11144 * libio/libioP.h (get_file_offset): New function.
11145 * libio/fileops.c (get_file_offset): Likewise.
11146 (do_ftell): Likewise.
11147 (_IO_new_file_seekoff): Split out ftell logic.
11148 * libio/wfileops.c (do_ftell_wide): Likewise.
11149 (_IO_wfile_seekoff): Split out ftell logic.
11150 * libio/tst-ftell-active-handler.c: New test case.
11151 * libio/Makefile (tests): Add it.
11153 2014-03-03 Roland McGrath <roland@hack.frob.com>
11155 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11156 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11158 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11161 * nscd/connections.c (nscd_init): Call do_exit.
11162 (start_threads): Call do_exit and notify_parent.
11163 (begin_drop_privileges): Call do_exit.
11164 (finish_drop_privileges): Likewise.
11165 * nscd/selinux.c (preserve_capabilities): Likewise.
11166 (install_real_capabilities): Likewise.
11167 (nscd_selinux_enabled): Likewise.
11168 (avc_create_thread): Likewise.
11169 (avc_alloc_lock): Likewise.
11170 (nscd_avc_init): Likewise.
11171 * nscd/nscd.c (parent_fd): New static variable.
11172 (main): Create a pipe between parent and child processes.
11173 Skip closing parent_fd.
11174 (monitor_child): New function.
11175 (do_exit): Likewise.
11176 (notify_parent): Likewise.
11177 * nscd/nscd.h (notify_parent): Likewise.
11178 (do_exit): Likewise.
11180 2014-03-03 Carlos O'Donell <carlos@redhat.com>
11182 * malloc/malloc.c (__libc_calloc): Revert last change.
11184 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11188 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11190 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11194 (__libc_ifunc_impl_list): Likewise.
11195 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11196 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11197 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11198 * string/strrchr.c: Define STRRCHR.
11200 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
11202 * benchtest/bench-strtok.c (simple_strtok): Delete.
11203 (strtok_string): Use as benchmark.
11204 * string/strtok (STRTOK): New macro.
11206 2014-02-28 Carlos O'Donell <carlos@redhat.com>
11208 * manual/threads.texi: Add header and standard comments to all
11211 * elf/dl-lookup.c (check_match): New function.
11212 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11213 (do_lookup_x): Remove nested function check_match. Use non-nested
11214 function check_match.
11216 2014-02-28 Roland McGrath <roland@hack.frob.com>
11218 * csu/Makefile (generated, before-compile): Use += rather than =.
11219 * catgets/Makefile (generated, generated-dirs): Likewise.
11220 * debug/Makefile (generated): Likewise.
11221 * dlfcn/Makefile (generated): Likewise.
11222 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11223 * iconvdata/Makefile (before-compile, generated): Likewise.
11224 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11225 * libio/Makefile (generated): Likewise.
11226 * malloc/Makefile (generated): Likewise.
11227 * manual/Makefile (generated, generated-dirs): Likewise.
11228 * misc/Makefile (generated): Likewise.
11229 * posix/Makefile (generated): Likewise.
11230 * resolv/Makefile (generated): Likewise.
11231 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11232 * timezone/Makefile (generated, generated-dirs): Likewise.
11234 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11236 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11239 power8 implementation.
11240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11241 file: POWER8 llround ifunc implementation.
11242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11243 (__lllround): Add POWER8 implementation.
11244 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11245 POWER8 llround implementation.
11247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11248 power8 implementation.
11249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11250 file: POWER8 llrint ifunc implementation.
11251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11252 Add POWER8 implementation.
11253 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11254 POWER8 llrint implementation.
11256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11257 power8 implementation.
11258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11259 file: POWER8 finite ifunc implementation.
11260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11261 Add POWER8 implementation.
11262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11264 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11265 POWER8 finite implementation.
11266 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11268 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11269 power8 implementation.
11270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11271 file: POWER8 isinf ifunc implementation.
11272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11273 POWER8 implementation.
11274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11276 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11277 isinf implementation.
11278 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11280 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11281 (INIT_ARCH): Add hwcap2 initialization.
11282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11283 power8 implementation.
11284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11285 file: POWER8 isnan ifunc implementation.
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11287 POWER8 implementation.
11288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11290 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11291 isnan implementation.
11292 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11294 2014-02-27 Joey Ye <joey.ye@arm.com>
11296 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11297 (_FP_NANFRAC_Q): Set to zero.
11299 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11302 * math/auto-libm-test-in: New test inputs.
11303 * math/auto-libm-test-out: Regenerate.
11304 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11307 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11309 2014-02-27 Joseph Myers <joseph@codesourcery.com>
11311 * scripts/evaluate-test.sh: Take new argument indicating whether
11312 failure is expected.
11313 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11314 indicating whether failure is expected.
11315 * conform/Makefile (test-xfail-run-conformtest): New variable.
11316 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11318 * posix/Makefile (test-xfail-annexc): New variable.
11319 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11321 2014-02-26 Joseph Myers <joseph@codesourcery.com>
11323 * argp/Makefile: Include Makeconfig immediately after defining
11325 * assert/Makefile: Likewise.
11326 * benchtests/Makefile: Likewise.
11327 * catgets/Makefile: Likewise.
11328 * conform/Makefile: Likewise.
11329 * crypt/Makefile: Likewise.
11330 * csu/Makefile: Likewise.
11331 (all): Remove target.
11332 * ctype/Makefile: Include Makeconfig immediately after defining
11334 * debug/Makefile: Likewise.
11335 * dirent/Makefile: Likewise.
11336 * dlfcn/Makefile: Likewise.
11337 * gmon/Makefile: Likewise.
11338 * gnulib/Makefile: Likewise.
11339 * grp/Makefile: Likewise.
11340 * gshadow/Makefile: Likewise.
11341 * hesiod/Makefile: Likewise.
11342 * hurd/Makefile: Likewise.
11343 (all): Remove target.
11344 * iconvdata/Makefile: Include Makeconfig immediately after
11346 * inet/Makefile: Likewise.
11347 * intl/Makefile: Likewise.
11348 * io/Makefile: Likewise.
11349 * libio/Makefile: Likewise.
11350 (all): Remove target.
11351 * locale/Makefile: Include Makeconfig immediately after defining
11353 * login/Makefile: Likewise.
11354 * mach/Makefile: Likewise.
11355 (all): Remove target.
11356 * malloc/Makefile: Include Makeconfig immediately after defining
11358 (all): Remove target.
11359 * manual/Makefile: Include Makeconfig immediately after defining
11361 * math/Makefile: Likewise.
11362 * misc/Makefile: Likewise.
11363 * nis/Makefile: Likewise.
11364 * nss/Makefile: Likewise.
11365 * po/Makefile: Likewise.
11366 (all): Remove target.
11367 * posix/Makefile: Include Makeconfig immediately after defining
11369 * pwd/Makefile: Likewise.
11370 * resolv/Makefile: Likewise.
11371 * resource/Makefile: Likewise.
11372 * rt/Makefile: Likewise.
11373 * setjmp/Makefile: Likewise.
11374 * shadow/Makefile: Likewise.
11375 * signal/Makefile: Likewise.
11376 * socket/Makefile: Likewise.
11377 * soft-fp/Makefile: Likewise.
11378 * stdio-common/Makefile: Likewise.
11379 * stdlib/Makefile: Likewise.
11380 * streams/Makefile: Likewise.
11381 * string/Makefile: Likewise.
11382 * sunrpc/Makefile: Likewise.
11383 (all): Remove target.
11384 * sysvipc/Makefile: Include Makeconfig immediately after defining
11386 * termios/Makefile: Likewise.
11387 * time/Makefile: Likewise.
11388 * timezone/Makefile: Likewise.
11389 (all): Remove target.
11390 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11392 * wctype/Makefile: Likewise.
11394 2014-02-26 Steve Ellcey <sellcey@mips.com>
11396 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11397 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11398 (libc_feholdexcept_setround_mips): Ditto.
11399 (libc_feholdsetround): New.
11400 (libc_feholdsetroundf): New.
11401 (libc_feholdsetroundl): New.
11402 (libc_feupdateenv_test_mips): New.
11403 (libc_feupdateenv_test): New.
11404 (libc_feupdateenv_testf): New.
11405 (libc_feupdateenv_testl): New.
11406 (libc_feresetround): New.
11407 (libc_feresetroundf): New.
11408 (libc_feresetroundl): New.
11409 (libc_fetestexcept_mips): New.
11410 (libc_fetestexcept): New.
11411 (libc_fetestexceptf): New.
11412 (libc_fetestexceptl): New.
11413 (HAVE_RM_CTX): New.
11414 (libc_feholdexcept_setround_mips_ctx): New.
11415 (libc_feholdexcept_setround_ctx): New.
11416 (libc_feholdexcept_setroundf_ctx): New.
11417 (libc_feholdexcept_setroundl_ctx): New.
11418 (libc_fesetenv_mips_ctx): New.
11419 (libc_fesetenv_ctx): New.
11420 (libc_fesetenv_ctxf): New.
11421 (libc_fesetenv_ctxl): New.
11422 (libc_feupdateenv_mips_ctx): New.
11423 (libc_feupdateenv_ctx): New.
11424 (libc_feupdateenvf_ctx): New.
11425 (libc_feupdateenvl_ctx): New.
11426 (libc_feholdsetround_mips_ctx): New.
11427 (libc_feholdsetround_ctx): New.
11428 (libc_feholdsetroundf_ctx): New.
11429 (libc_feholdsetroundl_ctx): New.
11430 (libc_feresetround_mips_ctx): New.
11431 (libc_feresetround_ctx): New.
11432 (libc_feresetroundf_ctx): New.
11433 (libc_feresetroundl_ctx): New.
11435 2014-02-26 Carlos O'Donell <carlos@redhat.com>
11437 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11439 * manual/ipc.texi: New file.
11440 * manual/Makefile (chapters): Add ipc.
11441 * manual/job.texi: Add "Inter-Process Communication" to next.
11442 * manual/process.texi: Add "Inter-Process Communication" to prev.
11444 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11448 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
11450 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11452 * manual/arith.texi: Fix spaces after sentences.
11453 * manual/charset.texi: Likewise.
11454 * manual/errno.texi: Likewise.
11455 * manual/install.texi: Likewise.
11456 * manual/llio.texi: Likewise.
11457 * manual/locale.texi: Likewise.
11458 * manual/maint.texi: Likewise.
11459 * manual/math.texi: Likewise.
11460 * manual/memory.texi: Likewise.
11461 * manual/message.texi: Likewise.
11462 * manual/probes.texi: Likewise.
11463 * manual/resource.texi: Likewise.
11464 * manual/signal.texi: Likewise.
11465 * manual/socket.texi: Likewise.
11466 * manual/stdio.texi: Likewise.
11467 * manual/string.texi: Likewise.
11468 * manual/time.texi: Likewise.
11469 * manual/users.texi: Likewise.
11471 2014-02-25 Carlos O'Donell <carlos@redhat.com>
11474 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11475 _DEFAULT_SOURCE is defined.
11477 2014-02-25 Ulrich Drepper <drepper@gmail.com>
11478 Carlos O'Donell <carlos@redhat.com>
11481 * elf/dl-tls.c (_dl_count_modids): New function.
11482 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11483 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11484 audit library and increment generation counter.
11485 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11486 * elf/tst-audit9.c: New file.
11487 * elf/tst-auditmod9a.c: New file.
11488 * elf/tst-auditmod9b.c: New file.
11489 * elf/Makefile: Add rules to build and run tst-audit9.
11491 2014-02-25 Florian Weimer <fweimer@redhat.com>
11494 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11496 2014-02-25 Will Newton <will.newton@linaro.org>
11498 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11499 (__longjmp): Restore sp and lr before restoring callee
11500 saved registers. Add longjmp and longjmp_target
11501 SystemTap probe point.
11502 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11503 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11504 Define to zero to match jmpbuf layout.
11505 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11506 (__sigsetjmp): Save sp and lr before saving callee
11507 saved registers. Add setjmp SystemTap probe point.
11509 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11511 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11513 2014-02-24 Andreas Schwab <schwab@suse.de>
11516 * elf/pldd.c (wait_for_ptrace_stop): New function.
11517 (main): Call it after attaching.
11519 2014-02-22 Roland McGrath <roland@hack.frob.com>
11521 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11522 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11523 Versions files is now verboten.
11524 * hurd/Versions (libc: GLIBC_2.0):
11525 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11526 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11527 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11528 * mach/Versions: Likewise.
11530 * csu/Versions: Remove unused %include.
11531 * resolv/Versions: Likewise.
11533 2014-02-21 Joseph Myers <joseph@codesourcery.com>
11535 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11536 ($(objpfx)check-local-headers.out): Likewise.
11537 ($(objpfx)begin-end-check.out): Likewise.
11538 * Makerules (check-abi-%.out): Likewise.
11539 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11540 ($(objpfx)test2.cat): Likewise.
11541 ($(objpfx)de/libc.cat): Likewise.
11542 ($(objpfx)test-gencat.out): Likewise.
11543 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11544 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11545 ($(objpfx)noload-mem): Likewise.
11546 ($(objpfx)tst-pathopt.out): Likewise.
11547 ($(objpfx)tst-rtld-load-self.out): Likewise.
11548 ($(objpfx)tst-array1-cmp.out): Likewise.
11549 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11550 ($(objpfx)tst-array2-cmp.out): Likewise.
11551 ($(objpfx)tst-array3-cmp.out): Likewise.
11552 ($(objpfx)tst-array4-cmp.out): Likewise.
11553 ($(objpfx)tst-array5-cmp.out): Likewise.
11554 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11555 ($(objpfx)check-textrel.out): Likewise.
11556 ($(objpfx)check-execstack.out): Likewise.
11557 ($(objpfx)check-localplt.out): Likewise.
11558 ($(objpfx)order2-cmp.out): Likewise.
11559 ($(objpfx)tst-leaks1-mem): Likewise.
11560 ($(objpfx)tst-leaks1-static-mem): Likewise.
11561 ($(objpfx)tst-initorder-cmp.out): Likewise.
11562 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11563 ($(objpfx)tst-unused-dep.out): Likewise.
11564 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11565 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11566 * iconv/Makefile (test-iconvconfig): Likewise.
11567 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11568 ($(objpfx)iconv-test.out): Likewise.
11569 ($(objpfx)tst-tables.out): Likewise.
11570 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11571 ($(objpfx)tst-gettext.out): Likewise.
11572 ($(objpfx)tst-translit.out): Likewise.
11573 ($(objpfx)tst-gettext2.out): Likewise.
11574 ($(objpfx)tst-gettext4.out): Likewise.
11575 ($(objpfx)tst-gettext6.out): Likewise.
11576 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11577 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11578 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11579 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11580 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11581 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11582 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11583 ($(objpfx)wordexp-tst.out): Likewise.
11584 ($(objpfx)annexc.out): Likewise.
11585 ($(objpfx)tst-fnmatch-mem): Likewise.
11586 ($(objpfx)bug-regex2-mem): Likewise.
11587 ($(objpfx)bug-regex14-mem): Likewise.
11588 ($(objpfx)bug-regex21-mem): Likewise.
11589 ($(objpfx)bug-regex31-mem): Likewise.
11590 ($(objpfx)tst-vfork3-mem): Likewise.
11591 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11592 ($(objpfx)tst-pcre-mem): Likewise.
11593 ($(objpfx)tst-boost-mem): Likewise.
11594 ($(objpfx)tst-getconf.out): Likewise.
11595 ($(objpfx)bug-ga2-mem): Likewise.
11596 ($(objpfx)bug-glob2-mem): Likewise.
11597 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11598 ($(objpfx)mtrace-tst-leaks2): Likewise.
11599 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11600 ($(objpfx)tst-printf.out): Likewise.
11601 ($(objpfx)tst-setvbuf1.out): Likewise.
11602 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11603 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11604 ($(objpfx)tst-fmtmsg.out): Likewise.
11605 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11606 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11608 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11609 * bits/sigaction.h [__USE_MISC]: Likewise.
11610 * bits/waitstatus.h: Update #endif comments.
11611 * ctype/ctype.h: Likewise.
11612 * dirent/dirent.h: Likewise.
11613 [__USE_MISC]: Remove redundant conditionals.
11614 * grp/grp.h: Update #endif comments.
11615 [__USE_GNU]: Remove redundant conditionals.
11616 [__USE_MISC]: Likewise.
11617 * inet/netinet/in.h [__USE_GNU]: Likewise.
11618 * io/sys/stat.h [__USE_MISC]: Likewise.
11619 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11620 * libio/bits/stdio.h: Update #endif comments.
11621 [__USE_MISC]: Remove redundant conditionals.
11622 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11623 * libio/stdio.h: Update #endif comments.
11624 [__USE_MISC]: Remove redundant conditionals.
11625 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11626 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11627 * math/math.h: Update #else and #endif comments.
11628 [__USE_MISC]: Remove redundant conditionals.
11629 * misc/sys/uio.h: Update #endif comments.
11630 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11631 * posix/glob.h [__USE_MISC]: Likewise.
11632 * posix/sys/types.h: Update #endif comments.
11633 [__USE_MISC]: Remove redundant conditionals.
11634 * posix/sys/wait.h: Update #endif comments.
11635 [__USE_MISC]: Remove redundant conditionals.
11636 * posix/unistd.h: Update #endif comments.
11637 [__USE_MISC]: Remove redundant conditionals.
11638 * pwd/pwd.h [__USE_GNU]: Likewise.
11639 [__USE_MISC]: Likewise.
11640 * resolv/netdb.h [__USE_GNU]: Likewise.
11641 * signal/signal.h: Update #endif comments.
11642 [__USE_MISC]: Remove redundant conditionals.
11643 * stdlib/stdlib.h: Update #else and #endif comments.
11644 [__USE_MISC]: Remove redundant conditionals.
11645 [__USE_GNU]: Likewise.
11646 * string/bits/string2.h [__USE_MISC]: Likewise.
11647 * string/string.h: Update #endif comments.
11648 [__USE_MISC]: Remove redundant conditionals.
11649 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11651 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11652 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11653 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11655 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11657 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11659 [__USE_MISC]: Remove redundant conditionals.
11660 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11661 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11662 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11663 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11664 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11666 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11667 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11669 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11670 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11672 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11674 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11675 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11677 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11679 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11680 * sysdeps/x86/bits/string.h: Update #endif comments.
11681 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11683 * time/sys/time.h: Update #endif comments.
11684 * time/time.h: Likewise.
11685 [__USE_MISC]: Remove redundant conditionals.
11687 2014-02-21 Yury Gribov <y.gribov@samsung.com>
11690 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11692 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11694 * Versions.def (librt): Add GLIBC_2.17.
11696 2014-02-21 Adam Conrad <adconrad@0c3.net>
11698 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11699 synonym for _SYS_AUXV_H to allow direct inclusion.
11700 * sysdeps/sparc/bits/hwcap.h: Likewise.
11701 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11702 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11703 * sysdeps/sparc/sysdep.h: Likewise.
11705 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11707 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11709 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11711 * benchtests/bench-strrchr.c: Print length instead of position.
11713 2014-02-20 Joseph Myers <joseph@codesourcery.com>
11716 * sysdeps/unix/sysv/linux/kernel-features.h
11717 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11718 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11719 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11720 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11722 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11723 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11724 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11725 (__ASSUME_SENDMMSG): Define instead of using previous
11726 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11727 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11728 (__ASSUME_SENDMMSG_SYSCALL): Define.
11729 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11730 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11732 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11733 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11735 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11736 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11738 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11739 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11740 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11741 [__ASSUME_SENDMMSG]: Change conditionals to
11742 [__ASSUME_SENDMMSG_SOCKETCALL].
11743 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11744 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11746 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11747 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11749 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11750 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11751 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11752 [!__ASSUME_SENDMMSG]: Change conditional to
11753 [!__ASSUME_SENDMMSG_SOCKETCALL].
11754 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11755 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11759 * sysdeps/unix/sysv/linux/kernel-features.h
11760 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11761 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11762 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11763 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11764 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11765 [__i386__ || __sparc__]
11766 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11767 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11768 (__ASSUME_RECVMMSG): Define instead of using previous
11769 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11770 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11771 (__ASSUME_RECVMMSG_SYSCALL): Define.
11772 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11773 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11775 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11776 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11778 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11779 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11781 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11782 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11783 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11784 [__ASSUME_RECVMMSG]: Change condition to
11785 [__ASSUME_RECVMMSG_SOCKETCALL].
11786 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11787 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11789 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11790 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11791 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11793 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11794 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11795 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11796 [!__ASSUME_RECVMMSG]: Change condition to
11797 [!__ASSUME_RECVMMSG_SOCKETCALL].
11798 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11799 (__ASSUME_RECVMMSG_SYSCALL): Define.
11802 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11803 __powerpc__ || __s390__ || __sh__ || __sparc__]
11804 (__ASSUME_SOCKETCALL): Define.
11805 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11806 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11807 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11808 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11809 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11810 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11811 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11812 (__ASSUME_ACCEPT4): Define instead of using previous
11813 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11814 __powerpc__ || __sparc__ || __s390__)] condition.
11815 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11816 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11817 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11818 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11819 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11820 [!__ASSUME_ACCEPT4]: Change condition to
11821 [!__ASSUME_ACCEPT4_SOCKETCALL].
11822 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11823 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11824 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11825 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11826 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11827 __ASSUME_ACCEPT4_SYSCALL.
11828 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11829 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11830 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11831 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11832 __ASSUME_ACCEPT4_SYSCALL.
11833 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11834 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11835 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11836 [__ASSUME_ACCEPT4]: Change condition to
11837 [__ASSUME_ACCEPT4_SOCKETCALL].
11838 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11839 (__ASSUME_SOCKETCALL): Define.
11840 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11841 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11842 (__ASSUME_SOCKETCALL): Define.
11843 (__ASSUME_ACCEPT4): Remove.
11844 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11846 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11847 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11849 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11850 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11852 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11854 (HWCAP_ARM_LPAE): Likewise.
11855 (HWCAP_ARM_EVTSTRM): Likewise.
11856 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11857 Add vpfd32, lpae and evtstrm.
11858 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11861 2014-02-19 Joseph Myers <joseph@codesourcery.com>
11863 * math/auto-libm-test-in: Add tests of clog10.
11864 * math/auto-libm-test-out: Regenerated.
11865 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11866 * sysdeps/i386/fpu/libm-test-ulps: Update.
11867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11869 2014-02-18 Andreas Schwab <schwab@suse.de>
11872 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11873 Store non-zero if the second buffer was newly allocated.
11874 (send_dg): Likewise.
11875 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11876 to send_vc and send_dg.
11877 (res_nsend): Pass NULL for ansp2_malloced.
11878 * resolv/res_query.c (__libc_res_nquery): Add parameter
11879 answerp2_malloced and pass it down to __libc_res_nsend.
11880 (res_nquery): Pass additional NULL to __libc_res_nquery.
11881 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11882 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11883 second answer buffer if answerp2_malloced was set.
11884 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11885 (__libc_res_nquerydomain): Add parameter
11886 answerp2_malloced and pass it down to __libc_res_nquery.
11887 (res_nquerydomain): Pass additional NULL to
11888 __libc_res_nquerydomain.
11889 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11890 additional NULL to __libc_res_nsend and __libc_res_nquery.
11891 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11892 additional NULL to __libc_res_nsearch.
11893 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11894 parameter of __libc_res_nsearch to check for separately allocated
11896 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11898 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11899 additional NULL to __libc_res_nquery.
11900 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11901 __libc_res_nsearch.
11902 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11903 * include/resolv.h: Update prototypes of __libc_res_nquery,
11904 __libc_res_nsearch, __libc_res_nsend.
11906 2014-02-18 Joseph Myers <joseph@codesourcery.com>
11908 * math/auto-libm-test-in: Add tests of fma.
11909 * math/auto-libm-test-out: Regenerated.
11910 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11911 (fma_towardzero_test_data): Likewise.
11912 (fma_downward_test_data): Likewise.
11913 (fma_upward_test_data): Likewise.
11914 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11916 (rounding_modes): Add values for new field.
11917 (func_calc_method): Add value mpfr_fff_f.
11918 (func_calc_desc): Add mpfr_fff_f union field.
11919 (test_function): Add field exact_args.
11920 (FUNC): Add macro argument EXACT_ARGS.
11921 (FUNC_mpfr_f_f): Update call to FUNC.
11922 (FUNC_mpfr_f_f): Likewise.
11923 (FUNC_mpfr_ff_f): Likewise.
11924 (FUNC_mpfr_if_f): Likewise.
11925 (FUNC_mpc_c_f): Likewise.
11926 (FUNC_mpc_c_c): Likewise.
11927 (test_functions): Add fma. Update calls to FUNC.
11928 (handle_input_arg): Add argument exact_args.
11929 (add_test): Update call to handle_input_arg.
11930 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11931 (output_for_one_input_case): Update call to calc_generic_results.
11932 Recalculate exact zero results in each rounding mode.
11934 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11935 non-negative before setting low bit.
11936 * math/auto-libm-test-in: Mark one asin test possibly having
11937 spurious underflow.
11938 * math/auto-libm-test-out: Regenerated.
11939 * sysdeps/i386/fpu/libm-test-ulps: Update.
11940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11942 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11944 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11945 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11946 ports/sysdeps/unix/sysv/linux/microblaze.
11947 * README: Add missing listing for microblaze*-*-linux-gnu.
11949 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
11951 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11954 2014-02-16 Mike Frysinger <vapier@gentoo.org>
11956 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11957 * sysdeps/unix/sysv/linux/ia64: Move directory from
11958 ports/sysdeps/unix/sysv/linux/ia64.
11959 * README: Update listing for ia64-*-linux-gnu.
11961 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11962 Joseph Myers <joseph@codesourcery.com>
11964 * Makeconfig (test-name): New variable.
11965 (evaluate-test): Likewise.
11966 * Makerules (do-test-clean): Remove .test-result files.
11967 (common-mostlyclean): Likewise.
11968 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11969 * scripts/evaluate-test.sh: New file.
11971 2014-02-14 Joseph Myers <joseph@codesourcery.com>
11973 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11974 separate $(objpfx)tst-fopenloc-cmp.out and
11975 $(objpfx)tst-fopenloc-mem.out targets.
11976 (tests): Update dependencies.
11977 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11978 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11979 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11980 (tst-rxspencer-no-utf8-ARGS): New variable.
11981 (tst-rxspencer-no-utf8-ENV): Likewise.
11982 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11983 instead of $(objpfx)tst-rxspencer-mem.
11984 ($(objpfx)tst-rxspencer-mem): Change target to
11985 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11986 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11987 * posix/tst-rxspencer-no-utf8.c: New file.
11989 * elf/Makefile ($(objpfx)order.out): Remove rule.
11990 [$(run-built-tests) = yes] (tests): Depend on
11991 $(objpfx)order-cmp.out.
11992 ($(objpfx)order-cmp.out): New rule.
11993 [$(run-built-tests) = yes] (tests): Depend on
11994 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11995 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11996 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11997 $(objpfx)tst-array5-static-cmp.out.
11998 ($(objpfx)tst-array1.out): Remove rule.
11999 ($(objpfx)tst-array1-cmp.out): New rule.
12000 ($(objpfx)tst-array1-static.out): Remove rule.
12001 ($(objpfx)tst-array1-static-cmp.out): New rule.
12002 ($(objpfx)tst-array2.out): Remove rule.
12003 ($(objpfx)tst-array2-cmp.out): New rule.
12004 ($(objpfx)tst-array3.out): Remove rule.
12005 ($(objpfx)tst-array3-cmp.out): New rule.
12006 ($(objpfx)tst-array4.out): Remove rule.
12007 ($(objpfx)tst-array4-cmp.out): New rule.
12008 ($(objpfx)tst-array5.out): Remove rule.
12009 ($(objpfx)tst-array5-cmp.out): New rule.
12010 ($(objpfx)tst-array5-static.out): Remove rule.
12011 ($(objpfx)tst-array5-static-cmp.out): New rule.
12012 [$(run-built-tests) = yes] (tests): Depend on
12013 $(objpfx)order2-cmp.out.
12014 ($(objpfx)order2.out): Remove rule.
12015 ($(objpfx)order2-cmp.out): New rule.
12016 ($(objpfx)tst-initorder.out): Remove rule.
12017 [$(run-built-tests) = yes] (tests): Depend on
12018 $(objpfx)tst-initorder-cmp.out.
12019 ($(objpfx)tst-initorder-cmp.out): New rule.
12020 ($(objpfx)tst-initorder2.out): Remove rule.
12021 [$(run-built-tests) = yes] (tests): Depend on
12022 $(objpfx)tst-initorder2-cmp.out.
12023 ($(objpfx)tst-initorder2-cmp.out): New rule.
12024 [$(run-built-tests) = yes] (tests): Depend on
12025 $(objpfx)tst-unused-dep-cmp.out.
12026 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12027 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12028 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12029 on $(objpfx)tst-setvbuf1-cmp.out.
12030 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12031 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12032 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12033 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12034 ($(objpfx)tst-svc.out): Remove rule.
12035 ($(objpfx)tst-svc-cmp.out): New rule.
12037 2014-02-13 Joseph Myers <joseph@codesourcery.com>
12039 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12040 * ctype/ctype.h [__USE_MISC]: Likewise.
12041 * dirent/dirent.h [__USE_MISC]: Likewise.
12042 * grp/grp.h [__USE_MISC]: Likewise.
12043 * io/fcntl.h [__USE_MISC]: Likewise.
12044 * io/sys/stat.h [__USE_MISC]: Likewise.
12045 * libio/stdio.h [__USE_MISC]: Likewise.
12046 * posix/unistd.h [__USE_MISC]: Likewise.
12047 * pwd/pwd.h [__USE_MISC]: Likewise.
12048 * stdlib.h [__USE_MISC]: Likewise.
12049 * string/bits/string2.h [__USE_MISC]: Likewise.
12050 * string/string.h [__USE_MISC]: Likewise.
12051 * time/time.h [__USE_MISC]: Likewise.
12053 2014-02-13 Andreas Schwab <schwab@suse.de>
12056 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12057 second answer buffer if it was separately allocated.
12059 2014-02-12 Joseph Myers <joseph@codesourcery.com>
12061 * sysdeps/mips/math-tests.h: Include <features.h>.
12062 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12063 (ROUNDING_TESTS_long_double): Do not define.
12064 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12065 (EXCEPTION_TESTS_long_double): Likewise.
12066 * sysdeps/mips/mips64/libm-test-ulps: Update.
12068 * include/features.h (__USE_BSD): Remove macro definitions.
12069 (__USE_SVID): Likewise.
12070 (_BSD_SOURCE): Likewise.
12071 (_SVID_SOURCE): Likewise.
12072 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12073 from definition of _DEFAULT_SOURCE.
12074 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12076 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12077 * bits/mman.h [__USE_BSD]: Likewise.
12078 * bits/termios.h [__USE_BSD]: Likewise.
12079 * bits/waitstatus.h [__USE_BSD]: Likewise.
12080 * ctype/ctype.h [__USE_SVID]: Likewise.
12081 * dirent/dirent.h [__USE_BSD]: Likewise.
12082 * grp/grp.h [__USE_SVID]: Likewise.
12083 [__USE_BSD]: Likewise.
12084 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12085 * io/fcntl.h [__USE_BSD]: Likewise.
12086 * io/ftw.h [__USE_BSD]: Likewise.
12087 * io/sys/stat.h [__USE_BSD]: Likewise.
12088 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12089 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12090 * libio/stdio.h [__USE_SVID]: Likewise.
12091 [__USE_BSD]: Likewise.
12092 * math/math.h [__USE_SVID]: Likewise.
12093 [__USE_BSD]: Likewise.
12094 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12095 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12096 * misc/search.h [__USE_SVID]: Likewise.
12097 * misc/sys/mman.h [__USE_BSD]: Likewise.
12098 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12099 * misc/sys/uio.h [__USE_BSD]: Likewise.
12100 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12101 * posix/glob.h [__USE_BSD]: Likewise.
12102 * posix/regex.h [__USE_BSD]: Likewise.
12103 * posix/sys/types.h [__USE_BSD]: Likewise.
12104 [__USE_SVID]: Likewise.
12105 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12106 * posix/sys/wait.h [__USE_BSD]: Likewise.
12107 [__USE_SVID]: Likewise.
12108 * posix/unistd.h [__USE_BSD]: Likewise.
12109 [__USE_SVID]: Likewise.
12110 * pwd/pwd.h [__USE_SVID]: Likewise.
12111 * resolv/netdb.h [__USE_BSD]: Likewise.
12112 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12113 * signal/signal.h [__USE_BSD]: Likewise.
12114 [__USE_SVID]: Likewise.
12115 * socket/sys/socket.h [__USE_BSD]: Likewise.
12116 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12117 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12118 [__USE_SVID]: Likewise.
12119 * string/bits/string2.h [__USE_BSD]: Likewise.
12120 [__USE_SVID]: Likewise.
12121 * string/bits/string3.h [__USE_BSD]: Likewise.
12122 * string/endian.h [__USE_BSD]: Likewise.
12123 * string/string.h [__USE_SVID]: Likewise.
12124 [__USE_BSD]: Likewise.
12125 * string/strings.h [__USE_BSD]: Likewise.
12126 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12127 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12128 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12129 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12130 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12131 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12135 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12136 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12138 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12139 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12141 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12143 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12144 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12145 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12147 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12149 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12150 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12151 * termios/termios.h [__USE_BSD]: Likewise.
12152 * time/sys/time.h [__USE_BSD]: Likewise.
12153 * time/time.h [__USE_BSD]: Likewise.
12154 [__USE_SVID]: Likewise.
12156 * Makefile (subdir_targets): Remove subdir_lint.out.
12158 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12159 (do-tst-printf): Likewise.
12160 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12161 $(objpfx)tst-printf.out.
12163 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12165 * Makerules (check-abi-%): Change target to
12166 $(objpfx)check-abi-%.out.
12167 (check-abi target): Update dependencies.
12168 (check-abi-pattern variable): Redirect output of diff to $@.
12169 (check-abi variable): Likewise.
12170 * elf/Makefile (check-abi): Update dependencies.
12172 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12174 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12175 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12177 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12178 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12179 value has largest subnormal exponent.
12180 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12181 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12182 * sysdeps/aarch64/soft-fp/sfp-machine.h
12183 (_FP_TININESS_AFTER_ROUNDING): New macro.
12184 * sysdeps/alpha/soft-fp/sfp-machine.h
12185 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12186 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12188 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12189 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12190 * sysdeps/mips/soft-fp/sfp-machine.h
12191 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12192 * sysdeps/powerpc/soft-fp/sfp-machine.h
12193 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12194 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12196 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12198 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12199 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12200 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12203 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
12206 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12209 2014-02-12 Richard Henderson <rth@redhat.com>
12211 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12212 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12213 * sysdeps/unix/sysv/linux/alpha: Move directory from
12214 ports/sysdeps/unix/sysv/linux/alpha.
12215 * README: Update listing for alpha-*-linux-gnu.
12217 2014-02-11 Joseph Myers <joseph@codesourcery.com>
12219 * include/features.h: Update comment documenting feature test
12221 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12223 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12224 (_SVID_SOURCE): Likewise.
12225 (_DEFAULT_SOURCE): Update description of default features.
12226 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12228 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12229 (S_ISVTX): Likewise.
12230 * manual/math.texi (Mathematical Constants): Likewise.
12231 * manual/signal.texi (Interrupted Primitives): Likewise.
12232 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12233 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12234 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12235 Don't refer to _SVID_SOURCE in warning text.
12237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12239 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12241 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12242 * sysdeps/mips/dl-lookup.c: Remove.
12243 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12245 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12248 * math/auto-libm-test-in: Add testcase for expl.
12249 * math/auto-libm-test-out: Regenerate.
12250 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12251 calculation of unsafe.
12252 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12254 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12256 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12257 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12258 ports/sysdeps/unix/sysv/linux/aarch64.
12259 * README: Update listing for aarch64*-*-linux-gnu.
12261 2014-02-11 Will Newton <will.newton@linaro.org>
12263 * manual/probes.texi (Mathematical Function Probes): Use
12264 "triggered" instead of "hit".
12266 * manual/probes.texi (Internal Probes): Add documentation
12267 of setjmp, longjmp and longjmp_target probes.
12269 * include/stap-probe.h: Add comment about probe argument
12272 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12273 definition. (tr_where, tr_freehook, tr_mallochook,
12274 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12276 2014-02-11 David S. Miller <davem@davemloft.net>
12278 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12279 processing int_tests.
12281 2014-02-10 Joseph Myers <joseph@codesourcery.com>
12283 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12284 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12285 * sysdeps/unix/sysv/linux/mips: Move directory from
12286 ports/sysdeps/unix/sysv/linux/mips.
12287 * README: Update listing for mips-*-linux-gnu and
12288 mips64-*-linux-gnu.
12290 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12292 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12293 * sysdeps/unix/sysv/linux/m68k: Move directory from
12294 ports/sysdeps/unix/sysv/linux/m68k.
12295 * README: Update listing for m68k-*-linux-gnu.
12297 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12299 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12300 * sysdeps/unix/sysv/linux/generic: Move directory from
12301 ports/sysdeps/unix/sysv/linux/generic.
12302 * sysdeps/unix/sysv/linux/tile: Move directory from
12303 ports/sysdeps/unix/sysv/linux/tile.
12304 * README: Update listing for tile*-*-linux-gnu.
12306 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
12308 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12310 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12311 * catgets/open_catalog.c (__open_catalog): Likewise.
12312 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12313 * debug/confstr_chk.c: Likewise.
12314 * debug/fread_chk.c (__fread_chk): Likewise.
12315 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12316 * debug/getgroups_chk.c: Likewise.
12317 * debug/mbsnrtowcs_chk.c: Likewise.
12318 * debug/mbsrtowcs_chk.c: Likewise.
12319 * debug/mbstowcs_chk.c: Likewise.
12320 * debug/memcpy_chk.c: Likewise.
12321 * debug/memmove_chk.c: Likewise.
12322 * debug/mempcpy_chk.c: Likewise.
12323 * debug/memset_chk.c: Likewise.
12324 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12325 * debug/strcat_chk.c (__strcat_chk): Likewise.
12326 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12327 * debug/strncat_chk.c (__strncat_chk): Likewise.
12328 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12329 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12330 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12331 * debug/wcpncpy_chk.c: Likewise.
12332 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12333 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12334 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12335 * debug/wcsncpy_chk.c: Likewise.
12336 * debug/wcsnrtombs_chk.c: Likewise.
12337 * debug/wcsrtombs_chk.c: Likewise.
12338 * debug/wcstombs_chk.c: Likewise.
12339 * debug/wmemcpy_chk.c: Likewise.
12340 * debug/wmemmove_chk.c: Likewise.
12341 * debug/wmempcpy_chk.c: Likewise.
12342 * debug/wmemset_chk.c: Likewise.
12343 * dirent/scandirat.c (SCANDIRAT): Likewise.
12344 * dlfcn/dladdr1.c (dladdr1): Likewise.
12345 * dlfcn/dladdr.c (dladdr): Likewise.
12346 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12347 * dlfcn/dlerror.c (__dlerror): Likewise.
12348 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12349 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12350 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12351 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12352 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12353 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12354 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12355 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12357 * elf/dl-conflict.c: Likewise.
12358 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12359 * elf/dl-dst.h: Likewise.
12360 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12361 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12362 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12363 * elf/dl-init.c (call_init, _dl_init): Likewise.
12364 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12365 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12366 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12368 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12370 * elf/dl-minimal.c (__libc_memalign): Likewise.
12371 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12372 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12373 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12374 * elf/dl-sym.c (do_sym): Likewise.
12375 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12376 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12377 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12378 * elf/dl-writev.h (_dl_writev): Likewise.
12379 * elf/ldconfig.c (search_dir): Likewise.
12380 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12381 (dl_main): Likewise.
12382 * elf/setup-vdso.h (setup_vdso): Likewise.
12383 * grp/compat-initgroups.c (compat_call): Likewise.
12384 * grp/fgetgrent.c (fgetgrent): Likewise.
12385 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12386 * grp/putgrent.c (putgrent): Likewise.
12387 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12389 * hurd/hurdinit.c: Likewise.
12390 * iconvdata/8bit-gap.c (struct): Likewise.
12391 * iconvdata/ansi_x3.110.c : Likewise.
12392 * iconvdata/big5.c : Likewise.
12393 * iconvdata/big5hkscs.c : Likewise.
12394 * iconvdata/cp1255.c: Likewise.
12395 * iconvdata/cp1258.c : Likewise.
12396 * iconvdata/cp932.c : Likewise.
12397 * iconvdata/euc-cn.c: Likewise.
12398 * iconvdata/euc-jisx0213.c : Likewise.
12399 * iconvdata/euc-jp.c: Likewise.
12400 * iconvdata/euc-jp-ms.c : Likewise.
12401 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12402 * iconvdata/gb18030.c : Likewise.
12403 * iconvdata/gbbig5.c (const): Likewise.
12404 * iconvdata/gbgbk.c: Likewise.
12405 * iconvdata/gbk.c : Likewise.
12406 * iconvdata/ibm1364.c : Likewise.
12407 * iconvdata/ibm930.c : Likewise.
12408 * iconvdata/ibm932.c: Likewise.
12409 * iconvdata/ibm933.c : Likewise.
12410 * iconvdata/ibm935.c : Likewise.
12411 * iconvdata/ibm937.c : Likewise.
12412 * iconvdata/ibm939.c : Likewise.
12413 * iconvdata/ibm943.c: Likewise.
12414 * iconvdata/iso_11548-1.c: Likewise.
12415 * iconvdata/iso-2022-cn.c : Likewise.
12416 * iconvdata/iso-2022-cn-ext.c : Likewise.
12417 * iconvdata/iso-2022-jp-3.c: Likewise.
12418 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12419 * iconvdata/iso-2022-kr.c : Likewise.
12420 * iconvdata/iso646.c (gconv_end): Likewise.
12421 * iconvdata/iso_6937-2.c : Likewise.
12422 * iconvdata/iso_6937.c : Likewise.
12423 * iconvdata/iso8859-1.c: Likewise.
12424 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12425 * iconvdata/shift_jisx0213.c : Likewise.
12426 * iconvdata/sjis.c : Likewise.
12427 * iconvdata/t.61.c : Likewise.
12428 * iconvdata/tcvn5712-1.c : Likewise.
12429 * iconvdata/tscii.c: Likewise.
12430 * iconvdata/uhc.c : Likewise.
12431 * iconvdata/unicode.c (gconv_end): Likewise.
12432 * iconvdata/utf-16.c (gconv_end): Likewise.
12433 * iconvdata/utf-32.c (gconv_end): Likewise.
12434 * iconvdata/utf-7.c (base64): Likewise.
12435 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12436 * iconv/gconv_close.c (__gconv_close): Likewise.
12437 * iconv/gconv_open.c (__gconv_open): Likewise.
12438 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12439 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12440 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12441 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12442 (ucs4le_internal_loop_single): Likewise.
12443 * iconv/iconv.c (iconv): Likewise.
12444 * iconv/iconv_close.c: Likewise.
12445 * iconv/loop.c (SINGLE): Likewise.
12446 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12447 * include/atomic.h: Likewise.
12448 * inet/inet6_option.c (option_alloc): Likewise.
12449 * intl/bindtextdom.c (set_binding_values): Likewise.
12450 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12451 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12452 * intl/localealias.c (read_alias_file): Likewise.
12453 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12454 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12455 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12456 * libio/fmemopen.c (fmemopen): Likewise.
12457 * libio/iofgets.c (_IO_fgets): Likewise.
12458 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12459 * libio/iofgetws.c (fgetws): Likewise.
12460 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12461 * libio/iogetdelim.c (_IO_getdelim): Likewise.
12462 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12463 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12464 * locale/findlocale.c (_nl_find_locale): Likewise.
12465 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12466 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12468 * locale/setlocale.c (setlocale): Likewise.
12469 * login/programs/pt_chown.c (main): Likewise.
12470 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12471 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12472 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12473 (mmap, mmap64, mremap, munmap): Likewise.
12474 * math/e_exp2l.c: Likewise.
12475 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12476 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12477 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12478 * math/s_catan.c (__catan): Likewise.
12479 * math/s_catanf.c (__catanf): Likewise.
12480 * math/s_catanh.c (__catanh): Likewise.
12481 * math/s_catanhf.c (__catanhf): Likewise.
12482 * math/s_catanhl.c (__catanhl): Likewise.
12483 * math/s_catanl.c (__catanl): Likewise.
12484 * math/s_ccosh.c (__ccosh): Likewise.
12485 * math/s_ccoshf.c (__ccoshf): Likewise.
12486 * math/s_ccoshl.c (__ccoshl): Likewise.
12487 * math/s_cexp.c (__cexp): Likewise.
12488 * math/s_cexpf.c (__cexpf): Likewise.
12489 * math/s_cexpl.c (__cexpl): Likewise.
12490 * math/s_clog10.c (__clog10): Likewise.
12491 * math/s_clog10f.c (__clog10f): Likewise.
12492 * math/s_clog10l.c (__clog10l): Likewise.
12493 * math/s_clog.c (__clog): Likewise.
12494 * math/s_clogf.c (__clogf): Likewise.
12495 * math/s_clogl.c (__clogl): Likewise.
12496 * math/s_csin.c (__csin): Likewise.
12497 * math/s_csinf.c (__csinf): Likewise.
12498 * math/s_csinh.c (__csinh): Likewise.
12499 * math/s_csinhf.c (__csinhf): Likewise.
12500 * math/s_csinhl.c (__csinhl): Likewise.
12501 * math/s_csinl.c (__csinl): Likewise.
12502 * math/s_csqrt.c (__csqrt): Likewise.
12503 * math/s_csqrtf.c (__csqrtf): Likewise.
12504 * math/s_csqrtl.c (__csqrtl): Likewise.
12505 * math/s_ctan.c (__ctan): Likewise.
12506 * math/s_ctanf.c (__ctanf): Likewise.
12507 * math/s_ctanh.c (__ctanh): Likewise.
12508 * math/s_ctanhf.c (__ctanhf): Likewise.
12509 * math/s_ctanhl.c (__ctanhl): Likewise.
12510 * math/s_ctanl.c (__ctanl): Likewise.
12511 * math/w_pow.c: Likewise.
12512 * math/w_powf.c: Likewise.
12513 * math/w_powl.c: Likewise.
12514 * math/w_scalb.c (sysv_scalb): Likewise.
12515 * math/w_scalbf.c (sysv_scalbf): Likewise.
12516 * math/w_scalbl.c (sysv_scalbl): Likewise.
12517 * misc/error.c (error_tail): Likewise.
12518 * misc/pselect.c (__pselect): Likewise.
12519 * nis/nis_callback.c (__nis_create_callback): Likewise.
12520 * nis/nis_call.c (__nisfind_server): Likewise.
12521 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12522 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12523 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12524 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12525 * nis/nis_lookup.c (nis_lookup): Likewise.
12526 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12527 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12528 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12529 * nis/nis_xdr.c (xdr_endpoint): Likewise.
12530 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12531 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12532 * nis/nss_compat/compat-initgroups.c (add_group)
12533 (internal_getgrent_r): Likewise.
12534 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12535 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12536 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12537 (internal_getspnam_r): Likewise.
12538 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12539 (_nss_nis_getaliasbyname_r): Likewise.
12540 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12541 (_nss_nis_getntohost_r): Likewise.
12542 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12543 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12544 (_nss_nis_getgrgid_r): Likewise.
12545 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12546 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12547 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12548 (_nss_nis_gethostbyname4_r): Likewise.
12549 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12550 (initgroups_netid): Likewise.
12551 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12552 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12553 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12554 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12555 (_nss_nis_getprotobynumber_r): Likewise.
12556 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12557 (_nss_nis_getsecretkey): Likewise.
12558 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12559 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12560 (_nss_nis_getpwuid_r): Likewise.
12561 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12562 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12563 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12564 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12565 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12566 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12567 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12569 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12570 (_nss_nisplus_getntohost_r): Likewise.
12571 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12572 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12573 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12574 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12576 * nis/nss_nisplus/nisplus-initgroups.c
12577 (_nss_nisplus_initgroups_dyn): Likewise.
12578 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12579 (_nss_nisplus_getnetbyaddr_r): Likewise.
12580 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12581 (_nss_nisplus_getprotobynumber_r): Likewise.
12582 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12583 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12584 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12586 * nis/nss_nisplus/nisplus-service.c
12587 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12588 (_nss_nisplus_getservbyport_r): Likewise.
12589 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12590 (_nss_nisplus_getspnam_r): Likewise.
12591 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12593 * nscd/aicache.c (addhstaiX): Likewise.
12594 * nscd/cache.c (cache_search, prune_cache): Likewise.
12595 * nscd/connections.c (register_traced_file, send_ro_fd)
12596 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12597 (main_loop_epoll): Likewise.
12598 * nscd/grpcache.c (addgrbyX): Likewise.
12599 * nscd/hstcache.c (addhstbyX): Likewise.
12600 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12601 * nscd/mem.c (gc, mempool_alloc): Likewise.
12602 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12603 (addinnetgrX): Likewise.
12604 * nscd/nscd-client.h (__nscd_acquire_maplock)
12605 (__nscd_drop_map_ref): Likewise.
12606 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12607 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12608 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12610 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12611 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12612 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12613 (__nscd_get_map_ref): Likewise.
12614 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12615 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12617 * nscd/pwdcache.c (addpwbyX): Likewise.
12618 * nscd/selinux.c (preserve_capabilities): Likewise.
12619 * nscd/servicescache.c (addservbyX): Likewise.
12620 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12621 * posix/fnmatch.c (fnmatch): Likewise.
12622 * posix/getopt.c (_getopt_internal_r): Likewise.
12623 * posix/glob.c (glob, glob_in_dir): Likewise.
12624 * posix/wordexp.c (exec_comm_child): Likewise.
12625 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12626 (getanswer_r, gaih_getanswer_slice): Likewise.
12627 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12628 * resolv/res_init.c: Likewise.
12629 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12630 * resolv/res_query.c (__libc_res_nquery): Likewise.
12631 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12633 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12634 * stdio-common/perror.c (perror): Likewise.
12635 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12636 * stdio-common/tmpnam.c (tmpnam): Likewise.
12637 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12638 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12639 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12641 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12642 * stdlib/putenv.c (putenv): Likewise.
12643 * stdlib/setenv.c (__add_to_environ): Likewise.
12644 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12645 * stdlib/strtol_l.c (INTERNAL): Likewise.
12646 * string/memmem.c (memmem): Likewise.
12647 * string/strerror.c (strerror): Likewise.
12648 * string/strnlen.c (__strnlen): Likewise.
12649 * string/test-memmem.c (simple_memmem): Likewise.
12650 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12651 * sunrpc/pm_getport.c (__get_socket): Likewise.
12652 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12653 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12654 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12655 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12657 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12658 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12659 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12660 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12661 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12662 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12664 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12666 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12667 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12668 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12669 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12670 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12672 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12673 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12674 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12675 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12676 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12677 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12679 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12681 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12683 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12685 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12686 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12687 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12688 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12689 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12691 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12692 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12696 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12698 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12700 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12702 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12704 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12706 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12707 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12708 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12710 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12711 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12712 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12713 * sysdeps/posix/sleep.c: Likewise.
12714 * sysdeps/posix/tempname.c: Likewise.
12715 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12716 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12718 * sysdeps/powerpc/powerpc32/dl-machine.h
12719 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12720 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12721 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12722 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12723 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12725 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12726 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12727 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12728 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12729 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12730 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12731 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12732 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12733 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12734 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
12735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12736 (elf_machine_lazy_rel): Likewise.
12737 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12738 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12739 (elf_machine_lazy_rel): Likewise.
12740 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12741 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12742 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12743 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12744 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12745 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12746 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12749 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12750 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12751 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12752 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12753 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12754 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12755 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12756 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12757 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12758 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12759 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12761 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12762 (__posix_fallocate64_l64): Likewise.
12763 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12764 (posix_fallocate): Likewise.
12765 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12767 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12768 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12769 (getifaddrs_internal): Likewise.
12770 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12771 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12772 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12773 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12774 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12775 (__posix_fallocate64_l64): Likewise.
12776 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12778 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
12779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12780 (__get_clockfreq): Likewise.
12781 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12782 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12783 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12784 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12786 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12787 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12788 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12790 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12791 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12792 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12793 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12794 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12795 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12796 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12798 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12799 (posix_fallocate): Likewise.
12800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12801 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12802 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
12803 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12804 (elf_machine_rela, elf_machine_rela_relative)
12805 (elf_machine_lazy_rel): Likewise.
12806 * time/asctime.c (asctime_internal): Likewise.
12807 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12808 * time/tzset.c (__tzset_parse_tz): Likewise.
12809 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12810 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12811 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12812 * wcsmbs/wcsmbsload.h: Likewise.
12815 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12817 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12818 (arena_get2): Remove THREAD_STATS conditionals.
12819 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12820 (__malloc_stats, int): Likewise.
12822 2014-02-08 Mike Frysinger <vapier@gentoo.org>
12824 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12825 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12827 * manual/setjmp.texi: Fix typos/grammar errors.
12829 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12830 Only return early when n is <= 0. Delete unused return statement.
12832 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12833 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12834 * debug/tst-longjmp_chk3.c: New file.
12836 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12837 (test_main): Replace code with set_fortify_handler call.
12838 * debug/test-strcpy_chk.c: Likewise.
12839 * debug/tst-chk1.c: Likewise.
12840 * debug/tst-longjmp_chk.c: Likewise.
12841 * test-skeleton.c: Include fcntl.h & paths.h
12842 (set_fortify_handler): Define.
12844 * debug/tst-longjmp_chk.c: Add header comment and include
12845 ../test-skeleton.c.
12846 (do_test): Mark static.
12847 (TEST_FUNCTION): Define.
12849 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12850 (IP_PMTUDISC_INTERFACE): Likewise.
12851 (IP_MULTICAST_IF): Likewise.
12852 (IP_MULTICAST_TTL): Likewise.
12853 (IP_MULTICAST_LOOP): Likewise.
12854 (IP_ADD_MEMBERSHIP): Likewise.
12855 (IP_DROP_MEMBERSHIP): Likewise.
12856 (IP_UNBLOCK_SOURCE): Likewise.
12857 (IP_BLOCK_SOURCE): Likewise.
12858 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12859 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12860 (IP_MSFILTER): Likewise.
12861 (MCAST_JOIN_GROUP): Likewise.
12862 (MCAST_BLOCK_SOURCE): Likewise.
12863 (MCAST_UNBLOCK_SOURCE): Likewise.
12864 (MCAST_LEAVE_GROUP): Likewise.
12865 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12866 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12867 (MCAST_MSFILTER): Likewise.
12868 (IP_MULTICAST_ALL): Likewise.
12869 (IP_UNICAST_IF): Likewise.
12871 * timezone/Makefile: Delete $(have-ksh) check.
12872 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12873 * timezone/tzselect.ksh: Add +x mode bits.
12875 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12876 (ANON_INODE_FS_MAGIC): Likewise.
12877 (BDEVFS_MAGIC): Likewise.
12878 (BINFMTFS_MAGIC): Likewise.
12879 (BTRFS_TEST_MAGIC): Likewise.
12880 (CRAMFS_MAGIC_WEND): Likewise.
12881 (DEBUGFS_MAGIC): Likewise.
12882 (ECRYPTFS_SUPER_MAGIC): Likewise.
12883 (EXT3_SUPER_MAGIC): Likewise.
12884 (EXT4_SUPER_MAGIC): Likewise.
12885 (FUTEXFS_SUPER_MAGIC): Likewise.
12886 (HOSTFS_SUPER_MAGIC): Likewise.
12887 (HUGETLBFS_MAGIC): Likewise.
12888 (MINIX3_SUPER_MAGIC): Likewise.
12889 (MTD_INODE_FS_MAGIC): Likewise.
12890 (NILFS_SUPER_MAGIC): Likewise.
12891 (OPENPROM_SUPER_MAGIC): Likewise.
12892 (PIPEFS_MAGIC): Likewise.
12893 (PSTOREFS_MAGIC): Likewise.
12894 (QNX6_SUPER_MAGIC): Likewise.
12895 (RAMFS_MAGIC): Likewise.
12896 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12897 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12898 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12899 (SECURITYFS_MAGIC): Likewise.
12900 (SELINUX_MAGIC): Likewise.
12901 (SMACK_MAGIC): Likewise.
12902 (SOCKFS_MAGIC): Likewise.
12903 (SQUASHFS_MAGIC): Likewise.
12904 (STACK_END_MAGIC): Likewise.
12905 (TMPFS_MAGIC): Likewise.
12906 (USBDEVICE_SUPER_MAGIC): Likewise.
12907 (V9FS_MAGIC): Likewise.
12908 (XENFS_SUPER_MAGIC): Likewise.
12909 (CRAMFS_MAGIC): Fix typo in comment.
12910 (EXT2_SUPER_MAGIC): Update comment.
12911 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12913 2014-02-08 Joseph Myers <joseph@codesourcery.com>
12915 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12916 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12917 * sysdeps/unix/sysv/linux/arm: Move directory from
12918 ports/sysdeps/unix/sysv/linux/arm.
12919 * README: Update listing for arm-*-linux-gnueabi.
12921 * README: Remove mention of am33.
12923 2014-02-07 Roland McGrath <roland@hack.frob.com>
12925 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12926 than the comma operator, to avoid "rhs of comma has no effect"
12928 (__sigfillset, __sigandset, __sigorset): Likewise.
12929 * include/signal.h (__sigemptyset): Likewise.
12930 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12932 2014-02-07 Allan McRae <allan@archlinux.org>
12934 * version.h (RELEASE): Set to "development".
12935 (VERSION): Set to "2.19.90"
12936 * NEWS: Add 2.20 section.
12938 2014-02-06 Carlos O'Donell <carlos@redhat.com>
12941 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12943 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12945 * manual/contrib.texi: Update entry for Carlos O'Donell,
12946 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12948 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
12950 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12952 * sysdeps/unix/sysv/linux/kernel-features.h
12953 [__LINUX_KERNEL_VERSION >= 0x020621]
12954 (__ASSUME_PROC_PID_TASK_COMM): Define.
12956 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12959 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12960 conversion when destination buffer does not have enough space.
12961 * libio/tst-ftell-partial-wide.c: New test case.
12962 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12964 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12965 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12966 Leonard and Allan McRae.
12968 2014-02-04 David S. Miller <davem@davemloft.net>
12970 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12973 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13002 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13004 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13005 * shlib-versions: Likewise.
13007 2014-02-04 Roland McGrath <roland@hack.frob.com>
13008 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13010 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13011 (abilist-pattern): New variable, set to %-le.abilist.
13013 * Makerules (abilist-pattern): New variable.
13014 (vpath): Use $(abilist-pattern) in place of %.abilist.
13015 (check-abi-% pattern rule): Likewise.
13016 (check-abi, update-abi): Likewise.
13018 2014-02-04 Eric Wong <normalperson@yhbt.net>
13020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13022 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13024 * manual/startup.texi: Add next, previous, and top entries for
13025 the `Program Arguments' and `Environment Variables' nodes.
13027 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13029 * manual/macros.texi: Add comments before MTASC-safety macros.
13031 * manual/users.texi: Document MTASC-safety properties.
13033 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13034 (pthread_getspecific, pthread_setspecific): Format with
13035 @deftypefun, and add @safety note.
13036 * manual/signal.texi: Move comments that analyze the above
13037 functions to their home place.
13039 2014-02-03 Allan McRae <allan@archlinux.org>
13041 * po/sl.po: Update Slovenian translation from translation project.
13043 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
13045 * manual/time.texi (timegm): Add missing blank after @c.
13046 Reported by Joseph Myers <joseph@codesourcery.com>.
13048 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
13050 * manual/check-safety.sh: New.
13051 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13053 * manual/terminal.texi: Document MTASC-safety properties.
13055 * manual/filesys.texi: Document MTASC-safety properties.
13057 * manual/errno.texi: Document MTASC-safety properties.
13059 * manual/intro.texi: Document safety identifiers and
13062 * manual/string.texi (wcstok): Fix prototype.
13063 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13065 * manual/time.texi: Document MTASC-safety properties.
13067 * manual/string.texi: Document MTASC-safety properties.
13069 * manual/threads.texi: Document MTASC-safety properties.
13071 * manual/stdio.texi: Document MTASC-safety properties.
13073 * manual/syslog.texi: Document MTASC-safety properties.
13075 * manual/sysinfo.texi: Document MTASC-safety properties.
13077 * manual/startup.texi: Document MTASC-safety properties.
13079 * manual/socket.texi: Document MTASC-safety properties.
13081 * manual/signal.texi: Document MTASC-safety properties.
13083 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
13085 * manual/setjmp.texi: Document MTASC-safety properties.
13087 * manual/search.texi: Document MTASC-safety properties.
13089 * manual/resource.texi: Document MTASC-safety properties.
13091 * manual/process.texi: Document MTASC-safety properties.
13093 * manual/platform.texi: Document MTASC-safety properties.
13095 * manual/pipe.texi: Document MTASC-safety properties.
13097 * manual/pattern.texi: Document MTASC-safety properties.
13099 * manual/message.texi: Document MTASC-safety properties.
13102 * manual/memory.texi: Document MTASC-safety properties.
13104 * manual/math.texi: Document MTASC-safety properties.
13106 * manual/locale.texi: Document MTASC-safety properties.
13108 * manual/llio.texi: Document MTASC-safety properties.
13110 * manual/libdl.texi: New.
13112 * manual/lang.texi: Document MTASC-safety properties.
13114 * manual/job.texi: Document MTASC-safety properties.
13116 * manual/getopt.texi: Document MTASC-safety properties.
13118 * manual/ctype.texi: Document MTASC-safety properties.
13120 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13123 * csu/libc-tls.c (static_map): Remove variable.
13124 (__libc_setup_tls): Use main executable's link map for TLS data.
13125 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13126 casing for LM_ID_BASE and GL(dl_nns).
13127 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13128 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13129 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13130 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13131 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13133 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13136 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
13138 * manual/debug.texi: Document MTASC-safety properties.
13140 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13143 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13144 of __x86_64__ when disabling x87 inline functions.
13146 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
13148 * manual/charset.texi: Document MTASC-safety properties.
13150 * manual/crypt.texi: Document MTASC-safety properties.
13152 * manual/conf.texi: Document MTASC-safety properties.
13154 * manual/arith.texi: Document MTASC-safety properties.
13156 * manual/argp.texi: Document MTASC-safety properties.
13158 * manual/macros.texi: Introduce macros to document multi
13159 thread, asynchronous signal and asynchronous cancellation
13161 * manual/intro.texi: Introduce the properties themselves.
13163 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13165 * sysdeps/sh/sh4/Makefile: New file.
13167 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13169 * math/gen-libm-test.pl ($srcdir): New variable.
13170 ($auto_input): Use it.
13172 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13175 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13176 access beyond array bounds when parsing netgroups file.
13178 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13179 the old buffer before realloc.
13181 2014-01-27 Allan McRae <allan@archlinux.org>
13183 * po/fr.po: Update French translation from translation project.
13185 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13187 * sysdeps/sh/libm-test-ulps: Regenerate.
13189 2014-01-24 David S. Miller <davem@davemloft.net>
13191 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13193 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13195 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13196 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13198 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13201 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13202 string pointers after reallocation.
13204 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13206 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13207 __SH4A__ instead of __SH_FPU_ANY__.
13209 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13211 * sysdeps/sh/fpu_control.h: New file.
13212 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13213 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13214 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13215 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13216 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13217 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13218 * sysdeps/sh/sys/ucontext.h: Remove.
13219 * sysdeps/sh/sys: Remove directory.
13221 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13223 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13224 s390/sys/ucontext.h.
13225 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13226 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13228 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13231 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13233 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13236 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13237 Adjust the vDSO correctly for internal calls.
13238 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13240 2014-01-20 Allan McRae <allan@archlinux.org>
13242 * po/ca.po: Update Catalan translation from translation project.
13244 2014-01-16 Mike Frysinger <vapier@gentoo.org>
13246 * sysdeps/s390/sotruss-lib.c: New file.
13248 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13251 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13252 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13253 local calls issues by not having a PLT stub required for IFUNC calls.
13254 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13256 2014-01-16 Joseph Myers <joseph@codesourcery.com>
13258 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13259 * math/test-fpucw-static.c: Likewise.
13261 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13264 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13266 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13268 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13269 implementation for powerpc.
13271 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
13274 * sysdeps/posix/system.c (__libc_system): Do not enable
13275 asynchronous cancellation.
13277 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13280 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13281 handling only for numbers special also in the IEEE case.
13283 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13285 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13287 2014-01-11 Allan McRae <allan@archlinux.org>
13289 * po/bg.po: Update Bulgarian translation from translation project.
13291 * po/de.po: Update German translation from translation project.
13293 2014-01-10 Roland McGrath <roland@hack.frob.com>
13295 * sysdeps/generic/gcc-compat.h: New file.
13297 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13299 * benchtests/asin-inputs: Correct slow inputs.
13300 * benchtests/acos-inputs: Likewise.
13302 2014-01-10 Allan McRae <allan@archlinux.org>
13304 * po:sv.po: Update Swedish translation from translation project.
13306 * po/vi.po: Update Vietnamese translation from translation project.
13308 * po/eo.po: Update Esperanto translation from translation project.
13310 * po/cs.po: Update Czech translation from translation project.
13312 * po/nl.po: Update Dutch translation from translation project.
13314 * po/pl.po: Update Polish translation from translation project.
13316 * po/ru.po: Update Russian translation from translation project.
13318 * po/uk.po: Update Ukrainian translation from translation project.
13320 2014-01-08 Brooks Moses <bmoses@google.com>
13322 * elf/dl-load.c: Fix comment typo.
13324 2014-01-08 Carlos O'Donell <carlos@redhat.com>
13326 * po/header.pot: Rename to...
13327 * po/pot.header: ... this.
13328 * po/Makefile: Use pot.header.
13330 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13331 Maxim Kuvyrkov <maxim@kugelworks.com>
13334 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13335 SRC and DEST against LEN.
13337 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13340 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13342 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13344 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13348 2014-01-08 Joseph Myers <joseph@codesourcery.com>
13351 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13352 for large positive arguments.
13354 2014-01-07 Joseph Myers <joseph@codesourcery.com>
13356 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13358 * math/auto-libm-test-in: Mark various tests with
13359 xfail-rounding:ldbl-128ibm.
13360 * math/auto-libm-test-out: Regenerated.
13363 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13364 Increase overflow threshold.
13366 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
13369 * stdio-common/vfprintf.c: Check for integer overflow.
13371 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13373 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13374 the first argument and return value of __tls_get_addr_internal.
13376 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13378 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13379 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13381 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13383 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13384 * sysdeps/s390/rtld-global-offsets.sym: New file.
13385 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13387 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13388 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13389 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13391 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13392 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13398 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13399 halfs of GPRs for high_gprs contexts.
13400 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13401 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13403 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13405 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13407 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13408 for high GPRs (uc_high_gprs) and for future extensions
13410 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13411 for future extensions (__reserved).
13412 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13414 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13415 SC_HIGHGPRS offset definition.
13416 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13417 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13419 * Versions.def: Add GLIBC_2.19 for libpthread.
13420 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13421 siglongjmp for libpthread with GLIBC_2.19 symver.
13422 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13423 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13424 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13425 * sysdeps/s390/__longjmp.c: New file.
13426 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13427 * sysdeps/s390/longjmp.c: New file.
13428 * sysdeps/s390/setjmp.S: New file.
13429 * sysdeps/s390/sigjmp.S: New file.
13430 * sysdeps/s390/v1-longjmp.c: New file.
13431 * sysdeps/s390/v1-setjmp.h: New file.
13432 * sysdeps/s390/v1-sigjmp.c: New file.
13433 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13434 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13435 GLIBC_2.19 version.
13436 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13437 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13438 versioned symbols for ____longjmp_chk.
13439 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13449 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13450 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13451 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13452 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13453 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13454 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13455 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13456 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13457 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13458 * sysdeps/s390/rtld-__longjmp.c: New file.
13459 * sysdeps/s390/rtld-setjmp.S: New file.
13461 2014-01-06 Joseph Myers <joseph@codesourcery.com>
13464 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13465 Return -__logl (x) for small positive arguments without evaluating
13468 2014-01-06 Mike Frysinger <vapier@gentoo.org>
13470 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13472 (__ptrace_peeksiginfo_args): ... this.
13473 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13475 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13477 2014-01-06 Allan McRae <allan@archlinux.org>
13479 * inet/netinet/in.h: Fix typo in comment.
13481 2014-01-05 Andreas Jaeger <aj@suse.de>
13483 * sysdeps/i386/fpu/libm-test-ulps: Update.
13485 2014-01-05 Allan McRae <allan@archlinux.org>
13487 * po/libc.pot: Regenerated.
13489 * malloc/memusagestat.c: Fix gettext call formatting.
13491 2014-01-04 Sami Kerola <kerolasa@iki.fi>
13493 * nscd/nscd.c: Improve usage() output.
13495 2014-01-04 Mike Frysinger <vapier@gentoo.org>
13497 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13498 * sysdeps/unix/sysv/linux/configure: Regenerated.
13499 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13500 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13502 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13505 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13506 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13508 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13510 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13511 extra tokens at end of #undef directive.
13512 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13513 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13514 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13516 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13518 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13520 * math/auto-libm-test-in: Mark various tests with
13521 xfail-rounding:ldbl-128ibm.
13522 * math/auto-libm-test-out: Regenerated.
13524 2014-01-02 Joseph Myers <joseph@codesourcery.com>
13527 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13528 numbers with subnormal high part when calculating exponent.
13531 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13535 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13537 (__ieee754_acoshl): Use __log1pl not __log1p.
13539 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
13541 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13542 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13543 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13544 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13545 (reused_arena, arena_get2): Convert to GNU style.
13546 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13547 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13548 (memalign_check, __malloc_set_state): Likewise.
13549 * malloc/mallocbug.c (main): Likewise.
13550 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13551 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13552 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13553 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13554 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13555 (__posix_memalign, malloc_info): Likewise.
13556 * malloc/malloc.h: Likewise.
13557 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13558 (mallochook, memalignhook, reallochook, mabort): Likewise.
13559 * malloc/mcheck.h: Likewise.
13560 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13561 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13562 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13563 * malloc/morecore.c (__default_morecore): Likewise.
13564 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13565 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13566 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13567 (print_and_abort): Likewise.
13568 * malloc/obstack.h: Likewise.
13569 * malloc/set-freeres.c (__libc_freeres): Likewise.
13570 * malloc/tst-mallocstate.c (main): Likewise.
13571 * malloc/tst-mtrace.c (main): Likewise.
13572 * malloc/tst-realloc.c (do_test): Likewise.
13574 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13577 * nscd/netgroupcache.c (do_notfound): New function.
13578 (addgetnetgrentX): Use it.
13581 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13582 NSS_STATUS_NOTFOUND.
13584 2014-01-01 Joseph Myers <joseph@codesourcery.com>
13586 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13589 2014-01-01 Allan McRae <allan@archlinux.org>
13591 * scripts/update-copyrights: Update configure input file suffix.
13593 * NEWS: Update copyright year.
13594 * catgets/gencat.c: Likewise.
13595 * csu/version.c: Likewise.
13596 * debug/catchsegv.sh: Likewise.
13597 * debug/pcprofiledump.c: Likewise.
13598 * debug/xtrace.sh: Likewise.
13599 * elf/ldconfig.c: Likewise.
13600 * elf/ldd.bash.in: Likewise.
13601 * elf/pldd.c: Likewise.
13602 * elf/sotruss.ksh: Likewise.
13603 * elf/sprof.c: Likewise.
13604 * iconv/iconv_prog.c: Likewise.
13605 * iconv/iconvconfig.c: Likewise.
13606 * locale/programs/locale.c: Likewise.
13607 * locale/programs/localedef.c: Likewise.
13608 * login/programs/pt_chown.c: Likewise.
13609 * malloc/memusage.sh: Likewise.
13610 * malloc/memusagestat.c: Likewise.
13611 * malloc/mtrace.pl: Likewise.
13612 * manual/libc.texinfo: Likewise.
13613 * nscd/nscd.c: Likewise.
13614 * nss/getent.c: Likewise.
13615 * nss/makedb.c: Likewise.
13616 * posix/getconf.c: Likewise.
13617 * scripts/test-installation.pl: Likewise.
13619 * All files with FSF copyright notices: Update copyright dates
13620 using scripts/update-copyrights.
13621 * intl/plural.c: Regenerated.
13622 * locale/programs/charmap-kw.h: Likewise.
13623 * locale/programs/locfile-kw.h: Likewise.
13625 2013-12-31 Mike Frysinger <vapier@gentoo.org>
13627 * sysdeps/unix/sysv/linux/configure: Regenerated.
13628 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13629 the linux/fanotify.h header.
13630 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13631 HAVE_LINUX_FANOTIFY_H is defined.
13633 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13635 * benchtests/cos-inputs: New inputs.
13636 * benchtests/sin-inputs: Likewise.
13638 * benchtests/atan-inputs: New inputs. Fix name of multiple
13639 precision fallback inputs.
13641 * benchtests/atanh-inputs: New inputs.
13642 * benchtests/tanh-inputs: Likewise.
13644 * benchtests/acosh-inputs: New inputs.
13645 * benchtests/asinh-inputs: Likewise.
13647 * benchtests/cosh-inputs: New inputs.
13648 * benchtests/sinh-inputs: Likewise.
13650 * benchtests/acos-inputs: Add more inputs.
13651 * benchtests/asin-inputs: Likewise.
13653 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
13656 * manual/arith.texi: Fix spelling.
13657 * manual/charset.texi: Likewise.
13658 * manual/errno.texi: Likewise.
13659 * manual/filesys.texi: Likewise.
13660 * manual/lang.texi: Likewise.
13661 * manual/llio.texi: Likewise.
13662 * manual/locale.texi: Likewise.
13663 * manual/message.texi: Likewise.
13664 * manual/resource.texi: Likewise.
13665 * manual/search.texi: Likewise.
13666 * manual/setjmp.texi: Likewise.
13667 * manual/stdio.texi: Likewise.
13668 * manual/string.texi: Likewise.
13669 * manual/sysinfo.texi: Likewise.
13670 * manual/time.texi: Likewise.
13672 2013-12-27 Carlos O'Donell <carlos@redhat.com>
13674 * po/sl.po: New file.
13676 2013-12-27 Mike Frysinger <vapier@gentoo.org>
13678 * .gitignore: Add core/.gdbinit/.gdb_history.
13680 2013-12-27 Allan McRae <allan@archlinux.org>
13683 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13684 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13686 2013-12-24 Brooks Moses <bmoses@google.com>
13688 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13689 all compilers that claim C++98 compliance, not just GCC.
13690 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13693 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13695 * NEWS: Restore accidentally deleted bug-fix entries.
13697 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13698 Ondřej Bílka <neleai@seznam.cz>
13701 * malloc/malloc.c (_int_free): Perform sanity check only if we
13704 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
13707 * manual/stdio.texi (String Input Conversions): Clarify that character
13708 classes are not supported.
13710 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13714 2013-12-22 Joseph Myers <joseph@codesourcery.com>
13717 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13718 Calculate results for small negative arguments directly rather
13719 than using reflection formula with special underflow handling.
13721 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13722 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13723 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13724 (fchflags): Likewise.
13725 (revoke): Likewise.
13726 (setlogin): Likewise.
13727 (sigaltstack): Likewise.
13729 (sigblock): Remove.
13730 (sigsetmask): Likewise.
13732 (waitpid): Likewise.
13733 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13734 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13736 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13737 * sysdeps/unix/bsd/Makefile: ... here.
13738 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13739 * sysdeps/unix/bsd/Versions: ... here.
13740 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13741 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13742 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13743 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13744 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13745 * sysdeps/unix/bsd/sigblock.c: ... here.
13746 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13747 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13748 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13749 * sysdeps/unix/bsd/sigvec.c: ... here.
13750 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13751 * sysdeps/unix/bsd/tcdrain.c: ... here.
13752 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13753 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13754 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13755 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13756 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13757 * sysdeps/unix/bsd/wait.c: ... here.
13758 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13759 * sysdeps/unix/bsd/wait3.c: ... here.
13760 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13761 * sysdeps/unix/bsd/waitpid.c: ... here.
13763 2013-12-21 Joseph Myers <joseph@codesourcery.com>
13766 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13767 round-to-nearest for [!USE_AS_EXPM1L].
13768 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13769 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13770 more tests of exp and exp10. Expect some exp10 tests to miss
13771 exceptions or fail in directed rounding modes.
13772 * math/auto-libm-test-out: Regenerated.
13773 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13774 (exp10_test_tonearest): New function.
13775 (exp10_towardzero_test_data): New array.
13776 (exp10_test_towardzero): New function.
13777 (exp10_downward_test_data): New array.
13778 (exp10_test_downward): New function.
13779 (exp10_upward_test_data): New array.
13780 (exp10_test_upward): New function.
13781 (main): Call the new functions.
13782 * sysdeps/i386/fpu/libm-test-ulps: Update.
13783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13785 2013-12-20 Joseph Myers <joseph@codesourcery.com>
13787 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13788 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13789 * math/auto-libm-test-out: Regenerated.
13790 * math/libm-test.inc (acosh_test_data): Add more tests.
13791 (atanh_test_data): Likewise.
13792 (ceil_test_data): Likewise.
13793 (copysign_test_data): Likewise.
13794 * sysdeps/i386/fpu/libm-test-ulps: Update.
13795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13797 * timezone/checktab.awk: Update from tzcode 2013i.
13798 * timezone/private.h: Likewise.
13799 * timezone/scheck.c: Likewise.
13800 * timezone/tzfile.h: Likewise.
13801 * timezone/tzselect.ksh: Likewise.
13802 * timezone/zdump.c: Likewise.
13803 * timezone/zic.c: Likewise.
13805 * math/auto-libm-test-in: Add tests of cpow.
13806 * math/auto-libm-test-out: Regenerated.
13807 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13808 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13810 (func_calc_desc): Add mpc_cc_c union field.
13811 (test_functions): Add cpow.
13812 (special_fill_2pi): New function.
13813 (special_real_inputs): Add 2pi.
13814 (calc_generic_results): Handle mpc_cc_c.
13815 * sysdeps/i386/fpu/libm-test-ulps: Update.
13816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13818 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13819 csqrt, ctan and ctanh.
13820 * math/auto-libm-test-out: Regenerated.
13821 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13822 (TEST_COND_x86): Likewise.
13823 (ccos_test_data): Use AUTO_TESTS_c_c.
13824 (ccosh_test_data): Likewise.
13825 (cexp_test_data): Likewise.
13826 (clog_test_data): Likewise.
13827 (csqrt_test_data): Likewise.
13828 (ctan_test_data): Likewise.
13829 (ctan_tonearest_test_data): Likewise.
13830 (ctan_towardzero_test_data): Likewise.
13831 (ctan_downward_test_data): Likewise.
13832 (ctan_upward_test_data): Likewise.
13833 (ctanh_test_data): Likewise.
13834 (ctanh_tonearest_test_data): Likewise.
13835 (ctanh_towardzero_test_data): Likewise.
13836 (ctanh_downward_test_data): Likewise.
13837 (ctanh_upward_test_data): Likewise.
13838 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13840 (func_calc_desc): Add mpc_c_c union field.
13841 (FUNC_mpc_c_c): New macro.
13842 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13843 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13845 (special_fill_min_subnorm_p120): New function.
13846 (special_real_inputs): Add min_subnorm_p120.
13847 (calc_generic_results): Handle mpc_c_c.
13848 * sysdeps/i386/fpu/libm-test-ulps: Update.
13849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13851 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13853 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13854 (do_sin_slow): New functions.
13855 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13856 (cslow2, csloww1, csloww2): Use the new functions.
13858 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13859 Use M to change sign of result instead of X. Assume X is
13861 (csloww1): Likewise.
13865 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13866 arguments A and DA.
13870 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13872 (sloww1): Don't adjust sign of DX.
13873 (csloww1): Likewise.
13874 (sloww2): Use X directly and don't adjust sign of DX.
13875 (csloww2): Likewise.
13877 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13879 * math/auto-libm-test-in: Add tests of cabs and carg.
13880 * math/auto-libm-test-out: Regenerated.
13881 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13882 (carg_test_data): Likewise.
13883 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13885 (func_calc_desc): Add mpc_c_f union field.
13886 (test_functions): Add cabs and carg.
13887 (calc_generic_results): Handle mpc_c_f.
13889 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13890 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13891 as a macro and a compat symbol.
13892 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13893 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13894 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13895 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13896 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13897 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13899 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13901 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13903 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13905 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13907 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13909 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13910 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13913 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13917 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13919 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13920 trailing whitespace removed.
13921 * scripts/config.guess: Update to version 2013-11-29.
13922 * scripts/config.sub: Update to version 2013-10-01.
13924 * math/auto-libm-test-in: Add tests of sincos.
13925 * math/auto-libm-test-out: Regenerated.
13926 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13927 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13929 (func_calc_desc): Add mpfr_f_11 union field.
13930 (test_functions): Add sincos.
13931 (calc_generic_results): Handle mpfr_f_11.
13932 * sysdeps/i386/fpu/libm-test-ulps: Update.
13933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13935 2013-12-19 Andreas Schwab <schwab@suse.de>
13937 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13939 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13940 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13941 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13943 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13945 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13946 * sysdeps/i386/fpu/libm-test-ulps: Update.
13947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13950 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13951 round-to-nearest mode when using frndint.
13952 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13953 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13954 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13956 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13958 * math/auto-libm-test-out: Regenerated.
13959 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13960 (TEST_COND_x86): Likewise.
13961 (expm1_tonearest_test_data): New array.
13962 (expm1_test_tonearest): New function.
13963 (expm1_towardzero_test_data): New array.
13964 (expm1_test_towardzero): New function.
13965 (expm1_downward_test_data): New array.
13966 (expm1_test_downward): New function.
13967 (expm1_upward_test_data): New array.
13968 (expm1_test_upward): New function.
13969 (main): Run the new test functions.
13970 * sysdeps/i386/fpu/libm-test-ulps: Update.
13971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13973 * include/features.h: Update comment documenting feature test
13974 macros. Mention _DEFAULT_SOURCE in comment.
13975 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13976 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13977 _BSD_SOURCE and _SVID_SOURCE.
13978 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13979 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13980 !_SVID_SOURCE]: Likewise.
13981 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13982 (__USE_POSIX_IMPLICITLY): Define.
13983 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13984 (_POSIX_SOURCE): Undefine and redefine.
13985 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13986 (_POSIX_C_SOURCE): Likewise.
13987 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13988 (Feature Test Macros): Update documentation of default features.
13990 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13992 * benchtests/Makefile: Add bench-strtok.
13993 * benchtests/bench-strtok.c: New file: strtok benchtest.
13995 2013-12-19 Allan McRae <allan@archlinux.org>
13997 * manual/install.texi: Suppress menu for plain text output.
13998 * INSTALL: Regenerated.
14000 2013-12-18 Brooks Moses <bmoses@google.com>
14003 * misc/getauxval.c: Include errno.h.
14004 (__getauxval): Set errno to ENOENT if the requested type is not
14006 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14007 don't declare with __attribute_const__.
14008 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14009 * manual/startup.texi: Document that getauxval sets errno.
14011 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14013 * math/auto-libm-test-in: Add tests of jn and yn.
14014 * math/auto-libm-test-out: Regenerated.
14015 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14016 (yn_test_data): Likewise.
14017 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14019 (func_calc_desc): Add mpfr_if_f union field.
14020 (FUNC_mpfr_if_f): New macro.
14021 (test_functions): Add jn and yn.
14022 (calc_generic_results): Assert type of second input for
14023 mpfr_ff_f. Handle mpfr_if_f.
14024 (output_for_one_input_case): Disable all checking for arguments
14025 fitting floating-point types in case of an integer argument.
14026 * sysdeps/i386/fpu/libm-test-ulps: Update.
14027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14030 Don't expect fegetround reference in libm.so.
14032 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14034 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14035 $(config-cflags-nofma).
14037 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14039 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14040 * math/auto-libm-test-out: Regenerated.
14043 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14044 to determine exponent and adjust argument to have exponent of -1.
14045 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14047 * math/auto-libm-test-out: Regenerated.
14048 * sysdeps/i386/fpu/libm-test-ulps: Update.
14049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14051 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
14053 * manual/probes.texi: Remove cases when per-thread arenas are
14056 2013-12-18 Andreas Schwab <schwab@suse.de>
14058 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14059 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14060 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14061 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14062 * sysdeps/i386/i686/multiarch/Makefile: Update.
14063 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14065 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14067 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14068 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14070 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14073 Support TZ transition times < 00:00:00.
14074 This is needed for version-3 tz-format files; it supports time
14075 stamps past 2037 for America/Godthab (the only entry in the tz
14076 database for which this change is relevant).
14077 * manual/time.texi (TZ Variable): Document transition times
14078 from -167:59:59 through -00:00:01.
14079 * time/tzset.c (tz_rule): Time of day is now signed.
14080 (__tzset_parse_tz): Parse negative time of day.
14082 Document TZ transition times >= 25:00:00.
14083 * manual/time.texi (TZ Variable): Document transition times from
14084 25:00:00 through 167:59:59. These are already supported, and this
14085 support will help with version-3 tz-format files.
14087 * manual/time.texi (TZ Variable): Modernize North America example
14088 to reflect current (i.e., 2007-and-later) daylight saving rules.
14090 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14092 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14094 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14095 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14096 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14098 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14099 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14100 * sysdeps/unix/bsd/clock.c: Likewise.
14101 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14102 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14103 * sysdeps/unix/bsd/init-posix.c: Likewise.
14104 * sysdeps/unix/bsd/poll.c: Likewise.
14105 * sysdeps/unix/bsd/ptsname.c: Likewise.
14106 * sysdeps/unix/bsd/seekdir.c: Likewise.
14107 * sysdeps/unix/bsd/setegid.c: Likewise.
14108 * sysdeps/unix/bsd/seteuid.c: Likewise.
14109 * sysdeps/unix/bsd/setgid.c: Likewise.
14110 * sysdeps/unix/bsd/setrgid.c: Likewise.
14111 * sysdeps/unix/bsd/setruid.c: Likewise.
14112 * sysdeps/unix/bsd/setsid.c: Likewise.
14113 * sysdeps/unix/bsd/setuid.c: Likewise.
14114 * sysdeps/unix/bsd/sigaction.c: Likewise.
14115 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14116 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14117 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14118 * sysdeps/unix/bsd/telldir.c: Likewise.
14119 * sysdeps/unix/bsd/times.c: Likewise.
14120 * sysdeps/unix/bsd/usleep.c: Likewise.
14122 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14123 ($(objpfx)libbsd-compat.a): Remove rule.
14125 * include/features.h (__FAVOR_BSD): Do not define.
14126 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14127 features conflicting with POSIX.
14128 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14129 (_BSD_SOURCE): Remove description of not being a subset of other
14130 feature test macros.
14131 * manual/job.texi (getpgrp): Do not document BSD version.
14132 (getpgid): Do not document by reference to BSD getpgrp.
14133 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14134 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14135 * signal/signal.h [__FAVOR_BSD]: Likewise.
14136 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14137 instead of making contents conditional on [__FAVOR_BSD].
14138 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14140 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14144 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14147 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14148 values below 2**-450, not 2**-500.
14149 * math/auto-libm-test-in: Don't allow spurious underflow from
14151 * math/auto-libm-test-out: Regenerated.
14155 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14156 values of ha and hb and sort them after adjusting subnormal
14158 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14160 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14161 values of ea and eb and sort them after adjusting subnormal
14163 * math/auto-libm-test-in: Do not expect some hypot tests of
14164 subnormals to fail. Add more hypot tests.
14165 * math/auto-libm-test-out: Regenerated.
14167 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14170 * sysdeps/sh/s_fma.c: New file.
14171 * sysdeps/sh/s_fmaf.c: New file.
14172 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14174 * sysdeps/sh/Implies: Add sh/soft-fp.
14176 2013-12-16 Roland McGrath <roland@hack.frob.com>
14178 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14179 level of indirection to members `objname', `errstring', `malloced'.
14180 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14181 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14182 it as the __longjmp argument (just pass 1 instead).
14183 (_dl_catch_error): Initialize C with argument pointers and address of
14184 volatile local ERRCODE rather than copying values out of C at return.
14186 2013-12-16 Joseph Myers <joseph@codesourcery.com>
14188 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14189 * math/auto-libm-test-out: Regenerated.
14190 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14191 (hypot_test_data): Likewise.
14192 (pow_test_data): Likewise.
14193 (pow_tonearest_test_data): Likewise.
14194 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14196 (func_calc_desc): Add mpfr_ff_f union field.
14197 (FUNC_mpfr_ff_f): New macro.
14198 (test_functions): Add atan2, hypot and pow.
14199 (special_fill_min): New function.
14200 (special_fill_minus_min): Likewise.
14201 (special_fill_min_subnorm): Likewise.
14202 (special_fill_minus_min_subnorm): Likewise.
14203 (special_real_inputs): Add min, -min, min_subnorm and
14205 (calc_generic_results): Handle mpfr_ff_f.
14206 * sysdeps/i386/fpu/libm-test-ulps: Update.
14207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14209 2013-12-16 Will Newton <will.newton@linaro.org>
14211 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14212 (Aligned Memory Blocks): Add documentation for aligned_alloc
14213 and suggest it as an alternative to posix_memalign.
14214 (Hooks for Malloc): Document __memalign_hook is also called
14215 for aligned_alloc. (Summary of Malloc): Add summary for
14216 aligned alloc. Document __memalign_hook is also called
14219 2013-12-16 Will Newton <will.newton@linaro.org>
14221 * manual/memory.texi (Malloc Examples): Clarify default
14222 alignment documentation. Suggest posix_memalign rather
14223 than memalign or valloc.
14224 (Aligned Memory Blocks): Remove suggestion to use memalign
14225 or valloc. Remove obsolete comment about BSD.
14226 Document memalign errno values and mark the function obsolete.
14227 Document posix_memalign returned error codes. Mark valloc
14228 as obsolete. (Hooks for Malloc): __memalign_hook is also
14229 called for posix_memalign and valloc.
14230 (Summary of Malloc): Add posix_memalign to function summary.
14231 __memalign_hook is also called for posix_memalign and valloc.
14233 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14235 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14239 (sloww): Use mynumber union. Expand ternary operator into
14240 if-else statements.
14241 (cslow): use mynumber union.
14243 2013-12-16 Allan McRae <allan@archlinux.org>
14245 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14246 * configure: Regenerated.
14248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14251 * configure.ac: Added --enable-maintainer-mode. Check for
14252 autoconf when enabled.
14253 * configure: Regenerated.
14255 * nscd/nscd.service: New file.
14256 * nscd/nscd.tmpfiles: New file.
14258 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
14261 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14262 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14263 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14264 (strstr): Add __strstr_sse2_unaligned ifunc.
14265 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14266 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14267 (strcasestr): Remove __strcasestr_sse42 ifunc.
14268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14272 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14274 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14275 * sysdeps/sh/bits/fenv.h: ... here.
14276 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14278 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14280 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14283 hypotf multiarch implementations.
14284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14285 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14286 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14287 multiarch hypot for PPC64.
14288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14289 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14290 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14291 multiarch hypotf for PPC64.
14293 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14294 modff multiarch implementations.
14295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14298 multiarch modf for PPC64.
14299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14302 multiarch modff for PPC64.
14304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14305 and logl multiarch implementations.
14306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14309 multiarch logb for PPC64.
14310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14313 multiarch logb for PPC64.
14314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14317 multiarch logb for PPC64.
14319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14320 isinff multiarch implementation.
14321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14325 multiarch isinf for PPC64.
14326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14329 multiarch isinff for PPC64.
14331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14332 finitef multiarch implementation.
14333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14337 multiarch finite for PPC64.
14338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14341 multiarch finitef for PPC64.
14343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14344 lrint multiarch implementation.
14345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14349 multiarch llrint for PPC64.
14350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14351 multiarch lrint for PPC64.
14353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14354 copysignf multiarch implementation.
14355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14360 multiarch copysign for PPC64.
14361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14362 multiarch copysignf for PPC64.
14364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14365 multiarch implementation.
14366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14374 multiarch llround for PPC64.
14375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14376 multiarch trunc for PPC64.
14377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14378 multiarch truncf for PPC64.
14380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14381 multiarch implementation.
14382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14390 multiarch llround for PPC64.
14391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14392 multiarch round for PPC64.
14393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14394 multiarch roundf for PPC64.
14396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14397 multiarch implementation.
14398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14406 multiarch llround for PPC64.
14407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14408 multiarch floor for PPC64.
14409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14410 multiarch floorf for PPC64.
14412 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14413 multiarch implementation.
14414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14422 multiarch llround for PPC64.
14423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14424 multiarch ceil for PPC64.
14425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14426 multiarch ceilf for PPC64.
14428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14429 multiarch implementation.
14430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14437 multiarch llround for PPC64.
14438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14439 multiarch lround for PPC64.
14441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14442 multiarch implementation.
14443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14450 multiarch isnan for PPC64.
14451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14452 multiarch isnanf for PPC64.
14454 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14455 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14456 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14457 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14458 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14461 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14462 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14467 multiarch implementations.
14468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14469 (__libc_ifunc_impl_list): Likewise.
14470 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14471 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14472 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14473 multiarch stpcpy for PPC64.
14475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14476 multiarch implementations.
14477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14478 (__libc_ifunc_impl_list): Likewise.
14479 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14480 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14481 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14482 multiarch strcpy for PPC64.
14484 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14485 redefine function name.
14486 (_wordcopy_fwd_dest_aligned): Likewise.
14487 (_wordcopy_bwd_aligned): Likewise.
14488 (_wordcopy_bwd_dest_aligned): Likewise.
14489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14490 multiarch implementations.
14491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14492 (__libc_ifunc_impl_list): Likewise.
14493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14495 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14496 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14497 multiarch wcscpy for PPC64.
14499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14500 multiarch implementations.
14501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14502 (__libc_ifunc_impl_list): Likewise.
14503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14505 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14506 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14507 multiarch wcscpy for PPC64.
14509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14510 multiarch implementations.
14511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14512 (__libc_ifunc_impl_list): Likewise.
14513 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14514 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14515 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14516 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14517 multiarch wcsrchr for PPC64.
14519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14520 multiarch implementations.
14521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14522 (__libc_ifunc_impl_list): Likewise.
14523 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14524 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14525 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14526 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14527 multiarch wcschr for PPC64.
14529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14530 multiarch implementations.
14531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14532 (__libc_ifunc_impl_list): Likewise.
14533 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14534 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14535 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14536 multiarch strchrnul for PPC64.
14538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14541 (__libc_ifunc_impl_list): Likewise.
14542 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14543 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14544 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14545 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14551 (__libc_ifunc_impl_list): Likewise.
14552 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14554 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14555 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14558 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14559 multiarch implementations.
14560 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14561 (__libc_ifunc_impl_list): Likewise.
14562 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14563 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14564 strncasecmp for PPC64.
14565 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14566 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14567 multiarch strncasecmp_l for PPC64.
14569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14570 multiarch implementations.
14571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14572 (__libc_ifunc_impl_list): Likewise.
14573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14574 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14575 multiarch strcasecmp for PPC64.
14576 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14579 multiarch strcasecmp_l for PPC64.
14581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14584 (__libc_ifunc_impl_list): Likewise.
14585 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14586 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14587 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14593 (__libc_ifunc_impl_list): Likewise.
14594 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14595 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14596 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14602 (__libc_ifunc_impl_list): Likewise.
14603 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14604 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14605 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14606 rawmemrchr for PPC64.
14608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14611 (__libc_ifunc_impl_list): Likewise.
14612 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14613 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14614 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14617 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14620 (__libc_ifunc_impl_list): Likewise.
14621 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14622 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14623 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14629 (__libc_ifunc_impl_list): Likewise.
14630 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14631 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14632 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14635 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14636 avoid cretion of __bzero symbol.
14637 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14639 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14641 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14644 multiarch implementations.
14645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14646 (__libc_ifunc_impl_list): Likewise.
14647 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14648 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14649 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14650 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14652 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14653 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14654 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14655 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14656 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14658 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14660 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14664 (__libc_ifunc_impl_list): Likewise.
14665 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14666 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14667 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14668 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14672 multiarch for POWER/PPC64.
14673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14674 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14675 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14677 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14678 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14680 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14681 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14684 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14685 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14686 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14687 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14688 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14689 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14690 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14691 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14692 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14693 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14694 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14695 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14696 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14697 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14698 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14707 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14709 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14711 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14713 * benchtests/Makefile (bench): Add exp2 and log2.
14714 (LDLIBS-bench-exp2): Add -lm.
14715 (LDLIBS-bench-log2): Likewise.
14716 * benchtests/exp2-inputs: New inputs file.
14717 * benchtests/log2-inputs: New inputs file.
14718 * benchtests/log-inputs: Add new inputs.
14719 * benchtests/tan-inputs: Likewise.
14721 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14723 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14725 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14726 (csloww2): ... from here.
14728 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14729 instead of structures.
14730 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14731 (POLYNOMIAL): Likewise.
14732 (TAYLOR_SLOW): Likewise.
14738 (sloww1); Likewise.
14739 (sloww2): Likewise.
14740 (bsloww1): Likewise.
14741 (bsloww2): Likewise.
14742 (cslow2): Likewise.
14743 (csloww): Likewise.
14744 (csloww1): Likewise.
14745 (csloww2): Likewise.
14747 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
14749 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
14750 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14751 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
14752 * malloc/hooks.c (realloc_check): Likewise.
14754 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14755 * malloc/arena.c: Remove PER_THREAD conditional.
14756 [!PER_THREAD]: Remove code.
14757 (ptmalloc_unlock_all2): Likewise.
14758 (ptmalloc_init): Likewise.
14759 (_int_new_arena): Likewise.
14760 (arena_get2): Likewise.
14761 * malloc/hooks.c (__malloc_get_state): Likewise.
14762 (__malloc_set_state): Likewise.
14763 * malloc/malloc.c: Likewise.
14764 (struct malloc_state): Likewise.
14765 (struct malloc_par): Likewise.
14766 (__libc_realloc): Likewise.
14767 (__libc_mallopt): Likewise.
14769 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14771 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14773 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
14775 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14776 macro to a function. Check for zero perturb_byte.
14777 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14779 * malloc/malloc.c: (force_reg): Remove.
14780 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14781 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
14782 force_reg by atomic_forced_read.
14783 * malloc/arena.c (ptmalloc_init): Likewise.
14784 * malloc/hooks.c (top_check): Likewise.
14786 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14790 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14794 2013-12-08 Joseph Myers <joseph@codesourcery.com>
14796 * math/auto-libm-test-in: Add tests of lgamma.
14797 * math/auto-libm-test-out: Regenerated.
14798 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14799 (M_LOG_2_SQRT_PIl): Likewise.
14800 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14801 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14803 (func_calc_desc): Add mpfr_f_f1 union field.
14804 (ARGS1): New macro.
14812 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14813 (test_functions): Add lgamma.
14814 (calc_generic_results): Handle mpfr_f_f1.
14815 * sysdeps/i386/fpu/libm-test-ulps: Update.
14816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14818 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14820 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14821 __mpn_add_n for PowerPC64/POWER7.
14822 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14823 __mpn_sub_n for PowerPC64/POWER7.
14825 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14826 __mpn_addmul_1 for PowerPC64.
14827 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14828 __mpn_submul_1 for PowerPC64.
14829 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14831 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14834 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14837 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14839 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14841 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14843 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14844 add multiarch folders.
14845 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14846 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14847 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14848 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14849 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14850 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14851 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14852 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14853 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14854 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14855 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14864 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14870 multiarch __ieee754_hypot for PowerPC32.
14871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14876 multiarch __ieee754_hypotf for PowerPC32.
14878 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14879 long_double_symbol only if __logbl is defined.
14880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14881 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14882 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14883 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14885 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14886 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14887 path for implementation.
14888 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14889 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14891 logb, and logbl multiarch implementations for PowerPC32.
14892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14897 multiarch logb for PowerPC32.
14898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14903 multiarch logbf for PowerPC32.
14904 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14908 multiarch logbl implementation for PowerPC32.
14910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14911 and modff multiarch implementations.
14912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14917 multiarch modf for PowerPC32.
14918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14923 multiarch modff for PowerPC32.
14925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14926 and lrintf multiarch implementations.
14927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14932 multiarch lrint for PowerPC32.
14933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14934 file: multiarch lrintf for PowerPC32.
14936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14937 and lroundf multiarch implementations.
14938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14945 multiarch lround for PowerPC32.
14946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14947 file: multiarch lroundf for PowerPC32.
14949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14950 copysign and copysignf multiarch implementations.
14951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14956 file: multiarch copysign for PowerPC32.
14957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14958 file: multiarch copysignf for PowerPC32.
14960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14961 and truncf multiarch implementations.
14962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14967 multiarch trunc for PowerPC32.
14968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14973 multiarch truncf for PowerPC32.
14975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14976 and roundf multiarch implementations.
14977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14982 multiarch round for PowerPC32.
14983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14988 multiarch roundf for PowerPC32.
14990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14991 and floorf multiarch implementations.
14992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14997 multiarch floor for PowerPC32.
14998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15003 multiarch floorf for PowerPC32.
15005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15006 and ceilf multiarch implementations.
15007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15012 multiarch ceil for PowerPC32.
15013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15018 multiarch ceilf for PowerPC32.
15020 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15022 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15023 FINITEF is defined.
15024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15025 and finitef multiarch implementations.
15026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15031 multiarch finite for PowerPC32.
15032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15035 file: multiarch finitef for PowerPC32.
15037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15038 and isinff multiarch implementations.
15039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15044 multiarch isinf for PowerPC32.
15045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15048 multiarch isinff for PowerPC32.
15050 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15051 alias when __isnan is defined.
15052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15053 and isnanf multiarch implementations.
15054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15063 multiarch isnan for PowerPC32.
15064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15069 multiarch isnanf for PowerPC32.
15071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15072 and sqrtf multiarch implementations.
15073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15078 multiarch sqrt for PowerPC32.
15079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15084 multiarch sqrtf for PowerPC32.
15086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15087 and llroundf multiarch implementations.
15088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15095 file: multiarch llround for PowerPC32.
15096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15097 file: multiarch llroundf for PowerPC32.
15099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15100 multiarch PowerPC32 fpu implementations.
15101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15106 multiarch llrint for PowerPC32.
15107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15116 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15118 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15120 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15122 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15123 multiarch wordcopy for PPC32.
15124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15127 (__libc_ifunc_impl_list): Likewise.
15128 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15129 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15130 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15131 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15132 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15133 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15135 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15143 multiarch wcscpy for PPC32.
15144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15147 (__libc_ifunc_impl_list): Likewise.
15148 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15149 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15150 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15151 sysdeps/powerpc/power6/wcscpy.c.
15153 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15161 multiarch wcsrchr for PPC32.
15162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
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/wcsrchr.c: Adjust to use
15169 sysdeps/powerpc/power6/wcsrchr.c.
15171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15177 multiarch wcschr for PPc32.
15178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15181 (__libc_ifunc_impl_list): Likewise.
15182 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15183 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15184 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15185 sysdeps/powerpc/power6/wcschr.c.
15187 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15188 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15190 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15191 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15192 file: multiarch strchr for PPC32.
15193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15196 (__libc_ifunc_impl_list): Likewise.
15198 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15200 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15204 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15205 multiarch strchrnul for PPC32.
15206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15209 (__libc_ifunc_impl_list): Likewise.
15211 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15213 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15214 multiarch strncasecmp for PPC32.
15215 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15217 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15218 multiarch strncasecmp_l for PPC32.
15219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15220 strncasecmp multiarch objects.
15221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15222 (__libc_ifunc_impl_list): Likewise.
15224 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15226 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15227 multiarch strncasecmp for PPC32.
15228 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15230 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15231 multiarch strcasecmp_l for PPC32.
15232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15235 (__libc_ifunc_impl_list): Likewise.
15237 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15239 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15241 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15242 multiarch strncmp for PPC32.
15243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15246 (__libc_ifunc_impl_list): Likewise.
15248 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15249 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15251 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15252 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15256 (__libc_ifunc_impl_list): Likewise.
15258 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15260 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15262 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15266 (__libc_ifunc_impl_list): Likewise.
15268 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15270 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15272 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15273 multiarch rawmemchr for PPC32.
15274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15277 (__libc_ifunc_impl_list): Likewise.
15279 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15281 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15283 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15284 file: memrchr multiarch for PPC32.
15285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15288 (__libc_ifunc_impl_list): Likewise.
15290 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15291 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15293 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15294 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15295 multiarch memchr for PPC32.
15296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15299 (__libc_ifunc_impl_list): Likewise.
15301 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15302 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15304 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15306 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15307 file: multiarch mempcpy for PPC32.
15308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15311 (__libc_ifunc_impl_list): Likewise.
15313 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15314 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15315 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15316 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15317 multiarch bzero for PPC32.
15318 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15320 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15322 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15323 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15324 file: multiarch memset for PPC32.
15325 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15327 memset multiarch objects.
15328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15329 (__libc_ifunc_impl_list): Likewise.
15331 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15333 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15334 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15336 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15340 (__libc_ifunc_impl_list): Likewise.
15342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15343 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15350 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15351 multiarch memcpy for PPC32.
15352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15355 (__libc_ifunc_impl_list): Likewise.
15357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15358 support multiarch for POWER/PPC32.
15359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15361 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15363 Implies file to make multiarch folder appers before the fpu and
15364 default folder for power4 configuration.
15366 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15368 * scripts/bench.pl: Append volatile keyword to type.
15370 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15372 * sysdeps/sh/sotruss-lib.c: New file.
15373 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15375 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15379 2013-12-05 Joseph Myers <joseph@codesourcery.com>
15382 * math/w_tgamma.c: Include <errno.h>.
15383 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15384 * math/w_tgammaf.c: Include <errno.h>.
15385 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15386 * math/w_tgammal.c: Include <errno.h>.
15387 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15388 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15389 underflow. Add more tgamma tests.
15390 * math/auto-libm-test-out: Regenerated.
15391 * sysdeps/i386/fpu/libm-test-ulps: Update.
15392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15394 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15395 sin, sinh, tan, tanh, tgamma, y0 and y1.
15396 * math/auto-libm-test-out: Regenerated.
15397 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15398 (TEST_COND_x86): Likewise.
15399 (M_E2l): Remove macro.
15401 (M_2_SQRT_PIl): Likewise.
15402 (M_SQRT_PIl): Likewise.
15403 (M_1_DIV_El): Likewise.
15404 (log_test_data): Use AUTO_TESTS_f_f.
15405 (log10_test_data): Likewise.
15406 (log1p_test_data): Likewise.
15407 (log2_test_data): Likewise.
15408 (sin_test_data): Likewise.
15409 (sin_tonearest_test_data): Likewise.
15410 (sin_towardzero_test_data): Likewise.
15411 (sin_downward_test_data): Likewise.
15412 (sin_upward_test_data): Likewise.
15413 (sinh_test_data): Likewise.
15414 (sinh_tonearest_test_data): Likewise.
15415 (sinh_towardzero_test_data): Likewise.
15416 (sinh_downward_test_data): Likewise.
15417 (sinh_upward_test_data): Likewise.
15418 (tan_test_data): Likewise.
15419 (tan_tonearest_test_data): Likewise.
15420 (tan_towardzero_test_data): Likewise.
15421 (tan_downward_test_data): Likewise.
15422 (tan_upward_test_data): Likewise.
15423 (tanh_test_data): Likewise.
15424 (tgamma_test_data): Likewise.
15425 (y0_test_data): Likewise.
15426 (y1_test_data): Likewise.
15427 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15428 (special_real_inputs): Add pi/4.
15429 * sysdeps/i386/fpu/libm-test-ulps: Update.
15430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15432 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15434 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15435 "longjmp_target" static probes.
15436 (__longjmp): Rename to __longjmp_symbol.
15437 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15438 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15439 on which longjmp to generate.
15440 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15441 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15443 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15444 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15445 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15446 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15447 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15448 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15450 __longjmp_symbol based on which __longjmp to generate.
15451 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15453 (setjmp): Rename to setjmp_symbol.
15454 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15455 (_setjmp): Rename to _setjmp_symbol.
15456 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15457 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15458 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15459 which setjmp to generate.
15460 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15461 "longjmp_target" static probes.
15463 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15465 * benchtests/README: Add note about output arguments.
15466 * benchtests/bench-sincos.c: Remove file.
15467 * benchtests/sincos-inputs: New file.
15468 * scripts/bench.pl: Identify output arguments and define
15469 static variables for them.
15471 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15474 * Makefile (INSTALL): Add install-plain.texi as the primary
15476 * manual/install-plain.texi: New file.
15477 * manual/install.texi: Include node directive only for
15478 non-plaintext output.
15480 2013-12-04 Joseph Myers <joseph@codesourcery.com>
15482 * stdlib/longlong.h: Update from GCC.
15486 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15487 * math/w_j0f.c (y0f): Likewise.
15488 * math/w_j0l.c (__y0l): Likewise.
15489 * math/w_j1.c (y1): Likewise.
15490 * math/w_j1f.c (y1f): Likewise.
15491 * math/w_j1l.c (__y1l): Likewise
15492 * math/w_jn.c (yn): Likewise.
15493 * math/w_jnf.c (ynf): Likewise.
15494 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15495 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15496 value for Bessel function domain errors outside _SVID_ mode.
15497 Adjust sign of return value for yn (negative integer, 0).
15498 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15499 by zero in return for negative x and set sign appropriately for
15501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15502 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15503 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15504 expectations in error cases.
15505 (y1_test_data): Likewise.
15506 (yn_test_data): Likewise.
15507 * sysdeps/i386/fpu/libm-test-ulps: Update.
15508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15510 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15512 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15513 "64" to "64-v1". Add "64-v2".
15514 (abi-64-options): Rename to ...
15515 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15516 (abi-64-condition): Rename to ...
15517 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15518 (abi-64-ld-soname): Rename to ...
15519 (abi-64-v1-ld-soname): ... this.
15520 (abi-64-v2-options): Define.
15521 (abi-64-v2-condition): Likewise.
15522 (abi-64-v2-ld-soname): Likewise.
15523 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15524 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15529 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15530 Alan Modra <amodra@gmail.com>
15532 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15533 New versions for use with the ELFv2 ABI.
15534 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15535 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15537 (struct La_ppc64v2_retval): Likewise.
15538 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15539 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15540 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15541 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15542 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15543 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15544 Do not save or restore CR.
15545 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15546 (_dl_profile_resolve): Do no save or restore CR. Support extended
15547 return values for ELFv2 ABI. Fix location of FPR return registers.
15548 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15549 updated values for _CALL_ELF == 2.
15550 (La_regs, La_retval, int_retval): Likewise.
15552 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15554 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15555 (FRAME_MIN_SIZE_PARM): Likewise.
15556 (FRAME_BACKCHAIN): Likewise.
15557 (FRAME_CR_SAVE): Likewise.
15558 (FRAME_LR_SAVE): Likewise.
15559 (FRAME_TOC_SAVE): Likewise.
15560 (FRAME_PARM_SAVE): Likewise.
15561 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15562 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15563 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15564 (call_mcount_parm_offset): New macro.
15565 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15566 (PROF): Use symbolic stack frame offsets.
15567 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15568 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15569 Redefine in terms of FRAME_MIN_SIZE.
15570 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15571 (_dl_profile_resolve): Likewise. Update comment.
15572 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15573 symbols stack frame offsets.
15574 (__sigsetjmp): Likewise.
15575 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15576 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15577 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15578 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15581 (FRAME_BACKCHAIN): Remove.
15582 (FRAME_CR_SAVE): Likewise.
15583 (FRAME_LR_SAVE): Likewise.
15584 (FRAME_COMPILER_DW): Likewise.
15585 (FRAME_LINKER_DW): Likewise.
15586 (FRAME_TOC_SAVE): Likewise.
15587 (FRAME_PARM_SAVE): Likewise.
15588 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15589 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15590 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15592 (CHECK_SP): Use symbolic stack frame offsets.
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15594 zone" instead of caller's parameter save area for temp storage.
15595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15596 Likewise. Also, use symbolic stack frame offsets.
15597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15598 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15599 our own stack frame instead of the caller's.
15600 (__socket): Use symbolic stack frame offsets.
15602 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15603 Alan Modra <amodra@gmail.com>
15605 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15607 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15608 (PPC64_LOCAL_ENTRY_OFFSET): Define.
15609 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15611 (elf_machine_fixup_plt): Call it.
15612 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15614 (elf_machine_rela): Update call to elf_machine_plt_conflict.
15615 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15616 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15617 r2 before calling target.
15619 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15620 Alan Modra <amodra@gmail.com>
15622 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15623 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15624 versions of macros to support ELFv2 ABI.
15625 (LOCALENTRY): New macro.
15626 (ENTRY, EALIGN): Use it.
15627 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15628 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15629 fall through into ENTRY entry point.
15630 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15631 Only define if _CALL_ELF != 2.
15633 (elf_machine_matches_host): Verify ABI version matches.
15634 (RTLD_START): Use LOCALENTRY.
15635 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15636 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15637 (PLT_ENTRY_WORDS): New macro.
15638 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15639 (elf_machine_runtime_setup): Support ELFv2 ABI.
15640 (elf_machine_fixup_plt): Likewise.
15641 (elf_machine_plt_conflict): Likewise.
15642 (resolve_ifunc): Likewise.
15643 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15644 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15647 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15649 (makecontext): Support ELFv2 ABI.
15650 * elf/elf.h (EF_PPC64_ABI): Define.
15652 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15654 * sysdeps/powerpc/powerpc64/sysdep.h
15655 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15656 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15657 (ENTRY) [ASSEMBLER]: ... but instead here ...
15658 (EALIGN) [ASSEMBLER]: ... and here.
15659 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15660 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15661 (ENTRY_2) [!ASSEMBLER]: Use it.
15662 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15663 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
15664 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15665 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15666 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15668 Use PPC64_LOAD_FUNCPTR.
15670 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15672 2013-12-04 Alan Modra <amodra@gmail.com>
15674 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15675 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15676 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15677 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15679 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15680 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15681 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15682 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15683 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15684 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15686 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15689 (__makecontext): Fix incorrect CFI when backtracing out of
15690 context created via makecontext.
15691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15692 (__setcontext): Fix incorrect CFI during switch to new context.
15693 (__novec_setcontext): Likewise.
15695 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15698 * time/strptime_l.c (__strptime_internal): Allow modifiers
15700 * time/tst-strptime.c (day_tests): Add testcase.
15702 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15704 * scripts/bench.pl: Skip over blank lines.
15706 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15709 * manual/time.texi (Calendar Time): Clarify what timezone functions
15712 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15716 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15718 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15720 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15721 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15722 * debug/memset_chk.c (__memset_chk): Likewise.
15723 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15724 * debug/strncpy_chk.c: Likewise.
15726 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15730 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15731 (__ieee754_exp): For possibly underflowing results, check size of
15732 result and force underflow exception if required.
15733 * math/auto-libm-test-in: Add more tests of exp.
15734 * math/auto-libm-test-out: Regenerated.
15735 * sysdeps/i386/fpu/libm-test-ulps: Update.
15736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15739 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15740 * math/w_exp2f.c (__exp2f): Likewise.
15741 * math/w_exp2l.c (__exp2l): Likewise.
15742 * math/auto-libm-test-in: Do not allow missing errno on exp2
15744 * math/auto-libm-test-out: Regenerated.
15746 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
15749 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15750 handle filename validation.
15751 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15754 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15757 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15758 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15759 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15761 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15762 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15763 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15764 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15765 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15766 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15767 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15768 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15769 Add more erfc tests.
15770 * math/auto-libm-test-out: Regenerated.
15771 * sysdeps/i386/fpu/libm-test-ulps: Update.
15772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15774 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15775 exp2, expm1, j0 and j1.
15776 * math/auto-libm-test-out: Regenerated.
15777 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15778 (erfc_test_data): Likewise.
15779 (exp_test_data): Likewise.
15780 (exp_tonearest_test_data): Likewise.
15781 (exp_towardzero_test_data): Likewise.
15782 (exp_downward_test_data): Likewise.
15783 (exp_upward_test_data): Likewise.
15784 (exp10_test_data): Likewise.
15785 (exp2_test_data): Likewise.
15786 (expm1_test_data): Likewise.
15787 (j0_test_data): Likewise.
15788 (j1_test_data): Likewise.
15789 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15790 (input_flag_type): Add flag_xfail_rounding.
15791 (input_flags): Add xfail-rounding.
15792 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15793 (output_for_one_input_case): Handle flag_xfail_rounding.
15794 * sysdeps/i386/fpu/libm-test-ulps: Update.
15795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15797 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15800 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15803 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15806 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15807 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15808 (STAP_PROBE0): New macro.
15809 (STAP_PROBE1): Likewise.
15810 (STAP_PROBE2): Likewise.
15811 (STAP_PROBE3): Likewise.
15812 (STAP_PROBE4): Likewise.
15814 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
15816 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15818 2013-12-02 Steve Ellcey <sellcey@mips.com>
15820 * benchtests/Makefile (bench): Add sqrt.
15821 (LDLIBS-bench-sqrt): New.
15822 * benchtests/sqrt-input: New.
15824 2013-12-02 Pavel Simerda <psimerda@redhat.com>
15826 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15827 (GAIH_EAI): Likewise.
15828 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15829 (gaih_inet): Likewise.
15830 (getaddrinfo): Don't use GAIH_EAI.
15832 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15833 (struct gaih): Remove definition.
15835 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15837 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15838 Use HERRNOP directly.
15840 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15844 2013-11-30 Joseph Myers <joseph@codesourcery.com>
15846 * math/gen-auto-libm-tests.c (test_functions): Add more
15847 single-argument functions.
15848 (special_fill_pi_2): New function.
15849 (special_fill_minus_pi_2): Likewise.
15850 (special_fill_pi_6): Likewise.
15851 (special_fill_minus_pi_6): Likewise.
15852 (special_fill_pi_3): Likewise.
15853 (special_fill_2pi_3): Likewise.
15854 (special_fill_e): Likewise.
15855 (special_fill_1_e): Likewise.
15856 (special_fill_e_minus_1): Likewise.
15857 (special_real_inputs): Add more special inputs.
15858 (output_for_one_input_case): Do not require ERANGE on underflow to
15859 zero if round-to-nearest result does not underflow to zero, unless
15860 exact results required.
15861 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15862 atan, atanh, cbrt, cos and cosh.
15863 * math/auto-libm-test-out: Regenerated.
15864 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15865 (acos_tonearest_test_data): Likewise.
15866 (acos_towardzero_test_data): Likewise.
15867 (acos_downward_test_data): Likewise.
15868 (acos_upward_test_data): Likewise.
15869 (acosh_test_data): Likewise.
15870 (asin_test_data): Likewise.
15871 (asin_tonearest_test_data): Likewise.
15872 (asin_towardzero_test_data): Likewise.
15873 (asin_upward_test_data): Likewise.
15874 (asinh_test_data): Likewise.
15875 (atan_test_data): Likewise.
15876 (atanh_test_data): Likewise.
15877 (cbrt_test_data): Likewise.
15878 (cos_test_data): Likewise.
15879 (cos_tonearest_test_data): Likewise.
15880 (cos_towardzero_test_data): Likewise.
15881 (cos_downward_test_data): Likewise.
15882 (cos_upward_test_data): Likewise.
15883 (cosh_test_data): Likewise.
15884 (cosh_tonearest_test_data): Likewise.
15885 (cosh_towardzero_test_data): Likewise.
15886 (cosh_downward_test_data): Likewise.
15887 (cosh_upward_test_data): Likewise.
15888 * sysdeps/i386/fpu/libm-test-ulps: Update.
15889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15891 2013-11-29 Joseph Myers <joseph@codesourcery.com>
15894 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15895 * math/w_exp10f.c (__exp10f): Likewise.
15896 * math/w_exp10l.c (__exp10l): Likewise.
15897 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15898 errno settings in existing tests.
15901 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15902 precision control set to double precision.
15903 * sysdeps/i386/fpu/w_sqrt.c: New file.
15904 * math/auto-libm-test-in: Add more tests.
15905 * math/auto-libm-test-out: Update.
15907 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15908 (sqrt_test_tonearest): New function.
15909 (sqrt_towardzero_test_data): New variable.
15910 (sqrt_test_towardzero): New function.
15911 (sqrt_downward_test_data): New variable.
15912 (sqrt_test_downward): New function.
15913 (sqrt_upward_test_data): New variable.
15914 (sqrt_test_upward): New function.
15915 (main): Call the new functions.
15917 * math/gen-auto-libm-tests.c: New file.
15918 * math/auto-libm-test-in: Likewise.
15919 * math/auto-libm-test-out: New generated file.
15920 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15922 (%beautify): Add generated representations of zero.
15923 (top level): Set $auto_input and call parse_auto_input.
15924 (beautify): Remove trailing "f" from hex float constants.
15925 (parse_args): Handle XFAIL_TEST.
15926 (convert_condition): New function.
15927 (or_value): Likewise.
15928 (or_cond_value): Likewise.
15929 (generate_testfile): Handle AUTO_TESTS_* lines.
15930 (parse_auto_input): New function.
15931 * math/libm-test.inc (XFAIL_TEST): New macro.
15932 (ERRNO_UNCHANGED): Update value.
15933 (ERRNO_EDOM): Likewise.
15934 (ERRNO_ERANGE): Likewise.
15935 (IGNORE_RESULT): Likewise.
15936 (TEST_COND_flt_32): New macro.
15937 (TEST_COND_dbl_64): Likewise.
15938 (TEST_COND_ldbl_96_intel): Likewise.
15939 (TEST_COND_ldbl_96_m68k): Likewise.
15940 (TEST_COND_ldbl_128): Likewise.
15941 (TEST_COND_ldbl_128ibm): Likewise.
15942 (TEST_COND_long32): Likewise.
15943 (TEST_COND_long64): Likewise.
15944 (TEST_COND_before_rounding): Likewise.
15945 (TEST_COND_after_rounding): Likewise.
15946 (enable_test): Handle XFAIL_TEST flag.
15947 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15948 with finite results.
15949 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15950 auto-libm-test-out.
15952 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15953 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15956 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15957 __tls_get_addr_internal instead of __tls_get_offset in order to
15958 avoid GOT pointer dependency. Make rtld export
15959 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15960 __tls_get_addr since we are a __tls_get_offset platform.
15961 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15962 GOT pointer being set up before.
15963 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15965 2013-11-28 Joseph Myers <joseph@codesourcery.com>
15967 * manual/math.texi (Errors in Math Functions): Document accuracy
15971 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15972 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15975 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15977 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15981 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15988 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15989 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15990 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15991 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15992 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15994 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15996 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15998 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15999 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16000 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16001 atomic-feupdateenv and flt-rounds.
16002 * sysdeps/powerpc/nofpu/Versions (libc): Add
16003 __atomic_feholdexcept, __atomic_feclearexcept,
16004 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16005 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16006 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16007 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16008 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16013 * manual/arith.texi (FP Exceptions): Document that exceptions may
16014 not be raised when matherr is used.
16015 (Math Error Reporting): Document overflow in directed rounding
16016 modes. Document that errno may not be set when finite values are
16017 returned on overflow. Document intent to set errno on underflow
16018 only for underflow to zero.
16021 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16022 round-to-nearest then adjust result for other rounding modes.
16023 * include/fenv.h (fegetround): Use libm_hidden_proto.
16024 * math/fegetround.c (fegetround): Use libm_hidden_def.
16025 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16026 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16027 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16028 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16030 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16031 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16032 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16033 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16035 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16038 * nss/Versions (libnss_files): Add
16039 _nss_files_gethostbyname3_r.
16040 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16042 (HOST_DB_LOOKUP): Remove macro.
16043 (_nss_files_gethostbyname_r): Implement function without the
16044 HOST_DB_LOOKUP macro.
16045 (_nss_files_gethostbyname2_r): Likewise.
16047 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
16049 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16051 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
16053 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16054 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16057 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16059 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16060 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16061 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16062 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16063 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16064 __fe_nomask_env_priv and attribute_hidden.
16065 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16066 (libc_feupdateenv_test_ppc): Likewise.
16067 (libc_feresetround_ppc): Likewise.
16068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16069 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16070 compat_symbol macro.
16071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16072 (__fe_nomask_env): Likewise.
16073 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16075 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16077 * string/Makefile: Remove ifunc tests.
16078 * string/test-string.h: Define TEST_IFUNC.
16079 * string/test-bcopy-ifunc.c: Remove.
16080 * string/test-bzero-ifunc.c: Likewise.
16081 * string/test-memccpy-ifunc.c: Likewise.
16082 * string/test-memchr-ifunc.c: Likewise.
16083 * string/test-memcmp-ifunc.c: Likewise.
16084 * string/test-memcpy-ifunc.c: Likewise.
16085 * string/test-memmem-ifunc.c: Likewise.
16086 * string/test-memmove-ifunc.c: Likewise.
16087 * string/test-mempcpy-ifunc.c: Likewise.
16088 * string/test-memrchr-ifunc.c: Likewise.
16089 * string/test-memset-ifunc.c: Likewise.
16090 * string/test-rawmemchr-ifunc.c: Likewise.
16091 * string/test-stpcpy-ifunc.c: Likewise.
16092 * string/test-stpncpy-ifunc.c: Likewise.
16093 * string/test-strcasecmp-ifunc.c: Likewise.
16094 * string/test-strcasestr-ifunc.c: Likewise.
16095 * string/test-strcat-ifunc.c: Likewise.
16096 * string/test-strchr-ifunc.c: Likewise.
16097 * string/test-strchrnul-ifunc.c: Likewise.
16098 * string/test-strcmp-ifunc.c: Likewise.
16099 * string/test-strcpy-ifunc.c: Likewise.
16100 * string/test-strcspn-ifunc.c: Likewise.
16101 * string/test-strlen-ifunc.c: Likewise.
16102 * string/test-strncasecmp-ifunc.c: Likewise.
16103 * string/test-strncat-ifunc.c: Likewise.
16104 * string/test-strncmp-ifunc.c: Likewise.
16105 * string/test-strncpy-ifunc.c: Likewise.
16106 * string/test-strnlen-ifunc.c: Likewise.
16107 * string/test-strpbrk-ifunc.c: Likewise.
16108 * string/test-strrchr-ifunc.c: Likewise.
16109 * string/test-strspn-ifunc.c: Likewise.
16110 * string/test-strstr-ifunc.c: Likewise.
16112 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16114 * benchtests/Makefile: Remove ifunc tests.
16115 * benchtests/bench-string.h: Define TEST_IFUNC.
16116 * benchtests/bench-bcopy-ifunc.c: Remove.
16117 * benchtests/bench-bzero-ifunc.c: Likewise.
16118 * benchtests/bench-memccpy-ifunc.c: Likewise.
16119 * benchtests/bench-memchr-ifunc.c: Likewise.
16120 * benchtests/bench-memcmp-ifunc.c: Likewise.
16121 * benchtests/bench-memcpy-ifunc.c: Likewise.
16122 * benchtests/bench-memmem-ifunc.c: Likewise.
16123 * benchtests/bench-memmove-ifunc.c: Likewise.
16124 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16125 * benchtests/bench-memrchr-ifunc.c: Likewise.
16126 * benchtests/bench-memset-ifunc.c: Likewise.
16127 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16128 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16129 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16130 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16131 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16132 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16133 * benchtests/bench-strcat-ifunc.c: Likewise.
16134 * benchtests/bench-strchr-ifunc.c: Likewise.
16135 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16136 * benchtests/bench-strcmp-ifunc.c: Likewise.
16137 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16138 * benchtests/bench-strcpy-ifunc.c: Likewise.
16139 * benchtests/bench-strcspn-ifunc.c: Likewise.
16140 * benchtests/bench-strlen-ifunc.c: Likewise.
16141 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16142 * benchtests/bench-strncat-ifunc.c: Likewise.
16143 * benchtests/bench-strncmp-ifunc.c: Likewise.
16144 * benchtests/bench-strncpy-ifunc.c: Likewise.
16145 * benchtests/bench-strnlen-ifunc.c: Likewise.
16146 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16147 * benchtests/bench-strrchr-ifunc.c: Likewise.
16148 * benchtests/bench-strsep-ifunc.c: Likewise.
16149 * benchtests/bench-strspn-ifunc.c: Likewise.
16150 * benchtests/bench-strstr-ifunc.c: Likewise.
16152 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16154 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16156 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16158 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16159 * rt/aio.h: Likewise.
16160 * sysdeps/gnu/bits/utmp.h: Likewise.
16161 * sysdeps/gnu/bits/utmpx.h: Likewise.
16162 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16163 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16164 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16165 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16166 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16167 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16168 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16169 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16170 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16171 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16172 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16173 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16174 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16176 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16177 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16178 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16179 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16180 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16181 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16182 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16183 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16184 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16185 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16186 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16188 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16189 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16190 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16191 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16192 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16193 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16194 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16195 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16196 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16197 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16198 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16199 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16200 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16201 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16202 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16203 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16205 2013-11-25 Carlos O'Donell <carlos@redhat.com>
16208 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16209 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16211 2013-11-25 Joseph Myers <joseph@codesourcery.com>
16213 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16214 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16217 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16220 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16221 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16222 (__fesetround): Remove define.
16223 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16224 rounding and exceptions handling.
16225 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16226 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16227 (__fe_nomask_env): Likewise.
16228 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16229 __fegetround instead of fegetround.
16230 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16231 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16233 2013-11-21 Roland McGrath <roland@hack.frob.com>
16235 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16238 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16240 2013-11-21 Meador Inge <meadori@codesourcery.com>
16243 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16244 (encrypt_r): Likewise.
16245 * malloc/obstack.h (obstack_free): Likewise.
16246 * posix/unistd.h (encrypt): Likewise.
16248 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16250 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16251 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16252 DL_CALL_DT_FINI() that call the functions directly.
16253 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16254 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16255 * elf/dl-fini.c: Likewise.
16257 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
16259 * malloc/hooks.c (memalign_check): Add alignment rounding.
16260 * malloc/malloc.c (_mid_memalign): New function.
16261 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16262 Implement by calling _mid_memalign.
16263 * manual/probes.texi (Memory Allocation Probes): Remove
16264 memory_valloc_retry and memory_pvalloc_retry.
16266 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16268 * locale/programs/locarchive.c (open_archive): Add const
16269 qualifier to ARCHIVEFNAME and copy default fname to
16273 * libio/tst-widetext.input: Rename Oriya to Odia.
16274 * locale/iso-639.def: Likewise.
16276 * manual/probes.texi (Mathematical Function Probes): Add
16277 documentation for sin, cos, asin and acos probes.
16278 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16279 (__sin32): Add slowasin probe.
16280 (__cos32): Add slowacos probe.
16281 (__mpsin): Add slowsin probe.
16282 (__mpcos): Add slowcos probe.
16284 2013-11-19 Joseph Myers <joseph@codesourcery.com>
16287 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16288 thread-local __sim_exceptions_thread and global
16289 __sim_exceptions_global.
16290 (__sim_disabled_exceptions): Change to thread-local
16291 __sim_disabled_exceptions_thread and global
16292 __sim_disabled_exceptions_global.
16293 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16294 and global __sim_round_mode_global.
16295 (__simulate_exceptions): Use thread-local floating-point state and
16296 set global state from it as needed.
16297 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16298 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16299 __sim_round_mode_thread.
16300 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16301 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16302 and global __sim_exceptions_global.
16303 (__sim_disabled_exceptions): Change to thread-local
16304 __sim_disabled_exceptions_thread and global
16305 __sim_disabled_exceptions_global.
16306 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16307 and global __sim_round_mode_global.
16308 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16309 (SIM_SET_GLOBAL): Likewise.
16310 * sysdeps/powerpc/soft-fp/sfp-machine.h
16311 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16312 __sim_round_mode_thread.
16313 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16314 __sim_disabled_exceptions_thread.
16315 (__sim_exceptions): Change to __sim_exceptions_thread.
16316 (__sim_disabled_exceptions): Change to
16317 __sim_disabled_exceptions_thread.
16318 (__sim_round_mode): Change to __sim_round_mode_thread.
16319 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16320 thread-local floating-point state and set global state from it as
16322 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16323 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16324 (__sim_disabled_exceptions): Remove extern declaration.
16325 (feenableexcept): Use thread-local floating-point state and set
16326 global state from it as needed.
16327 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16328 extern declaration.
16329 (__sim_disabled_exceptions): Likewise.
16330 (__sim_round_mode): Likewise.
16331 (__fegetenv): Use thread-local floating-point state.
16332 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16333 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16334 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16335 floating-point state and set global state from it as needed.
16336 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16337 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16338 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16340 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16341 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16343 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16344 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16345 Use __sim_round_mode_thread.
16346 * math/test-fenv-tls.c: New file.
16347 * math/Makefile (tests): Add test-fenv-tls.
16348 ($(objpfx)test-fenv-tls): Depend on
16349 $(common-objpfx)nptl/libpthread.so.
16351 2013-11-19 Andreas Schwab <schwab@suse.de>
16353 * locale/programs/locale.c (show_info): Decode wordarray elements.
16354 * locale/categories.def (LC_MONETARY): Add element for
16355 _NL_MONETARY_CRNCYSTR.
16356 * locale/C-monetary.c (conversion_rate): New variable.
16357 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16360 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16362 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16363 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16365 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16367 * elf/Makefile (tst-auxv): New test.
16368 * elf/tst-auxv.c: New
16369 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16371 2013-11-18 Joseph Myers <joseph@codesourcery.com>
16373 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16374 (hidden_proto): Caller changed.
16375 (hidden_tls_proto): New macro.
16376 (libc_hidden_tls_proto): Likewise.
16377 (rtld_hidden_tls_proto): Likewise.
16378 (libm_hidden_tls_proto): Likewise.
16379 (libresolv_hidden_tls_proto): Likewise.
16380 (librt_hidden_tls_proto): Likewise.
16381 (libdl_hidden_tls_proto): Likewise.
16382 (libnss_files_hidden_tls_proto): Likewise.
16383 (libnsl_hidden_tls_proto): Likewise.
16384 (libnss_nisplus_hidden_tls_proto): Likewise.
16385 (libutil_hidden_tls_proto): Likewise.
16387 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
16390 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16391 (decompose_rpath): Defer expansion to fillin_rpath.
16392 (_dl_init_paths): Pass linkmap to fillin_rpath.
16394 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16396 * benchtests/Makefile: Add strsep.
16397 * benchtests/bench-strsep.c: New file: strsep benchtest.
16398 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16400 2013-11-18 Andreas Schwab <schwab@suse.de>
16402 * locale/programs/locale.c (show_info) [case byte]: Check for
16403 '\377' instead of '\177'.
16404 * locale/C-monetary.c (not_available): Always use "\377".
16405 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16406 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16407 detect unavailable sign_posn locale elements.
16408 * locale/localeconv.c (__localeconv): For grouping and
16409 mon_grouping handle "\177" and "\377" like no grouping.
16410 (INT_ELEM): New macro. Use it to set all numeric members.
16411 * locale/programs/ld-monetary.c (monetary_read)
16412 <tok_mon_grouping>: Normalize single -1 to the empty string.
16413 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16416 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16419 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16420 when we match (nil).
16421 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16423 2013-11-16 Joseph Myers <joseph@codesourcery.com>
16425 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16426 (NO_TEST_INLINE): Update value.
16427 (ERRNO_UNCHANGED): Likewise.
16428 (ERRNO_EDOM): Likewise.
16429 (ERRNO_ERANGE): Likewise.
16430 (IGNORE_RESULT): Likewise.
16431 (check_float_internal): Check signs of NaN results if
16432 TEST_NAN_SIGN used.
16433 (check_complex): Pass TEST_NAN_SIGN flag through to second
16434 check_float_internal call.
16435 (copysign_test_data): Add tests with quiet NaNs as second
16436 argument. Use TEST_NAN_SIGN.
16437 (fabs_test_data): Add test of negative quiet NaN argument. Use
16439 (signbit_test_data): Add tests of quiet NaN argument.
16440 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16442 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16444 (parse_args): Handle function results specified as IGNORE.
16445 * math/libm-test.inc (IGNORE_RESULT): New macro.
16446 (check_float_internal): Do not check numerical result if flag
16448 (check_complex): Pass through IGNORE_RESULT to second
16449 check_float_internal call.
16450 (check_int): Do not check numerical result if flag IGNORE_RESULT
16452 (check_long): Likewise.
16453 (check_bool): Likewise.
16454 (check_longlong): Likewise.
16455 (lrint_test_data): Add tests of infinite and NaN arguments.
16456 (lrint_tonearest_test_data): Likewise.
16457 (lrint_towardzero_test_data): Likewise.
16458 (lrint_downward_test_data): Likewise.
16459 (lrint_upward_test_data): Likewise.
16460 (llrint_test_data): Likewise.
16461 (llrint_tonearest_test_data): Likewise.
16462 (llrint_towardzero_test_data): Likewise.
16463 (llrint_downward_test_data): Likewise.
16464 (llrint_upward_test_data): Likewise.
16465 (lround_test_data): Likewise.
16466 (llround_test_data): Likewise.
16468 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16469 (ERRNO_UNCHANGED): Update value.
16470 (ERRNO_EDOM): Likewise.
16471 (ERRNO_ERANGE): Likewise.
16472 (NO_TEST_INLINE_FLOAT): New macro.
16473 (NO_TEST_INLINE_DOUBLE): Likewise.
16474 (enable_test): New function.
16475 (RUN_TEST_f_f): Check enable_test before running test.
16476 (RUN_TEST_2_f): Likewise.
16477 (RUN_TEST_fff_f): Likewise.
16478 (RUN_TEST_c_f): Likewise.
16479 (RUN_TEST_f_f1): Likewise.
16480 (RUN_TEST_fF_f1): Likewise.
16481 (RUN_TEST_fI_f1): Likewise.
16482 (RUN_TEST_ffI_f1): Likewise.
16483 (RUN_TEST_c_c): Likewise.
16484 (RUN_TEST_cc_c): Likewise.
16485 (RUN_TEST_f_i): Likewise.
16486 (RUN_TEST_f_i_tg): Likewise.
16487 (RUN_TEST_ff_i_tg): Likewise.
16488 (RUN_TEST_f_b): Likewise.
16489 (RUN_TEST_f_b_tg): Likewise.
16490 (RUN_TEST_f_l): Likewise.
16491 (RUN_TEST_f_L): Likewise.
16492 (RUN_TEST_fFF_11): Likewise.
16493 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16495 (cosh_test_data): Likewise.
16496 (exp_test_data): Likewise.
16497 (expm1_test_data): Likewise.
16498 (hypot_test_data): Likewise.
16499 (pow_test_data): Likewise.
16500 (sinh_test_data): Likewise.
16501 (tanh_test_data): Likewise.
16502 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16505 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16506 tests with quiet NaN input and output.
16507 (acosh_test_data): Likewise.
16508 (asin_test_data): Likewise.
16509 (asinh_test_data): Likewise.
16510 (atan_test_data): Likewise.
16511 (atanh_test_data): Likewise.
16512 (atan2_test_data): Likewise.
16513 (cbrt_test_data): Likewise.
16514 (cos_test_data): Likewise.
16515 (cosh_test_data): Likewise.
16516 (erf_test_data): Likewise.
16517 (erfc_test_data): Likewise.
16518 (exp_test_data): Likewise.
16519 (exp10_test_data): Likewise.
16520 (exp2_test_data): Likewise.
16521 (expm1_test_data): Likewise.
16522 (hypot_test_data): Likewise.
16523 (j0_test_data): Likewise.
16524 (j1_test_data): Likewise.
16525 (jn_test_data): Likewise.
16526 (lgamma_test_data): Likewise.
16527 (log_test_data): Likewise.
16528 (log10_test_data): Likewise.
16529 (log1p_test_data): Likewise.
16530 (log2_test_data): Likewise.
16531 (pow_test_data): Likewise.
16532 (scalb_test_data): Likewise.
16533 (sin_test_data): Likewise.
16534 (sincos_test_data): Likewise.
16535 (sinh_test_data): Likewise.
16536 (tan_test_data): Likewise.
16537 (tanh_test_data): Likewise.
16538 (tgamma_test_data): Likewise.
16539 (y0_test_data): Likewise.
16540 (y1_test_data): Likewise.
16541 (yn_test_data): Likewise.
16544 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16545 argument being NaN and avoid computations with second argument in
16547 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16548 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16549 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16551 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16553 * locale/iso-639.def: Add Chitwani Tharu (the).
16555 2013-11-14 Andreas Schwab <schwab@suse.de>
16557 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16558 word instead of empty string.
16560 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16563 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16565 (__fe_nomask_env): Likewise.
16567 2013-11-13 Steve Ellcey <sellcey@mips.com>
16569 * benchtests/bench-timing.h: Include time.h.
16571 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16574 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16576 * sysdeps/unix/sysv/linux/configure: Regenerated.
16578 2013-11-13 Joseph Myers <joseph@codesourcery.com>
16581 * stdlib/strtod_l.c (round_and_return): Do not consider
16582 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16583 exponent one less than half the least subnormal exponent.
16584 * stdlib/test-strtod-round-data: Add more tests.
16585 * stdlib/tst-strtod-round.c (tests): Regenerated.
16587 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16590 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16591 (__fe_mask_env): Likewise.
16592 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16593 libm_hidden_proto and add function prototype.
16594 (__fe_mask_env): Add function prototype.
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16596 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16598 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16600 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16602 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16604 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16605 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16607 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16609 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16610 of htab_find_slot().
16612 2013-11-11 David S. Miller <davem@davemloft.net>
16615 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16616 symbol in the non-vis3 case in static builds.
16617 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16618 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16619 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16620 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16622 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16625 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16628 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16630 * benchtests/Makefile: Add bench-strtod.
16631 * benchtests/bench-strtod.c: New file: strtod benchtest
16633 2013-11-11 Andreas Schwab <schwab@suse.de>
16636 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16637 terminating NUL in key length.
16639 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16641 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16642 Add artificial ODP entry for vDSO symbol for PPC64.
16643 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16644 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16646 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16649 * nss/getent.c (services_keys): Recognize services starting with digit.
16651 2013-11-06 David S. Miller <davem@davemloft.net>
16654 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16655 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16657 2013-11-06 Will Newton <will.newton@linaro.org>
16659 * manual/memory.texi (Malloc Examples): Remove register
16660 keyword from examples.
16662 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
16664 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16666 2013-11-04 Joseph Myers <joseph@codesourcery.com>
16669 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16670 depending on [__GCC_IEC_559 > 0].
16671 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16672 depending on [__GCC_IEC_559_COMPLEX > 0].
16674 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
16676 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16679 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
16681 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16683 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
16686 * malloc/malloc (malloc_info): Do not handle first bin as
16689 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
16691 * locale/iso-639.def: Add Central Nahuatl (nhn).
16693 2013-11-01 Bruno Haible <bruno@clisp.org>
16696 * manual/math.texi (BSD Random): Specify range upper bound as
16699 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
16701 * locale/iso-639.def: Add Meadow Mari (mhr).
16703 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
16705 [BZ #14752], [BZ #15763]
16706 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16708 * rt/tst_shm.c: Add test for escaping directory.
16710 2013-10-31 Andreas Schwab <schwab@suse.de>
16713 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16714 followed by 'x' as part of digit sequence.
16715 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16717 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16720 * configure.ac: allow GNU Make 4.0 and greater.
16721 * configure: Regenerated.
16723 2013-10-30 Will Newton <will.newton@linaro.org>
16726 * malloc/hooks.c (memalign_check): Limit alignment to the
16727 maximum representable power of two.
16728 * malloc/malloc.c (__libc_memalign): Likewise.
16729 * malloc/tst-memalign.c (do_test): Add test for very
16730 large alignment values.
16731 * malloc/tst-posix_memalign.c (do_test): Likewise.
16733 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
16736 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16737 (munmap_chunk): Likewise.
16738 (mremap_chunk): Likewise.
16740 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
16743 * stdlib/div.c (div): Remove obsolete code.
16744 * stdlib/ldiv.c (ldiv): Likewise.
16745 * stdlib/lldiv.c (lldiv): Likewise.
16747 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16750 * nss/nss_files/files-XXX.c (get_contents_ret): New
16752 (get_contents): New function.
16753 (internal_getent): Use it. Expand size of LINEBUFLEN.
16755 2013-10-30 Mike Frysinger <vapier@gentoo.org>
16757 * configure.in: Moved to ...
16758 * configure.ac: ... here. Change reference to configure.in
16760 * sysdeps/arm/preconfigure.ac: ... here.
16761 configure.in to configure.ac.
16762 * sysdeps/gnu/configure.in: Moved to ...
16763 * sysdeps/gnu/configure.ac: ... here.
16764 * sysdeps/i386/configure.in: Moved to ...
16765 * sysdeps/i386/configure.ac: ... here.
16766 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16767 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16768 * sysdeps/mach/configure.in: Moved to ...
16769 * sysdeps/mach/configure.ac: ... here.
16770 * sysdeps/mach/hurd/configure.in: Moved to ...
16771 * sysdeps/mach/hurd/configure.ac: ... here.
16772 * sysdeps/powerpc/configure.in: Moved to ...
16773 * sysdeps/powerpc/configure.ac: ... here.
16774 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16775 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16776 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16777 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16778 * sysdeps/s390/s390-32/configure.in: Moved to ...
16779 * sysdeps/s390/s390-32/configure.ac: ... here.
16780 * sysdeps/s390/s390-64/configure.in: Moved to ...
16781 * sysdeps/s390/s390-64/configure.ac: ... here.
16782 * sysdeps/sh/configure.in: Moved to ...
16783 * sysdeps/sh/configure.ac: ... here.
16784 * sysdeps/sparc/configure.in: Moved to ...
16785 * sysdeps/sparc/configure.ac: ... here.
16786 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16787 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16788 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16789 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16790 * sysdeps/x86_64/configure.in: Moved to ...
16791 * sysdeps/x86_64/configure.ac: ... here.
16792 * sysdeps/x86_64/preconfigure.in: Moved to ...
16793 * sysdeps/x86_64/preconfigure.ac: ... here.
16794 * aclocal.m4: Change reference to configure.in to configure.ac.
16795 * config.h.in: Likewise.
16796 * manual/install.texi: Likewise.
16797 * manual/maint.texi: Likewise.
16798 * Makefile: Likewise.
16799 * malloc/Makefile: Likewise.
16800 * nscd/Makefile: Likewise.
16801 * Makeconfig: Change reference to configure.in and
16802 preconfigure.in to configure.ac and preconfigure.ac
16804 * INSTALL: Regenerated.
16805 * configure: Likewise.
16806 * sysdeps/gnu/configure: Likewise.
16807 * sysdeps/i386/configure: Likewise.
16808 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16809 * sysdeps/mach/configure: Likewise.
16810 * sysdeps/mach/hurd/configure: Likewise.
16811 * sysdeps/powerpc/configure: Likewise.
16812 * sysdeps/powerpc/powerpc32/configure: Likewise.
16813 * sysdeps/powerpc/powerpc64/configure: Likewise.
16814 * sysdeps/s390/s390-32/configure: Likewise.
16815 * sysdeps/s390/s390-64/configure: Likewise.
16816 * sysdeps/sh/configure: Likewise.
16817 * sysdeps/sparc/configure: Likewise.
16818 * sysdeps/unix/sysv/linux/configure: Likewise.
16819 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16820 * sysdeps/x86_64/configure: Likewise.
16821 * sysdeps/x86_64/preconfigure: Likewise.
16823 2013-10-29 Andreas Schwab <schwab@suse.de>
16825 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16827 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16829 * benchtests/pow-inputs: Add new inputs.
16831 * benchtests/exp-inputs: Add new inputs.
16833 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16834 conditional check for return value.
16835 (__cos32): Likewise.
16837 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16839 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16840 to provide a boost for large inputs with word alignment.
16841 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16842 implementation based on optimized PPC64 strcpy.
16843 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16844 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16845 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16846 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16848 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16851 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16853 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16856 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16857 * time/tst-strptime.c (day_tests): Add testcase.
16859 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16862 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16864 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16867 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16868 MAP_FAILED on error.
16870 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16873 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16874 heap for large requests.
16876 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16879 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16880 result if the result has no associated interface.
16881 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16882 interface for all 127.X.Y.Z addresses.
16884 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
16886 * locale/iso-639.def: Add Ligurian (lij)
16888 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
16891 * sunrpc/rpc_main.c: Document rpcgen -5.
16893 2013-10-19 Michael Stahl <mstahl@redhat.com>
16895 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16897 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16900 * posix/glob.c: Match only directories when trailing slash is present.
16901 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16902 (main): Add testcase.
16904 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16907 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16909 2013-10-18 Carlos O'Donell <carlos@redhat.com>
16911 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16912 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16913 AUTH_DES and cindex for FIPS 140-2.
16914 (DES Encryption): Add cindex FIPS 46-3.
16916 * locale/locarchive.h (struct locarhandle): Add fname.
16917 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16918 if an optional argument was specified to --list-archive,
16920 * locale/programs/locarchive.c (show_archive_content): Take new
16921 argument fname and pass it via ah.fname to open_archive.
16922 * locale/programs/localedef.h: Update decl.
16923 (open_archive): If AH->fname is non-null, open that file
16924 rather than the default file name, and don't ignore ENOENT.
16925 (create_archive): Set AH.fname to NULL.
16926 (delete_locales_from_archive): Likewise.
16927 (add_locales_to_archive): Likewise.
16928 * locale/programs/locfile.c (write_all_categories): Likewise.
16930 2013-10-18 Joseph Myers <joseph@codesourcery.com>
16931 Aldy Hernandez <aldyh@redhat.com>
16933 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16934 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16935 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16936 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16937 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16938 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16939 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16940 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16941 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16942 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16943 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16944 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16945 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16946 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16947 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16949 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16951 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16953 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16955 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16956 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16958 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16959 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16960 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16961 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16963 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16964 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16965 * sysdeps/powerpc/preconfigure: Likewise.
16966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16968 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16969 Replace contents of file by #include of <fenv_libc.h>.
16970 * sysdeps/powerpc/soft-fp/sfp-machine.h
16971 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16973 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16977 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16983 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16984 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16986 Allow copysignl PLT reference to be missing.
16988 2013-10-18 Richard Sandiford <richard@codesourcery.com>
16989 Joseph Myers <joseph@codesourcery.com
16992 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16994 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16996 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16998 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16999 * elf/tst-tls1.c: Likewise.
17000 * elf/tst-tls10.h: Likewise.
17001 * elf/tst-tls14.c: Likewise.
17002 * elf/tst-tls2.c: Likewise.
17003 * elf/tst-tls3.c: Likewise.
17004 * elf/tst-tls4.c: Likewise.
17005 * elf/tst-tls5.c: Likewise.
17006 * elf/tst-tls6.c: Likewise.
17007 * elf/tst-tls7.c: Likewise.
17008 * elf/tst-tls8.c: Likewise.
17009 * elf/tst-tls9.c: Likewise.
17010 * elf/tst-tlsmod1.c: Likewise.
17011 * elf/tst-tlsmod13.c: Likewise.
17012 * elf/tst-tlsmod13a.c: Likewise.
17013 * elf/tst-tlsmod14a.c: Likewise.
17014 * elf/tst-tlsmod16a.c: Likewise.
17015 * elf/tst-tlsmod16b.c: Likewise.
17016 * elf/tst-tlsmod2.c: Likewise.
17017 * elf/tst-tlsmod3.c: Likewise.
17018 * elf/tst-tlsmod4.c: Likewise.
17019 * elf/tst-tlsmod5.c: Likewise.
17020 * elf/tst-tlsmod6.c: Likewise.
17022 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17025 * malloc/malloc.c: remove checks for statistics.
17027 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17030 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17031 * inet/tst-network.c: Add testcase.
17033 2013-10-17 Andreas Schwab <schwab@suse.de>
17036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17037 to determine canonical name.
17039 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17041 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17042 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17044 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17046 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17047 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17048 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17049 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17050 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17051 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17056 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17065 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17066 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17071 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17088 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17089 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17090 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17091 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17092 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17093 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17094 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17096 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17097 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17098 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17100 2013-10-17 Joseph Myers <joseph@codesourcery.com>
17103 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17104 make result into a quiet NaN.
17106 2013-10-16 Joseph Myers <joseph@codesourcery.com>
17108 * soft-fp/adddf3.c: Fix horizontal whitespace.
17109 * soft-fp/addsf3.c: Likewise.
17110 * soft-fp/addtf3.c: Likewise.
17111 * soft-fp/divdf3.c: Likewise.
17112 * soft-fp/divsf3.c: Likewise.
17113 * soft-fp/divtf3.c: Likewise.
17114 * soft-fp/double.h: Likewise.
17115 * soft-fp/eqdf2.c: Likewise.
17116 * soft-fp/eqsf2.c: Likewise.
17117 * soft-fp/eqtf2.c: Likewise.
17118 * soft-fp/extenddftf2.c: Likewise.
17119 * soft-fp/extended.h: Likewise.
17120 * soft-fp/extendsfdf2.c: Likewise.
17121 * soft-fp/extendsftf2.c: Likewise.
17122 * soft-fp/extendxftf2.c: Likewise.
17123 * soft-fp/fixdfdi.c: Likewise.
17124 * soft-fp/fixdfsi.c: Likewise.
17125 * soft-fp/fixdfti.c: Likewise.
17126 * soft-fp/fixsfdi.c: Likewise.
17127 * soft-fp/fixsfsi.c: Likewise.
17128 * soft-fp/fixsfti.c: Likewise.
17129 * soft-fp/fixtfdi.c: Likewise.
17130 * soft-fp/fixtfsi.c: Likewise.
17131 * soft-fp/fixtfti.c: Likewise.
17132 * soft-fp/fixunsdfdi.c: Likewise.
17133 * soft-fp/fixunsdfsi.c: Likewise.
17134 * soft-fp/fixunsdfti.c: Likewise.
17135 * soft-fp/fixunssfdi.c: Likewise.
17136 * soft-fp/fixunssfsi.c: Likewise.
17137 * soft-fp/fixunssfti.c: Likewise.
17138 * soft-fp/fixunstfdi.c: Likewise.
17139 * soft-fp/fixunstfsi.c: Likewise.
17140 * soft-fp/fixunstfti.c: Likewise.
17141 * soft-fp/floatdidf.c: Likewise.
17142 * soft-fp/floatdisf.c: Likewise.
17143 * soft-fp/floatditf.c: Likewise.
17144 * soft-fp/floatsidf.c: Likewise.
17145 * soft-fp/floatsisf.c: Likewise.
17146 * soft-fp/floatsitf.c: Likewise.
17147 * soft-fp/floattidf.c: Likewise.
17148 * soft-fp/floattisf.c: Likewise.
17149 * soft-fp/floattitf.c: Likewise.
17150 * soft-fp/floatundidf.c: Likewise.
17151 * soft-fp/floatundisf.c: Likewise.
17152 * soft-fp/floatunditf.c: Likewise.
17153 * soft-fp/floatunsidf.c: Likewise.
17154 * soft-fp/floatunsisf.c: Likewise.
17155 * soft-fp/floatunsitf.c: Likewise.
17156 * soft-fp/floatuntidf.c: Likewise.
17157 * soft-fp/floatuntisf.c: Likewise.
17158 * soft-fp/floatuntitf.c: Likewise.
17159 * soft-fp/fmadf4.c: Likewise.
17160 * soft-fp/fmasf4.c: Likewise.
17161 * soft-fp/fmatf4.c: Likewise.
17162 * soft-fp/gedf2.c: Likewise.
17163 * soft-fp/gesf2.c: Likewise.
17164 * soft-fp/getf2.c: Likewise.
17165 * soft-fp/ledf2.c: Likewise.
17166 * soft-fp/lesf2.c: Likewise.
17167 * soft-fp/letf2.c: Likewise.
17168 * soft-fp/muldf3.c: Likewise.
17169 * soft-fp/mulsf3.c: Likewise.
17170 * soft-fp/multf3.c: Likewise.
17171 * soft-fp/negdf2.c: Likewise.
17172 * soft-fp/negsf2.c: Likewise.
17173 * soft-fp/negtf2.c: Likewise.
17174 * soft-fp/op-1.h: Likewise.
17175 * soft-fp/op-2.h: Likewise.
17176 * soft-fp/op-4.h: Likewise.
17177 * soft-fp/op-8.h: Likewise.
17178 * soft-fp/op-common.h: Likewise.
17179 * soft-fp/quad.h: Likewise.
17180 * soft-fp/single.h: Likewise.
17181 * soft-fp/soft-fp.h: Likewise.
17182 * soft-fp/sqrtdf2.c: Likewise.
17183 * soft-fp/sqrtsf2.c: Likewise.
17184 * soft-fp/sqrttf2.c: Likewise.
17185 * soft-fp/subdf3.c: Likewise.
17186 * soft-fp/subsf3.c: Likewise.
17187 * soft-fp/subtf3.c: Likewise.
17188 * soft-fp/truncdfsf2.c: Likewise.
17189 * soft-fp/trunctfdf2.c: Likewise.
17190 * soft-fp/trunctfsf2.c: Likewise.
17191 * soft-fp/trunctfxf2.c: Likewise.
17192 * soft-fp/unorddf2.c: Likewise.
17193 * soft-fp/unordsf2.c: Likewise.
17194 * soft-fp/unordtf2.c: Likewise.
17196 2013-10-15 Joseph Myers <joseph@codesourcery.com>
17198 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17199 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17201 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
17203 * elf/dl-libc.c: Clear initfini list after freeing.
17205 2013-10-14 Joseph Myers <joseph@codesourcery.com>
17207 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17208 * soft-fp/addsf3.c: Likewise.
17209 * soft-fp/addtf3.c: Likewise.
17210 * soft-fp/divdf3.c: Likewise.
17211 * soft-fp/divsf3.c: Likewise.
17212 * soft-fp/divtf3.c: Likewise.
17213 * soft-fp/double.h: Likewise.
17214 * soft-fp/eqdf2.c: Likewise.
17215 * soft-fp/eqsf2.c: Likewise.
17216 * soft-fp/eqtf2.c: Likewise.
17217 * soft-fp/extenddftf2.c: Likewise.
17218 * soft-fp/extended.h: Likewise.
17219 * soft-fp/extendsfdf2.c: Likewise.
17220 * soft-fp/extendsftf2.c: Likewise.
17221 * soft-fp/extendxftf2.c: Likewise.
17222 * soft-fp/fixdfdi.c: Likewise.
17223 * soft-fp/fixdfsi.c: Likewise.
17224 * soft-fp/fixdfti.c: Likewise.
17225 * soft-fp/fixsfdi.c: Likewise.
17226 * soft-fp/fixsfsi.c: Likewise.
17227 * soft-fp/fixsfti.c: Likewise.
17228 * soft-fp/fixtfdi.c: Likewise.
17229 * soft-fp/fixtfsi.c: Likewise.
17230 * soft-fp/fixtfti.c: Likewise.
17231 * soft-fp/fixunsdfdi.c: Likewise.
17232 * soft-fp/fixunsdfsi.c: Likewise.
17233 * soft-fp/fixunsdfti.c: Likewise.
17234 * soft-fp/fixunssfdi.c: Likewise.
17235 * soft-fp/fixunssfsi.c: Likewise.
17236 * soft-fp/fixunssfti.c: Likewise.
17237 * soft-fp/fixunstfdi.c: Likewise.
17238 * soft-fp/fixunstfsi.c: Likewise.
17239 * soft-fp/fixunstfti.c: Likewise.
17240 * soft-fp/floatdidf.c: Likewise.
17241 * soft-fp/floatdisf.c: Likewise.
17242 * soft-fp/floatditf.c: Likewise.
17243 * soft-fp/floatsidf.c: Likewise.
17244 * soft-fp/floatsisf.c: Likewise.
17245 * soft-fp/floatsitf.c: Likewise.
17246 * soft-fp/floattidf.c: Likewise.
17247 * soft-fp/floattisf.c: Likewise.
17248 * soft-fp/floattitf.c: Likewise.
17249 * soft-fp/floatundidf.c: Likewise.
17250 * soft-fp/floatundisf.c: Likewise.
17251 * soft-fp/floatunsidf.c: Likewise.
17252 * soft-fp/floatunsisf.c: Likewise.
17253 * soft-fp/floatuntidf.c: Likewise.
17254 * soft-fp/floatuntisf.c: Likewise.
17255 * soft-fp/floatuntitf.c: Likewise.
17256 * soft-fp/fmadf4.c: Likewise.
17257 * soft-fp/fmasf4.c: Likewise.
17258 * soft-fp/fmatf4.c: Likewise.
17259 * soft-fp/gedf2.c: Likewise.
17260 * soft-fp/gesf2.c: Likewise.
17261 * soft-fp/getf2.c: Likewise.
17262 * soft-fp/ledf2.c: Likewise.
17263 * soft-fp/lesf2.c: Likewise.
17264 * soft-fp/letf2.c: Likewise.
17265 * soft-fp/muldf3.c: Likewise.
17266 * soft-fp/mulsf3.c: Likewise.
17267 * soft-fp/multf3.c: Likewise.
17268 * soft-fp/negdf2.c: Likewise.
17269 * soft-fp/negsf2.c: Likewise.
17270 * soft-fp/negtf2.c: Likewise.
17271 * soft-fp/op-1.h: Likewise.
17272 * soft-fp/op-2.h: Likewise.
17273 * soft-fp/op-4.h: Likewise.
17274 * soft-fp/op-8.h: Likewise.
17275 * soft-fp/op-common.h: Likewise.
17276 * soft-fp/quad.h: Likewise.
17277 * soft-fp/single.h: Likewise.
17278 * soft-fp/soft-fp.h: Likewise.
17279 * soft-fp/sqrtdf2.c: Likewise.
17280 * soft-fp/sqrtsf2.c: Likewise.
17281 * soft-fp/sqrttf2.c: Likewise.
17282 * soft-fp/subdf3.c: Likewise.
17283 * soft-fp/subsf3.c: Likewise.
17284 * soft-fp/subtf3.c: Likewise.
17285 * soft-fp/truncdfsf2.c: Likewise.
17286 * soft-fp/trunctfdf2.c: Likewise.
17287 * soft-fp/trunctfsf2.c: Likewise.
17288 * soft-fp/trunctfxf2.c: Likewise.
17289 * soft-fp/unorddf2.c: Likewise.
17290 * soft-fp/unordsf2.c: Likewise.
17291 * soft-fp/unordtf2.c: Likewise.
17293 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
17296 * misc/error.c (error_tail): Fix possible buffer overflow.
17298 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17301 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17304 2013-10-14 P. J. McDermott <pj@pehjota.net>
17307 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17308 testing pipefail option.
17310 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17312 * soft-fp/double.h: Indent preprocessor directives inside #if.
17313 * soft-fp/extended.h: Likewise.
17314 * soft-fp/op-2.h: Likewise.
17315 * soft-fp/op-4.h: Likewise.
17316 * soft-fp/op-common.h: Likewise.
17317 * soft-fp/quad.h: Likewise.
17318 * soft-fp/single.h: Likewise.
17319 * soft-fp/soft-fp.h: Likewise.
17321 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17323 * iconv/iconv_prog.c: Fix typos.
17324 * stdio-common/psiginfo-data.h: Likewise.
17326 2013-10-12 Reuben Thomas <rrt@sc3d.org>
17329 * locale/setlocale.c: Fix typo.
17331 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17334 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17335 signaling NaN arguments.
17336 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17337 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17340 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17341 unordered operands.
17342 * soft-fp/gesf2.c (__gesf2): Likewise.
17343 * soft-fp/getf2.c (__getf2): Likewise.
17344 * soft-fp/ledf2.c (__ledf2): Likewise.
17345 * soft-fp/lesf2.c (__lesf2): Likewise.
17346 * soft-fp/letf2.c (__letf2): Likewise.
17348 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17349 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17350 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17351 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17352 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17353 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17354 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17355 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17356 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17357 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17358 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17359 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17360 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17361 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17362 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17363 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17364 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17365 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17366 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17367 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17368 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17369 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17370 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17371 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17372 * soft-fp/floattidf.c (__floattidf): Likewise.
17373 * soft-fp/floattisf.c (__floattisf): Likewise.
17374 * soft-fp/floattitf.c (__floattitf): Likewise.
17375 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17376 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17377 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17378 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17379 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17380 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17381 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17382 * soft-fp/gesf2.c (__gesf2): Likewise.
17383 * soft-fp/getf2.c (__getf2): Likewise.
17384 * soft-fp/ledf2.c (__ledf2): Likewise.
17385 * soft-fp/lesf2.c (__lesf2): Likewise.
17386 * soft-fp/letf2.c (__letf2): Likewise.
17388 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17389 Undefine and redefine.
17390 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17391 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17392 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17393 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17394 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17395 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17396 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17397 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17398 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17399 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17400 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17401 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17402 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17403 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17404 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17407 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17408 without decrementing exponent if mantissa >= that for the
17409 denominator, not >.
17410 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17411 denominator, not >. Decrement exponent in < case instead of
17412 incrementing in >= case.
17413 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17414 without decrementing exponent if mantissa >= that for the
17415 denominator, not >.
17417 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17418 computing saturated result for unsigned overflow.
17420 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17421 Jeff Law <law@redhat.com>
17423 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17424 (atan2Mp): Add systemtap probe marker.
17425 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17426 (__ieee754_log): Add systemtap probe marker.
17427 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17428 (atanMp): Add systemtap probe marker.
17429 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17430 (tanMp): Add systemtap probe marker.
17431 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17432 (__slowexp): Add systemtap probe marker.
17433 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17434 (__slowpow): Add systemtap probe marker.
17435 * manual/probes.texi: Document probes.
17437 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
17440 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17442 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17444 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17445 written to buffer but not flushed.
17446 * libio/iofwrite_u.c: Likewise.
17447 * libio/iopadn.c: Return bytes returned even if EOF was
17449 * libio/iowpadn.c: Likewise.
17450 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17451 if _IO_padn does not write the whole buffer.
17452 [!COMPILE_WPRINTF] (PAD): Likewise.
17454 2013-10-10 David S. Miller <davem@davemloft.net>
17456 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17459 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17461 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17462 instead of FSF address.
17463 * soft-fp/fixdfti.c: Likewise.
17464 * soft-fp/fixsfti.c: Likewise.
17465 * soft-fp/fixtfti.c: Likewise.
17466 * soft-fp/fixunsdfti.c: Likewise.
17467 * soft-fp/fixunssfti.c: Likewise.
17468 * soft-fp/fixunstfti.c: Likewise.
17469 * soft-fp/floattidf.c: Likewise.
17470 * soft-fp/floattisf.c: Likewise.
17471 * soft-fp/floattitf.c: Likewise.
17472 * soft-fp/floatuntidf.c: Likewise.
17473 * soft-fp/floatuntisf.c: Likewise.
17474 * soft-fp/floatuntitf.c: Likewise.
17475 * soft-fp/trunctfxf2.c: Likewise.
17477 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17478 * soft-fp/fixdfti.c: Likewise.
17479 * soft-fp/fixsfti.c: Likewise.
17480 * soft-fp/fixtfti.c: Likewise.
17481 * soft-fp/fixunsdfti.c: Likewise.
17482 * soft-fp/fixunssfti.c: Likewise.
17483 * soft-fp/fixunstfti.c: Likewise.
17484 * soft-fp/floattidf.c: Likewise.
17485 * soft-fp/floattisf.c: Likewise.
17486 * soft-fp/floattitf.c: Likewise.
17487 * soft-fp/floatuntidf.c: Likewise.
17488 * soft-fp/floatuntisf.c: Likewise.
17489 * soft-fp/floatuntitf.c: Likewise.
17490 * soft-fp/trunctfxf2.c: Likewise.
17492 2013-10-10 David S. Miller <davem@davemloft.net>
17494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17496 2013-10-10 Joseph Myers <joseph@codsourcery.com>
17498 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17499 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17500 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17501 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17502 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17503 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17504 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17507 for NaNs before doing comparisons on argument.
17508 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17511 2013-10-10 Will Newton <will.newton@linaro.org>
17513 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17514 passed to _int_memalign does not overflow.
17516 2013-10-10 Torvald Riegel <triegel@redhat.com>
17518 * scripts/bench.pl: Add include-sources directive.
17519 * benchtests/README: Update documentation.
17521 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17523 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17524 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17525 instead of FP_INIT_ROUNDMODE.
17526 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17527 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17530 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17531 copy class of input value.
17532 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17533 not handle exceptions.
17534 * soft-fp/negsf2.c (__negsf2): Likewise.
17535 * soft-fp/negtf2.c (__negtf2): Likewise.
17536 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17538 2013-10-09 Joseph Myers <joseph@codesourcery.com>
17540 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17541 semicolon. From Linux kernel.
17543 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17545 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17547 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17550 * manual/socket.texi: Added statement about buffer
17551 for gethostbyname2_r.
17553 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
17555 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17556 Use .p2align directive instead, throughout.
17557 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17558 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17559 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17560 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17561 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17562 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17563 * sysdeps/x86_64/strchr.S: Likewise.
17564 * sysdeps/x86_64/strrchr.S: Likewise.
17566 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17568 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17570 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17572 * sysdeps/generic/math_private.h (__mpsin1): Remove
17574 (__mpcos1): Likewise.
17575 (__mpsin): New argument __range_reduce.
17576 (__mpcos): Likewise.
17577 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17578 (slow): Use __mpsin and __mpcos.
17582 (sloww1): Likewise.
17583 (sloww2): Likewise.
17584 (bsloww): Likewise.
17585 (bsloww1): Likewise.
17586 (bsloww2): Likewise.
17587 (cslow2): Likewise.
17588 (csloww): Likewise.
17589 (csloww1): Likewise.
17590 (csloww2): Likewise.
17591 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17592 range_reduce. Merge in __mpsin1.
17593 (__mpcos): Likewise.
17594 (__mpsin1): Remove.
17595 (__mpcos1): Likewise.
17597 2013-10-07 Joseph Myers <joseph@codesourcery.com>
17599 * locale/loadlocale.c (_nl_intern_locale_data): Use
17601 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17602 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17603 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17604 obstack data is appropriately aligned.
17605 (obstack_int32_grow_fast): Likewise.
17606 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17607 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17608 (add_locale_uint32_array): Likewise.
17610 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17612 * benchtests/Makefile: Remove ARGLIST and RET variables.
17613 ($(objpfx)bench-%.c): Pass only function name to the script.
17614 * benchtests/README: Update documentation.
17615 * benchtests/acos-inputs: Add new directives.
17616 * benchtests/acosh-inputs: Likewise.
17617 * benchtests/asin-inputs: Likewise.
17618 * benchtests/asinh-inputs: Likewise.
17619 * benchtests/atan-inputs: Likewise.
17620 * benchtests/atanh-inputs: Likewise.
17621 * benchtests/cos-inputs: Likewise.
17622 * benchtests/cosh-inputs: Likewise.
17623 * benchtests/exp-inputs: Likewise.
17624 * benchtests/log-inputs: Likewise.
17625 * benchtests/pow-inputs: Likewise.
17626 * benchtests/rint-inputs: Likewise.
17627 * benchtests/sin-inputs: Likewise.
17628 * benchtests/sinh-inputs: Likewise.
17629 * benchtests/tan-inputs: Likewise.
17630 * benchtests/tanh-inputs: Likewise.
17631 * scripts/bench.pl: Add support for new directives.
17633 2013-10-07 Alan Modra <amodra@gmail.com>
17635 * README: Fix careless merge.
17637 2013-10-05 Alan Modra <amodra@gmail.com>
17639 * NEWS: Mention powerpc64le support and bugs fixed.
17640 * README: Both big-endian and little-endian powerpc64 supported.
17642 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17644 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17645 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17646 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17647 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17649 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17651 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17654 2013-10-04 Joseph Myers <joseph@codesourcery.com>
17656 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17657 Move -mhard-float appending from
17658 ports/sysdeps/powerpc/powerpc32/Makefile.
17659 [$(with-fp) = yes] (ASFLAGS): Likewise.
17660 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17661 * sysdeps/powerpc/nofpu: Move directory from
17662 ports/sysdeps/powerpc/nofpu.
17663 * sysdeps/powerpc/soft-fp: Move directory from
17664 ports/sysdeps/powerpc/soft-fp.
17665 * sysdeps/powerpc/powerpc32/405: Move directory from
17666 ports/sysdeps/powerpc/powerpc32/405.
17667 * sysdeps/powerpc/powerpc32/440: Move directory from
17668 ports/sysdeps/powerpc/powerpc32/440.
17669 * sysdeps/powerpc/powerpc32/464: Move directory from
17670 ports/sysdeps/powerpc/powerpc32/464.
17671 * sysdeps/powerpc/powerpc32/476: Move directory from
17672 ports/sysdeps/powerpc/powerpc32/476.
17673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17674 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17676 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17678 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17680 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17682 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17683 * README: Update for powerpc-*-linux-gnu software floating point
17686 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17687 case to powerpc/powerpc32*.
17688 * sysdeps/unix/sysv/linux/configure: Regenerated.
17690 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17691 (_FPU_MASK_OM): Define as 0x04.
17692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17700 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17703 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17706 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17707 and setcontext_e500.
17709 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17711 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17713 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17715 * manual/threads.texi (Default Thread Attributes): Fix typo.
17717 2013-10-04 Will Newton <will.newton@linaro.org>
17719 * malloc/Makefile: Add tst-memalign.
17720 * malloc/tst-memalign.c: New file.
17722 * malloc/tst-posix_memalign.c: Add comments.
17723 (do_test): Add comments and call free on all potentially
17724 allocated pointers. Add space after cast.
17726 * malloc/tst-pvalloc.c: Add comments.
17727 (do_test): Add comments and call free on all potentially
17728 allocated pointers. Remove duplicate check for NULL pointer.
17729 Add space after cast.
17731 * malloc/tst-valloc.c: Add comments.
17732 (do_test): Add comments and call free on all potentially
17733 allocated pointers. Remove duplicate check for NULL pointer.
17734 Add space after cast.
17736 2013-10-04 Alan Modra <amodra@gmail.com>
17738 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17739 Use stdint types in rather than __attribute__((mode())).
17740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17742 2013-10-04 Alan Modra <amodra@gmail.com>
17744 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17745 Correct handling of unaligned relocs for little-endian.
17746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17748 2013-10-04 Alan Modra <amodra@gmail.com>
17750 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17751 * configure: Regenerate.
17752 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17753 * shlib-versions: Likewise.
17755 2013-10-04 Alan Modra <amodra@gmail.com>
17757 * string/tester.c (test_memrchr): Increment reported test cycle.
17759 2013-10-04 Alan Modra <amodra@gmail.com>
17761 * string/test-memcpy.c (do_one_test): When reporting errors, print
17762 string address and don't overrun end of string.
17764 2013-10-04 Alan Modra <amodra@gmail.com>
17766 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17767 insrdi. Make better use of reg selection to speed exit slightly.
17768 Schedule entry path a little better. Remove useless "are we done"
17769 checks on entry to main loop. Handle wrapping around zero address.
17770 Correct main loop count. Handle single left-over word from main
17771 loop inline rather than by using loop_small. Remove extra word
17772 case in loop_small caused by wrong loop count. Add little-endian
17774 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17775 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17777 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17778 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17779 support. Avoid rlwimi.
17780 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17782 2013-10-04 Alan Modra <amodra@gmail.com>
17784 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
17785 insrdi. Formatting.
17786 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17787 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17788 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17789 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17790 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17791 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17793 2013-10-04 Alan Modra <amodra@gmail.com>
17795 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17796 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17797 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17798 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17799 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17800 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17801 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17802 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17803 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17804 use of regs. Use power7 mtocrf. Tidy function tails.
17806 2013-10-04 Alan Modra <amodra@gmail.com>
17808 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17809 Formatting. Consistently use rXXX register defines or rN defines.
17810 Use early exit labels that avoid restoring unused non-volatile regs.
17811 Make cr field use more consistent with rWORDn compares. Rename
17812 regs used as shift registers for unaligned loop, using rN defines
17813 for short lifetime/multiple use regs.
17814 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17815 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17816 addi 1,1,64 to pop stack frame. Simplify return value code.
17817 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17819 2013-10-04 Alan Modra <amodra@gmail.com>
17821 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17822 support. Correct typos, formatting. Optimize tail. Use insrdi
17823 rather than rlwimi.
17824 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17825 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17826 little-endian support. Correct typos.
17827 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17828 rather than rlwimi.
17829 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17830 in loop and entry code to keep "and." results.
17831 (strchr): Add little-endian support. Comment. Move cntlzd
17833 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17835 2013-10-04 Alan Modra <amodra@gmail.com>
17837 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17838 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17839 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17840 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17842 2013-10-04 Alan Modra <amodra@gmail.com>
17844 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17845 (rTMP): Define as r11.
17846 (strcmp): Add little-endian support. Optimise tail.
17847 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17848 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17849 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17850 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17851 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17852 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17853 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17855 2013-10-04 Alan Modra <amodra@gmail.com>
17857 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17858 little-endian support. Remove unnecessary "are we done" tests.
17859 Handle "s" wrapping around zero and extremely large "size".
17860 Correct main loop count. Handle single left-over word from main
17861 loop inline rather than by using small_loop. Correct comments.
17862 Delete "zero" tail, use "end_max" instead.
17863 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17865 2013-10-04 Alan Modra <amodra@gmail.com>
17867 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17868 support. Don't branch over align.
17869 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17870 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17871 support. Rearrange tmp reg use to suit. Comment.
17872 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17874 2013-10-04 Alan Modra <amodra@gmail.com>
17876 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17878 2013-10-04 Alan Modra <amodra@gmail.com>
17880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17881 conditional form of branch and link when obtaining pc.
17882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17884 2013-10-04 Alan Modra <amodra@gmail.com>
17886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17891 2013-10-04 Alan Modra <amodra@gmail.com>
17893 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17894 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17895 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17896 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17897 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17898 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17899 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17900 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17901 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17902 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17904 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17905 Alistair Popple <alistair@ozlabs.au.ibm.com>
17906 Alan Modra <amodra@gmail.com>
17909 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17910 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17911 _dl_hwcap access for little-endian.
17912 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17913 destroy vmx regs when saving unaligned.
17914 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17915 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17916 destroy vmx regs when saving unaligned.
17918 2013-10-04 Alan Modra <amodra@gmail.com>
17920 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17921 Don't use a union to pack hi/low value.
17923 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17925 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17927 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17928 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17929 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17930 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17931 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17933 2013-10-04 Alan Modra <amodra@gmail.com>
17935 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17936 constants to usual value for .cst8 section, and remove redundant
17938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17939 constant for 0x1p52. Load little-endian words of double from
17940 correct stack offsets.
17942 2013-10-04 Alan Modra <amodra@gmail.com>
17944 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17945 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17946 words of double from correct stack offsets.
17947 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17948 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17949 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17951 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17952 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17954 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17955 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17957 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17958 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17959 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17960 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17961 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17962 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17963 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17965 2013-10-04 Alan Modra <amodra@gmail.com>
17967 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17968 64-bit int/double union.
17969 (_FPU_SETCW): Likewise.
17970 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17971 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17973 2013-10-04 Alan Modra <amodra@gmail.com>
17975 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17976 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17978 2013-10-04 Alan Modra <amodra@gmail.com>
17980 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17981 use vector int constants.
17982 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17984 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17986 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17987 array with long long.
17988 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17989 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17990 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17991 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17992 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17993 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17994 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17995 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17996 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17997 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17998 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17999 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18000 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18002 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18004 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18005 (__signbit): Likewise. Correct for little-endian.
18006 (__signbitl): Call __signbit.
18007 (lrint): Correct for little-endian.
18008 (lrintf): Call lrint.
18010 2013-10-04 Alan Modra <amodra@gmail.com>
18012 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18013 union 32-bit int array member with 64-bit int array.
18014 (t515, tm256): Double rather than long double.
18015 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18017 2013-10-04 Alan Modra <amodra@gmail.com>
18019 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18021 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18022 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18023 version of math_ldbl.h.
18025 2013-10-04 Alan Modra <amodra@gmail.com>
18027 [BZ #15734], [BZ #15735]
18028 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18029 all uses of ieee875 long double macros and unions. Simplify test
18030 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18031 ldbl_extract_mantissa value for ix,iy exponents. Properly
18032 normalize after ldbl_extract_mantissa, and don't add hidden bit
18033 already handled. Don't treat low word of ieee854 mantissa like
18034 low word of IBM long double and mask off bit when testing for
18036 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18037 all uses of ieee875 long double macros and unions. Simplify tests
18038 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18039 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18040 two1022, instead use their values. Recognise that tests for large
18041 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18042 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18043 Rewrite all uses of ieee875 long double macros and unions. Simplify
18044 test for 0.0L and nan. Correct negation.
18045 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18046 ieee875 long double macros and unions. Correct output for large
18047 magnitude x. Correct absolute value calculation.
18048 (__erfcl): Likewise.
18049 * math/libm-test.inc: Add tests for errors discovered in IBM long
18050 double versions of fmodl, remainderl, erfl and erfcl.
18052 2013-10-04 Alan Modra <amodra@gmail.com>
18054 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18055 all uses of ieee854 long double macros and unions. Simplify tests
18056 for long doubles that are fully specified by the high double.
18057 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18059 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18060 Remove dead code too.
18061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18062 (__ieee754_ynl): Likewise.
18063 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18064 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18065 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18066 Remove dead code too.
18067 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18068 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18069 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18070 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18072 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18074 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18075 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18077 Comment on variable precision.
18078 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18079 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18084 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18085 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18087 2013-10-04 Alan Modra <amodra@gmail.com>
18089 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18090 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18091 all uses of ieee854 long double macros and unions.
18092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18096 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18097 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18099 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18100 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18101 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18102 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18103 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18104 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18105 Simplify sign and nan test too.
18106 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18107 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18108 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18109 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18111 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18112 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18115 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18116 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18117 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18118 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18121 2013-10-04 Alan Modra <amodra@gmail.com>
18123 * stdio-common/printf_size.c (__printf_size): Don't use
18124 union ieee854_long_double in fpnum union.
18125 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18126 signbit macro to retrieve sign from long double.
18127 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18128 retrieve sign from long double.
18129 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18130 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18131 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18132 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18133 * math/test-misc.c (main): Don't use union ieee854_long_double.
18135 2013-10-04 Alan Modra <amodra@gmail.com>
18138 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18139 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18140 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18141 calculation. Remove unnecessary test for denormal exponent.
18142 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18143 Correct handling of denormals. Avoid undefined shift behaviour.
18144 Correct normalisation of low mantissa when low double is denormal.
18145 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18146 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18147 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18148 Correct normalisation of low mantissa. Test for overflow of high
18149 mantissa and normalise.
18150 (ldbl_nearbyint): Use more readable constant for two52.
18151 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18152 (__mpn_construct_long_double): Fix test for overflow of high
18153 mantissa and correct normalisation. Avoid undefined shift.
18155 2013-10-04 Alan Modra <amodra@gmail.com>
18157 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18158 (union ibm_extended_long_double): Define as an array of ieee754_double.
18159 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18160 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18161 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18162 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18166 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18171 2013-10-03 Joseph Myers <joseph@codesourcery.com>
18173 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18174 page size instead of calling getpagesize.
18176 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18177 (LOCFILE_ALIGN_MASK): Likewise.
18178 (LOCFILE_ALIGN_UP): Likewise.
18179 (LOCFILE_ALIGNED_P): Likewise.
18180 * locale/programs/ld-collate.c (collate_output): Use the new
18181 macros instead of __alignof__ (int32_t).
18182 * locale/weight.h (findidx): Likewise.
18184 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
18187 * manual/string.texi: Fix strncat and wcsncat.
18189 2013-10-03 Brooks Moses <bmoses@google.com>
18192 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18193 * Makerules: ...here, and adjust associated comments.
18195 2013-10-02 Will Newton <will.newton@linaro.org>
18197 * malloc/Makefile: Add tst-pvalloc.
18198 * malloc/tst-pvalloc.c: New file.
18200 2013-10-02 Will Newton <will.newton@linaro.org>
18202 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18203 improve test coverage.
18205 2013-10-02 Will Newton <will.newton@linaro.org>
18207 * malloc/Makefile: Add tst-posix_memalign.
18208 * malloc/tst-posix_memalign.c: New file.
18210 2013-10-01 Eric Blake <eblake@redhat.com>
18212 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18213 Use __THROWNL rather than __THROW on static functions.
18215 2013-09-30 Petr Machata <pmachata@redhat.com>
18217 * elf/elf.h (R_AARCH64_ABS16): New macro.
18218 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18219 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18220 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18221 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18222 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18223 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18224 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18225 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18226 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18227 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18228 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18229 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18230 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18231 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18232 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18233 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18234 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18235 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18236 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18237 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18238 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18239 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18240 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18241 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18242 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18243 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18244 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18245 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18246 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18247 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18248 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18249 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18250 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18251 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18252 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18253 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18254 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18255 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18256 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18257 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18258 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18259 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18260 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18261 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18262 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18263 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18264 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18265 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18266 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18267 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18268 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18269 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18270 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18271 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18272 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18273 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18274 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18275 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18276 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18277 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18278 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18279 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18280 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18281 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18282 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18283 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18284 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18285 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18286 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18287 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18288 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18289 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18290 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18291 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18292 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18293 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18294 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18295 (R_AARCH64_TLSDESC_LDR): Likewise.
18296 (R_AARCH64_TLSDESC_ADD): Likewise.
18297 (R_AARCH64_TLSDESC_CALL): Likewise.
18299 2013-09-30 Andreas Schwab <schwab@suse.de>
18302 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18303 the nss database lookup.
18304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18307 2013-09-28 Mike Frysinger <vapier@gentoo.org>
18309 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18311 2013-09-28 P. J. McDermott <pj@pehjota.net>
18313 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18314 ${Bash-specific parameter/pattern/string} parameter expansion.
18315 * sysdeps/unix/make-syscalls.sh: Likewise.
18317 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18319 * sysdeps/sh/stackguard-macros.h: New file.
18321 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
18323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18325 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18326 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18327 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18328 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18330 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18332 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18333 Fix thread ID register.
18335 2013-09-25 Joseph Myers <joseph@codesourcery.com>
18337 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18338 [POSIX || UNIX98]: Require rather than permitting all symbols from
18340 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18341 element of struct sched_param.
18342 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18343 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18344 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18345 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18348 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18350 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18351 argument calculation.
18353 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18355 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18357 [POSIX] (pthread_attr_t): Do not require type.
18358 [POSIX] (pthread_cond_t): Likewise.
18359 [POSIX] (pthread_condattr_t): Likewise.
18360 [POSIX] (pthread_key_t): Likewise.
18361 [POSIX] (pthread_mutex_t): Likewise.
18362 [POSIX] (pthread_mutexattr_t): Likewise.
18363 [POSIX] (pthread_once_t): Likewise.
18364 [POSIX] (pthread_t): Likewise.
18365 [POSIX-based standards] (pthread_atfork): Expect function.
18367 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18368 Richard Sandiford <richard@codesourcery.com>
18370 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18371 (swap_endianness_p): New extern variable.
18372 (set_big_endian): New inline function.
18373 (maybe_swap_uint32): Likewise.
18374 (maybe_swap_uint32_array): Likewise.
18375 (maybe_swap_uint32_obstack): Likewise.
18376 * locale/programs/locfile.c: Include <stdbool.h>.
18377 (swap_endianness_p): New variable.
18378 (add_locale_uint32): Call maybe_swap_uint32.
18379 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18380 (write_locale_data): Call maybe_swap_uint32_array.
18381 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18383 (obstack_int32_grow_fast): Likewise.
18384 (output_weightwc): Call maybe_swap_uint32_obstack.
18385 (collate_output): Likewise.
18386 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18387 (OPT_LITTLE_ENDIAN): Likewise.
18388 (options): Add --little-endian and --big-endian options.
18389 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18390 * locale/programs/locarchive.c: Include "locfile.h".
18394 (create_archive): Use the new macros to access fields of
18395 structures directly mapped from or written to locale archives.
18396 (oldlocrecentcmp): Likewise.
18397 (enlarge_archive): Likewise.
18398 (insert_name): Likewise.
18399 (add_alias): Likewise.
18400 (add_locale): Likewise.
18401 (delete_locales_from_archive): Likewise.
18402 (show_archive_content): Likewise.
18403 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18406 2013-09-24 Roland McGrath <roland@hack.frob.com>
18408 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18409 http://www.gnu.org/doc/freemanuals.texi.
18410 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18412 2013-09-24 Will Newton <will.newton@linaro.org>
18414 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18417 2013-09-23 Joseph Myers <joseph@codesourcery.com>
18419 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18422 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18424 * manual/threads.texi (POSIX Threads): Fix a typo.
18426 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18429 * string/tst-strcoll-overflow.c: New test case.
18430 * string/Makefile (xtests): Add tst-strcoll-overflow.
18431 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18432 cache if string sizes may cause integer overflow.
18435 * string/strcoll_l.c (coll_seq): New members rule, idx,
18436 save_idx and back_us.
18437 (get_next_seq_nocache): New function.
18438 (do_compare_nocache): New function.
18439 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18442 2013-09-23 Carlos O'Donell <carlos@redhat.com>
18445 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18446 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18447 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18450 * elf/Makefile (tests): Add tst-ptrguard1.
18451 (tests-static): Add tst-ptrguard1-static.
18452 (tst-ptrguard1-ARGS): Define.
18453 (tst-ptrguard1-static-ARGS): Define.
18454 * elf/tst-ptrguard1.c: New file.
18455 * elf/tst-ptrguard1-static.c: New file.
18456 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18457 * sysdeps/i386/stackguard-macros.h: Likewise.
18458 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18459 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18460 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18461 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18462 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18463 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18465 2013-09-23 Hector Marco <hecmargi@upv.es>
18466 Ismael Ripoll <iripoll@disca.upv.es>
18467 Carlos O'Donell <carlos@redhat.com>
18470 * sysdeps/generic/stackguard-macros.h: Define
18471 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18472 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18473 Define __pointer_chk_guard_local.
18474 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18475 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18477 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18480 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18482 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18484 * include/string.h (__ffs): Declare as hidden.
18485 * string/ffs.c (__ffs): Define as hidden.
18486 * sysdeps/i386/ffs.c (__ffs): Likewise.
18487 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18488 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18489 * sysdeps/s390/ffs.c (__ffs): Likewise.
18490 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18492 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
18494 * NEWS: Mention malloc probes.
18496 * malloc/arena.c (new_heap): New memory_heap_new probe.
18497 (grow_heap): New memory_heap_more probe.
18498 (shrink_heap): New memory_heap_less probe.
18499 (heap_trim): New memory_heap_free probe.
18500 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18501 (systrim): New memory_sbrk_less probe.
18502 * manual/probes.texi: Document them.
18504 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18505 * manual/probes.texi: Document it.
18507 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18508 (__libc_realloc): Add memory_realloc_retry probe.
18509 (__libc_memalign): Add memory_memalign_retry probe.
18510 (__libc_valloc): Add memory_valloc_retry probe.
18511 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18512 (__libc_calloc): Add memory_calloc_retry probe.
18513 * manual/probes.texi: Document them.
18515 * malloc/arena.c (get_free_list): Add probe
18516 memory_arena_reuse_free_list.
18517 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18518 and memory_arena_reuse.
18519 (arena_get2) [!PER_THREAD]: Likewise.
18520 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18521 memory_arena_reuse_realloc.
18522 * manual/probes.texi: Document them.
18524 * malloc/malloc.c (__libc_free): Add
18525 memory_mallopt_free_dyn_thresholds probe.
18526 (__libc_mallopt): Add multiple memory_mallopt probes.
18527 * manual/probes.texi: Document them.
18529 * malloc/malloc.c: Include stap-probe.h.
18530 (__libc_mallopt): Add memory_mallopt probe.
18531 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18532 * manual/probes.texi: New.
18533 * manual/Makefile (chapters): Add probes.
18534 * manual/threads.texi: Set next node.
18536 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
18538 [BZ #15963, #13985]
18539 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18540 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18541 Add `Chinese' to `nan' entry name.
18543 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18545 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18546 (POLYNOMIAL): Likewise.
18547 (TAYLOR_SINCOS): Likewise.
18548 (TAYLOR_SLOW): Likewise.
18549 (__sin): Use TAYLOR_SINCOS.
18551 (slow): Use TAYLOR_SLOW.
18553 (bsloww): Likewise.
18554 (csloww): Likewise.
18556 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18558 * stdlib/strtod_l.c: Fix buffer overrun.
18560 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18562 * benchtests/Makefile (bench): Add sincos.
18563 * benchtests/bench-sincos.c: New file.
18565 * math/libm-test.inc (cos_test_data): New test inputs.
18566 (sin_test_data): Likewise.
18568 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18574 (sloww1): Likewise.
18575 (sloww2): Likewise.
18576 (bsloww1): Likewise.
18577 (bsloww2): Likewise.
18578 (cslow2): Likewise.
18579 (csloww1): Likewise.
18580 (csloww2): Likewise.
18582 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18587 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18591 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18593 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18594 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18595 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18596 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18597 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18598 * elf/cache.c (print_entry): Handle the new cache flags.
18600 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18601 Aldy Hernandez <aldyh@redhat.com>
18603 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18604 Change condition to [_SOFT_FLOAT].
18605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18617 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18620 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18623 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18625 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18626 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18627 (__longjmp): Use LOAD_GP to load saved GPRs.
18628 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18629 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18630 (__sigsetjmp): Use SAVE_GP to save GPRs.
18632 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18633 Do not append -msoft-float.
18634 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18636 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18638 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18640 2013-09-17 Joseph Myers <joseph@codesourcery.com>
18643 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18644 (_FPU_GETCW): Use initial "__" on variable and field names but not
18645 on macro parameter name.
18646 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18647 parentheses around reference to macro parameter.
18649 2013-09-13 Richard Sandiford <richard@codesourcery.com>
18651 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18653 (ctype_startup): Use uint32_t in cast and sizeof for
18656 2013-09-11 Jia Liu <proljc@gmail.com>
18658 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18660 [__FreeBSD__]: Likewise.
18662 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
18664 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18665 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18666 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18667 (strchr): Remove __strchr_sse42 ifunc selection.
18668 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18669 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18671 2013-09-11 Will Newton <will.newton@linaro.org>
18673 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18674 parameter to RES. Remove hardcoded 1000 value.
18675 * benchtests/bench-skeleton.c (main): Pass RES parameter
18676 to TIMING_INIT and multiply result by 1000.
18678 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18682 2013-09-11 Andreas Schwab <schwab@suse.de>
18684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18686 (O_TMPFILE) [__USE_GNU]: Define.
18687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18690 2013-09-11 Will Newton <will.newton@linaro.org>
18693 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18696 2013-09-11 Will Newton <will.newton@linaro.org>
18699 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18702 2013-09-11 Will Newton <will.newton@linaro.org>
18705 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18708 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
18710 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18711 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18712 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18713 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18714 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18716 2013-09-10 Allan McRae <allan@archlinux.org>
18719 * manual/arith.texi (Parsing of Floats): Clarify
18723 * manual/install.texi (Running make install): Mention
18725 * INSTALL: Regenerated.
18727 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18729 * csu/init-first.c (_init): Remove the !SHARED condition around
18730 FPU control word initialization.
18731 * elf/dl-support.c (_dl_fpu_control): New variable.
18732 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18733 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18734 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18735 * math/test-fpucw-static.c: New file.
18736 * math/test-fpucw-ieee.c: New file.
18737 * math/test-fpucw-ieee-static.c: New file.
18738 * math/Makefile (tests): Add `test-fpucw-ieee' and
18740 (tests-static): New variable.
18741 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18743 [($(build-shared),yes)]
18744 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18746 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18749 2013-09-09 Allan McRae <allan@archlinux.org>
18752 * manual/string.texi (Collation Functions): Fix typo in
18754 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18757 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18760 * libio/memstream.c (open_memstream): Fix memory leak.
18761 * libio/wmemstream.c (open_wmemstream): Likewise.
18764 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18766 2013-09-09 Will Newton <will.newton@linaro.org>
18768 * malloc/Makefile: Add tst-realloc to tests.
18769 * malloc/tst-realloc.c: New file.
18771 2013-09-09 Allan McRae <allan@archlinux.org>
18774 * COPYING: Update from GNU website to fix FSF address.
18775 * COPYING.LIB: Likewise.
18777 2013-09-06 David S. Miller <davem@davemloft.net>
18779 * po/zh_TW.po: Update Chinese (traditional) translation from
18780 translation project.
18782 2013-09-06 Richard Sandiford <richard@codesourcery.com>
18783 Joseph Myers <joseph@codesourcery.com>
18785 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18787 (obstack_chunk_alloc): New macro.
18788 (obstack_chunk_free): Likewise.
18789 (record_offset): New function.
18790 (init_locale_data): Likewise.
18791 (align_locale_data): Likewise.
18792 (add_locale_empty): Likewise.
18793 (add_locale_raw_data): Likewise.
18794 (add_locale_raw_obstack): Likewise.
18795 (add_locale_string): Likewise.
18796 (add_locale_wstring): Likewise.
18797 (add_locale_uint32): Likewise.
18798 (add_locale_uint32_array): Likewise.
18799 (add_locale_char): Likewise.
18800 (start_locale_structure): Likewise.
18801 (end_locale_structure): Likewise.
18802 (start_locale_prelude): Likewise.
18803 (end_locale_prelude): Likewise.
18804 (write_locale_data): Take locale_file structure rather than an
18806 * locale/programs/locfile.h: Include "obstack.h".
18807 (struct locale_file): Change to store locale file contents instead
18809 (init_locale_data): New prototype.
18810 (align_locale_data): Likewise.
18811 (add_locale_empty): Likewise.
18812 (add_locale_raw_data): Likewise.
18813 (add_locale_raw_obstack): Likewise.
18814 (add_locale_string): Likewise.
18815 (add_locale_wstring): Likewise.
18816 (add_locale_uint32): Likewise.
18817 (add_locale_uint32_array): Likewise.
18818 (add_locale_char): Likewise.
18819 (start_locale_structure): Likewise.
18820 (end_locale_structure): Likewise.
18821 (start_locale_prelude): Likewise.
18822 (end_locale_prelude): Likewise.
18823 (write_locale_data): Update prototype.
18824 * locale/programs/3level.h (struct TABLE): Remove result field.
18825 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18826 Use new locale_file interface.
18827 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18828 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18829 * locale/programs/ld-address.c (address_output): Use new
18830 locale_file interface.
18831 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18833 (collate_finish): Don't call collseq_table_finalize.
18834 (collate_output): Use new locale_file interface.
18835 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18837 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18838 (TABLE): Move defines earlier in file.
18839 (ELEMENT): Likewise.
18840 (DEFAULT): Likewise.
18841 (wctrans_table_add): Move macro and inline function earlier in
18843 (struct wctype_table): Move type earlier in file.
18844 (add_locale_wctype_table): New static prototype.
18845 (struct locale_ctype_t): Use logical types instead of struct iovec
18846 pointers for members.
18847 (ctype_output): Use new locale_file interface.
18848 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18849 new locale_file interface.
18850 (allocate_arrays): Update for use of new locale_file interface.
18851 * locale/programs/ld-identification.c (identification_output): Use
18852 new locale_file interface.
18853 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18854 * locale/programs/ld-messages.c (messages_output): Likewise.
18855 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18856 * locale/programs/ld-name.c (name_output): Likewise.
18857 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18858 * locale/programs/ld-paper.c (paper_output): Likewise.
18859 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18860 * locale/programs/ld-time.c (time_output): Likewise.
18862 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18864 * benchtests/Makefile: Add memrchr benchmark.
18865 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18866 benchmark as memrchr.
18867 * benchtests/bench-memrchr-ifunc.c: New file.
18868 * benchtests/bench-memrchr.c: New file.
18870 2013-09-06 Will Newton <will.newton@linaro.org>
18872 * benchtests/Makefile (string-bench): Add memcpy.
18874 2013-09-05 Carlos O'Donell <carlos@redhat.com>
18875 Cong Wang <amwang@redhat.com>
18878 * sysdeps/unix/sysv/linux/bits/in.h
18879 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18880 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18881 before __USE_KERNEL_IPV6_DEFS uses.
18882 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18884 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18885 sockaddr_in6, or ipv6_mreq.
18887 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18889 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18890 memory access for final bytes in some large inputs.
18891 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18893 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18895 * string/test-memrchr.c: New file.
18896 * string/test-memrchr-ifunc.c: New file.
18897 * string/Makefile: Add new memrchr testcase.
18899 2013-09-05 Mike Frysinger <vapier@gentoo.org>
18901 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18902 fanotify_init returns EPERM.
18904 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18906 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18908 (top level): Treat second token from macro or constant entries for
18909 allowed headers as allowed.
18910 * include/complex.h: Condition internal declarations on
18912 * include/fenv.h: Condition include of <stdbool.h> and internal
18913 declarations on [!_ISOMAC].
18915 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18918 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18920 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18922 * configure.in (--enable-versioning): Remove configure option.
18923 (libc_cv_asm_symver_directive): Remove configure test.
18924 (libc_cv_ld_version_script_option): Likewise.
18925 (VERSIONING): Remove variable and AC_SUBST.
18926 (DO_VERSIONING): Remove AC_DEFINE.
18927 * configure: Regenerated.
18928 * config.h.in (DO_VERSIONING): Remove macro.
18929 * Makerules [$(versioning) = yes]: Change conditionals to
18930 [$(build-shared) = yes].
18931 * config.make.in (versioning): Remove variable.
18932 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18933 [$(build-shared) = yes].
18934 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18935 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18936 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18937 [$(build-shared) = yes].
18938 * extra-lib.mk [$(versioning) = yes]: Likewise.
18939 * hurd/Makefile [$(versioning) = yes]: Likewise.
18940 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18942 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18944 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18945 [SHARED && !NO_HIDDEN].
18946 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18948 [SHARED && DO_VERSIONING]: Likewise..
18949 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18950 [$(build-shared) = yes].
18951 * manual/install.texi (--disable-versioning): Remove
18953 * INSTALL: Regenerated.
18954 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18956 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18957 [$(build-shared) = yes].
18958 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18959 * sysdeps/i386/i686/multiarch/strstr-c.c
18960 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18961 [SHARED && !NO_HIDDEN].
18962 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18963 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18964 * sysdeps/powerpc/powerpc32/dl-machine.c
18965 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18966 * sysdeps/powerpc/powerpc32/sysdep.h
18967 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18968 to [SHARED && PIC && !NO_HIDDEN].
18969 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18970 conditional to [SHARED].
18972 2013-09-04 Will Newton <will.newton@linaro.org>
18974 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18975 * benchtests/bench-string.h: Include bench-timing.h instead
18976 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18977 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18978 call to HP_TIMING_DIFF_INIT.
18979 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18980 instead of hp-timing.h macros.
18981 * benchtests/bench-memchr.c: Likewise.
18982 * benchtests/bench-memcmp.c: Likewise.
18983 * benchtests/bench-memcpy.c: Likewise.
18984 * benchtests/bench-memmem.c: Likewise.
18985 * benchtests/bench-memmove.c: Likewise.
18986 * benchtests/bench-memset.c: Likewise.
18987 * benchtests/bench-rawmemchr.c: Likewise.
18988 * benchtests/bench-strcasecmp.c: Likewise.
18989 * benchtests/bench-strcasestr.c: Likewise.
18990 * benchtests/bench-strcat.c: Likewise.
18991 * benchtests/bench-strchr.c: Likewise.
18992 * benchtests/bench-strcmp.c: Likewise.
18993 * benchtests/bench-strcpy.c: Likewise.
18994 * benchtests/bench-strcpy_chk.c: Likewise.
18995 * benchtests/bench-strlen.c: Likewise.
18996 * benchtests/bench-strncasecmp.c: Likewise.
18997 * benchtests/bench-strncat.c: Likewise.
18998 * benchtests/bench-strncmp.c: Likewise.
18999 * benchtests/bench-strncpy.c: Likewise.
19000 * benchtests/bench-strnlen.c: Likewise.
19001 * benchtests/bench-strpbrk.c: Likewise.
19002 * benchtests/bench-strrchr.c: Likewise.
19003 * benchtests/bench-strspn.c: Likewise.
19004 * benchtests/bench-strstr.c: Likewise.
19006 2013-09-04 Will Newton <will.newton@linaro.org>
19008 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19010 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19013 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19014 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19015 * math/libm-test.inc (lgamma_test_data): Add more tests.
19016 * sysdeps/i386/fpu/libm-test-ulps: Update.
19017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19019 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19021 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19022 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19025 Add strcmp-sse2-unaligned
19026 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19028 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19030 * Versions.def (libc): Add GLIBC_2.19.
19032 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19034 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19035 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19037 2013-09-02 Joseph Myers <joseph@codesourcery.com>
19040 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19041 intermediate calculations in recurrence.
19042 (__ieee754_ynf): Likewise.
19043 * math/libm-test.inc (jn_test_data): Do not allow spurious
19044 underflow exception. Add more tests.
19045 (yn_test_data): Add more tests.
19046 * sysdeps/i386/fpu/libm-test-ulps: Update.
19047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19049 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
19051 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19053 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19055 * csu/init-first.c: Fix then/than typos.
19056 * locale/programs/ld-collate.c: Likewise.
19057 * locale/programs/linereader.h: Likewise.
19058 * manual/charset.texi: Likewise.
19059 * manual/filesys.texi: Likewise.
19060 * manual/stdio.texi: Likewise.
19061 * manual/string.texi: Likewise.
19062 * stdlib/fmtmsg.c: Likewise.
19063 * sysdeps/i386/stpncpy.S: Likewise.
19064 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19065 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19066 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19067 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19069 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19071 * elf/dl-open.c: Fix typos.
19072 * iconvdata/gbbig5.c: Likewise.
19073 * iconvdata/iso-2022-jp.c: Likewise.
19074 * iconv/gconv_int.h: Likewise.
19075 * iconv/loop.c: Likewise.
19076 * nis/rpcsvc/nis.h: Likewise.
19077 * resolv/ns_name.c: Likewise.
19078 * stdio-common/vfscanf.c: Likewise.
19079 * streams/stropts.h: Likewise.
19080 * sunrpc/rpc_thread.c: Likewise.
19081 * sysdeps/i386/strpbrk.S: Likewise.
19082 * sysdeps/ieee754/k_standard.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19085 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19086 * sysdeps/mach/hurd/profil.c: Likewise.
19087 * sysdeps/s390/dl-procinfo.h: Likewise.
19088 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19089 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19090 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19091 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19092 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19094 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19096 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19097 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19099 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19101 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19102 aix specific files.
19103 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19104 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19105 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19106 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19107 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19108 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19109 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19110 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19112 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19113 Roland McGrath <roland@hack.frob.com>
19115 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19116 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19118 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19120 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19121 __executable_start symbol instead of _start.
19123 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19125 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19126 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19128 * sysdeps/gnu/ldsodefs.h: ... this new file.
19130 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19131 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19132 instead of ELFOSABI_LINUX.
19134 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19135 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19136 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19137 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19139 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19140 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19141 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19143 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19144 (ibm_extended_long_double): Add ieee_nan member.
19145 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19146 (do_test): New function.
19148 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19150 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19151 functions, renamed from truncdfsf_test, trunctfsf_test,
19153 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19155 (do_test): Run all these.
19157 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19159 * argp/argp-help.c: Fix typos.
19160 * argp/argp-parse.c: Likewise.
19161 * debug/backtracesyms.c: Likewise.
19162 * elf/elf.h: Likewise.
19163 * malloc/malloc.c: Likewise.
19164 * nis/nis_print.c: Likewise.
19165 * resolv/res_comp.c: Likewise.
19166 * stdlib/stdlib.h: Likewise.
19167 * sunrpc/clnt_tcp.c: Likewise.
19168 * sunrpc/clnt_udp.c: Likewise.
19169 * sunrpc/clnt_unix.c: Likewise.
19170 * sysdeps/unix/bsd/ptsname.c: Likewise.
19171 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19172 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19179 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19181 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19183 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19186 2013-08-27 Mike Frysinger <vapier@gentoo.org>
19189 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19190 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19191 ($(objpfx)bug-dl-leaf): New rule.
19192 ($(objpfx)bug-dl-leaf.so): Likewise.
19193 ($(objpfx)bug-dl-leaf.out): Likewise.
19194 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19195 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19196 * dlfcn/bug-dl-leaf.c: New test.
19197 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19198 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19199 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19200 (dlclose): Likewise.
19201 (dlmopen): Likewise.
19203 2013-08-27 Roland McGrath <roland@hack.frob.com>
19205 * include/netdb.h [!_ISOMAC]:
19206 Don't include <tls.h>.
19207 (h_errno, __libc_h_errno): Move declaration and macros out of
19210 * include/resolv.h [_RESOLV_H_]:
19211 Don't include <tls.h>.
19212 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19213 * resolv/res_libc.c: Don't include <tls.h>.
19214 (_res): Use __attribute__ ((nocommon)) in place of
19215 __attribute__ ((section (".bss"))).
19217 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19218 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19220 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19222 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19223 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19225 * resolv/res_mkquery.c: Include <sys/time.h>.
19227 * inet/ifreq.c: Moved to ...
19228 * sysdeps/unix/ifreq.c: ... here.
19229 * inet/ifreq.c: New file, true stub version.
19231 * socket/sa_len.c: New file.
19232 * socket/Makefile (aux): Add it.
19233 * sysdeps/unix/sysv/linux/Makefile
19234 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19235 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19236 and #include <socket/sa_len.c>.
19237 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19238 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19240 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19241 * bits/socket.h: ... here.
19243 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19244 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19245 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19247 2013-08-27 Andreas Schwab <schwab@suse.de>
19250 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19251 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19252 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19253 * string/test-strcasecmp.c (test_main): Run tests in several
19255 * string/test-strncasecmp.c (test_main): Likewise.
19257 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19258 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19259 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19260 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19261 (__strncasecmp_ssse3) [PIC]: Likewise.
19263 2013-08-26 Roland McGrath <roland@hack.frob.com>
19265 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19267 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19268 instead of explicitly declaring xdecrypt.
19269 * nis/nss_nis/nis-publickey.c: Likewise.
19271 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19274 * nscd/aicache.c: Include res_hconf.h.
19275 (addhstaiX): Initialize res_hconf.
19277 2013-08-26 Andreas Schwab <schwab@suse.de>
19279 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19280 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19282 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19284 * nscd/aicache.c (addhstaiX): Fix indentation.
19286 2013-08-25 Mike Frysinger <vapier@gentoo.org>
19288 * configure.ac: Quote $build_pt_chown test.
19289 * configure: Regenerated.
19291 2013-08-23 Joseph Myers <joseph@codesourcery.com>
19294 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19295 * math/s_cexpf.c (__cexpf): Likewise.
19296 * math/s_cexpl.c (__cexpl): Likewise.
19297 * math/libm-test.inc (cexp_test_data): Correct expected return
19298 value for NaN + i0. Add another test.
19300 2013-08-22 David S. Miller <davem@davemloft.net>
19302 * po/ca.po: Update Catalan translation from translation project.
19303 * po/uk.po: Add Ukrainian translations from translation project.
19305 2013-08-21 Joseph Myers <joseph@codesourcery.com>
19308 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19309 is infinite, not alongside NaN test.
19310 * math/s_fdimf.c (__fdimf): Likewise.
19311 * math/s_fdiml.c (__fdiml): Likewise.
19312 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19313 errno is unchanged.
19315 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
19317 * argp/argp-help.c: Fix typos.
19318 * crypt/speeds.c: Likewise.
19319 * csu/check_fds.c: Likewise.
19320 * elf/dl-load.c: Likewise.
19321 * elf/dl-open.c: Likewise.
19322 * elf/reldep3.c: Likewise.
19323 * elf/reldep.c: Likewise.
19324 * elf/sprof.c: Likewise.
19325 * iconv/iconv_charmap.c: Likewise.
19326 * iconv/skeleton.c: Likewise.
19327 * iconv/strtab.c: Likewise.
19328 * io/lockf64.c: Likewise.
19329 * libio/libioP.h: Likewise.
19330 * resolv/gai_notify.c: Likewise.
19331 * resolv/ns_name.c: Likewise.
19332 * resolv/ns_samedomain.c: Likewise.
19333 * resolv/res_send.c: Likewise.
19334 * stdlib/random.c: Likewise.
19335 * sunrpc/rpc/xdr.h: Likewise.
19336 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19337 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19338 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19339 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19340 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19341 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19342 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19343 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19344 * sysdeps/mach/hurd/check_fds.c: Likewise.
19345 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19346 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19347 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19348 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19349 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19350 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19351 * sysdeps/pthread/aio_notify.c: Likewise.
19352 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19353 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19354 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19355 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19356 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19358 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19360 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19361 version if bit_Slow_SSE4_2 is set.
19362 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19363 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19365 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19368 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19369 trampoline stack frame information.
19370 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19371 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19372 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19373 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19374 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19375 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19376 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19377 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19379 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19380 interrupting a syscall and set with option SA_SIGINFO.
19382 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19385 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19386 argument is infinite.
19387 * math/s_cprojf.c (__cprojf): Likewise.
19388 * math/s_cprojl.c (__cprojl): Likewise.
19389 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19390 * math/libm-test.inc (cproj_test_data): Add more tests.
19392 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19394 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19395 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19396 size. Use __ffs to determine corresponding shift.
19398 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19399 Roland McGrath <roland@hack.frob.com>
19401 * Makefile (INSTALL): Remove trailing blank lines from output of
19404 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19406 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19407 Align 32 bit compat elf_greg to 8 bytes.
19409 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19411 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19413 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19415 * string/strcoll_l.c (coll_seq): New structure.
19416 (get_next_seq_cached): New function.
19417 (get_next_seq): New function.
19418 (do_compare): New function.
19419 (STRCOLL): Use GNU style definition. Simplify implementation
19420 by using get_next_seq, get_next_seq_cached and do_compare.
19422 2013-08-16 Florian Weimer <fweimer@redhat.com>
19426 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19428 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19430 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19431 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19432 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19434 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19435 GETDENTS_64BIT_ALIGNED.
19436 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19437 * manual/filesys.texi (Reading/Closing Directory): Document
19438 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19440 * manual/conf.texi (Limits for Files): Add portability note to
19441 NAME_MAX, PATH_MAX.
19442 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19444 2013-08-13 Andreas Schwab <schwab@suse.de>
19447 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19449 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19450 LDBL_MAX_EXP >= 16384]: Add tests for it.
19452 2013-08-12 David S. Miller <davem@davemloft.net>
19454 * version.h (RELEASE): Set to "development".
19455 (VERSION): Set to "2.18.90".
19456 * NEWS: Add 2.19 section.
19458 2013-08-03 David S. Miller <davem@davemloft.net>
19460 * po/ko.po: Update Korean translation from translation project.
19462 2013-08-01 David S. Miller <davem@davemloft.net>
19464 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19465 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19468 2013-07-30 David S. Miller <davem@davemloft.net>
19470 * po/fr.po: Update French translation from translation project.
19472 2013-07-28 David S. Miller <davem@davemloft.net>
19474 * po/cs.po: Update Czech translation from translation project.
19476 * po/sv.po: Update Swedish translation from translation project.
19478 2013-07-27 David S. Miller <davem@davemloft.net>
19480 * po/eo.po: Update Esperanto translation from translation project.
19482 * po/vi.po: Update Vietnamese translation from translation project.
19484 * po/de.po: Update German translation from translation project.
19486 2013-07-26 David S. Miller <davem@davemloft.net>
19488 * po/bg.po: Update Bulgarian translation from translation project.
19490 * po/nl.po: Update Dutch translation from translation project.
19491 * po/pl.po: Update Polish translation from translation project.
19492 * po/ru.po: Update Russian translation from translation project.
19494 2013-07-24 David S. Miller <davem@davemloft.net>
19496 * po/libc.pot: Update.
19498 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19500 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19501 variable page size.
19502 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19503 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19504 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19506 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19508 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19510 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19511 Andreas Schwab <schwab@suse.de>
19512 Roland McGrath <roland@hack.frob.com>
19513 Joseph Myers <joseph@codesourcery.com>
19514 Carlos O'Donell <carlos@redhat.com>
19517 * config.h.in: Define HAVE_PT_CHOWN.
19518 * config.make.in (build-pt-chown): New variable.
19519 * configure.in (--enable-pt_chown): New configure option.
19520 * configure: Regenerate.
19521 * login/Makefile: Include Makeconfig. Build pt_chown only if
19522 build-pt-chown is enabled.
19523 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19524 pt_chown to fix pty ownership.
19525 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19527 * manual/install.texi (Configuring and compiling): Mention
19528 --enable-pt_chown. Add @findex for grantpt.
19529 * INSTALL: Regenerate.
19531 2013-07-20 David S. Miller <davem@davemloft.net>
19533 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19534 difference between 32-bit and 64-bit.
19536 2013-07-15 Carlos O'Donell <carlos@redhat.com>
19539 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19540 Avoid system header dependency with -ffreestanding.
19541 ($(objpfx)bits/syscall%d): Likewise.
19543 2013-07-13 David S. Miller <davem@davemloft.net>
19545 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19546 underflows from atanl/atan2l due to bug 15319.
19547 (casinh_test_data): Likewise.
19549 2013-07-07 David S. Miller <davem@davemloft.net>
19551 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19553 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19555 * sysdeps/i386/fpu/libm-test-ulps: Update.
19556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19558 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19560 * configure.in (--enable-lock-elision): Fix message text.
19561 * INSTALL: Regenerate.
19562 * configure: Regenerate.
19564 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19568 2013-07-03 Andreas Jaeger <aj@suse.de>
19570 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19572 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19573 (ptrace_peeksiginfo_args): Add.
19574 (__ptrace_peeksiginfo_flags): Add.
19575 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19576 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19577 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19579 2013-07-03 Allan McRae <allan@archlinux.org>
19581 * sysdeps/i386/fpu/libm-test-ulps: Update.
19583 2013-07-02 David S. Miller <davem@davemloft.net>
19585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19587 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19591 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19593 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19596 2013-07-02 Andi Kleen <ak@linux.intel.com>
19598 * config.h.in (ENABLE_LOCK_ELISION): Add.
19599 * configure.in (--enable-lock-elision): Add option.
19600 * manual/install.texi: Document --enable lock elision.
19601 * configure: Regenerate
19602 * INSTALL: Regenerate.
19604 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19606 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19607 SSE4.2 strcasecmp for libc.a.
19608 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19610 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19613 * soft-fp/op-common.h (_FP_FMA): New macro.
19614 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19615 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19616 (_FP_MUL_MEAT_1_imm): ... here.
19617 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19618 (_FP_MUL_MEAT_1_wide): ... here.
19619 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19620 (_FP_MUL_MEAT_1_hard): ... here.
19621 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19622 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19623 (_FP_MUL_MEAT_2_wide): ... here.
19624 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19625 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19626 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19627 (_FP_MUL_MEAT_2_gmp): ... here.
19628 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19629 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19630 (_FP_MUL_MEAT_4_wide): ... here.
19631 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19632 (_FP_MUL_MEAT_4_gmp): ... here.
19633 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19634 (_FP_WFRACBITS_DW_S): Likewise.
19635 (_FP_WFRACXBITS_DW_S): Likewise.
19636 (_FP_HIGHBIT_DW_S): Likewise.
19637 (FP_FMA_S): Likewise.
19638 (_FP_FRAC_HIGH_DW_S): Likewise.
19639 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19640 (_FP_WFRACBITS_DW_D): Likewise.
19641 (_FP_WFRACXBITS_DW_D): Likewise.
19642 (_FP_HIGHBIT_DW_D): Likewise.
19643 (FP_FMA_D): Likewise.
19644 (_FP_FRAC_HIGH_DW_D): Likewise.
19645 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19646 (_FP_WFRACBITS_DW_E): Likewise.
19647 (_FP_WFRACXBITS_DW_E): Likewise.
19648 (_FP_HIGHBIT_DW_E): Likewise.
19649 (FP_FMA_E): Likewise.
19650 (_FP_FRAC_HIGH_DW_E): Likewise.
19651 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19652 (_FP_WFRACBITS_DW_Q): Likewise.
19653 (_FP_WFRACXBITS_DW_Q): Likewise.
19654 (_FP_HIGHBIT_DW_Q): Likewise.
19655 (FP_FMA_Q): Likewise.
19656 (_FP_FRAC_HIGH_DW_Q): Likewise.
19657 * soft-fp/fmasf4.c: New file.
19658 * soft-fp/fmadf4.c: Likewise.
19659 * soft-fp/fmatf4.c: Likewise.
19661 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19664 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19666 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19668 (index_Slow_SSE4_2): Likewise.
19669 (index_Prefer_PMINUB_for_stringop): Likewise.
19670 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19671 bit_Slow_SSE4_2 is set.
19672 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19673 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19675 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19677 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19678 rtld_global._dl_hwcap2.
19679 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19681 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19682 POWER8 feature descriptions defined in _dl_hwcap2.
19683 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19684 string handling for POWER8 feature bits.
19685 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19686 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19687 _dl_powerpc_cap_flags.
19688 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19689 * sysdeps/powerpc/rtld-global-offsets.sym
19690 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19691 _dl_hwcap2 in the rtld_global_ro structure.
19693 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19695 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19696 hardware capabilities in support of AT_HWCAP2.
19697 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19698 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19700 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19701 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19702 explicitly the unknown a_type display mechanism is used.
19703 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19704 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19706 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19707 to macro prototype for AT_HWCAP2 support.
19708 * sysdeps/i386/dl-procinfo.h: Likewise.
19709 * sysdeps/s390/dl-procinfo.h: Likewise.
19710 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19711 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19712 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19713 return -1 for unknown a_type display fallback.
19714 * sysdeps/sparc/dl-procinfo.h: Likewise.
19715 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19716 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19718 2013-06-28 Joseph Myers <joseph@codesourcery.com>
19720 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19721 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19723 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19726 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19727 mprotect making __stack_prot writable.
19729 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19730 Joseph Myers <joseph@codesourcery.com>
19732 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19733 as being properly aligned.
19735 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19737 * dlfcn/modstatic5.c: New file.
19738 * dlfcn/tststatic5.c: New file.
19739 * dlfcn/Makefile (tests): Add tststatic5.
19740 (tests-static): Likewise.
19741 (modules-names): Add modstatic5.
19742 (tststatic5-ENV): New variable.
19743 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19746 * elf/dl-support.c (_dl_main_map): New variable.
19747 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19748 (_dl_nns, _dl_load_adds): Set to 1.
19749 (_dl_initial_searchlist): Refer to _dl_main_map.
19750 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19751 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19752 call to _dl_get_origin.
19753 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19755 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19756 * dlfcn/modstatic3.c: New file.
19757 * dlfcn/tststatic3.c: New file.
19758 * dlfcn/tststatic4.c: New file.
19759 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19760 (tests-static): Likewise.
19761 (modules-names): Add modstatic3.
19762 (tststatic3-ENV, tststatic4-ENV): New variables.
19763 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19764 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19766 2013-06-26 Joseph Myers <joseph@codesourcery.com>
19768 * configure.in (CC): Require GCC version 4.4 or later.
19769 * configure: Regenerated.
19770 * manual/install.texi (Tools for Compilation): Update GCC version
19772 * INSTALL: Regenerated.
19774 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19777 * string/test-memcmp.c (check2): New.
19778 (main): Call check2.
19780 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19782 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19785 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19787 (dl_open_worker) [!SHARED]: ... here.
19789 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19791 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19793 2013-06-25 Richard Henderson <rth@redhat.com>
19795 * locale/programs/locarchive.c: Include <libc-internal.h>
19797 2013-06-25 Joseph Myers <joseph@codesourcery.com>
19799 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19800 trailing whitespace removed.
19802 2013-06-24 Mike Frysinger <vapier@gentoo.org>
19805 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19806 * locale/programs/locarchive.c: Include libc-mmap.h.
19807 (prepare_address_space): Take two new outputs (the mmap base and len).
19808 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19810 (create_archive): Declare new mmap base and len values for
19811 prepare_address_space, and store the result in ah.
19812 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19813 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19814 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19815 Declare new mmap base and len values for
19816 prepare_address_space, and store the result in new_ah.
19817 (open_archive): Declare new mmap base and len values for
19818 prepare_address_space, and store the result in ah.
19819 (close_archive): If ah->mmap_base is not NULL, use that and
19820 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19821 * sysdeps/generic/libc-mmap.h: New file.
19823 2013-06-24 Mike Frysinger <vapier@gentoo.org>
19825 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19826 (ALIGN_UP): Likewise.
19827 (PTR_ALIGN_DOWN): Likewise.
19828 (PTR_ALIGN_UP): Likewise.
19830 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19832 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19833 entry mapped to PPC_PLATFORM_POWER8.
19834 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19836 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19837 (_dl_string_platform): Add case for exporting platform position for
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19840 search path to sysdeps/powerpc/powerpc32/power8 directory.
19841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19842 search path to sysdeps/powerpc/powerpc64/power8 directory.
19843 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19844 power7 directories.
19845 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19846 power7 directories.
19848 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19850 * INSTALL: Regenerate.
19852 * nscd/connections.c (nscd_init): Fix comment.
19854 2013-06-22 Joseph Myers <joseph@codesourcery.com>
19856 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19859 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19860 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19862 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19864 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19866 (DL_DST_REQ_STATIC): Remove macro.
19868 2013-06-21 Joseph Myers <joseph@codesourcery.com>
19871 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19872 with a shift of 0 bits.
19874 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19876 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19879 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19882 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19884 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19886 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19887 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19888 accepts -fno-tree-loop-distribute-patterns.
19889 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19890 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19892 * string/memset.c (memset): Likewise.
19893 * string/test-memmove.c (simple_memmove): Disable loop transformation
19895 * string/test-memset.c (simple_memset): Likewise.
19896 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19897 * benchtests/bench-memset.c (simple_memset): Likewise.
19898 * configure: Regenerated.
19900 2013-06-20 Joseph Myers <joseph@codesourcery.com>
19902 * math/test-misc.c (main): Ignore fesetround failure when failures
19903 of subsequent rounding tests would be ignored.
19906 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19907 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19908 * math/fegetenv.c (__fegetenv): Return 0.
19909 * math/fegetexcept.c (fegetexcept): Return 0.
19910 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19912 * math/feholdexcpt.c (feholdexcept): Return 0.
19913 * math/fesetenv.c (__fesetenv): Return 0.
19914 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19915 argument FE_TONEAREST.
19916 * math/feupdateenv.c (__feupdateenv): Return 0.
19917 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19919 2013-06-18 Roland McGrath <roland@hack.frob.com>
19921 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19922 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19923 ($(objpfx)rtld-%.os rules): Use them.
19925 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19927 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19930 2013-06-17 Roland McGrath <roland@hack.frob.com>
19932 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19933 length of target pattern, then descending length of dependency pattern.
19934 * configure.in (AWK): Require gawk 3.1.2 or newer.
19935 * manual/install.texi (Tools for Compilation): Say that we do.
19936 * configure: Regenerated.
19938 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19939 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19940 * scripts/sysd-rules.awk: ... this new script.
19941 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19942 than a glob-style pattern.
19944 2013-06-17 Joseph Myers <joseph@codesourcery.com>
19946 * math/test-misc.c (main): Do not treat incorrectly rounded
19947 conversions as failure unless ROUNDING_TESTS passes.
19949 2013-06-15 Joseph Myers <joseph@codesourcery.com>
19952 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19953 restore exception state around main square root computation, then
19954 check for inexactness explicitly.
19956 * math/libm-test.inc (fma_test_data): Add another test.
19958 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19960 * manual/threads.texi (Non-POSIX Extensions): New document
19961 node. Document pthread_getattr_default_np and
19962 pthread_setattr_default_np.
19964 * Versions.def (libpthread): Add GLIBC_2.18.
19965 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19974 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19985 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19988 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19990 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19991 H.J. Lu <hjl.tools@gmail.com>
19994 * sysdeps/x86_64/rtld-memset.c: Remove file.
19995 * sysdeps/x86_64/rtld-memset.S: New file.
19997 2013-06-14 Joseph Myers <joseph@codesourcery.com>
19999 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20000 (test_in_one_mode): Take arguments for whether the rounding mode
20001 is supported for each floating-point type.
20002 (do_test): Pass new arguments to test_in_one_mode using
20005 2013-06-13 Roland McGrath <roland@hack.frob.com>
20007 * posix/tst-waitid.c (do_test): Distinguish different instances of
20008 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20009 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20010 before entering the kernel for waitpid.
20012 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20014 * NEWS: Fix note on clock function precision. Text by Roland
20017 2013-06-13 Roland McGrath <roland@hack.frob.com>
20019 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20020 it into place only when and if the sanity check passes.
20022 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20024 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20025 output for whether conversion result is exact. Take argument
20026 indicating whether type is IBM long double.
20027 (round_for_all): Change need_exact field to ibm_ld.
20028 * stdlib/tst-strtod-round.c (struct exactness): New type.
20029 (struct test): Change bool ld_ok field to struct exactness exact.
20030 (TEST): Update all definitions for change to field.
20031 (tests): Regenerate array contents.
20032 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20033 field value. Check for IBM long double here.
20034 (do_test): Update calls to test_in_one_mode.
20036 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20039 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20040 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20042 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20045 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20046 generated by the compiler on loop optimizations.
20047 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20048 general definitions.
20050 2013-06-12 Joseph Myers <joseph@codesourcery.com>
20052 * math/bug-nextafter.c: Include <math-tests.h>.
20053 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20055 * math/bug-nexttoward.c: Include <math-tests.h>.
20056 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20058 * math/test-misc.c: Include <math-tests.h>.
20059 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20062 2013-06-12 Andreas Jaeger <aj@suse.de>
20064 * po/ia.po: Update Interlingua translation from translation
20067 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20069 * include/fenv.h: Include stdbool.h.
20070 (struct rm_ctx): New structure.
20071 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20073 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20074 (SET_RESTORE_ROUNDF): Likewise.
20075 (SET_RESTORE_ROUNDL): Likewise.
20076 (SET_RESTORE_ROUND_NOEX): Likewise.
20077 (SET_RESTORE_ROUND_NOEXF): Likewise.
20078 (SET_RESTORE_ROUND_NOEXL): Likewise.
20079 (SET_RESTORE_ROUND_53BIT): Likewise.
20080 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20081 (libc_feresetround_noexf_ctx): Likewise.
20082 (libc_feresetround_noexl_ctx): Likewise.
20083 (libc_feholdsetround_53bit_ctx): Likewise.
20084 (libc_feresetround_53bit_ctx): Likewise.
20085 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20086 (libc_feholdexcept_setround_sse_ctx): New function.
20087 (libc_fesetenv_sse_ctx): Likewise.
20088 (libc_feupdateenv_sse_ctx): Likewise.
20089 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20090 (libc_feholdexcept_setround_387_ctx): Likewise.
20091 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20092 (libc_feholdsetround_387_prec_ctx): Likewise.
20093 (libc_feholdsetround_387_ctx): Likewise.
20094 (libc_feholdsetround_387_53bit_ctx): Likewise.
20095 (libc_feholdsetround_sse_ctx): Likewise.
20096 (libc_feresetround_sse_ctx): Likewise.
20097 (libc_feresetround_387_ctx): Likewise.
20098 (libc_feupdateenv_387_ctx): Likewise.
20099 (libc_feholdexcept_setroundf_ctx): Define macro.
20100 (libc_fesetenvf_ctx): Likewise.
20101 (libc_feupdateenvf_ctx): Likewise.
20102 (libc_feholdsetroundf_ctx): Likewise.
20103 (libc_feresetroundf_ctx): Likewise.
20104 (libc_feholdexcept_setround_ctx): Likewise.
20105 (libc_fesetenv_ctx): Likewise.
20106 (libc_feupdateenv_ctx): Likewise.
20107 (libc_feholdsetround_ctx): Likewise.
20108 (libc_feresetround_ctx): Likewise.
20109 (libc_feholdexcept_setroundl_ctx): Likewise.
20110 (libc_feupdateenvl_ctx): Likewise.
20111 (libc_feholdsetroundl_ctx): Likewise.
20112 (libc_feresetroundl_ctx): Likewise.
20113 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20114 (libc_feresetround_53bit_ctx): Likewise.
20116 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20118 * locale/iso-639.def: Convert to UTF-8.
20120 2013-06-11 Joseph Myers <joseph@codesourcery.com>
20122 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20123 (EXCEPTION_TESTS_double): Likewise.
20124 (EXCEPTION_TESTS_long_double): Likewise.
20125 (EXCEPTION_TESTS): Likewise.
20126 * math/libm-test.inc (test_exceptions): Only test exceptions if
20127 EXCEPTION_TESTS (FLOAT).
20129 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20131 * benchtests/Makefile (string-bench): Add strcpy_chk and
20133 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20134 * benchtests/bench-stpcpy_chk.c: New file.
20135 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20136 * benchtests/bench-strcpy_chk.c: New file.
20137 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20139 (do_test): Likewise.
20141 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20143 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20144 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20145 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20146 with tabs where appropriate.
20147 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20149 [PPC_PLATFORM_PPC440]: Likewise.
20150 [PPC_PLATFORM_PPC464]: Likewise.
20151 [PPC_PLATFORM_PPC476]: Likewise.
20152 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20153 ppc464, and ppc476 platform strings merging from ports/
20156 2013-06-11 Andreas Schwab <schwab@suse.de>
20159 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20160 (from_ucs4_idx): Regenerate.
20161 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20162 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20163 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20164 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20165 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20166 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20167 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20168 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20169 from FROM_LOOP and TO_LOOP specific macros.
20170 (BODY): Handle combining characters.
20171 * iconvdata/BIG5HKSCS.irreversible: Update.
20172 * iconvdata/BIG5HKSCS.precomposed: New file.
20173 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20175 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20177 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20179 * include/sys/time.h: Fix indentation and add copyright header.
20181 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20182 (do_test): Likewise.
20183 * string/test-memchr.c (do_one_test): Likewise.
20184 (do_test): Likewise.
20185 * string/test-memcmp.c (do_one_test): Likewise.
20186 (do_test): Likewise.
20187 * string/test-memcpy.c (do_one_test): Likewise.
20188 (do_test): Likewise.
20189 * string/test-memmem.c (do_one_test): Likewise.
20190 (do_test): Likewise.
20191 (do_random_tests): Likewise.
20192 * string/test-memmove.c (do_one_test): Likewise.
20193 (do_test): Likewise.
20194 * string/test-memset.c (do_one_test): Likewise.
20195 (do_test): Likewise.
20196 * string/test-rawmemchr.c (do_one_test): Likewise.
20197 (do_test): Likewise.
20198 * string/test-strcasecmp.c (do_one_test): Likewise.
20199 (do_test): Likewise.
20200 * string/test-strcasestr.c (do_one_test): Likewise.
20201 (do_test): Likewise.
20202 * string/test-strcat.c (do_one_test): Likewise.
20203 (do_test): Likewise.
20204 * string/test-strchr.c (do_one_test): Likewise.
20205 (do_test): Likewise.
20206 * string/test-strcmp.c (do_one_test): Likewise.
20207 (do_test): Likewise.
20208 * string/test-strcpy.c (do_one_test): Likewise.
20209 (do_test): Likewise.
20210 * string/test-string.h: Likewise.
20211 (test_init): Likewise.
20212 * string/test-strlen.c (do_one_test): Likewise.
20213 (do_test): Likewise.
20214 * string/test-strncasecmp.c (do_one_test): Likewise.
20215 (do_test): Likewise.
20216 * string/test-strncat.c (do_one_test): Likewise.
20217 (do_test): Likewise.
20218 * string/test-strncmp.c (do_one_test): Likewise.
20219 (do_test_limit): Likewise.
20220 (do_test): Likewise.
20221 * string/test-strncpy.c (do_one_test): Likewise.
20222 (do_test): Likewise.
20223 * string/test-strnlen.c (do_one_test): Likewise.
20224 (do_test): Likewise.
20225 * string/test-strpbrk.c (do_one_test): Likewise.
20226 (do_test): Likewise.
20227 * string/test-strrchr.c (do_one_test): Likewise.
20228 (do_test): Likewise.
20229 * string/test-strspn.c (do_one_test): Likewise.
20230 (do_test): Likewise.
20231 * string/test-strstr.c (do_one_test): Likewise.
20232 (do_test): Likewise.
20234 * benchtests/Makefile (string-bench): Add string benchmarks.
20235 * benchtests/bench-bcopy-ifunc.c: New file.
20236 * benchtests/bench-bcopy.c: New file.
20237 * benchtests/bench-bzero-ifunc.c: New file.
20238 * benchtests/bench-bzero.c: New file.
20239 * benchtests/bench-memccpy-ifunc.c: New file.
20240 * benchtests/bench-memccpy.c: New file.
20241 * benchtests/bench-memchr-ifunc.c: New file.
20242 * benchtests/bench-memchr.c: New file.
20243 * benchtests/bench-memcmp-ifunc.c: New file.
20244 * benchtests/bench-memcmp.c: New file.
20245 * benchtests/bench-memmem-ifunc.c: New file.
20246 * benchtests/bench-memmem.c: New file.
20247 * benchtests/bench-memmove-ifunc.c: New file.
20248 * benchtests/bench-memmove.c: New file.
20249 * benchtests/bench-mempcpy-ifunc.c: New file.
20250 * benchtests/bench-mempcpy.c: New file.
20251 * benchtests/bench-memset-ifunc.c: New file.
20252 * benchtests/bench-memset.c: New file.
20253 * benchtests/bench-rawmemchr-ifunc.c: New file.
20254 * benchtests/bench-rawmemchr.c: New file.
20255 * benchtests/bench-stpcpy-ifunc.c: New file.
20256 * benchtests/bench-stpcpy.c: New file.
20257 * benchtests/bench-stpncpy-ifunc.c: New file.
20258 * benchtests/bench-stpncpy.c: New file.
20259 * benchtests/bench-strcasecmp-ifunc.c: New file.
20260 * benchtests/bench-strcasecmp.c: New file.
20261 * benchtests/bench-strcasestr-ifunc.c: New file.
20262 * benchtests/bench-strcasestr.c: New file.
20263 * benchtests/bench-strcat-ifunc.c: New file.
20264 * benchtests/bench-strcat.c: New file.
20265 * benchtests/bench-strchr-ifunc.c: New file.
20266 * benchtests/bench-strchr.c: New file.
20267 * benchtests/bench-strchrnul-ifunc.c: New file.
20268 * benchtests/bench-strchrnul.c: New file.
20269 * benchtests/bench-strcmp-ifunc.c: New file.
20270 * benchtests/bench-strcmp.c: New file.
20271 * benchtests/bench-strcpy-ifunc.c: New file.
20272 * benchtests/bench-strcpy.c: New file.
20273 * benchtests/bench-strcspn-ifunc.c: New file.
20274 * benchtests/bench-strcspn.c: New file.
20275 * benchtests/bench-strlen-ifunc.c: New file.
20276 * benchtests/bench-strlen.c: New file.
20277 * benchtests/bench-strncasecmp-ifunc.c: New file.
20278 * benchtests/bench-strncasecmp.c: New file.
20279 * benchtests/bench-strncat-ifunc.c: New file.
20280 * benchtests/bench-strncat.c: New file.
20281 * benchtests/bench-strncmp-ifunc.c: New file.
20282 * benchtests/bench-strncmp.c: New file.
20283 * benchtests/bench-strncpy-ifunc.c: New file.
20284 * benchtests/bench-strncpy.c: New file.
20285 * benchtests/bench-strnlen-ifunc.c: New file.
20286 * benchtests/bench-strnlen.c: New file.
20287 * benchtests/bench-strpbrk-ifunc.c: New file.
20288 * benchtests/bench-strpbrk.c: New file.
20289 * benchtests/bench-strrchr-ifunc.c: New file.
20290 * benchtests/bench-strrchr.c: New file.
20291 * benchtests/bench-strspn-ifunc.c: New file.
20292 * benchtests/bench-strspn.c: New file.
20293 * benchtests/bench-strstr-ifunc.c: New file.
20294 * benchtests/bench-strstr.c: New file.
20296 * benchtests/Makefile: Disable parallel execution of targets.
20297 (string-bench): Add memcpy.
20298 (benchset): New variable to store a list of benchmark sets.
20299 (bench-func): Renamed from bench.
20300 (bench-set): New target.
20301 (bench): Depend on bench-func and bench-set.
20302 * benchtests/README: Add section on benchmark sets.
20303 * benchtests/bench-memcpy-ifunc.c: New file.
20304 * benchtests/bench-memcpy.c: New file.
20305 * benchtests/bench-string.h: New file.
20307 2013-06-11 Andreas Schwab <schwab@suse.de>
20310 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20311 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20312 values in the triple.
20313 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20314 terminator in the group key.
20316 2013-06-11 Andreas Jaeger <aj@suse.de>
20318 * po/zh_TW.po: Update Chinese (traditional) translation from
20319 translation project.
20321 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20323 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20324 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20325 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20326 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20327 (clock_getcpuclockid): Likewise.
20328 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20329 Add weak_alias and libc_hidden_def.
20330 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20331 * rt/clock_gettime.c (clock_gettime): Rename to
20332 __clock_gettime. Add weak_alias and libc_hidden_def.
20333 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20334 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20335 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20336 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20337 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20339 * rt/clock_settime.c (clock_settime): Rename to
20340 __clock_settime. Add weak_alias and libc_hidden_def.
20341 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20343 2013-06-10 Joseph Myers <joseph@codesourcery.com>
20345 * mach/err_boot.sub: Remove trailing whitespace.
20346 * mach/err_ipc.sub: Likewise.
20347 * mach/err_mach.sub: Likewise.
20349 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20350 (ROUNDING_TESTS_double): Likewise.
20351 (ROUNDING_TESTS_long_double): Likewise.
20352 (ROUNDING_TESTS): Likewise.
20353 * math/libm-test.inc: Include <math-tests.h>.
20354 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20355 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20356 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20357 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20359 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20361 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20364 2013-06-08 Joseph Myers <joseph@codesourcery.com>
20366 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20367 otherwise empty TRANS lines.
20368 * sysdeps/gnu/errlist.c: Regenerated.
20370 * catgets/gencat.c (error_print): Use (void) in function
20372 * crypt/crypt_util.c (__init_des): Likewise.
20373 * crypt/speeds.c (Stop): Likewise.
20375 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20376 * inet/ruserpass.c (token): Likewise.
20377 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20378 * intl/localealias.c (extend_alias_table): Likewise.
20379 * intl/plural-exp.c (init_germanic_plural): Likewise.
20380 * libio/fcloseall.c (__fcloseall): Likewise.
20381 * libio/genops.c (_IO_flush_all): Likewise.
20382 (_IO_flush_all_linebuffered): Likewise.
20383 (_IO_cleanup): Likewise.
20384 (_IO_iter_begin): Likewise.
20385 (_IO_iter_end): Likewise.
20386 (_IO_list_lock): Likewise.
20387 (_IO_list_unlock): Likewise.
20388 (_IO_list_resetlock): Likewise.
20389 * libio/getchar.c (getchar): Likewise.
20390 * libio/getchar_u.c (getchar_unlocked): Likewise.
20391 * libio/getwchar.c (getwchar): Likewise.
20392 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20393 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20394 * login/getpt.c (__getpt): Likewise.
20395 * login/tst-utmp.c (main): Likewise.
20396 * malloc/hooks.c (__malloc_check_init): Likewise.
20397 * malloc/malloc.c (__malloc_stats): Likewise.
20398 * malloc/mtrace.c (tr_break): Likewise.
20399 (mtrace): Likewise.
20400 (muntrace): Likewise.
20401 * misc/fstab.c (endfsent): Likewise.
20402 * misc/getclktck.c (__getclktck): Likewise.
20403 * misc/getdtsz.c (__getdtablesize): Likewise.
20404 * misc/gethostid.c (gethostid): Likewise.
20405 * misc/getpagesize.c (__getpagesize): Likewise.
20406 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20407 (__get_nprocs): Likewise.
20408 (__get_phys_pages): Likewise.
20409 (__get_avphys_pages): Likewise.
20410 * misc/getttyent.c (getttyent): Likewise.
20411 (setttyent): Likewise.
20412 (endttyent): Likewise.
20413 * misc/getusershell.c (getusershell): Likewise.
20414 (endusershell): Likewise.
20415 (setusershell): Likewise.
20416 (initshells): Likewise.
20417 * misc/hsearch.c (__hdestroy): Likewise.
20418 * misc/sync.c (sync): Likewise.
20419 * misc/syslog.c (closelog_internal): Likewise.
20420 (closelog): Likewise.
20421 * misc/ttyslot.c (ttyslot): Likewise.
20422 * misc/vhangup.c (vhangup): Likewise.
20423 * posix/fork.c (__fork): Likewise.
20424 * posix/getegid.c (__getegid): Likewise.
20425 * posix/geteuid.c (__geteuid): Likewise.
20426 * posix/getgid.c (__getgid): Likewise.
20427 * posix/getpid.c (__getpid): Likewise.
20428 * posix/getppid.c (__getppid): Likewise.
20429 * posix/getuid.c (__getuid): Likewise.
20430 * posix/pause.c (pause): Likewise.
20431 * posix/setpgrp.c (setpgrp): Likewise.
20432 * posix/setsid.c (__setsid): Likewise.
20433 * posix/test-vfork.c (noop): Likewise.
20434 * resolv/gethnamaddr.c (_endhtent): Likewise.
20435 (_gethtent): Likewise.
20436 (ht_endhostent): Likewise.
20437 (gethostent): Likewise.
20438 (dns_service): Likewise.
20439 * stdlib/drand48.c (drand48): Likewise.
20440 * stdlib/lrand48.c (lrand48): Likewise.
20441 * stdlib/mrand48.c (mrand48): Likewise.
20442 * stdlib/rand.c (rand): Likewise.
20443 * stdlib/random.c (__random): Likewise.
20444 * stdlib/setenv.c (clearenv): Likewise.
20445 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20446 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20447 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20448 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20449 (__get_nprocs): Likewise.
20450 (__get_phys_pages): Likewise.
20451 (__get_avphys_pages): Likewise.
20452 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20453 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20454 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20455 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20456 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20457 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20458 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20459 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20460 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20461 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20462 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20463 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20464 * sysdeps/posix/clock.c (clock): Likewise.
20465 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20466 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20467 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20468 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20469 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20471 (__get_nprocs_conf): Likewise.
20472 (__get_phys_pages): Likewise.
20473 (__get_avphys_pages): Likewise.
20474 * time/clock.c (clock): Likewise.
20475 * time/tzset.c (__tzname_max): Likewise.
20477 2013-06-07 Joseph Myers <joseph@codesourcery.com>
20479 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20480 (__bswap_32): Do not use "register".
20481 * crypt/crypt.c (_ufc_doit_r): Likewise.
20482 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20483 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20484 * gmon/gmon.c (__monstartup): Likewise.
20485 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20486 * hurd/hurdmalloc.c (more_memory): Likewise.
20487 (malloc): Likewise.
20489 (realloc): Likewise.
20490 (malloc_fork_prepare): Likewise.
20491 (malloc_fork_parent): Likewise.
20492 (malloc_fork_child): Likewise.
20493 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20494 (_svcauth_des): Likewise.
20495 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20496 * inet/inet_net.c (inet_network): Likewise.
20497 * inet/inet_netof.c (inet_netof): Likewise.
20498 * inet/rcmd.c (__validuser2_sa): Likewise.
20499 * io/fts.c (fts_open): Likewise.
20500 (fts_load): Likewise.
20501 (fts_close): Likewise.
20502 (fts_read): Likewise.
20503 (fts_children): Likewise.
20504 (fts_build): Likewise.
20505 (fts_stat): Likewise.
20506 (fts_sort): Likewise.
20507 (fts_alloc): Likewise.
20508 (fts_lfree): Likewise.
20509 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20510 (_IO_file_xsgetn): Likewise.
20511 (_IO_file_xsgetn_mmap): Likewise.
20512 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20513 (_IO_cookie_write): Likewise.
20514 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20515 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20516 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20517 * malloc/obstack.c (_obstack_begin): Likewise.
20518 (_obstack_begin_1): Likewise.
20519 (_obstack_newchunk): Likewise.
20520 (_obstack_allocated_p): Likewise.
20521 (obstack_free): Likewise.
20522 (_obstack_memory_used): Likewise.
20523 * misc/getttyent.c (getttynam): Likewise.
20524 (getttyent): Likewise.
20527 * misc/getusershell.c (initshells): Likewise.
20528 * misc/syslog.c (__vsyslog_chk): Likewise.
20529 * misc/ttyslot.c (ttyslot): Likewise.
20530 * nis/nis_hash.c (__nis_hash): Likewise.
20531 * posix/fnmatch_loop.c (FCT): Likewise.
20532 * posix/getconf.c (print_all): Likewise.
20534 * posix/getopt.c (exchange): Likewise.
20535 * posix/glob.c (globfree): Likewise.
20536 (prefix_array): Likewise.
20537 (__glob_pattern_type): Likewise.
20538 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20539 (NS_GET32): Likewise.
20540 (NS_PUT16): Likewise.
20541 (NS_PUT32): Likewise.
20542 * resolv/gethnamaddr.c (getanswer): Likewise.
20543 (gethostbyname2): Likewise.
20544 (gethostbyaddr): Likewise.
20545 (_gethtent): Likewise.
20546 (_gethtbyname2): Likewise.
20547 (_gethtbyaddr): Likewise.
20548 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20549 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20550 * resolv/res_init.c (__res_vinit): Likewise.
20551 (net_mask): Likewise.
20552 * resolv/res_mkquery.c (outchar): Likewise.
20554 * stdio-common/printf_fp.c (outchar): Likewise.
20556 * stdio-common/printf_fphex.c (outchar): Likewise.
20558 * stdio-common/printf_size.c (outchar): Likewise.
20560 * stdio-common/test_rdwr.c (main): Likewise.
20561 * stdio-common/tfformat.c (matches): Likewise.
20562 * stdio-common/vfprintf.c (outchar): Likewise.
20563 (printf_unknown): Likewise.
20564 (buffered_vfprintf): Likewise.
20565 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20566 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20567 (ReadFile): Likewise.
20568 * stdlib/qsort.c (SWAP): Likewise.
20569 (_quicksort): Likewise.
20570 * stdlib/setenv.c (__add_to_environ): Likewise.
20571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20572 * stdlib/strtol_l.c (__strtol_l): Likewise.
20573 * stdlib/tst-strtod.c (main): Likewise.
20574 * stdlib/tst-strtol.c (main): Likewise.
20575 * stdlib/tst-strtoll.c (main): Likewise.
20576 * string/bits/string2.h (__strcmp_cc): Likewise.
20577 (__strcmp_cg): Likewise.
20578 (__strcspn_c1): Likewise.
20579 (__strcspn_c2): Likewise.
20580 (__strcspn_c3): Likewise.
20581 (__strspn_c1): Likewise.
20582 (__strspn_c2): Likewise.
20583 (__strspn_c3): Likewise.
20584 (__strsep_1c): Likewise.
20585 (__strsep_2c): Likewise.
20586 (__strsep_3c): Likewise.
20587 * string/memccpy.c (__memccpy): Likewise.
20588 * string/stpcpy.c (__stpcpy): Likewise.
20589 * string/strcmp.c (strcmp): Likewise.
20590 * string/strrchr.c (strrchr): Likewise.
20591 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20593 * sysdeps/mach/hurd/getcwd.c
20594 (_hurd_canonicalize_directory_name_internal): Likewise.
20595 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20596 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20597 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20598 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20599 Likewise, in both definitions.
20600 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20602 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20603 64] (__bswap_64): Likewise.
20604 * time/test_time.c (main): Likewise.
20605 * time/tzfile.c (__tzfile_read): Likewise.
20606 (__tzfile_compute): Likewise.
20607 * time/tzset.c (__tzset_parse_tz): Likewise.
20608 (tzset_internal): Likewise.
20609 (compute_change): Likewise.
20610 * wcsmbs/wcscat.c (__wcscat): Likewise.
20611 * wcsmbs/wcschr.c (wcschr): Likewise.
20612 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20613 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20614 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20615 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20616 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20617 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20618 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20619 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20620 * wcsmbs/wmemset.c (wmemset): Likewise.
20622 2013-06-06 Joseph Myers <joseph@codesourcery.com>
20624 * scripts/config.guess: Update to version 2013-05-16.
20625 * scripts/config.sub: Update to version 2013-04-24.
20626 * scripts/install-sh: Update to version 2011-11-20.07.
20627 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20628 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20630 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
20632 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20633 * elf/sln.c: Likewise.
20634 * hurd/hurd/ioctl.h: Likewise.
20635 * hurd/hurdmalloc.c: Likewise.
20636 * hurd/xattr.c: Likewise.
20637 * include/shlib-compat.h: Likewise.
20638 * inet/ruserpass.c: Likewise.
20639 * libio/iofgets_u.c: Likewise.
20640 * libio/iofgetws_u.c: Likewise.
20641 * locale/programs/ld-identification.c: Likewise.
20642 * locale/programs/ld-time.c: Likewise.
20643 * mach/msg-destroy.c: Likewise.
20644 * nss/nss_files/files-netgrp.c: Likewise.
20645 * resolv/res_data.c: Likewise.
20646 * soft-fp/op-1.h: Likewise.
20647 * soft-fp/op-2.h: Likewise.
20648 * soft-fp/op-4.h: Likewise.
20649 * soft-fp/op-common.h: Likewise.
20650 * stdio-common/printf_fphex.c: Likewise.
20651 * stdlib/strtod_l.c: Likewise.
20652 * sunrpc/rpc/clnt.h: Likewise.
20653 * sysdeps/generic/framestate.c: Likewise.
20654 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20655 * sysdeps/i386/bsd-setjmp.S: Likewise.
20656 * sysdeps/i386/__longjmp.S: Likewise.
20657 * sysdeps/i386/setjmp.S: Likewise.
20658 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20659 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20660 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20661 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20663 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20664 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20665 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20666 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20667 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20668 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20669 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20670 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20671 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20672 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20673 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20674 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20675 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20676 * sysdeps/ieee754/support.c: Likewise.
20677 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20678 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20679 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20680 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20681 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20682 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20683 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20684 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20685 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20686 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20687 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20688 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20689 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20690 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20691 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20692 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20693 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20696 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
20698 * posix/transbug.c: Remove executable mode.
20700 2013-06-05 Joseph Myers <joseph@codesourcery.com>
20702 * crypt/speeds.c: Remove trailing whitespace.
20703 * dlfcn/default.c: Likewise.
20704 * elf/ifuncdep2.c: Likewise.
20705 * elf/ifuncmain1.c: Likewise.
20706 * elf/ifuncmain1vis.c: Likewise.
20707 * elf/testobj.h: Likewise.
20708 * elf/tst-stackguard1.c: Likewise.
20709 * gmon/sys/gmon.h: Likewise.
20710 * hurd/hurdmsg.c: Likewise.
20711 * hurd/new-fd.c: Likewise.
20712 * hurd/ports-get.c: Likewise.
20713 * iconvdata/ibm1008_420.c: Likewise.
20714 * inet/tst-getni1.c: Likewise.
20715 * inet/tst-getni2.c: Likewise.
20716 * libio/ioungetc.c: Likewise.
20717 * libio/wfiledoalloc.c: Likewise.
20718 * manual/libm-err-tab.pl: Likewise.
20719 * math/w_dremf.c: Likewise.
20720 * misc/ftruncate.c: Likewise.
20721 * posix/bug-glob2.c: Likewise.
20722 * posix/tst-pcre.c: Likewise.
20723 * posix/wait4.c: Likewise.
20724 * resolv/README: Likewise.
20725 * resolv/res_debug.h: Likewise.
20726 * resolv/tst-inet_ntop.c: Likewise.
20727 * setjmp/bug269-setjmp.c: Likewise.
20728 * soft-fp/extended.h: Likewise.
20729 * soft-fp/op-1.h: Likewise.
20730 * soft-fp/op-2.h: Likewise.
20731 * soft-fp/op-4.h: Likewise.
20732 * soft-fp/op-8.h: Likewise.
20733 * soft-fp/testit.c: Likewise.
20734 * stdio-common/bug16.c: Likewise.
20735 * stdlib/random.c: Likewise.
20736 * sunrpc/rpcsvc/rquota.x: Likewise.
20737 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20738 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20739 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20740 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20741 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20742 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20743 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20744 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20745 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20746 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20747 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20748 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20749 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20750 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20751 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20752 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20753 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20754 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20755 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20756 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20757 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20758 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20759 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20760 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20761 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20762 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20764 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20765 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20766 * sysdeps/ieee754/s_lib_version.c: Likewise.
20767 * sysdeps/mach/hurd/check_fds.c: Likewise.
20768 * sysdeps/mach/hurd/getsockname.c: Likewise.
20769 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20770 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20771 * sysdeps/powerpc/bits/link.h: Likewise.
20772 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20773 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20774 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20775 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20776 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20777 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20778 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20779 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20780 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20781 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20782 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20783 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20784 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20785 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20786 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20787 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20789 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20790 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20791 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20792 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20793 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20794 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20795 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20796 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20797 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20798 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20799 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20800 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20801 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20803 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20804 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20805 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20806 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20807 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20808 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20809 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20810 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20811 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20812 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20813 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20814 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20815 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20816 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20817 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20818 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20819 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20820 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20821 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20823 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20824 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20825 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20826 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20827 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20828 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20829 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20830 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20831 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20832 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20833 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20834 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20835 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20836 * sysdeps/powerpc/sysdep.h: Likewise.
20837 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20838 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20839 * sysdeps/sh/dl-trampoline.S: Likewise.
20840 * sysdeps/sh/memset.S: Likewise.
20841 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20842 * sysdeps/sh/strlen.S: Likewise.
20843 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20844 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20845 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20846 * sysdeps/sparc/sparc32/rem.S: Likewise.
20847 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20848 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20849 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20850 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20851 * sysdeps/sparc/sparc32/urem.S: Likewise.
20852 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20853 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20854 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20855 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20856 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20857 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20858 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20859 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20860 * sysdeps/unix/bsd/times.c: Likewise.
20861 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20862 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20866 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20867 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20868 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20869 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20870 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20871 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20872 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20873 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20874 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20875 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20876 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20877 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20878 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20879 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20880 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20881 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20882 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20883 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20884 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20885 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20886 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20887 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20888 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20889 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20890 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20891 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20892 * sysdeps/x86_64/strcspn.S: Likewise.
20894 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20896 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20897 generated file. Regenerate properly from gen-translit.pl.
20898 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20899 locale/C-translit.h.
20901 2013-06-05 Andreas Schwab <schwab@suse.de>
20904 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20905 week as 6 instead of -1.
20906 * time/tst-strptime.c (day_tests): Add test case.
20908 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20910 * sysdeps/generic/math_private.h
20911 (libc_feholdexcept_setround_53bit): Replace with
20912 libc_feholdsetround_53bit.
20913 (libc_feupdateenv_53bit): Replace with
20914 libc_feresetround_53bit.
20915 (SET_RESTORE_ROUND_53BIT): Adjust.
20917 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20919 * string/test-strchrnul.c: Add copyright header.
20921 * posix/tst-getaddrinfo4.c: Increase test timeout.
20923 2013-06-03 Carlos O'Donell <carlos@redhat.com>
20926 * math/libm-test.inc (MAX_EXP): Remove
20928 (ulp): Use MIN_EXP - MANT_DIG.
20929 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20931 2013-05-31 Carlos O'Donell <carlos@redhat.com>
20933 * po/be.po: Revert last change.
20934 * po/zh_CN.po: Likewise.
20935 * po/header.pot: Likewise.
20937 2013-05-31 Joseph Myers <joseph@codesourcery.com>
20939 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20940 link-libc-deps to empty as target-specific variable.
20941 * Makerules (link-libc-args): New variable.
20942 (libc-for-link): Likewise.
20943 (link-libc-deps): Likewise.
20944 (lib%.so): Depend on $(link-libc-deps). Link with
20946 (build-module): Link with $(link-libc-args).
20947 (build-module-asneeded): Likewise.
20948 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20950 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20951 target-specific variable.
20952 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20953 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20954 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20956 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20958 ($(objpfx)libpcprofile.so): Likewise.
20959 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20961 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20962 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20963 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20965 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20966 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20967 * login/Makefile ($(objpfx)libutil.so): Likewise.
20968 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20969 * math/Makefile ($(objpfx)libm.so): Likewise.
20970 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20971 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20972 variable instead of depending directly on libc.
20973 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20974 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20976 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20978 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20979 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20980 ($(objpfx)libanl.so): Likewise.
20981 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20983 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20985 * sysdeps/i386/fpu/Makefile: Remove file.
20986 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20987 ($(objpfx)libm.so): Remove dependency on ld.so.
20989 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
20992 * nis/yp_xdr.c (XDRMAXNAME): Define.
20993 (XDRMAXRECORD): Define.
20994 (xdr_domainname): Use XDRMAXNAME.
20995 (xdr_mapname): Likewise.
20996 (xdr_peername): Likewise.
20997 (xdr_keydat): Use XDRMAXRECORD.
20998 (xdr_valdat): Likewise.
21000 2013-05-30 Jeff Law <law@redhat.com>
21003 * manual/errno.texi (ESTALE): Update to account for more than
21004 just NFS file systems.
21005 * sysdeps/gnu/errlist.c: Regenerated.
21007 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21010 * elf/Makefile (tests): Add tst-null-argv.
21011 (modules-names): Add tst-null-argv-lib.
21012 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21013 (tst-null-argv-ENV): Set environment for tst-null-argv.
21014 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21015 (RTLD_PROGNAME): New macro.
21016 * elf/tst-null-argv.c: New test case.
21017 * elf/tst-null-argv-lib.c: Library for test case.
21018 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21019 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21020 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21021 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21022 * elf/dl-init.c (call_init): Likewise.
21023 (_dl_init): Likewise.
21024 * elf/dl-load.c (print_search_path): Likewise.
21025 (_dl_map_object): Likewise.
21026 * elf/dl-lookup.c (do_lookup_x): Likewise.
21027 (add_dependency): Likewise.
21028 (_dl_lookup_symbol_x): Likewise.
21029 (_dl_debug_bindings): Likewise.
21030 * elf/dl-open.c (_dl_show_scope): Likewise.
21031 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21032 * elf/dl-version.c (match_symbol): Likewise.
21033 (_dl_check_map_versions): Likewise.
21034 * elf/rtld.c (dl_main): Likewise.
21035 (print_unresolved): Use RTLD_PROGNAME.
21036 (print_missing_version): Likewise.
21037 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21038 (elf_machine_rela): Likewise.
21039 * sysdeps/powerpc/powerpc32/dl-machine.c
21040 (__process_machine_rela): Likewise.
21041 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21043 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21045 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21047 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21048 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21050 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21052 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21054 2013-05-28 Carlos O'Donell <carlos@redhat.com>
21056 * po/be.po: Add descriptive title.
21057 * po/zh_CN.po: Likewise.
21058 * po/header.pot: Likewise.
21060 2013-05-28 Mike Frysinger <vapier@gentoo.org>
21062 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21064 (enlarge_archive): Likewise.
21066 2013-05-28 Ben North <ben@redfrontdoor.org>
21068 * manual/arith.texi (frexp): It is the magnitude of the return
21069 value which lies in [0.5, 1), not the return value itself.
21071 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21075 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21077 * stdio-common/bug26.c (main): Correct fscanf template.
21079 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21080 declare _dl_skip_args.
21082 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21085 * manual/platform.texi: Add missing @end deftypefun.
21087 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21090 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21091 bit of mantissa of 2^16382.
21092 * math/libm-test.inc (hypot_test_data): Add more tests.
21094 * math/libm-test.inc: Add drem and pow10 to list of tested
21096 (pow10_test): New function.
21097 (drem_test): Likewise.
21098 (drem_test_tonearest): Likewise.
21099 (drem_test_towardzero): Likewise.
21100 (drem_test_downward): Likewise.
21101 (drem_test_upward): Likewise.
21102 (main): Call the new functions.
21104 * math/libm-test.inc (finite_test_data): Remove.
21105 (finite_test): Run tests from isfinite_test_data.
21106 (gamma_test_data): Remove.
21107 (gamma_test): Run tests from lgamma_test_data.
21108 * sysdeps/i386/fpu/libm-test-ulps: Update.
21109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21111 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21113 * manual/platform.texi: Add PowerPC PPR function set documentation.
21114 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21117 2013-05-24 Carlos O'Donell <carlos@redhat.com>
21119 * math/libm-test.inc (MAX_EXP): Define.
21121 (ulp): New function.
21122 (check_float_internal): Use ULPDIFF.
21123 (cpow_test): Disable failing test.
21124 (check_ulp): Test ulp() implemetnation.
21125 (main): Call check_ulp before starting tests.
21127 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21129 * math/gen-libm-test.pl (generate_testfile): Do not handle
21130 START_DATA and END_DATA.
21131 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21133 (acos_tonearest_test_data): Likewise.
21134 (acos_towardzero_test_data): Likewise.
21135 (acos_downward_test_data): Likewise.
21136 (acos_upward_test_data): Likewise.
21137 (acosh_test_data): Likewise.
21138 (asin_test_data): Likewise.
21139 (asin_tonearest_test_data): Likewise.
21140 (asin_towardzero_test_data): Likewise.
21141 (asin_downward_test_data): Likewise.
21142 (asin_upward_test_data): Likewise.
21143 (asinh_test_data): Likewise.
21144 (atan_test_data): Likewise.
21145 (atanh_test_data): Likewise.
21146 (atan2_test_data): Likewise.
21147 (cabs_test_data): Likewise.
21148 (cacos_test_data): Likewise.
21149 (cacosh_test_data): Likewise.
21150 (carg_test_data): Likewise.
21151 (casin_test_data): Likewise.
21152 (casinh_test_data): Likewise.
21153 (catan_test_data): Likewise.
21154 (catanh_test_data): Likewise.
21155 (cbrt_test_data): Likewise.
21156 (ccos_test_data): Likewise.
21157 (ccosh_test_data): Likewise.
21158 (ceil_test_data): Likewise.
21159 (cexp_test_data): Likewise.
21160 (cimag_test_data): Likewise.
21161 (clog_test_data): Likewise.
21162 (clog10_test_data): Likewise.
21163 (conj_test_data): Likewise.
21164 (copysign_test_data): Likewise.
21165 (cos_test_data): Likewise.
21166 (cos_tonearest_test_data): Likewise.
21167 (cos_towardzero_test_data): Likewise.
21168 (cos_downward_test_data): Likewise.
21169 (cos_upward_test_data): Likewise.
21170 (cosh_test_data): Likewise.
21171 (cosh_tonearest_test_data): Likewise.
21172 (cosh_towardzero_test_data): Likewise.
21173 (cosh_downward_test_data): Likewise.
21174 (cosh_upward_test_data): Likewise.
21175 (cpow_test_data): Likewise.
21176 (cproj_test_data): Likewise.
21177 (creal_test_data): Likewise.
21178 (csin_test_data): Likewise.
21179 (csinh_test_data): Likewise.
21180 (csqrt_test_data): Likewise.
21181 (ctan_test_data): Likewise.
21182 (ctan_tonearest_test_data): Likewise.
21183 (ctan_towardzero_test_data): Likewise.
21184 (ctan_downward_test_data): Likewise.
21185 (ctan_upward_test_data): Likewise.
21186 (ctanh_test_data): Likewise.
21187 (ctanh_tonearest_test_data): Likewise.
21188 (ctanh_towardzero_test_data): Likewise.
21189 (ctanh_downward_test_data): Likewise.
21190 (ctanh_upward_test_data): Likewise.
21191 (erf_test_data): Likewise.
21192 (erfc_test_data): Likewise.
21193 (exp_test_data): Likewise.
21194 (exp_tonearest_test_data): Likewise.
21195 (exp_towardzero_test_data): Likewise.
21196 (exp_downward_test_data): Likewise.
21197 (exp_upward_test_data): Likewise.
21198 (exp10_test_data): Likewise.
21199 (exp2_test_data): Likewise.
21200 (expm1_test_data): Likewise.
21201 (fabs_test_data): Likewise.
21202 (fdim_test_data): Likewise.
21203 (finite_test_data): Likewise.
21204 (floor_test_data): Likewise.
21205 (fma_test_data): Likewise.
21206 (fma_towardzero_test_data): Likewise.
21207 (fma_downward_test_data): Likewise.
21208 (fma_upward_test_data): Likewise.
21209 (fmax_test_data): Likewise.
21210 (fmin_test_data): Likewise.
21211 (fmod_test_data): Likewise.
21212 (fpclassify_test_data): Likewise.
21213 (frexp_test_data): Likewise.
21214 (gamma_test_data): Likewise.
21215 (hypot_test_data): Likewise.
21216 (ilogb_test_data): Likewise.
21217 (isfinite_test_data): Likewise.
21218 (isgreater_test_data): Likewise.
21219 (isgreaterequal_test_data): Likewise.
21220 (isinf_test_data): Likewise.
21221 (isless_test_data): Likewise.
21222 (islessequal_test_data): Likewise.
21223 (islessgreater_test_data): Likewise.
21224 (isnan_test_data): Likewise.
21225 (isnormal_test_data): Likewise.
21226 (issignaling_test_data): Likewise.
21227 (isunordered_test_data): Likewise.
21228 (j0_test_data): Likewise.
21229 (j1_test_data): Likewise.
21230 (jn_test_data): Likewise.
21231 (ldexp_test_data): Likewise.
21232 (lgamma_test_data): Likewise.
21233 (lrint_test_data): Likewise.
21234 (lrint_tonearest_test_data): Likewise.
21235 (lrint_towardzero_test_data): Likewise.
21236 (lrint_downward_test_data): Likewise.
21237 (lrint_upward_test_data): Likewise.
21238 (llrint_test_data): Likewise.
21239 (llrint_tonearest_test_data): Likewise.
21240 (llrint_towardzero_test_data): Likewise.
21241 (llrint_downward_test_data): Likewise.
21242 (llrint_upward_test_data): Likewise.
21243 (log_test_data): Likewise.
21244 (log10_test_data): Likewise.
21245 (log1p_test_data): Likewise.
21246 (log2_test_data): Likewise.
21247 (logb_test_data): Likewise.
21248 (logb_downward_test_data): Likewise.
21249 (lround_test_data): Likewise.
21250 (llround_test_data): Likewise.
21251 (modf_test_data): Likewise.
21252 (nearbyint_test_data): Likewise.
21253 (nextafter_test_data): Likewise.
21254 (nexttoward_test_data): Likewise.
21255 (pow_test_data): Likewise.
21256 (pow_tonearest_test_data): Likewise.
21257 (pow_towardzero_test_data): Likewise.
21258 (pow_downward_test_data): Likewise.
21259 (pow_upward_test_data): Likewise.
21260 (remainder_test_data): Likewise.
21261 (remainder_tonearest_test_data): Likewise.
21262 (remainder_towardzero_test_data): Likewise.
21263 (remainder_downward_test_data): Likewise.
21264 (remainder_upward_test_data): Likewise.
21265 (remquo_test_data): Likewise.
21266 (rint_test_data): Likewise.
21267 (rint_tonearest_test_data): Likewise.
21268 (rint_towardzero_test_data): Likewise.
21269 (rint_downward_test_data): Likewise.
21270 (rint_upward_test_data): Likewise.
21271 (round_test_data): Likewise.
21272 (scalb_test_data): Likewise.
21273 (scalbn_test_data): Likewise.
21274 (scalbln_test_data): Likewise.
21275 (signbit_test_data): Likewise.
21276 (sin_test_data): Likewise.
21277 (sin_tonearest_test_data): Likewise.
21278 (sin_towardzero_test_data): Likewise.
21279 (sin_downward_test_data): Likewise.
21280 (sin_upward_test_data): Likewise.
21281 (sincos_test_data): Likewise.
21282 (sinh_test_data): Likewise.
21283 (sinh_tonearest_test_data): Likewise.
21284 (sinh_towardzero_test_data): Likewise.
21285 (sinh_downward_test_data): Likewise.
21286 (sinh_upward_test_data): Likewise.
21287 (sqrt_test_data): Likewise.
21288 (tan_test_data): Likewise.
21289 (tan_tonearest_test_data): Likewise.
21290 (tan_towardzero_test_data): Likewise.
21291 (tan_downward_test_data): Likewise.
21292 (tan_upward_test_data): Likewise.
21293 (tanh_test_data): Likewise.
21294 (tgamma_test_data): Likewise.
21295 (trunc_test_data): Likewise.
21296 (y0_test_data): Likewise.
21297 (y1_test_data): Likewise.
21298 (yn_test_data): Likewise.
21299 (significand_test_data): Likewise.
21301 * math/gen-libm-test.pl (@functions): Remove variable.
21302 (generate_testfile): Don't handle START and END lines.
21303 * math/libm-test.inc (START): New macro.
21305 (END_COMPLEX): Likewise.
21306 (acos_test): Use END macro without arguments.
21307 (acos_test_tonearest): Likewise.
21308 (acos_test_towardzero): Likewise.
21309 (acos_test_downward): Likewise.
21310 (acos_test_upward): Likewise.
21311 (acosh_test): Likewise.
21312 (asin_test): Likewise.
21313 (asin_test_tonearest): Likewise.
21314 (asin_test_towardzero): Likewise.
21315 (asin_test_downward): Likewise.
21316 (asin_test_upward): Likewise.
21317 (asinh_test): Likewise.
21318 (atan_test): Likewise.
21319 (atanh_test): Likewise.
21320 (atan2_test): Likewise.
21321 (cabs_test): Likewise.
21322 (cacos_test): Use END_COMPLEX macro without arguments.
21323 (cacosh_test): Likewise.
21324 (carg_test): Use END macro without arguments.
21325 (casin_test): Use END_COMPLEX macro without arguments.
21326 (casinh_test): Likewise.
21327 (catan_test): Likewise.
21328 (catanh_test): Likewise.
21329 (cbrt_test): Use END macro without arguments.
21330 (ccos_test): Use END_COMPLEX macro without arguments.
21331 (ccosh_test): Likewise.
21332 (ceil_test): Use END macro without arguments.
21333 (cexp_test): Use END_COMPLEX macro without arguments.
21334 (cimag_test): Use END macro without arguments.
21335 (clog_test): Use END_COMPLEX macro without arguments.
21336 (clog10_test): Likewise.
21337 (conj_test): Likewise.
21338 (copysign_test): Use END macro without arguments.
21339 (cos_test): Likewise.
21340 (cos_test_tonearest): Likewise.
21341 (cos_test_towardzero): Likewise.
21342 (cos_test_downward): Likewise.
21343 (cos_test_upward): Likewise.
21344 (cosh_test): Likewise.
21345 (cosh_test_tonearest): Likewise.
21346 (cosh_test_towardzero): Likewise.
21347 (cosh_test_downward): Likewise.
21348 (cosh_test_upward): Likewise.
21349 (cpow_test): Use END_COMPLEX macro without arguments.
21350 (cproj_test): Likewise.
21351 (creal_test): Use END macro without arguments.
21352 (csin_test): Use END_COMPLEX macro without arguments.
21353 (csinh_test): Likewise.
21354 (csqrt_test): Likewise.
21355 (ctan_test): Likewise.
21356 (ctan_test_tonearest): Likewise.
21357 (ctan_test_towardzero): Likewise.
21358 (ctan_test_downward): Likewise.
21359 (ctan_test_upward): Likewise.
21360 (ctanh_test): Likewise.
21361 (ctanh_test_tonearest): Likewise.
21362 (ctanh_test_towardzero): Likewise.
21363 (ctanh_test_downward): Likewise.
21364 (ctanh_test_upward): Likewise.
21365 (erf_test): Use END macro without arguments.
21366 (erfc_test): Likewise.
21367 (exp_test): Likewise.
21368 (exp_test_tonearest): Likewise.
21369 (exp_test_towardzero): Likewise.
21370 (exp_test_downward): Likewise.
21371 (exp_test_upward): Likewise.
21372 (exp10_test): Likewise.
21373 (exp2_test): Likewise.
21374 (expm1_test): Likewise.
21375 (fabs_test): Likewise.
21376 (fdim_test): Likewise.
21377 (finite_test): Likewise.
21378 (floor_test): Likewise.
21379 (fma_test): Likewise.
21380 (fma_test_towardzero): Likewise.
21381 (fma_test_downward): Likewise.
21382 (fma_test_upward): Likewise.
21383 (fmax_test): Likewise.
21384 (fmin_test): Likewise.
21385 (fmod_test): Likewise.
21386 (fpclassify_test): Likewise.
21387 (frexp_test): Likewise.
21388 (gamma_test): Likewise.
21389 (hypot_test): Likewise.
21390 (ilogb_test): Likewise.
21391 (isfinite_test): Likewise.
21392 (isgreater_test): Likewise.
21393 (isgreaterequal_test): Likewise.
21394 (isinf_test): Likewise.
21395 (isless_test): Likewise.
21396 (islessequal_test): Likewise.
21397 (islessgreater_test): Likewise.
21398 (isnan_test): Likewise.
21399 (isnormal_test): Likewise.
21400 (issignaling_test): Likewise.
21401 (isunordered_test): Likewise.
21402 (j0_test): Likewise.
21403 (j1_test): Likewise.
21404 (jn_test): Likewise.
21405 (ldexp_test): Likewise.
21406 (lgamma_test): Likewise.
21407 (lrint_test): Likewise.
21408 (lrint_test_tonearest): Likewise.
21409 (lrint_test_towardzero): Likewise.
21410 (lrint_test_downward): Likewise.
21411 (lrint_test_upward): Likewise.
21412 (llrint_test): Likewise.
21413 (llrint_test_tonearest): Likewise.
21414 (llrint_test_towardzero): Likewise.
21415 (llrint_test_downward): Likewise.
21416 (llrint_test_upward): Likewise.
21417 (log_test): Likewise.
21418 (log10_test): Likewise.
21419 (log1p_test): Likewise.
21420 (log2_test): Likewise.
21421 (logb_test): Likewise.
21422 (logb_test_downward): Likewise.
21423 (lround_test): Likewise.
21424 (llround_test): Likewise.
21425 (modf_test): Likewise.
21426 (nearbyint_test): Likewise.
21427 (nextafter_test): Likewise.
21428 (nexttoward_test): Likewise.
21429 (pow_test): Likewise.
21430 (pow_test_tonearest): Likewise.
21431 (pow_test_towardzero): Likewise.
21432 (pow_test_downward): Likewise.
21433 (pow_test_upward): Likewise.
21434 (remainder_test): Likewise.
21435 (remainder_test_tonearest): Likewise.
21436 (remainder_test_towardzero): Likewise.
21437 (remainder_test_downward): Likewise.
21438 (remainder_test_upward): Likewise.
21439 (remquo_test): Likewise.
21440 (rint_test): Likewise.
21441 (rint_test_tonearest): Likewise.
21442 (rint_test_towardzero): Likewise.
21443 (rint_test_downward): Likewise.
21444 (rint_test_upward): Likewise.
21445 (round_test): Likewise.
21446 (scalb_test): Likewise.
21447 (scalbn_test): Likewise.
21448 (scalbln_test): Likewise.
21449 (signbit_test): Likewise.
21450 (sin_test): Likewise.
21451 (sin_test_tonearest): Likewise.
21452 (sin_test_towardzero): Likewise.
21453 (sin_test_downward): Likewise.
21454 (sin_test_upward): Likewise.
21455 (sincos_test): Likewise.
21456 (sinh_test): Likewise.
21457 (sinh_test_tonearest): Likewise.
21458 (sinh_test_towardzero): Likewise.
21459 (sinh_test_downward): Likewise.
21460 (sinh_test_upward): Likewise.
21461 (sqrt_test): Likewise.
21462 (tan_test): Likewise.
21463 (tan_test_tonearest): Likewise.
21464 (tan_test_towardzero): Likewise.
21465 (tan_test_downward): Likewise.
21466 (tan_test_upward): Likewise.
21467 (tanh_test): Likewise.
21468 (tgamma_test): Likewise.
21469 (trunc_test): Likewise.
21470 (y0_test): Likewise.
21471 (y1_test): Likewise.
21472 (yn_test): Likewise.
21473 (significand_test): Likewise.
21475 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
21478 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21480 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21483 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21484 __ppc_mdoio and __ppc_mdoom.
21485 * manual/platform.texi: Document new functions __ppc_yield,
21486 __ppc_mdoio and __ppc_mdoom.
21488 2013-05-22 Carlos O'Donell <carlos@redhat.com>
21490 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21491 (main): Mention "tls" pseudo-hwcap is legacy.
21492 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21494 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21496 * math/gen-libm-test.pl (parse_args): Output only string of
21497 arguments as text for test name, not full call or descriptions of
21498 tests for extra outputs.
21499 (generate_testfile): Do not pass function name to parse_args.
21500 Generate this_func variable from START.
21501 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21503 (struct test_ff_f_data): Likewise.
21504 (test_ff_f_data_nexttoward): Likewise.
21505 (struct test_fi_f_data): Likewise.
21506 (struct test_fl_f_data): Likewise.
21507 (struct test_if_f_data): Likewise.
21508 (struct test_fff_f_data): Likewise.
21509 (struct test_c_f_data): Likewise.
21510 (struct test_f_f1_data): Likewise. Remove field extra_name.
21511 (struct test_fF_f1_data): Likewise.
21512 (struct test_ffI_f1_data): Likewise.
21513 (struct test_c_c_data): Rename test_name field to arg_str.
21514 (struct test_cc_c_data): Likewise.
21515 (struct test_f_i_data): Likewise.
21516 (struct test_ff_i_data): Likewise.
21517 (struct test_f_l_data): Likewise.
21518 (struct test_f_L_data): Likewise.
21519 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21521 (COMMON_TEST_SETUP): New macro.
21522 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21523 (COMMON_TEST_CLEANUP): Likewise.
21524 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21525 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21527 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21528 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21530 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21531 (RUN_TEST_fff_f): Take argument string. Call new setup and
21533 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21534 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21536 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21537 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21539 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21540 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21542 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21543 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21545 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21546 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21548 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21549 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21551 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21552 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21554 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21555 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21557 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21558 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21560 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21561 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21563 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21564 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21566 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21567 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21569 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21570 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21572 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21573 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21575 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21576 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21578 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21580 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21582 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21583 to _sifields.sigfault.
21584 (si_addr_lsb): Define new macro.
21585 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21586 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21587 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21589 2013-05-03 Carlos O'Donell <carlos at redhat.com>
21592 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21594 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21596 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21597 loading the domain.
21599 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21601 * math/gen-libm-test.pl (parse_args): Do not include expected
21602 result in test name.
21603 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21605 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21606 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21607 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21610 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21612 * benchtests/Makefile: Sort function entries.
21614 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21615 tanh, asinh, acosh, atanh.
21616 * benchtests/acos-inputs: New file.
21617 * benchtests/acosh-inputs: New file.
21618 * benchtests/asin-inputs: New file.
21619 * benchtests/asinh-inputs: New file.
21620 * benchtests/atanh-inputs: New file.
21621 * benchtests/cosh-inputs: New file.
21622 * benchtests/log-inputs: New file.
21623 * benchtests/sinh-inputs: New file.
21624 * benchtests/tanh-inputs: New file.
21626 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21629 * posix/tst-getaddrinfo4.c: New test.
21630 * posix/Makefile (tests): Add it.
21632 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21635 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21636 when no services were used.
21637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21638 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21640 2013-05-21 Andreas Schwab <schwab@suse.de>
21643 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21644 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21646 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21647 redundant variable declarations and reallocation of buffer when
21648 parsing as IPv6 address. Always set NSS status when called from
21649 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21650 buffer too small. Correct computation of needed size.
21651 * nss/Makefile (tests): Add test-digits-dots.
21652 * nss/test-digits-dots.c: New test.
21654 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21656 * benchtests/Makefile: Remove instructions for adding
21658 * benchtests/README: New file to explain how to execute and
21659 enhance the benchmark tests.
21661 2013-05-21 Andreas Schwab <schwab@suse.de>
21664 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21665 * setjmp/tst-sigsetjmp.c: New test.
21667 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21669 * sysdeps/x86_64/memset.S (memset): New implementation.
21670 (__bzero): Likewise.
21671 (__memset_tail): New function.
21673 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21675 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21676 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21677 __memcpy_sse2_unaligned ifunc selection.
21678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21679 Add memcpy-sse2-unaligned.S.
21680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21681 Add: __memcpy_sse2_unaligned.
21683 2013-05-19 Joseph Myers <joseph@codesourcery.com>
21686 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21687 math_force_eval before restoring floating-point envrionment.
21688 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21689 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21691 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21693 (__nearbyintl): Use math_force_eval before restoring
21694 floating-point environment.
21695 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21697 * math/gen-libm-test.pl (special_functions): Remove.
21698 (parse_args): Don't handle TEST_extra. Handle functions with no
21700 * math/libm-test.inc (struct test_sincos_data): Replace with
21701 struct test_fFF_11_data.
21702 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21703 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21704 (sincos_test_data): Change element type to struct
21705 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21706 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21707 RUN_TEST_LOOP_sincos.
21708 * math/README.libm-test: Don't mention special handling of
21709 individual functions.
21710 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21711 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21712 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21713 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21714 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21717 * math/gen-libm-test.pl (get_variable): Remove function.
21718 (parse_args): Don't show pointer parameters to call in test
21719 names. Use "extra output N" in test names for extra outputs
21720 rather than naming variables.
21722 2013-05-18 Joseph Myers <joseph@codesourcery.com>
21725 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21726 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21727 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21729 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21731 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21734 * math/gen-libm-test.pl (@tests): Remove variable.
21735 ($count): Likewise.
21736 (new_test): Remove function.
21737 (show_exceptions): New function.
21738 (special_functions): Use show_exceptions instead of new_test.
21739 (parse_args): Likewise.
21740 (generate_testfile): Pass only function name in generated call to
21741 print_max_error or print_complex_max_error.
21742 (get_ulps): Do not handle complex tests specially.
21743 (output_test): Rename to ...
21744 (get_all_ulps_for_test): ... this. Return a string rather than
21745 printing to a file. Require ulps to be present.
21746 (output_ulps): Generate arrays rather than #defines.
21747 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21748 (struct ulp_data): New type.
21749 (BUILD_COMPLEX_ULP): Remove macro.
21750 (compare_ulp_data): New function.
21751 (find_ulps): Likewise.
21752 (find_test_ulps): Likewise.
21753 (find_function_ulps): Likewise.
21754 (find_complex_function_ulps): Likewise.
21755 (print_max_error): Determine allowed ulps using
21756 find_function_ulps.
21757 (print_complex_max_error): Determine allowed ulps using
21758 find_complex_function_ulps.
21759 (check_float_internal): Determine max ulps using find_test_ulps.
21760 (check_float): Do not take max_ulp parameter. Update call to
21761 check_float_internal.
21762 (check_complex): Likewise.
21763 (check_int): Do not take max_ulp parameter.
21764 (check_long): Likewise.
21765 (check_bool): Likewise.
21766 (check_longlong): Likewise.
21767 (struct test_f_f_data): Remove max_ulp field.
21768 (struct test_ff_f_data): Likewise.
21769 (struct test_ff_f_data_nexttoward): Likewise.
21770 (struct test_fi_f_data): Likewise.
21771 (struct test_fl_f_data): Likewise.
21772 (struct test_if_f_data): Likewise.
21773 (struct test_fff_f_data): Likewise.
21774 (struct test_c_f_data): Likewise.
21775 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21776 (struct test_fF_f1_data): Likewise.
21777 (struct test_ffI_f1_data): Likewise.
21778 (struct test_c_c_data): Remove max_ulp field.
21779 (struct test_cc_c_data): Likewise.
21780 (struct test_f_i_data): Likewise.
21781 (struct test_ff_i_data): Likewise.
21782 (struct test_f_l_data): Likewise.
21783 (struct test_f_L_data): Likewise.
21784 (struct test_sincos_data): Likewise.
21785 (RUN_TEST_f_f): Do not handle ulps.
21786 (RUN_TEST_LOOP_f_f): Likewise.
21787 (RUN_TEST_2_f): Likewise.
21788 (RUN_TEST_LOOP_2_f): Likewise.
21789 (RUN_TEST_fff_f): Likewise.
21790 (RUN_TEST_LOOP_fff_f): Likewise.
21791 (RUN_TEST_c_f): Likewise.
21792 (RUN_TEST_LOOP_c_f): Likewise.
21793 (RUN_TEST_f_f1): Likewise.
21794 (RUN_TEST_LOOP_f_f1): Likewise.
21795 (RUN_TEST_fF_f1): Likewise.
21796 (RUN_TEST_LOOP_fF_f1): Likewise.
21797 (RUN_TEST_fI_f1): Likewise.
21798 (RUN_TEST_LOOP_fI_f1): Likewise.
21799 (RUN_TEST_ffI_f1): Likewise.
21800 (RUN_TEST_LOOP_ffI_f1): Likewise.
21801 (RUN_TEST_c_c): Likewise.
21802 (RUN_TEST_LOOP_c_c): Likewise.
21803 (RUN_TEST_cc_c): Likewise.
21804 (RUN_TEST_LOOP_cc_c): Likewise.
21805 (RUN_TEST_f_i): Likewise.
21806 (RUN_TEST_LOOP_f_i): Likewise.
21807 (RUN_TEST_f_i_tg): Likewise.
21808 (RUN_TEST_LOOP_f_i_tg): Likewise.
21809 (RUN_TEST_ff_i_tg): Likewise.
21810 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21811 (RUN_TEST_f_b): Likewise.
21812 (RUN_TEST_LOOP_f_b): Likewise.
21813 (RUN_TEST_f_b_tg): Likewise.
21814 (RUN_TEST_LOOP_f_b_tg): Likewise.
21815 (RUN_TEST_f_l): Likewise.
21816 (RUN_TEST_LOOP_f_l): Likewise.
21817 (RUN_TEST_f_L): Likewise.
21818 (RUN_TEST_LOOP_f_L): Likewise.
21819 (RUN_TEST_sincos): Likewise.
21820 (RUN_TEST_LOOP_sincos): Likewise.
21822 2013-05-17 Joseph Myers <joseph@codesourcery.com>
21826 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21827 main case of finite arguments, set rounding mode to FE_TONEAREST
21828 and discard exceptions.
21829 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21831 (remainder_tonearest_test_data): New variable.
21832 (remainder_test_tonearest): New function.
21833 (remainder_towardzero_test_data): New variable.
21834 (remainder_test_towardzero): New function.
21835 (remainder_downward_test_data): New variable.
21836 (remainder_test_downward): New function.
21837 (remainder_upward_test_data): New variable.
21838 (remainder_test_upward): New function.
21839 (main): Call the new test functions.
21841 * math/libm-test.inc (struct test_f_f1_data): Remove field
21843 (struct test_fF_f1_data): Likewise.
21844 (struct test_ffI_f1_data): Likewise.
21845 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21846 based on value of EXTRA_EXPECTED.
21847 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21848 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21849 EXTRA_VAR based on value of EXTRA_EXPECTED.
21850 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21851 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21852 EXTRA_VAR based on value of EXTRA_EXPECTED.
21853 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21854 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21855 EXTRA_VAR based on value of EXTRA_EXPECTED.
21856 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21857 * math/gen-libm-test.pl (parse_args): Don't output initializers
21858 for extra output values.
21860 * math/libm-test.inc (check_int): Expect result to be exactly
21861 equal to expected value and do not handle ulps.
21862 (check_long): Likewise.
21863 (check_longlong): Likewise.
21865 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21867 (cimag_test_data): Likewise.
21868 (conj_test_data): Likewise.
21869 (copysign_test_data): Likewise.
21870 (cproj_test_data): Likewise.
21871 (creal_test_data): Likewise.
21872 (fabs_test_data): Likewise.
21873 (fdim_test_data): Likewise.
21874 (finite_test_data): Likewise.
21875 (floor_test_data): Likewise.
21876 (fmax_test_data): Likewise.
21877 (fmin_test_data): Likewise.
21878 (fmod_test_data): Likewise.
21879 (fpclassify_test_data): Likewise.
21880 (frexp_test_data): Likewise.
21881 (ilogb_test_data): Likewise.
21882 (isfinite_test_data): Likewise.
21883 (isgreater_test_data): Likewise.
21884 (isgreaterequal_test_data): Likewise.
21885 (isinf_test_data): Likewise.
21886 (isless_test_data): Likewise.
21887 (islessequal_test_data): Likewise.
21888 (islessgreater_test_data): Likewise.
21889 (isnan_test_data): Likewise.
21890 (isnormal_test_data): Likewise.
21891 (issignaling_test_data): Likewise.
21892 (isunordered_test_data): Likewise.
21893 (ldexp_test_data): Likewise.
21894 (lrint_test_data): Likewise.
21895 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21896 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21897 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21898 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21899 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21900 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21902 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21903 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21904 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21905 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21907 (lrint_downward_test_data): Test for "inexact" exceptions.
21908 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21909 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21910 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21912 (lrint_upward_test_data): Test for "inexact" exceptions.
21913 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21915 (llrint_test_data): Test for "inexact" exceptions.
21916 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21917 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21918 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21919 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21920 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21921 (llrint_downward_test_data): Test for "inexact" exceptions.
21922 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21923 (llrint_upward_test_data): Test for "inexact" exceptions.
21924 (logb_test_data): Likewise.
21925 (logb_downward_test_data): Likewise.
21926 (nextafter_test_data): Likewise.
21927 (nexttoward_test_data): Likewise.
21928 (remainder_test_data): Likewise.
21929 (remquo_test_data): Likewise.
21930 (scalbn_test_data): Likewise.
21931 (scalbln_test_data): Likewise.
21932 (signbit_test_data): Likewise.
21933 (sqrt_test_data): Likewise.
21934 (significand_test_data): Likewise.
21936 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21939 * benchtests/bench-modf.c (struct args): Mark arg0 as
21941 * scripts/bench.pl: Mark members of struct args as volatile.
21943 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21946 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21947 negative infinity on POWER6 or lower.
21948 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21950 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21953 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21954 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21955 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21956 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21957 (_FP_SETQNAN): New macro.
21958 (_FP_SETQNAN_SEMIRAW): Likewise.
21959 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21960 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21961 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21962 (FP_EXTEND): Use _FP_FRAC_SNANP.
21963 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21964 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21966 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21968 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21971 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21973 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21974 with DIVIDE_BY_ZERO_EXCEPTION.
21975 (gamma_test_data): Likewise.
21976 (lgamma_test_data): Likewise.
21977 (log_test_data): Likewise.
21978 (log10_test_data): Likewise.
21979 (log2_test_data): Likewise.
21980 (tgamma_test_data): Likewise.
21982 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21983 (acos_test_tonearest): Likewise.
21984 (acos_test_towardzero): Likewise.
21985 (acos_test_downward): Likewise.
21986 (acos_test_upward): Likewise.
21987 (acosh_test): Likewise.
21988 (asin_test): Likewise.
21989 (asin_test_tonearest): Likewise.
21990 (asin_test_towardzero): Likewise.
21991 (asin_test_downward): Likewise.
21992 (asin_test_upward): Likewise.
21993 (asinh_test): Likewise.
21994 (atan_test): Likewise.
21995 (atanh_test): Likewise.
21996 (atan2_test): Likewise.
21997 (cabs_test): Likewise.
21998 (cacos_test): Likewise.
21999 (cacosh_test): Likewise.
22000 (casin_test): Likewise.
22001 (casinh_test): Likewise.
22002 (catan_test): Likewise.
22003 (catanh_test): Likewise.
22004 (cbrt_test): Likewise.
22005 (ccos_test): Likewise.
22006 (ccosh_test): Likewise.
22007 (cexp_test): Likewise.
22008 (clog_test): Likewise.
22009 (clog10_test): Likewise.
22010 (cos_test): Likewise.
22011 (cos_test_tonearest): Likewise.
22012 (cos_test_towardzero): Likewise.
22013 (cos_test_downward): Likewise.
22014 (cos_test_upward): Likewise.
22015 (cosh_test): Likewise.
22016 (cosh_test_tonearest): Likewise.
22017 (cosh_test_towardzero): Likewise.
22018 (cosh_test_downward): Likewise.
22019 (cosh_test_upward): Likewise.
22020 (cpow_test): Likewise.
22021 (csin_test): Likewise.
22022 (csinh_test): Likewise.
22023 (csqrt_test): Likewise.
22024 (ctan_test): Likewise.
22025 (ctan_test_tonearest): Likewise.
22026 (ctan_test_towardzero): Likewise.
22027 (ctan_test_downward): Likewise.
22028 (ctan_test_upward): Likewise.
22029 (ctanh_test): Likewise.
22030 (ctanh_test_tonearest): Likewise.
22031 (ctanh_test_towardzero): Likewise.
22032 (ctanh_test_downward): Likewise.
22033 (ctanh_test_upward): Likewise.
22034 (erf_test): Likewise.
22035 (erfc_test): Likewise.
22036 (exp_test): Likewise.
22037 (exp_test_tonearest): Likewise.
22038 (exp_test_towardzero): Likewise.
22039 (exp_test_downward): Likewise.
22040 (exp_test_upward): Likewise.
22041 (exp10_test): Likewise.
22042 (exp2_test): Likewise.
22043 (expm1_test): Likewise.
22044 (fmod_test): Likewise.
22045 (gamma_test): Likewise.
22046 (hypot_test): Likewise.
22047 (j0_test): Likewise.
22048 (j1_test): Likewise.
22049 (jn_test): Likewise.
22050 (lgamma_test): Likewise.
22051 (log_test): Likewise.
22052 (log10_test): Likewise.
22053 (log1p_test): Likewise.
22054 (log2_test): Likewise.
22055 (logb_test_downward): Likewise.
22056 (pow_test): Likewise.
22057 (pow_test_tonearest): Likewise.
22058 (pow_test_towardzero): Likewise.
22059 (pow_test_downward): Likewise.
22060 (pow_test_upward): Likewise.
22061 (remainder_test): Likewise.
22062 (remquo_test): Likewise.
22063 (sin_test): Likewise.
22064 (sin_test_tonearest): Likewise.
22065 (sin_test_towardzero): Likewise.
22066 (sin_test_downward): Likewise.
22067 (sin_test_upward): Likewise.
22068 (sincos_test): Likewise.
22069 (sinh_test): Likewise.
22070 (sinh_test_tonearest): Likewise.
22071 (sinh_test_towardzero): Likewise.
22072 (sinh_test_downward): Likewise.
22073 (sinh_test_upward): Likewise.
22074 (sqrt_test): Likewise.
22075 (tan_test): Likewise.
22076 (tan_test_tonearest): Likewise.
22077 (tan_test_towardzero): Likewise.
22078 (tan_test_downward): Likewise.
22079 (tan_test_upward): Likewise.
22080 (tanh_test): Likewise.
22081 (tgamma_test): Likewise.
22082 (y0_test): Likewise.
22083 (y1_test): Likewise.
22084 (yn_test): Likewise.
22086 * math/gen-libm-test.pl (adjust_arg): Remove function.
22087 (special_function): Remove argument $in_func. Only handle
22088 generating output for tables of tests, not inside functions.
22089 (parse_args): Likewise.
22090 (generate_testfile): Remove variable $in_func. Update call to
22092 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22093 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22094 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22095 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22096 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22097 (MAX_VALUE_INIT): Rename macro to max_value.
22098 (MIN_VALUE_INIT): Rename macro to min_value.
22099 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22100 (plus_zero): Remove variable.
22101 (minus_zero): Likewise.
22102 (plus_infty): Likewise.
22103 (minus_infty): Likewise.
22104 (qnan_value): Likewise.
22105 (max_value): Likewise.
22106 (min_value): Likewise.
22107 (min_subnorm_value): Likewise.
22109 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22111 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22112 uint64_t or uint32_t usage.
22113 * crypt/sha256-block.c: Likewise.
22114 * crypt/sha256-crypt.c: Likewise.
22115 * crypt/sha256.c: Likewise.
22116 * crypt/sha512-block.c: Likewise.
22117 * crypt/sha512-crypt.c: Likewise.
22118 * crypt/sha512.c: Likewise.
22119 * debug/backtrace-tst.c: Likewise.
22120 * debug/pcprofiledump.c: Likewise.
22121 * elf/cache.c: Likewise.
22122 * elf/dl-cache.c: Likewise.
22123 * elf/dl-misc.c: Likewise.
22124 * elf/dl-profile.c: Likewise.
22125 * elf/dl-support.c: Likewise.
22126 * elf/ldconfig.c: Likewise.
22127 * elf/sprof.c: Likewise.
22128 * iconv/dummy-repertoire.c: Likewise.
22129 * iconv/iconv_charmap.c: Likewise.
22130 * iconv/skeleton.c: Likewise.
22131 * iconvdata/8bit-generic.c: Likewise.
22132 * iconvdata/cp737.h: Likewise.
22133 * iconvdata/cp775.h: Likewise.
22134 * iconvdata/ibm1008.h: Likewise.
22135 * iconvdata/ibm1025.h: Likewise.
22136 * iconvdata/ibm1046.h: Likewise.
22137 * iconvdata/ibm1097.h: Likewise.
22138 * iconvdata/ibm1112.h: Likewise.
22139 * iconvdata/ibm1122.h: Likewise.
22140 * iconvdata/ibm1123.h: Likewise.
22141 * iconvdata/ibm1124.h: Likewise.
22142 * iconvdata/ibm1129.h: Likewise.
22143 * iconvdata/ibm1130.h: Likewise.
22144 * iconvdata/ibm1132.h: Likewise.
22145 * iconvdata/ibm1133.h: Likewise.
22146 * iconvdata/ibm1137.h: Likewise.
22147 * iconvdata/ibm1140.h: Likewise.
22148 * iconvdata/ibm1141.h: Likewise.
22149 * iconvdata/ibm1142.h: Likewise.
22150 * iconvdata/ibm1143.h: Likewise.
22151 * iconvdata/ibm1144.h: Likewise.
22152 * iconvdata/ibm1145.h: Likewise.
22153 * iconvdata/ibm1146.h: Likewise.
22154 * iconvdata/ibm1147.h: Likewise.
22155 * iconvdata/ibm1148.h: Likewise.
22156 * iconvdata/ibm1149.h: Likewise.
22157 * iconvdata/ibm1153.h: Likewise.
22158 * iconvdata/ibm1154.h: Likewise.
22159 * iconvdata/ibm1155.h: Likewise.
22160 * iconvdata/ibm1156.h: Likewise.
22161 * iconvdata/ibm1157.h: Likewise.
22162 * iconvdata/ibm1158.h: Likewise.
22163 * iconvdata/ibm1160.h: Likewise.
22164 * iconvdata/ibm1161.h: Likewise.
22165 * iconvdata/ibm1162.h: Likewise.
22166 * iconvdata/ibm1163.h: Likewise.
22167 * iconvdata/ibm1164.h: Likewise.
22168 * iconvdata/ibm1166.h: Likewise.
22169 * iconvdata/ibm1167.h: Likewise.
22170 * iconvdata/ibm12712.h: Likewise.
22171 * iconvdata/ibm1390.h: Likewise.
22172 * iconvdata/ibm1399.h: Likewise.
22173 * iconvdata/ibm16804.h: Likewise.
22174 * iconvdata/ibm4517.h: Likewise.
22175 * iconvdata/ibm4899.h: Likewise.
22176 * iconvdata/ibm4909.h: Likewise.
22177 * iconvdata/ibm4971.h: Likewise.
22178 * iconvdata/ibm5347.h: Likewise.
22179 * iconvdata/ibm803.h: Likewise.
22180 * iconvdata/ibm856.h: Likewise.
22181 * iconvdata/ibm901.h: Likewise.
22182 * iconvdata/ibm902.h: Likewise.
22183 * iconvdata/ibm9030.h: Likewise.
22184 * iconvdata/ibm9066.h: Likewise.
22185 * iconvdata/ibm921.h: Likewise.
22186 * iconvdata/ibm922.h: Likewise.
22187 * iconvdata/ibm9448.h: Likewise.
22188 * iconvdata/isiri-3342.h: Likewise.
22189 * iconvdata/jis0201.h: Likewise.
22190 * include/link.h: Likewise.
22191 * include/netdb.h: Likewise.
22192 * inet/check_native.c: Likewise.
22193 * inet/check_pf.c: Likewise.
22194 * inet/getipv4sourcefilter.c: Likewise.
22195 * inet/getnameinfo.c: Likewise.
22196 * inet/getsourcefilter.c: Likewise.
22197 * inet/htonl.c: Likewise.
22198 * inet/setipv4sourcefilter.c: Likewise.
22199 * inet/setsourcefilter.c: Likewise.
22200 * inet/test-inet6_opt.c: Likewise.
22201 * inet/tst-network.c: Likewise.
22202 * locale/C-collate.c: Likewise.
22203 * locale/C-ctype.c: Likewise.
22204 * locale/C-time.c: Likewise.
22205 * locale/C-translit.h: Likewise.
22206 * locale/loadarchive.c: Likewise.
22207 * locale/programs/3level.h: Likewise.
22208 * locale/programs/charmap.c: Likewise.
22209 * locale/programs/charmap.h: Likewise.
22210 * locale/programs/ld-address.c: Likewise.
22211 * locale/programs/ld-collate.c: Likewise.
22212 * locale/programs/ld-ctype.c: Likewise.
22213 * locale/programs/ld-identification.c: Likewise.
22214 * locale/programs/ld-measurement.c: Likewise.
22215 * locale/programs/ld-messages.c: Likewise.
22216 * locale/programs/ld-monetary.c: Likewise.
22217 * locale/programs/ld-name.c: Likewise.
22218 * locale/programs/ld-numeric.c: Likewise.
22219 * locale/programs/ld-paper.c: Likewise.
22220 * locale/programs/ld-telephone.c: Likewise.
22221 * locale/programs/ld-time.c: Likewise.
22222 * locale/programs/linereader.c: Likewise.
22223 * locale/programs/locale.c: Likewise.
22224 * locale/programs/locarchive.c: Likewise.
22225 * locale/programs/locfile.h: Likewise.
22226 * locale/programs/repertoire.c: Likewise.
22227 * locale/programs/simple-hash.c: Likewise.
22228 * locale/programs/simple-hash.h: Likewise.
22229 * malloc/memusage.c: Likewise.
22230 * malloc/memusagestat.c: Likewise.
22231 * nis/nis_defaults.c: Likewise.
22232 * nis/nis_hash.c: Likewise.
22233 * nis/nis_print.c: Likewise.
22234 * nis/nis_xdr.c: Likewise.
22235 * nscd/connections.c: Likewise.
22236 * nscd/hstcache.c: Likewise.
22237 * nscd/nscd_gethst_r.c: Likewise.
22238 * nscd/nscd_getserv_r.c: Likewise.
22239 * nscd/nscd_helper.c: Likewise.
22240 * nscd/servicescache.c: Likewise.
22241 * nss/makedb.c: Likewise.
22242 * nss/nss_db/db-XXX.c: Likewise.
22243 * nss/nss_db/db-initgroups.c: Likewise.
22244 * nss/nss_db/db-netgrp.c: Likewise.
22245 * nss/nss_files/files-network.c: Likewise.
22246 * nss/nss_files/files-parse.c: Likewise.
22247 * posix/bug-regex5.c: Likewise.
22248 * posix/fnmatch_loop.c: Likewise.
22249 * posix/regcomp.c: Likewise.
22250 * posix/regexec.c: Likewise.
22251 * posix/tst-rfc3484-2.c: Likewise.
22252 * posix/tst-rfc3484-3.c: Likewise.
22253 * posix/tst-rfc3484.c: Likewise.
22254 * resolv/nss_dns/dns-canon.c: Likewise.
22255 * resolv/nss_dns/dns-network.c: Likewise.
22256 * resolv/res_init.c: Likewise.
22257 * resolv/res_mkquery.c: Likewise.
22258 * resolv/tst-aton.c: Likewise.
22259 * stdlib/cxa_atexit.c: Likewise.
22260 * stdlib/cxa_finalize.c: Likewise.
22261 * stdlib/gen-fpioconst.c: Likewise.
22262 * stdlib/strtol_l.c: Likewise.
22263 * string/tst-endian.c: Likewise.
22264 * sunrpc/auth_des.c: Likewise.
22265 * sunrpc/clnt_udp.c: Likewise.
22266 * sunrpc/rtime.c: Likewise.
22267 * sunrpc/svcauth_des.c: Likewise.
22268 * sunrpc/xdr.c: Likewise.
22269 * sunrpc/xdr_intXX_t.c: Likewise.
22270 * sunrpc/xdr_rec.c: Likewise.
22271 * sysdeps/generic/ldconfig.h: Likewise.
22272 * sysdeps/generic/ldsodefs.h: Likewise.
22273 * sysdeps/generic/memusage.h: Likewise.
22274 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22275 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22276 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22277 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22280 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22281 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22282 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22283 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22284 * sysdeps/posix/getaddrinfo.c: Likewise.
22285 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22286 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22287 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22288 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22289 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22290 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22291 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22292 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22293 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22294 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22295 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22296 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22297 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22298 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22299 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22300 * sysdeps/x86_64/dl-tls.h: Likewise.
22301 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22302 * time/alt_digit.c: Likewise.
22303 * time/era.c: Likewise.
22304 * wcsmbs/tst-c16c32-1.c: Likewise.
22306 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22308 * math/libm-test.inc (struct test_sincos_data): New type.
22309 (RUN_TEST_LOOP_sincos): New macro.
22310 (sincos_test_data): New variable.
22311 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22313 2013-05-16 Richard Henderson <rth@redhat.com>
22315 * math/atest-exp2.c (LIMB64): New macro.
22316 (CONSTSZ): New macro.
22317 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22319 (print_mpn_fp): ... to function scope.
22320 (read_mpn_hex): Remove.
22321 (get_log2): Remove.
22322 (exp2_mpn): Use mp_log2.
22323 (main): Use mp_exp1.
22325 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22327 * math/libm-test.inc: Remove comment about not testing "inexact"
22329 (INEXACT_EXCEPTION): New macro.
22330 (NO_INEXACT_EXCEPTION): Likewise.
22331 (INVALID_EXCEPTION_OK): Update value.
22332 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22333 (OVERFLOW_EXCEPTION_OK): Likewise.
22334 (UNDERFLOW_EXCEPTION_OK): Likewise.
22335 (IGNORE_ZERO_INF_SIGN): Likewise.
22336 (ERRNO_UNCHANGED): Likewise.
22337 (ERRNO_EDOM): Likewise.
22338 (ERRNO_ERANGE): Likewise.
22339 (test_exceptions): Handle testing "inexact" exceptions.
22340 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22341 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22342 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22343 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22345 (rint_towardzero_test_data): Likewise.
22346 (rint_downward_test_data): Likewise.
22347 (rint_upward_test_data): Likewise.
22349 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22350 with OVERFLOW_EXCEPTION.
22351 (exp10_test_data): Likewise.
22352 (exp2_test_data): Likewise.
22353 (expm1_test_data): Likewise.
22354 (lgamma_test_data): Likewise.
22355 (pow_test_data): Likewise.
22356 (tgamma_test_data): Likewise.
22357 (yn_test_data): Remove duplicate test of overflow.
22359 * math/libm-test.inc (struct test_cc_c_data): New type.
22360 (RUN_TEST_LOOP_cc_c): New macro.
22361 (cpow_test_data): New variable.
22362 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22364 * math/libm-test.inc (struct test_f_L_data): New type.
22365 (RUN_TEST_LOOP_f_L): New macro.
22366 (llrint_test_data): New variable.
22367 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22368 (llrint_tonearest_test_data): New variable.
22369 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22370 (llrint_towardzero_test_data): New variable.
22371 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22372 (llrint_downward_test_data): New variable.
22373 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22374 (llrint_upward_test_data): New variable.
22375 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22376 (llround_test_data): New variable.
22377 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22379 2013-05-13 Peter Collingbourne <pcc@google.com>
22381 * math/atest-exp2.c (get_log2): Remove const attribute.
22383 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22385 * math/libm-test.inc (struct test_f_l_data): New type.
22386 (RUN_TEST_LOOP_f_l): New macro.
22387 (lrint_test_data): New variable.
22388 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22389 (lrint_tonearest_test_data): New variable.
22390 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22391 (lrint_towardzero_test_data): New variable.
22392 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22393 (lrint_downward_test_data): New variable.
22394 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22395 (lrint_upward_test_data): New variable.
22396 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22397 (lround_test_data): New variable.
22398 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22400 2013-05-15 Peter Collingbourne <pcc@google.com>
22402 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22403 (EXTRACT_WORDS64) Use where appropriate.
22404 (INSERT_WORDS64) Likewise.
22406 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22407 constraints with x constraints.
22408 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22410 * malloc/obstack.c (_obstack_compat): Add initializer.
22412 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22414 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22415 si_trapno and add si_addr_lsb to _sifields.sigfault.
22416 (si_trapno): Remove macro.
22417 (si_addr_lsb): Define new macro.
22418 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22420 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22422 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22423 instead of TEST_f_l.
22424 (llrint_test_tonearest): Likewise.
22425 (llrint_test_towardzero): Likewise.
22426 (llrint_test_downward): Likewise.
22427 (llrint_test_upward): Likewise.
22428 (llround_test): Likewise.
22430 * math/libm-test.inc (struct test_f_i_data): Add comment.
22431 (RUN_TEST_LOOP_f_b): New macro.
22432 (RUN_TEST_LOOP_f_b_tg): Likewise.
22433 (finite_test_data): New variable.
22434 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22435 (isfinite_test_data): New variable.
22436 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22437 (isinf_test_data): New variable.
22438 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22439 (isnan_test_data): New variable.
22440 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22441 (isnormal_test_data): New variable.
22442 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22443 (issignaling_test_data): New variable.
22444 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22445 (signbit_test_data): New variable.
22446 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22448 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22449 with INVALID_EXCEPTION.
22450 (acosh_test_data): Likewise.
22451 (asin_test_data): Likewise.
22452 (atanh_test_data): Likewise.
22453 (fmod_test_data): Likewise.
22454 (log_test_data): Likewise.
22455 (log10_test_data): Likewise.
22456 (log2_test_data): Likewise.
22457 (pow_test_data): Likewise.
22458 (sqrt_test_data): Likewise.
22459 (y0_test_data): Likewise.
22460 (y1_test_data): Likewise.
22461 (yn_test_data): Likewise.
22463 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22466 * math/libm-test.inc (struct test_ff_i_data): New type.
22467 (RUN_TEST_LOOP_ff_i_tg): New macro.
22468 (isgreater_test_data): New variable.
22469 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22470 (isgreaterequal_test_data): New variable.
22471 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22472 (isless_test_data): New variable.
22473 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22474 (islessequal_test_data): New variable.
22475 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22476 (islessgreater_test_data): New variable.
22477 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22478 (isunordered_test_data): New variable.
22479 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22481 2013-05-14 David S. Miller <davem@davemloft.net>
22483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22485 2013-05-14 Joseph Myers <joseph@codesourcery.com>
22487 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22489 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22491 (struct test_f_i_data): Change type of max_ulp to int.
22493 * math/libm-test.inc (test_ffI_f1_data): New type.
22494 (RUN_TEST_LOOP_ffI_f1): New macro.
22495 (remquo_test_data): New variable.
22496 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22498 * setjmp/tst-setjmp-fp.c: New file.
22499 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22500 (link-libm): New variable.
22501 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22503 * math/libm-test.inc (struct test_f_i_data): New type.
22504 (RUN_TEST_LOOP_f_i): New macro.
22505 (RUN_TEST_LOOP_f_i_tg): Likewise.
22506 (fpclassify_test_data): New variable.
22507 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22508 (ilogb_test_data): New variable.
22509 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22511 * math/libm-test.inc (scalbln_test): Correct function name in END
22514 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22515 (RUN_TEST_LOOP_fI_f1): New macro.
22516 (frexp_test_data): New variable.
22517 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22519 * math/libm-test.inc (struct test_fF_f1_data): New type.
22520 (RUN_TEST_LOOP_fF_f1): New macro.
22521 (modf_test_data): New variable.
22522 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22524 * math/libm-test.inc (struct test_f_f1_data): New type.
22525 (RUN_TEST_LOOP_f_f1): New macro.
22526 (gamma_test_data): New variable.
22527 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22528 (lgamma_test_data): New variable.
22529 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22531 2013-05-13 Carlos O'Donell <carlos@redhat.com>
22533 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22534 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22535 (main): Comment "tls" pseudo-hwcap.
22537 2013-05-13 Joseph Myers <joseph@codesourcery.com>
22539 * math/libm-test.inc (struct test_fl_f_data): New type.
22540 (RUN_TEST_LOOP_fl_f): New variable.
22541 (scalbln_test_data): New variable.
22542 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22544 * math/libm-test.inc (struct test_fi_f_data): New type.
22545 (RUN_TEST_LOOP_fi_f): New macro.
22546 (ldexp_test_data): New variable.
22547 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22548 (scalbn_test_data): New variable.
22549 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22551 * math/libm-test.inc (struct test_c_f_data): New type.
22552 (RUN_TEST_LOOP_c_f): New macro.
22553 (cabs_test_data): New variable.
22554 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22555 (carg_test_data): New variable.
22556 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22557 (cimag_test_data): New variable.
22558 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22559 (creal_test_data): New variable.
22560 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22562 * math/libm-test.inc (struct test_if_f_data): New type.
22563 (RUN_TEST_LOOP_if_f): New macro.
22564 (jn_test_data): New variable.
22565 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22566 (yn_test_data): New variable.
22567 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22569 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22571 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22573 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22574 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22576 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22578 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22579 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22580 (bench-deps): Add bench-timing.h.
22581 * benchtests-bench-skeleton.c: Include bench-timing.h.
22582 (main): Use TIMING_* macros instead of clock_gettime.
22583 * benchtests/bench-timing.h: New file.
22586 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22587 Renamed from _LIB_VERSION.
22588 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22590 2013-05-12 Joseph Myers <joseph@codesourcery.com>
22592 * math/libm-test.inc (struct test_fff_f_data): New type.
22593 (RUN_TEST_LOOP_fff_f): New macro.
22594 (fma_test_data): New variable.
22595 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22596 (fma_towardzero_test_data): New variable.
22597 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22598 (fma_downward_test_data): New variable.
22599 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22600 (fma_upward_test_data): New variable.
22601 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22603 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22604 (struct test_c_c_data): New type.
22605 (RUN_TEST_LOOP_c_c): New macro.
22606 (cacos_test_data): New variable.
22607 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22608 (cacosh_test_data): New variable.
22609 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22610 (casin_test_data): New variable.
22611 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22612 (casinh_test_data): New variable.
22613 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22614 (catan_test_data): New variable.
22615 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22616 (catanh_test_data): New variable.
22617 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22618 (ccos_test_data): New variable.
22619 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22620 (ccosh_test_data): New variable.
22621 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22622 (cexp_test_data): New variable.
22623 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22624 (clog_test_data): New variable.
22625 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22626 (clog10_test_data): New variable.
22627 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22628 (conj_test_data): New variable.
22629 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22630 (cproj_test_data): New variable.
22631 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22632 (csin_test_data): New variable.
22633 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22634 (csinh_test_data): New variable.
22635 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22636 (csqrt_test_data): New variable.
22637 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22638 (ctan_test_data): New variable.
22639 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22640 (ctan_tonearest_test_data): New variable.
22641 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22642 (ctan_towardzero_test_data): New variable.
22643 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22644 (ctan_downward_test_data): New variable.
22645 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22646 (ctan_upward_test_data): New variable.
22647 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22648 (ctanh_test_data): New variable.
22649 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22650 (ctanh_tonearest_test_data): New variable.
22651 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22652 (ctanh_towardzero_test_data): New variable.
22653 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22654 (ctanh_downward_test_data): New variable.
22655 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22656 (ctanh_upward_test_data): New variable.
22657 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22658 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22661 * math/libm-test.inc (struct test_ff_f_data): New type.
22662 (struct test_ff_f_data_nexttoward): Likewise.
22663 (RUN_TEST_LOOP_2_f): New macro.
22664 (RUN_TEST_LOOP_ff_f): Likewise.
22665 (atan2_test_data): New variable.
22666 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22667 (copysign_test_data): New variable.
22668 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22669 (fdim_test_data): New variable.
22670 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22671 (fmax_test_data): New variable.
22672 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22673 (fmin_test_data): New variable.
22674 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22675 (fmod_test_data): New variable.
22676 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22677 (hypot_test_data): New variable.
22678 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22679 (nextafter_test_data): New variable.
22680 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22681 (nexttoward_test_data): New variable.
22682 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22683 (pow_test_data): New variable.
22684 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22685 (pow_tonearest_test_data): New variable.
22686 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22687 (pow_towardzero_test_data): New variable.
22688 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22689 (pow_downward_test_data): New variable.
22690 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22691 (pow_upward_test_data): New variable.
22692 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22693 (remainder_test_data): New variable.
22694 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22695 (scalb_test_data): New variable.
22696 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22697 * sysdeps/i386/fpu/libm-test-ulps: Update.
22699 2013-05-11 Joseph Myers <joseph@codesourcery.com>
22701 * math/libm-test.inc (fma_test): Use max_value instead of local
22703 (nextafter_test): Likewise.
22705 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22706 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22707 (acos_downward_test_data): New variable.
22708 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22709 (acos_upward_test_data): New variable.
22710 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22711 (acosh_test_data): New variable.
22712 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22713 (asin_test_data): New variable.
22714 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22715 (asin_tonearest_test_data): New variable.
22716 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22717 (asin_towardzero_test_data): New variable.
22718 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22719 (asin_downward_test_data): New variable.
22720 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22721 (asin_upward_test_data): New variable.
22722 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22723 (asinh_test_data): New variable.
22724 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22725 (atan_test_data): New variable.
22726 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22727 (atanh_test_data): New variable.
22728 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22729 (cbrt_test_data): New variable.
22730 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22731 (ceil_test_data): New variable.
22732 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22733 (cos_test_data): New variable.
22734 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22735 (cos_tonearest_test_data): New variable.
22736 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22737 (cos_towardzero_test_data): New variable.
22738 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22739 (cos_downward_test_data): New variable.
22740 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22741 (cos_upward_test_data): New variable.
22742 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22743 (cosh_test_data): New variable.
22744 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22745 (cosh_tonearest_test_data): New variable.
22746 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22747 (cosh_towardzero_test_data): New variable.
22748 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22749 (cosh_downward_test_data): New variable.
22750 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22751 (cosh_upward_test_data): New variable.
22752 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22753 (erf_test_data): New variable.
22754 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22755 (erfc_test_data): New variable.
22756 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22757 (exp_test_data): New variable.
22758 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22759 (exp_tonearest_test_data): New variable.
22760 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22761 (exp_towardzero_test_data): New variable.
22762 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22763 (exp_downward_test_data): New variable.
22764 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22765 (exp_upward_test_data): New variable.
22766 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22767 (exp10_test_data): New variable.
22768 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22769 (exp2_test_data): New variable.
22770 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22771 (expm1_test_data): New variable.
22772 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22773 (fabs_test_data): New variable.
22774 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22775 (floor_test_data): New variable.
22776 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22777 (j0_test_data): New variable.
22778 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22779 (j1_test_data): New variable.
22780 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22781 (log_test_data): New variable.
22782 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22783 (log10_test_data): New variable.
22784 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22785 (log1p_test_data): New variable.
22786 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22787 (log2_test_data): New variable.
22788 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22789 (logb_test_data): New variable.
22790 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22791 (logb_downward_test_data): New variable.
22792 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22793 (nearbyint_test_data): New variable.
22794 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22795 (rint_test_data): New variable.
22796 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22797 (rint_tonearest_test_data): New variable.
22798 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22799 (rint_towardzero_test_data): New variable.
22800 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22801 (rint_downward_test_data): New variable.
22802 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22803 (rint_upward_test_data): New variable.
22804 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22805 (round_test_data): New variable.
22806 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22807 (sin_test_data): New variable.
22808 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22809 (sin_tonearest_test_data): New variable.
22810 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22811 (sin_towardzero_test_data): New variable.
22812 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22813 (sin_downward_test_data): New variable.
22814 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22815 (sin_upward_test_data): New variable.
22816 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22817 (sinh_test_data): New variable.
22818 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22819 (sinh_tonearest_test_data): New variable.
22820 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22821 (sinh_towardzero_test_data): New variable.
22822 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22823 (sinh_downward_test_data): New variable.
22824 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22825 (sinh_upward_test_data): New variable.
22826 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22827 (sqrt_test_data): New variable.
22828 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22829 (tan_test_data): New variable.
22830 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22831 (tan_tonearest_test_data): New variable.
22832 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22833 (tan_towardzero_test_data): New variable.
22834 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22835 (tan_downward_test_data): New variable.
22836 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22837 (tan_upward_test_data): New variable.
22838 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22839 (tanh_test_data): New variable.
22840 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22841 (tgamma_test_data): New variable.
22842 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22843 (trunc_test_data): New variable.
22844 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22845 (y0_test_data): New variable.
22846 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22847 (y1_test_data): New variable.
22848 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22849 (significand_test_data): New variable.
22850 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22852 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22855 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22857 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22859 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22861 2013-05-10 Andreas Jaeger <aj@suse.de>
22864 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22865 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22867 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22869 * math/gen-libm-test.pl (adjust_arg): New function.
22870 (special_functions): Handle generating output in both functions
22872 (parse_args): Likewise.
22873 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22874 $in_func argument to parse_args.
22875 * math/libm-test.inc (struct test_f_f_data): New type.
22876 (IF_ROUND_INIT_): New macro.
22877 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22878 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22879 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22880 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22881 (ROUND_RESTORE_): Likewise.
22882 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22883 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22884 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22885 (ROUND_RESTORE_FE_UPWARD): Likewise.
22886 (RUN_TEST_LOOP_f_f): New macro.
22887 (acos_test_data): New variable.
22888 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22889 (acos_tonearest_test_data): New variable.
22890 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22892 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22894 * benchtests/bench-skeleton.c (startup): Fix coding style.
22896 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22899 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22900 negative infinity argument.
22901 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22902 negative infinity argument.
22903 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22904 negative infinity argument.
22905 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22908 2013-05-10 Florian Weimer <fweimer@redhat.com>
22910 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22911 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22912 * iconv/iconv_prog.c (main): Likewise.
22913 * locale/programs/charmap-dir.c (charmap_readdir)
22914 (fopen_uncompressed): Likewise.
22915 * locale/programs/locfile.c (siblings_uncached)
22916 (write_locale_data): Use lstat64 instead of lstat.
22917 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22920 2013-05-10 Andreas Jaeger <aj@suse.de>
22923 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22925 Include <locale.h>.
22927 2013-05-09 Carlos O'Donell <carlos@redhat.com>
22929 * elf/dl-close.c (_dl_close_worker): Add comments.
22931 2013-05-09 Joseph Myers <joseph@codesourcery.com>
22934 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22936 (__ieee754_rem_pio2l): Update comments.
22939 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22941 (__ieee754_rem_pio2l): Update comments.
22943 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22944 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22946 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22949 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22950 (M_PI_34_LOG10El): Likewise.
22951 (M_PI2_LOG10El): Likewise.
22952 (M_PI4_LOG10El): Likewise.
22953 (M_PI_LOG10El): Likewise.
22955 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22959 2013-05-08 Joseph Myers <joseph@codesourcery.com>
22961 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22962 (MINUS_ZERO_INIT): Likewise.
22963 (PLUS_INFTY_INIT): Likewise.
22964 (MINUS_INFTY_INIT): Likewise.
22965 (QNAN_VALUE_INIT): Likewise.
22966 (MAX_VALUE_INIT): Likewise.
22967 (MIN_VALUE_INIT): Likewise.
22968 (MIN_SUBNORM_VALUE_INIT): Likewise.
22969 (plus_zero): Initialize with PLUS_ZERO_INIT.
22970 (minus_zero): Initialize with MINUS_ZERO_INIT.
22971 (plus_infty): Initialize with PLUS_INFTY_INIT.
22972 (minus_infty): Initialize with MINUS_INFTY_INIT.
22973 (qnan_value): Initialize with QNAN_VALUE_INIT.
22974 (max_value): Initialize with MAX_VALUE_INIT.
22975 (min_value): Initialize with MIN_VALUE_INIT.
22976 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22978 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22979 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22980 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22981 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22983 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22984 (RUN_TEST_2_f): Likewise.
22985 (RUN_TEST_ff_f): Likewise.
22986 (RUN_TEST_fi_f): Likewise.
22987 (RUN_TEST_fl_f): Likewise.
22988 (RUN_TEST_fff_f): Likewise.
22989 (RUN_TEST_c_f): Likewise.
22990 (RUN_TEST_f_f1): Likewise.
22991 (RUN_TEST_fF_f1): Likewise.
22992 (RUN_TEST_fI_f1): Likewise.
22993 (RUN_TEST_ffI_f1): Likewise.
22994 (RUN_TEST_c_c): Likewise.
22995 (RUN_TEST_cc_c): Likewise.
22996 (RUN_TEST_f_i): Likewise.
22997 (RUN_TEST_f_i_tg): Likewise.
22998 (RUN_TEST_ff_i_tg): Likewise.
22999 (RUN_TEST_f_b): Likewise.
23000 (RUN_TEST_f_b_tg): Likewise.
23001 (RUN_TEST_f_l): Likewise.
23002 (RUN_TEST_f_L): Likewise.
23003 (RUN_TEST_sincos): Likewise.
23004 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23005 whether to show exceptions. Do not include ");\n" in return
23007 (special_functions): Output call to RUN_TEST_sincos instead of
23008 check_float calls. Update calls to new_test.
23009 (parse_args): Output call to single RUN_TEST_* macro instead of
23010 check_* calls and other assignments. Update calls to new_test.
23016 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23017 input to result for tgamma overflow.
23018 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23019 (gamma_coeff): New variable.
23020 (NCOEFF): New macro.
23021 (gamma_positive): New function.
23022 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23023 underflow here. Use gamma_positive instead of exp (lgamma) for
23025 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23026 (gamma_coeff): New variable.
23027 (NCOEFF): New macro.
23028 (gammaf_positive): New function.
23029 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23030 underflow here. Use gamma_positive instead of exp (lgamma) for
23032 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23033 (gamma_coeff): New variable.
23034 (NCOEFF): New macro.
23035 (gammal_positive): New function.
23036 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23037 underflow here. Use gamma_positive instead of exp (lgamma) for
23039 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23040 (gamma_coeff): New variable.
23041 (NCOEFF): New macro.
23042 (gammal_positive): New function.
23043 (__ieee754_gammal_r): Handle positive infinity, overflow and
23044 underflow here. Handle NaN the same as positive infinity. Remove
23045 check x < 0xffffffff for negative integers. Use gamma_positive
23046 instead of exp (lgamma) for other arguments.
23047 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23048 (gamma_coeff): New variable.
23049 (NCOEFF): New macro.
23050 (gammal_positive): New function.
23051 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23052 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23053 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23054 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23055 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23056 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23057 * sysdeps/generic/math_private.h (__gamma_productf): New
23059 (__gamma_product): Likewise.
23060 (__gamma_productl): Likewise.
23061 * math/Makefile (libm-calls): Add gamma_product.
23062 * math/libm-test.inc (tgamma_test): Add more tests.
23063 * sysdeps/i386/fpu/libm-test-ulps: Update.
23064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23066 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
23068 * benchtests/bench-skeleton.c (main): Preheat CPU.
23070 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23072 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23074 2013-05-07 Roland McGrath <roland@hack.frob.com>
23076 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23077 and _dl_skip_args_internal.
23079 2013-05-07 Carlos O'Donell <carlos@redhat.com>
23081 * manual/message.texi (Message Translation): Talk about users.
23082 Message to key mapping impacts design.
23084 2013-05-06 Roland McGrath <roland@hack.frob.com>
23086 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23088 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23090 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23091 * sysdeps/wordsize-64/glob64.c: ... here.
23093 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23094 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23097 * debug/getlogin_r_chk.c: Moved to ...
23098 * login/getlogin_r_chk.c: ... here.
23099 * debug/Makefile (routines): Move getlogin_r_chk to ...
23100 * login/Makefile (routines): ... here.
23101 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23102 * login/Versions (libc: GLIBC_2.4): ... here.
23104 * io/poll.c (__poll): Renamed from poll.
23105 Add libc_hidden_def.
23106 (poll): Define as weak alias.
23108 * debug/ptsname_r_chk.c: Moved to ...
23109 * login/ptsname_r_chk.c: ... here.
23110 * debug/Makefile (routines): Move ptsname_r_chk to ...
23111 * login/Makefile (routines): ... here.
23112 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23113 * login/Versions (libc: GLIBC_2.4): ... here.
23115 * posix/getlogin.c: Moved to ...
23116 * login/getlogin.c: ... here.
23117 * posix/getlogin_r.c: Moved to ...
23118 * login/getlogin_r.c: ... here.
23119 * posix/getlogin_r.c: Moved to ...
23120 * login/getlogin_r.c: ... here.
23121 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23122 * login/Makefile (routines): ... here.
23123 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23124 * login/Versions (libc: GLIBC_2.0): ... here.
23126 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23127 (setrlimit): Define as weak alias.
23129 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23130 Call __ names for open, ftruncate, and close.
23131 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23132 (truncate): Define as weak alias.
23134 2013-05-06 Joseph Myers <joseph@codesourcery.com>
23136 * math/gen-libm-test.pl (parse_args): Initialize x before each
23137 test of frexp, modf and remquo.
23139 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23140 test signgam value.
23142 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23146 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23148 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23150 2013-05-06 Roland McGrath <roland@hack.frob.com>
23152 * elf/dl-writev.h: New file.
23153 * elf/dl-misc.c: Include it.
23154 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23155 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23157 2013-05-04 Joseph Myers <joseph@codesourcery.com>
23159 * math/libm-test.inc (noXFails): Remove variable.
23160 (noXPasses): Likewise.
23161 (BUILD_COMPLEX_INT): Remove macro.
23162 (print_screen): Remove xfail argument.
23163 (print_screen_max_error): Likewise.
23164 (update_stats): Likewise.
23165 (print_max_error): Likewise. Update calls to other affected
23167 (print_complex_max_error): Likewise.
23168 (test_single_exception): Update calls to print_screen.
23169 (test_single_errno): Likewise.
23170 (check_float_internal): Remove xfail argument. Update calls to
23171 other affected functions.
23172 (check_float): Likewise.
23173 (check_complex): Likewise.
23174 (check_int): Likewise.
23175 (check_long): Likewise.
23176 (check_bool): Likewise.
23177 (check_longlong): Likewise.
23178 (main): Don't print noXFails and noXPasses.
23179 * math/gen-libm-test.pl (top level): Don't mention expected
23180 failure handling in comment.
23181 (new_test): Don't handle expected failures.
23182 (parse_args): Don't mention expected failure handling in comment.
23183 (generate_testfile): Don't handle expected failures.
23184 (parse_ulps): Likewise.
23185 (print_ulps_file): Likewise.
23186 (get_failure): Remove function.
23187 (output_test): Don't handle expected failures.
23188 * make/README.libm-test: Don't mention expected failure handling.
23190 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23191 (minus_zero): Likewise.
23192 (plus_infty): Likewise.
23193 (minus_infty): Likewise.
23194 (qnan_value): Likewise.
23195 (max_value): Likewise.
23196 (min_value): Likewise.
23197 (min_subnorm_value): Likewise.
23198 (initialize): Do not initialize those variables dynamically.
23200 2013-05-03 Roland McGrath <roland@hack.frob.com>
23202 * io/open.c (__open_2): Moved to ...
23203 * io/open_2.c: ... this new file.
23204 * io/open64.c (__open64_2): Moved to ...
23205 * io/open64_2.c: ... this new file.
23206 * io/openat.c (__openat_2): Moved to ...
23207 * io/openat_2.c: ... this new file.
23208 * io/openat64.c (__openat64_2): Moved to ...
23209 * io/openat64_2.c: ... this new file.
23210 * io/Makefile (routines): Add them.
23211 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23212 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23213 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23214 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23215 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23216 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23217 (__openat64): Add hidden_ver.
23218 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23219 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23221 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23222 Separately conditionalize setting of GLRO(dl_sysinfo) so
23223 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23224 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23226 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23228 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23229 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23231 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23232 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23233 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23234 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23235 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23237 2013-05-03 Joseph Myers <joseph@codesourcery.com>
23239 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23240 test signgam value.
23242 * math/libm-test.inc (hypot_test): Do not use
23243 IGNORE_ZERO_INF_SIGN.
23245 2013-05-03 Andreas Jaeger <aj@suse.de>
23247 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23249 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23250 (PF_MAX): Adjust for VSOCK change.
23252 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23256 2013-05-02 Carlos O'Donell <carlos@redhat.com>
23259 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23260 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23261 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23263 2013-05-02 David S. Miller <davem@davemloft.net>
23265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23267 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
23269 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23271 2013-05-01 Roland McGrath <roland@hack.frob.com>
23273 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23275 2013-05-01 Richard Smith <richard@metafoo.co.uk>
23278 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23279 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23280 Use __attribute__ ((__gnu_inline__)).
23281 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23282 Don't use __attribute__ ((__gnu_inline__)).
23284 2013-05-01 Joseph Myers <joseph@codesourcery.com>
23287 * math/s_catan.c (__catan): Handle small real or imaginary part of
23288 input specially to avoid spurious underflow.
23289 * math/s_catanf.c (__catanf): Likewise.
23290 * math/s_catanh.c (__catanh): Likewise.
23291 * math/s_catanhf.c (__catanhf): Likewise.
23292 * math/s_catanhl.c (__catanhl): Likewise.
23293 * math/s_catanl.c (__catanl): Likewise.
23294 * math/libm-test.inc (catan_test): Add more tests.
23295 (catanh_test): Likewise.
23296 * sysdeps/i386/fpu/libm-test-ulps: Update.
23297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23299 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23303 2013-04-30 Joseph Myers <joseph@codesourcery.com>
23306 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23307 accurately for denominator in atan2.
23308 * math/s_catanf.c (__catanf): Likewise.
23309 * math/s_catanh.c (__catanh): Likewise.
23310 * math/s_catanhf.c (__catanhf): Likewise.
23311 * math/s_catanhl.c (__catanhl): Likewise.
23312 * math/s_catanl.c (__catanl): Likewise.
23313 * math/libm-test.inc (catan_test): Add more tests.
23314 (catanh_test): Likewise.
23315 * sysdeps/i386/fpu/libm-test-ulps: Update.
23316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23318 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23320 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23322 * benchtests/Makefile (bench): Remove slow benchmarks.
23323 * benchtests/atan-inputs: Add slow benchmark inputs.
23324 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23325 (BENCH_FUNC): Accept variant offset.
23327 * benchtests/bench-skeleton.c (main): Run benchmark for each
23329 * benchtests/cos-inputs: Add slow benchmark inputs.
23330 * benchtests/exp-inputs: Likewise.
23331 * benchtests/pow-inputs: Likewise.
23332 * benchtests/sin-inputs: Likewise.
23333 * benchtests/slowatan-inputs: Remove.
23334 * benchtests/slowatan.c: Remove.
23335 * benchtests/slowcos-inputs: Remove.
23336 * benchtests/slowcos.c: Remove.
23337 * benchtests/slowexp-inputs: Remove.
23338 * benchtests/slowexp.c: Remove.
23339 * benchtests/slowpow-inputs: Remove.
23340 * benchtests/slowpow.c: Remove.
23341 * benchtests/slowsin-inputs: Remove.
23342 * benchtests/slowsin.c: Remove.
23343 * benchtests/slowtan-inputs: Remove.
23344 * benchtests/slowtan.c: Remove.
23345 * benchtests/tan-inputs: Add slow benchmark inputs.
23346 * scripts/bench.pl: Parse comments and directives.
23348 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23350 ($(objpfx)bench-%.c): Remove *-ITER.
23351 * benchtests/bench-modf.c: Remove definition of ITER.
23352 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23353 (main): Loop for DURATION seconds instead of fixed number of
23355 * scripts/bench.pl: Don't expect iterations in parameters.
23357 2013-04-29 Roland McGrath <roland@hack.frob.com>
23359 * io/fchdir.c (__fchdir): Renamed from fchdir.
23360 (fchdir): Define as weak alias.
23362 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23364 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23365 (ERRNO_EDOM): Likewise.
23366 (ERRNO_ERANGE): Likewise.
23367 (noErrnoTests): New variable.
23368 (init_max_error): Set errno to 0.
23369 (test_single_errno): New function.
23370 (test_errno): Likewise.
23371 (check_float_internal): Call test_errno. Set errno to 0.
23372 (check_complex): Refer to errno tests in comment.
23373 (check_int): Call test_errno. Set errno to 0.
23374 (check_long): Likewise.
23375 (check_bool): Likewise.
23376 (check_longlong): Likewise.
23377 (cos_test): Use ERRNO_* flags for errno tests instead of
23379 (expm1_test): Likewise.
23380 (fmod_test): Likewise.
23381 (ilogb_test): Likewise.
23382 (lgamma_test): Likewise.
23383 (pow_test): Likewise.
23384 (remainder_test): Likewise.
23385 (sin_test): Likewise.
23386 (tan_test): Likewise.
23387 (yn_test): Likewise.
23388 (initialize): Set errno to 0.
23389 (main): Print number of errno tests.
23390 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23392 2013-04-29 Andreas Jaeger <aj@suse.de>
23395 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23399 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23400 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23404 * stdlib/random.c (__initstate): Return NULL if
23408 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23409 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23412 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23416 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23418 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23419 of individual tests.
23420 (casin_test): Likewise.
23421 (casinh_test): Likewise.
23423 2013-04-27 Joseph Myers <joseph@codesourcery.com>
23426 * math/s_catan.c (__catan): Handle arguments with large real or
23427 imaginary part separately without squaring.
23428 * math/s_catanf.c (__catanf): Likewise.
23429 * math/s_catanh.c (__catanh): Likewise.
23430 * math/s_catanhf.c (__catanhf): Likewise.
23431 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23433 (__catanhl): Handle arguments with large real or imaginary part
23434 separately without squaring.
23435 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23437 (__catanl): Handle arguments with large real or imaginary part
23438 separately without squaring.
23439 * math/libm-test.inc (catan_test): Add more tests.
23440 (catanh_test): Likewise.
23441 * sysdeps/i386/fpu/libm-test-ulps: Update.
23442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23444 2013-04-27 Andreas Jaeger <aj@suse.de>
23447 * stdlib/stdlib.h: Update guards for qecvt.
23448 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23451 2013-04-27 Allan McRae <allan@archlinux.org>
23453 * sysdeps/i386/fpu/libm-test-ulps: Update.
23455 2013-04-26 Joseph Myers <joseph@codesourcery.com>
23458 * math/s_catan.c: Include <float.h>.
23459 (__catan): Ensure underflow exception occurs for underflowed
23461 * math/s_catanf.c: Include <float.h>.
23462 (__catanf): Ensure underflow exception occurs for underflowed
23464 * math/s_catanh.c: Include <float.h>.
23465 (__catanh): Ensure underflow exception occurs for underflowed
23467 * math/s_catanhf.c: Include <float.h>.
23468 (__catanhf): Ensure underflow exception occurs for underflowed
23470 * math/s_catanhl.c: Include <float.h>.
23471 (__catanhl): Ensure underflow exception occurs for underflowed
23473 * math/s_catanl.c: Include <float.h>.
23474 (__catanl): Ensure underflow exception occurs for underflowed
23476 * math/libm-test.inc (catan_test): Add more tests.
23477 (catanh_test): Likewise.
23480 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23481 underflowed result.
23482 * math/s_ccoshf.c (__ccoshf): Likewise.
23483 * math/s_ccoshl.c (__ccoshl): Likewise.
23484 * math/s_csin.c (__csin): Likewise.
23485 * math/s_csinf.c (__csinf): Likewise.
23486 * math/s_csinh.c (__csinh): Likewise.
23487 * math/s_csinhf.c (__csinhf): Likewise.
23488 * math/s_csinhl.c (__csinhl): Likewise.
23489 * math/s_csinl.c (__csinl): Likewise.
23490 * math/libm-test.inc (ccos_test): Add more tests.
23491 (ccosh_test): Likewise.
23492 (csin_test): Likewise.
23493 (csinh_test): Likewise.
23495 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23497 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23498 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23499 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23500 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23501 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23502 powerpc/power5+/fpu folders.
23503 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23506 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23510 2013-04-25 Joseph Myers <joseph@codesourcery.com>
23512 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23513 additions to variable.
23514 [$(config-machine) = x86_64] (modules-names): Likewise.
23515 ($(objpfx)tst-audit3): Remove dependency.
23516 ($(objpfx)tst-audit3.out): Likewise.
23517 ($(objpfx)tst-audit4): Likewise.
23518 ($(objpfx)tst-audit4.out): Likewise.
23519 ($(objpfx)tst-audit5): Likewise.
23520 ($(objpfx)tst-audit5.out): Likewise.
23521 ($(objpfx)tst-audit6): Likewise.
23522 ($(objpfx)tst-audit6.out): Likewise.
23523 ($(objpfx)tst-audit7): Likewise.
23524 ($(objpfx)tst-audit7.out): Likewise.
23525 (tst-audit3-ENV): Remove variable.
23526 (tst-audit4-ENV): Likewise.
23527 (tst-audit5-ENV): Likewise.
23528 (tst-audit6-ENV): Likewise.
23529 (tst-audit7-ENV): Likewise.
23530 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23531 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23532 addition to variable.
23533 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23535 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23536 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23537 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23538 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23539 tst-audit3, tst-audit4 and tst-audit5.
23540 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23541 tst-audit6 and tst-audit7.
23542 [$(subdir) = elf] (modules-names): Add audit modules for those
23544 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23545 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23546 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23547 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23548 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23549 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23550 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23551 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23552 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23553 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23554 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23555 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23556 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23557 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23558 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23559 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23561 [$(subdir) = elf && $(config-cflags-avx) = yes]
23562 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23563 [$(subdir) = elf && $(config-cflags-avx) = yes]
23564 (CFLAGS-tst-auditmod4a.c): Likewise.
23565 [$(subdir) = elf && $(config-cflags-avx) = yes]
23566 (CFLAGS-tst-auditmod4b.c): Likewise.
23567 [$(subdir) = elf && $(config-cflags-avx) = yes]
23568 (CFLAGS-tst-auditmod6b.c): Likewise.
23569 [$(subdir) = elf && $(config-cflags-avx) = yes]
23570 (CFLAGS-tst-auditmod6c.c): Likewise.
23571 [$(subdir) = elf && $(config-cflags-avx) = yes]
23572 (CFLAGS-tst-auditmod7b.c): Likewise.
23573 * elf/tst-audit3.c: Move to ...
23574 * sysdeps/x86_64/tst-audit3.c: ... here.
23575 * elf/tst-audit4.c: Move to ...
23576 * sysdeps/x86_64/tst-audit4.c: ... here.
23577 * elf/tst-audit5.c: Move to ...
23578 * sysdeps/x86_64/tst-audit5.c: ... here.
23579 * elf/tst-audit6.c: Move to ...
23580 * sysdeps/x86_64/tst-audit6.c: ... here.
23581 * elf/tst-audit7.c: Move to ...
23582 * sysdeps/x86_64/tst-audit7.c: ... here.
23583 * elf/tst-auditmod3a.c: Move to ...
23584 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23585 * elf/tst-auditmod3b.c: Move to ...
23586 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23587 * elf/tst-auditmod4a.c: Move to ...
23588 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23589 * elf/tst-auditmod4b.c: Move to ...
23590 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23591 * elf/tst-auditmod5a.c: Move to ...
23592 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23593 * elf/tst-auditmod5b.c: Move to ...
23594 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23595 * elf/tst-auditmod6a.c: Move to ...
23596 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23597 * elf/tst-auditmod6b.c: Move to ...
23598 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23599 * elf/tst-auditmod6c.c: Move to ...
23600 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23601 * elf/tst-auditmod7a.c: Move to ...
23602 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23603 * elf/tst-auditmod7b.c: Move to ...
23604 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23606 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23609 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23610 define unconditionally.
23611 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23612 define unconditionally.
23613 (INT8_C, INT16_C, etc.): Likewise.
23615 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23617 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23618 __ehdr_start with hidden visibility.
23620 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23622 2013-04-24 Carlos O'Donell <carlos@redhat.com>
23624 * math/libm-test.inc (cos_test): Use accurate hex constants.
23625 (sincost_test): Likewise.
23627 2013-04-24 Joseph Myers <joseph@codesourcery.com>
23629 * math/libm-test.inc (catan_test): Add more tests.
23630 (catanh_test): Likewise.
23632 * math/s_catanf.c (__catanf): Use suffixed floating-point
23634 * math/s_catanhf.c (__catanhf): Likewise.
23635 * math/s_catanhl.c (__catanhl): Likewise.
23636 * math/s_catanl.c (__catanl): Likewise.
23639 * math/s_catan.c (__catan): Calculate imaginary part of result
23640 with log1p not log unless computing log of number close to 0.
23641 * math/s_catanf.c (__catanf): Likewise.
23642 * math/s_catanl.c (__catanl): Likewise.
23643 * math/s_catanh.c (__catanh): Calculate real part of result with
23644 log1p not log unless computing log of number close to 0.
23645 * math/s_catanhf.c (__catanhf): Likewise.
23646 * math/s_catanhl.c (__catanhl): Likewise.
23647 * math/libm-test.inc (catan_test): Add more tests.
23648 (catanh_test): Likewise.
23649 * sysdeps/i386/fpu/libm-test-ulps: Update.
23650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23652 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23654 * benchtests/Makefile: Mention files in which fast and slow
23655 paths of math functions are implemented.
23657 2013-04-23 Roland McGrath <roland@hack.frob.com>
23659 * sysdeps/posix/timespec_get.c: New file.
23661 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23663 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23665 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23667 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23668 powerpc/power5/fpu folders.
23669 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23670 * benchtests/Makefile: Add modf testcase.
23671 * benchtests/bench-modf.c: New file: Benchmark test for mo
23673 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23676 * time/Makefile (tests): Add tst-strptime-whitespace.
23677 * time/strptime_l.c (get_number): Use ISSPACE.
23678 (__strptime_internal): Likewise.
23679 * time/tst-strptime-whitespace.c: New test case.
23681 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23683 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23685 (_nss_files_init): Set it here.
23687 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23689 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23690 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23693 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23695 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23697 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23699 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23702 2013-04-21 David S. Miller <davem@davemloft.net>
23704 * po/ru.po: Update Russion translation from translation project.
23706 2013-04-17 Adam Conrad <adconrad@0c3.net>
23708 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23711 2013-04-17 Carlos O'Donell <carlos@redhat.com>
23713 * configure.in: Remove i386 configure warning. Remove i386 case.
23714 * configure: Regenerate.
23715 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23716 Add example to error message.
23717 * sysdeps/i386/configure: Regenerate.
23719 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23721 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23723 * benchtests/cos-inputs: New file.
23724 * benchtests/slowcos-inputs: New file.
23725 * benchtests/slowcos.c: New file.
23726 * benchtests/slowtan-inputs: New file.
23727 * benchtests/slowtan.c: New file.
23728 * benchtests/tan-inputs: New file.
23730 2013-04-16 Roland McGrath <roland@hack.frob.com>
23732 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23735 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23737 * benchtests/Makefile: Include cppflags-iterator.mk to add
23738 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23740 * Makefile.in (bench-clean): New target.
23741 * benchtests/Makefile (bench-clean): Likewise.
23743 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23745 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23747 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23749 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23751 2013-04-15 Andreas Schwab <schwab@suse.de>
23753 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23754 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23755 * nscd/pwdcache.c (cache_addpw): Likewise.
23756 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23759 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23761 * benchtests/Makefile (bench): Write all output to
23762 bench-out.tmp together.
23764 2013-04-15 Andreas Schwab <schwab@suse.de>
23766 * nscd/nscd.c (main): Don't fork again after closing files.
23768 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23770 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23772 * benchtests/Rules (bench-deps): Collect dependencies into a
23773 single variable. Add Makefile to dependencies.
23774 ($(objpfx)bench-%.c): Depend on bench-deps.
23776 2013-04-12 Roland McGrath <roland@hack.frob.com>
23777 Xavier Roche <roche+kml2@exalead.com>
23780 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23781 just that it's a file descriptor.
23782 * manual/llio.texi (Synchronizing AIO Operations): Update description
23783 for EBADF error from aio_fsync.
23785 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23787 * Rules (bench): Move target definition...
23788 * benchtests/Makefile: ... here.
23790 2013-04-11 Carlos O'Donell <carlos@redhat.com>
23792 * math/libm-test.inc (cos_test): Fix PI/2 test.
23793 (sincos_test): Likewise.
23794 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23795 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23797 2013-04-11 Andreas Schwab <schwab@suse.de>
23800 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23801 accept exponent character only when digits were seen.
23802 * stdio-common/Makefile (tests): Add bug26.
23803 * stdio-common/bug26.c: New file.
23806 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23809 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23811 * Makeconfig (rtld-prefix): Define built linker prefix.
23812 * Rules (run-bench): Use it.
23813 * math/Makefile (run-regen-ulps): Likewise.
23815 * Rules (bench): Remove eval.
23817 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23818 Roland McGrath <roland@hack.frob.com>
23819 Ondrej Bilka <neleai@seznam.cz>
23822 * time/getdate.c: Include ctype.h and alloca.h.
23823 (__getdate_r): Trim leading and trailing spaces of input.
23824 * time/tst-getdate.c (tests): Add tests with leading and
23827 2013-04-08 Roland McGrath <roland@hack.frob.com>
23830 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23831 when computing value.
23833 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23835 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23836 Use testrun.sh to run libm tests.
23839 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23841 2013-04-06 Marko Myllynen <myllynen@redhat.com>
23844 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23846 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23848 * Makefile.in (regen-ulps): New target.
23849 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23850 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23851 [ifneq (no,$(PERL)] (regen-ulps): New target.
23852 [ifeq (no,$(PERL)] (regen-ulps): New target.
23853 * math/libm-test.inc (ulps_file_name): Define.
23854 (output_dir): New variable.
23855 (options): Add "output-dir" option.
23856 (parse_opt): Handle 'o' case.
23857 (main): If output_dir is non-NULL use it as a prefix
23859 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23861 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23863 [BZ #10060, #10062]
23864 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23865 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23866 fail configure if __sync_val_compare_and_swap is not inlined.
23867 * sysdeps/i386/configure: Regenerate.
23868 * configure.in: Build for i686 when configured for i386.
23869 * configure: Regenerate.
23870 * README: Remove i386 reference.
23872 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23874 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23877 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23879 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23880 (lmsnanval): New variables.
23881 (F): Add conversion tests.
23882 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23883 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23885 * stdio-common/tstdiomisc.c (F): Properly collect individual
23888 [BZ #14686, #15336]
23889 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23890 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23891 Instead, use input NaN values or generate a qNaN by arithmetic
23892 operation. Also fix bugs to comply with the standard.
23893 * math/libm-test.inc (remainder_test): Add more tests.
23895 [BZ #15335, #15342]
23896 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23897 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23898 input NaN values or generate a qNaN by arithmetic operation.
23900 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23903 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23906 2013-04-03 Joseph Myers <joseph@codesourcery.com>
23909 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23910 underflowed result.
23911 * math/s_cexpf.c (__cexpf): Likewise.
23912 * math/s_cexpl.c (__cexpl): Likewise.
23913 * math/libm-test.inc (cexp_test): Add more tests.
23915 2013-04-03 Andreas Schwab <schwab@suse.de>
23918 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23919 order arrays from heap if bigger than alloca cutoff.
23921 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23923 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23924 (SNAN_TESTS_double): Refer to GCC PR56831.
23925 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23928 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23930 * Rules (bench): Move bench.out after the run is complete.
23932 * Rules (bench): Echo currently running benchmark.
23934 * benchtests/Makefile (bench): Add atan and slowatan.
23935 * benchtests/atan-inputs: New file.
23936 * benchtests/slowatan-inputs: New file.
23937 * benchtests/slowatan.c: New file.
23939 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23940 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23944 * sysdeps/unix/sysv/linux/kernel-features.h
23945 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23946 __ASSUME_XFS_RESTRICTED_CHOWN.
23947 * sysdeps/unix/sysv/linux/pathconf.c
23948 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23949 Save and restore errno.
23951 2013-04-02 Joseph Myers <joseph@codesourcery.com>
23954 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23955 arguments using __kernel_casinh.
23956 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23957 arguments using __kernel_casinhf.
23958 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23959 arguments using __kernel_casinhl.
23960 * math/libm-test.inc (cacosh_test): Add more tests.
23961 * sysdeps/i386/fpu/libm-test-ulps: Update.
23962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23964 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23966 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23969 * bench/Makefile (bench): Add sin and slowsin.
23970 * benchtests/sin-inputs: New file.
23971 * benchtests/slowsin-inputs: New file.
23972 * benchtests/slowsin.c: New file.
23974 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23975 (bench): Add slowexp and slowpow.
23976 (exp-ITER): Increase iterations.
23977 (pow-ITER): Likewise.
23978 * benchtests/exp-inputs: Change input.
23979 * benchtests/pow-inputs: Likewise.
23980 * benchtests/slowexp-inputs: New file.
23981 * benchtests/slowexp.c: New file.
23982 * benchtests/slowpow-inputs: New file.
23983 * benchtests/slowpow.c: New file.
23985 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23987 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23989 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23990 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23991 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23992 * benchtests/Makefile: Add rint benchtest.
23993 * benchtests/rint-inputs: Input for rint benchtest.
23995 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23997 * Versions.def (libm): Add GLIBC_2.18.
23998 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23999 hidden libm prototypes.
24000 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24001 * math/Makefile (libm-calls): Add s_issignaling.
24002 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24003 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24004 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24006 * math/math.h [__USE_GNU] (issignaling): New macro.
24007 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24008 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24009 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24010 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24012 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24013 * manual/arith.texi (issignaling): New section.
24014 * manual/libm-err-tab.pl (@all_functions): Update comment.
24015 * math/gen-libm-test.pl (parse_args): Apply special handling for
24017 * math/libm-test.inc (print_float, issignaling_test): New
24019 (check_float_internal): Add issignaling checks.
24020 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24021 default definition.
24022 * sysdeps/powerpc/math-tests.h: New file.
24023 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24025 * math/test-snan.c (TEST_FUNC): Likewise.
24027 2013-03-30 David S. Miller <davem@davemloft.net>
24029 * po/de.po: Update from translation team.
24031 2013-03-30 Joseph Myers <joseph@codesourcery.com>
24034 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24035 imaginary part less than 1.0 and real part less than 0.5
24037 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24038 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24039 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24040 (cacos_test): Add more tests.
24041 (casin_test): Likewise.
24042 (casinh_test): Likewise.
24043 * sysdeps/i386/fpu/libm-test-ulps: Update.
24044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24046 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24048 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24049 ONE with its value.
24051 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24052 (__pow_mp): Replace ONE and MONE with their values.
24053 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24054 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24055 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24056 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24057 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24058 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24060 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24062 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24063 (__pow_mp): Replace ZERO and MZERO with their values.
24064 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24066 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24068 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24069 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24072 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24074 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24076 2013-03-28 Roland McGrath <roland@hack.frob.com>
24078 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24079 Declare with __attribute__ ((weak)).
24080 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24081 Call __call_tls_dtors only if it's not NULL.
24083 2013-03-28 Roland McGrath <roland@hack.frob.com>
24085 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24086 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24087 magic __ehdr_start linker symbol if it's defined.
24088 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24089 them up here if it was already done.
24091 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24092 (_dl_aux_init): Use const in cast when setting it.
24093 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24094 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24095 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24097 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24099 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24100 * csu/libc-tls.c: Nor here.
24101 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24103 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24104 (__libc_message): Never call vsyslog.
24106 2013-03-28 Alan Modra <amodra@gmail.com>
24108 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24110 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24113 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24116 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24120 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24123 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24124 Don't add gid passed as argument.
24126 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24128 2013-03-27 Joseph Myers <joseph@codesourcery.com>
24131 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24132 imaginary part between 1.0 and 1.5 and real part less than 0.5
24134 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24135 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24136 * math/libm-test.inc (cacos_test): Add more tests.
24137 (casin_test): Likewise.
24138 (casinh_test): Likewise.
24139 * sysdeps/i386/fpu/libm-test-ulps: Update.
24140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24142 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24144 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24147 (denorm): Likewise.
24148 (__dbl_mp): Likewise.
24149 (add_magnitudes): Likewise.
24150 (sub_magnitudes): Likewise.
24158 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24160 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24161 (__dubcos): Likewise.
24162 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24163 (__ieee754_acos): Likewise.
24164 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24165 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24166 (__exp1): Likewise.
24167 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24170 (my_log2): Likewise.
24171 (checkint): Likewise.
24172 * sysdeps/ieee754/dbl-64/e_remainder.c
24173 (__ieee754_remainder): Likewise.
24174 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24176 (bsloww): Likewise.
24177 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24179 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24180 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24181 MANTISSA_STORE_T to store computations on mantissa. Use
24182 macros for rounding and division.
24183 (denorm): Likewise.
24184 (__dbl_mp): Likewise.
24185 (add_magnitudes): Likewise.
24186 (sub_magnitudes): Likewise.
24189 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24190 powers of two in terms of TWOPOW macro.
24191 (mp_no): Make type of mantissa as MANTISSA_T.
24192 [!RADIXI]: Define RADIXI.
24193 [!TWO52]: Define TWO52.
24194 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24196 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24198 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24199 llroundl symbol when building for PPC32.
24201 2013-03-24 Mark H Weaver <mhw@netris.org>
24203 * manual/arith.texi (Normalization Functions): Fix prototypes for
24204 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24206 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24209 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24210 high value to check if expl overflow.
24211 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24212 to check for underflow and overflow.
24213 * math/libm-test.inc: Add exp test.
24215 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24218 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24221 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24223 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24226 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24228 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24229 wrap blocks consisting of several statements.
24231 * sysdeps/generic/math-tests.h: New file.
24232 * sysdeps/i386/fpu/math-tests.h: Likewise.
24233 * math/test-snan.c: Include it.
24234 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24236 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24239 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24240 (__ieee754_j0l): Do not improve calculations using cos of twice
24241 input for inputs above LDBL_MAX / 2.0L.
24242 (__ieee754_y0l): Likewise.
24243 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24244 (__ieee754_j1l): Do not improve calculations using cos of twice
24245 input for inputs above LDBL_MAX / 2.0L.
24246 (__ieee754_y1l): Likewise.
24247 * math/libm-test.inc (j0_test): Add another test.
24248 (j1_test): Likewise.
24249 (y0_test): Likewise.
24250 (y1_test): Likewise.
24251 * sysdeps/i386/fpu/libm-test-ulps: Update.
24253 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24255 * Rules ($(objpfx)bench-%.c): Include code from a C source
24258 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24261 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24262 imaginary part 1.0 and real part less than 0.5 specially.
24263 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24264 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24265 * math/libm-test.inc (cacos_test): Add more tests.
24266 (casin_test): Likewise.
24267 (casinh_test): Likewise.
24268 * sysdeps/i386/fpu/libm-test-ulps: Update.
24269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24271 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24273 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24274 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24276 2013-03-20 Joseph Myers <joseph@codesourcery.com>
24278 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24279 * config.make.in (config-cflags-sse4): Remove variable.
24280 (config-cflags-avx): Likewise.
24281 (config-cflags-sse2avx): Likewise.
24282 (config-cflags-novzeroupper): Likewise.
24283 (config-asflags-i686): Likewise.
24284 (have-mfma4): Likewise.
24285 (have-as-vis3): Likewise.
24287 * configure.in (MIG): Do not AC_SUBST.
24288 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24289 (libc_cv_cc_sse4): Do not AC_SUBST.
24290 (libc_cv_cc_avx): Likewise.
24291 (libc_cv_cc_sse2avx): Likewise.
24292 (libc_cv_cc_novzeroupper): Likewise.
24293 (libc_cv_cc_fma4): Likewise.
24294 (libc_cv_as_i686): Likewise.
24295 (libc_cv_sparc_as_vis3): Likewise.
24296 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24298 (config-asflags-i686): Likewise.
24299 (config-cflags-avx): Likewise.
24300 (config-cflags-sse2avx): Likewise.
24301 (have-mfma4): Likewise.
24302 (config-cflags-novzeroupper): Likewise.
24303 * sysdeps/mach/configure.in (MIG): Likewise.
24304 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24305 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24307 (config-cflags-avx): Likewise.
24308 (config-cflags-sse2avx): Likewise.
24309 (have-mfma4): Likewise.
24310 (config-cflags-novzeroupper): Likewise.
24311 * configure: Regenerated.
24312 * sysdeps/i386/configure: Likewise.
24313 * sysdeps/mach/configure: Likewise.
24314 * sysdeps/sparc/configure: Likewise.
24315 * sysdeps/x86_64/configure: Likewise.
24317 2013-03-20 Roland McGrath <roland@hack.frob.com>
24320 * locale/programs/localedef.c (options): Put N_ translation marker
24321 on argument names, not just descriptions.
24323 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24325 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24327 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
24330 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24332 2013-03-19 Roland McGrath <roland@hack.frob.com>
24334 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24335 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24336 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24337 [!BEFORE_ABORT] (before_abort): New function.
24338 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24339 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24340 (writev_for_fatal): New function.
24341 (WRITEV_FOR_FATAL): New macro; call that.
24342 (backtrace_and_maps): New function.
24343 (BEFORE_ABORT): New macro; call that.
24344 (struct str_list): Type removed.
24345 (__libc_message, __libc_fatal): Functions removed.
24346 Include <sysdeps/posix/libc_fatal.c> instead.
24348 2013-03-19 Joseph Myers <joseph@codesourcery.com>
24350 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24352 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24355 2013-03-19 Andreas Schwab <schwab@suse.de>
24357 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24358 * sysdeps/gnu/configure: Regenerate.
24360 * configure.in: Substitute libc_cv_rtlddir.
24361 * configure: Regenerate.
24362 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24363 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24364 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24365 * elf/Makefile (install-others, CFLAGS-interp.c)
24366 (ldso_install, common-ldd-rewrite): Likewise.
24367 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24368 $(inst_slibdir)/$(rtld-installed-name).
24369 * scripts/rellns-sh: Add -p option.
24370 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24373 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24375 * manual/nptl.texi: Renamed to ...
24376 * manual/threads.texi: ... this.
24377 * manual/Makefile (chapters): Update.
24379 2013-03-18 Roland McGrath <roland@hack.frob.com>
24382 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24383 on argument names, not just descriptions.
24384 * malloc/memusagestat.c (options): Likewise.
24385 * nss/getent.c (options): Likewise.
24387 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
24390 * iconv/iconv_prog.c (options): Put N_ translation marker
24391 on argument names, not just descriptions.
24392 * iconv/iconvconfig.c (options): Likewise.
24394 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
24396 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24397 implementation which is faster on all x86_64 architectures.
24398 Tested on AMD, Intel Nehalem, SNB, IVB.
24399 * sysdeps/x86_64/strnlen.S: Likewise.
24401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24402 Remove all multiarch strlen and strnlen versions.
24403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24404 Remove strlen and strnlen related parts.
24406 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24407 Inline strlen part.
24408 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24410 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24411 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24412 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24413 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24414 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24415 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24417 2013-03-17 Carlos O'Donell <carlos@redhat.com>
24419 * manual/memory.texi (Malloc Tunable Parameters):
24420 Sort parameters alphabetically. Add comments for missing entries.
24422 2013-03-17 David S. Miller <davem@davemloft.net>
24424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24426 2013-03-16 Joseph Myers <joseph@codesourcery.com>
24429 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24430 for arguments at most half maximum finite value.
24431 * math/libm-test.inc (j0_test): Add more tests.
24432 (j1_test): Likewise.
24433 (y0_test): Likewise.
24434 (y1_test): Likewise.
24435 * sysdeps/i386/fpu/libm-test-ulps: Update.
24436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24439 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24440 1 / x and functions P and Q for arguments above 0x1p256L.
24441 (__ieee754_y0l): Likewise.
24442 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24443 (__ieee754_y1l): Likewise.
24444 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24445 (j1_test): Likewise.
24446 (y0_test): Likewise.
24447 (y1_test): Likewise.
24449 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24451 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24454 2013-03-15 Roland McGrath <roland@hack.frob.com>
24456 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24457 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24458 zero since it's initialized to EXEC_PAGESIZE.
24460 * sysdeps/unix/sysv/linux/ldsodefs.h
24461 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24462 * sysdeps/generic/ldsodefs.h: ... here.
24464 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24466 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24468 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24470 * math/test-snan.c: Renamed from
24471 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24472 * math/Makefile (tests): Add test-snan.
24473 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24476 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24477 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24479 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24480 __builtin_nan family of functions.
24481 * math/libm-test.inc (initialize): Initialize qnan_value with
24482 __builtin_nan family of functions.
24483 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24485 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24487 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24488 storage class. Initialize qNaN_var and sNaN_var with
24489 __builtin_nan and __builtin_nans families of functions,
24492 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24493 (sqrt_test): Remove duplicate test with qNaN input.
24494 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24495 (round_test, signbit_test, significand_test): Note missing +/-Inf
24496 as well as qNaN tests.
24498 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24499 qNaN_var. Fix a few strings, too.
24500 * math/libm-test.inc (nan_value): Rename to qnan_value.
24501 * math/gen-libm-test.pl (%beautify): Adjust to that.
24502 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24503 * math/test-misc.c (main): Likewise.
24504 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24505 to __qnan_bytes, and __qnan_union, respectively.
24506 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24508 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24509 and lqnanval, respectively.
24510 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24511 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24512 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24513 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24515 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24516 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24519 * math/test-misc.c (main): Fix copy'n'pastos.
24520 * misc/tst-efgcvt.c (special): Likewise.
24522 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24523 Remove declarations.
24525 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24527 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24528 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24529 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24530 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24532 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24534 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24535 macro to return vdso values correctly in IFUNC implementations.
24536 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24537 Optimization by using IFUNC.
24539 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24540 Richard Henderson <rth@redhat.com>
24541 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24543 * Makefile.in (bench): New target.
24544 * NEWS: Mention the benchmark framework.
24545 * Rules (bench): Likewise.
24546 (binaries-bench): Generate binaries for functions to
24548 * benchtests/Makefile: New makefile for benchmark tests.
24549 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24551 * benchtests/exp-inputs: New input file for EXP function.
24552 * benchtests/pow-inputs: New input file for POW function.
24553 * scripts/bench.pl: New script to generate source files for
24554 benchmark programs.
24556 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24558 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24559 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24560 computations on mantissa. Use macros for rounding and
24562 (denorm): Likewise.
24563 (__dbl_mp): Likewise.
24564 (add_magnitudes): Likewise.
24565 (sub_magnitudes): Likewise.
24568 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24569 powers of two in terms of TWOPOW macro.
24570 (mp_no): Make type of mantissa as MANTISSA_T.
24571 [!RADIXI]: Define RADIXI.
24572 [!TWO52]: Define TWO52.
24573 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24575 * manual/nptl.texi (cindex): Modify threads to pthreads.
24577 2013-03-15 Joseph Myers <joseph@codesourcery.com>
24579 * sysdeps/x86_64/preconfigure: Regenerated.
24581 2013-03-14 Joseph Myers <joseph@codesourcery.com>
24584 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24586 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24587 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24589 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24590 * math/libm-test.inc (j0_test): Do not allow one spurious
24591 underflow exception.
24592 (y1_test): Likewise.
24594 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24596 * manual/Makefile (chapters): Add nptl.
24597 * manual/debug.texi (Debugging Support): Add link to Threads
24599 * manual/nptl.texi: New file.
24601 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24603 2013-03-14 Petr Baudis <pasky@ucw.cz>
24605 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24606 for non-NULL pointer before the memory validity test. Pointed
24607 out by Holger Brunck <holger.brunck@keymile.com>.
24609 2013-03-13 Andreas Schwab <schwab@suse.de>
24611 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24614 2013-03-13 Joseph Myers <joseph@codesourcery.com>
24616 * timezone/zic.c: Update from tzcode 2013b.
24618 2013-03-12 Carlos O'Donell <carlos@redhat.com>
24620 * manual/install.texi (Configuring and compiling):
24621 Mention i686 and i586.
24622 * INSTALL: Regenerate.
24624 2013-03-12 Roland McGrath <roland@hack.frob.com>
24626 * sysdeps/init_array/elf-init.c: New file.
24628 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24629 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24631 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24632 __gmon_start__ as global, but as static with a .preinit_array pointer.
24633 * sysdeps/init_array/gmon-start.c: New file. Use that.
24634 * sysdeps/init_array/crti.S: New file, empty except for comments.
24635 * sysdeps/init_array/crtn.S: Likewise.
24637 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
24639 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24642 Remove Prefer_SSE_for_memop.
24643 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24644 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24645 HAS_PREFER_SSE_FOR_MEMOP.
24646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24649 Remove bzero, memset ifunc support.
24650 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24651 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24652 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24653 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24655 2013-03-11 Andreas Schwab <schwab@suse.de>
24658 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24661 (GLIBC_2.16): Remove pthread_atfork.
24663 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24665 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24666 (ptestcases.h): Likewise.
24668 2013-03-08 Roland McGrath <roland@hack.frob.com>
24670 * Makeconfig ($(common-objpfx)config.status): Depend on
24671 sysdeps/*/preconfigure{,.in} too.
24673 2013-03-08 Joseph Myers <joseph@codesourcery.com>
24675 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24676 (__free_hook): Use void * instead of __malloc_ptr_t.
24677 (__malloc_hook): Likewise.
24678 (__realloc_hook): Likewise.
24679 (__memalign_hook): Likewise.
24680 (__after_morecore_hook): Likewise.
24681 * malloc/arena.c (save_malloc_hook): Likewise.
24682 (save_free_hook): Likewise.
24683 * malloc/hooks.c (malloc_hook_ini): Likewise.
24684 (realloc_hook_ini): Likewise.
24685 (memalign_hook_ini): Likewise.
24686 * malloc/malloc.c (malloc_hook_ini): Likewise.
24687 (realloc_hook_ini): Likewise.
24688 (memalign_hook_ini): Likewise.
24689 (__free_hook): Likewise.
24690 (__malloc_hook): Likewise.
24691 (__realloc_hook): Likewise.
24692 (__memalign_hook): Likewise.
24693 (__libc_malloc): Likewise.
24694 (__libc_free): Likewise.
24695 (__libc_realloc): Likewise.
24696 (__libc_memalign): Likewise.
24697 (__libc_valloc): Likewise.
24698 (__libc_pvalloc): Likewise.
24699 (__libc_calloc): Likewise.
24700 (__posix_memalign): Likewise.
24701 * malloc/morecore.c (__sbrk): Likewise.
24702 (__default_morecore): Likewise.
24704 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24706 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24707 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24708 __malloc_ptrdiff_t.
24710 * malloc/malloc.h (__malloc_size_t): Remove macro.
24711 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24713 (old_memalign_hook): Likewise.
24714 (old_realloc_hook): Likewise.
24715 (struct hdr): Likewise.
24717 (mallochook): Likewise.
24718 (memalignhook): Likewise.
24719 (reallochook): Likewise.
24720 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24721 (tr_old_realloc_hook): Likewise.
24722 (tr_old_memalign_hook): Likewise.
24723 (tr_mallochook): Likewise.
24724 (tr_reallochook): Likewise.
24725 (tr_memalignhook): Likewise.
24727 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24729 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24730 default_ldbl_pack and using as default implementation.
24731 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24733 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24734 redundant definition.
24735 (ldbl_insert_mantissa): Likewise.
24736 (ldbl_canonicalize): Likewise.
24737 (ldbl_nearbyint): Likewise.
24738 (ldbl_pack): Rename to ldbl_pack_ppc.
24739 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24740 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24741 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24743 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24746 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24747 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24748 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24750 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24751 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24752 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24754 2013-03-07 Andreas Jaeger <aj@suse.de>
24756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24759 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24761 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24762 Include mpa.h and declare __MPEXP.
24763 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24764 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24765 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24766 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24767 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24768 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24769 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24771 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24772 (__slowpow): Use long double EXPL and LOGL functions to
24774 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24775 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24776 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24777 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24778 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24779 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24782 intermediate variable to calculate exponent.
24784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24788 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24789 [!NO__SQR]: Define __sqr.
24790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24791 and NO__SQR. Remove all code except __mul and __sqr. Include
24792 sysdeps/ieee754/dbl-64/mpa.c.
24793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24796 * posix/Makefile (tests): Add tst-pathconf.
24797 * posix/tst-pathconf.c: New test case.
24798 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24800 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24802 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
24804 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24806 2013-03-06 Andreas Jaeger <aj@suse.de>
24808 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24809 definition via __MAP_ANONYMOUS.
24811 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24812 it's not part of Linux headers.
24814 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24815 (MAP_HUGE_MASK): Define.
24817 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24819 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24820 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24822 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24823 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24825 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24826 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24828 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24830 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24831 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24832 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24833 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24834 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24835 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24837 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24840 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24841 Handle f2fs and efivarfs.
24843 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24846 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24847 (EFIVARFS_MAGIC): Add.
24848 (F2FS_LINK_MAX): Add.
24850 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24852 * stdio-common/vfprintf.c: Replace __builtin_expect with
24855 2013-03-06 Joseph Myers <joseph@codesourcery.com>
24858 * sysdeps/generic/bp-sym.h: Remove file.
24859 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24860 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24861 <bp-sym.h> and <bp-asm.h>.
24862 (__longjmp): Don't use BP_SYM.
24863 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24865 (memcpy): Don't use BP_SYM.
24866 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24867 <bp-sym.h> and <bp-asm.h>.
24868 (memcpy): Don't use BP_SYM.
24869 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24871 (memcpy): Don't use BP_SYM.
24872 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24874 (memset): Don't use BP_SYM.
24875 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24876 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24877 (__bzero): Don't use BP_SYM.
24878 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24879 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24880 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24881 <bp-sym.h> and <bp-asm.h>.
24882 (memcmp): Don't use BP_SYM. Remove comment about bounded
24884 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24885 <bp-sym.h> and <bp-asm.h>.
24886 (memcpy): Don't use BP_SYM.
24887 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24888 <bp-sym.h> and <bp-asm.h>.
24889 (memset): Don't use BP_SYM.
24890 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24891 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24892 (__bzero): Don't use BP_SYM.
24893 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24894 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24895 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24896 <bp-sym.h> and <bp-asm.h>.
24897 (strncmp): Don't use BP_SYM. Remove comment about bounded
24899 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24900 <bp-sym.h> and <bp-asm.h>.
24901 (memcpy): Don't use BP_SYM.
24902 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24903 <bp-sym.h> and <bp-asm.h>.
24904 (memset): Don't use BP_SYM.
24905 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24906 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24907 (__bzero): Don't use BP_SYM.
24908 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24909 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24910 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24911 <bp-sym.h> and <bp-asm.h>.
24912 (__memchr): Don't use BP_SYM.
24913 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24914 <bp-sym.h> and <bp-asm.h>.
24915 (memcmp): Don't use BP_SYM. Remove comment about bounded
24917 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24918 <bp-sym.h> and <bp-asm.h>.
24919 (memcpy): Don't use BP_SYM.
24920 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24921 <bp-sym.h> and <bp-asm.h>.
24922 (__mempcpy): Don't use BP_SYM.
24923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24924 <bp-sym.h> and <bp-asm.h>.
24925 (__memrchr): Don't use BP_SYM.
24926 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24927 <bp-sym.h> and <bp-asm.h>.
24928 (memset): Don't use BP_SYM.
24929 (__bzero): Likewise.
24930 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24931 <bp-sym.h> and <bp-asm.h>.
24932 (__rawmemchr): Don't use BP_SYM.
24933 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24934 <bp-sym.h> and <bp-asm.h>.
24935 (__STRCMP): Don't use BP_SYM.
24936 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24937 <bp-sym.h> and <bp-asm.h>.
24938 (strchr): Don't use BP_SYM.
24939 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24940 <bp-sym.h> and <bp-asm.h>.
24941 (__strchrnul): Don't use BP_SYM.
24942 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24943 <bp-sym.h> and <bp-asm.h>.
24944 (strlen): Don't use BP_SYM.
24945 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24946 <bp-sym.h> and <bp-asm.h>.
24947 (strncmp): Don't use BP_SYM. Remove comment about bounded
24949 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24950 <bp-sym.h> and <bp-asm.h>.
24951 (__strnlen): Don't use BP_SYM.
24952 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24953 <bp-sym.h> and <bp-asm.h>.
24954 (__GI__setjmp): Don't use BP_SYM.
24955 (_setjmp): Likewise.
24956 (__sigsetjmp): Likewise.
24957 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24958 (L(start_addresses)): Don't use BP_SYM.
24959 (_start): Likewise.
24960 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24962 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24963 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24964 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24965 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24966 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24968 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24969 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24970 about bounded pointers.
24971 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24972 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24973 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24975 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24976 about bounded pointers. Remove GKM FIXME comments.
24977 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24978 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24980 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24981 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24982 Remove GKM FIXME comments.
24983 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24984 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24985 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24987 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24988 about bounded pointers. Remove GKM FIXME comment.
24989 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24991 (strncmp): Don't use BP_SYM. Remove comment about bounded
24993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24994 <bp-sym.h> and <bp-asm.h>.
24995 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24997 <bp-sym.h> and <bp-asm.h>.
24998 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25001 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25003 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25006 2013-03-05 David S. Miller <davem@davemloft.net>
25008 * po/es.po: Update from translation team.
25010 2013-03-05 Andreas Jaeger <aj@suse.de>
25012 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25013 <bits/mman-linux.h>.
25014 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25016 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25017 <bits/mman-linux.h> to end of file.
25018 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25020 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25021 <bits/mman-linux.h> to end of file.
25022 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25024 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25025 <bits/mman-linux.h> to end of file.
25027 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25028 (MCL_CURRENT, MCL_FUTURE): Define here.
25030 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25033 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25035 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25037 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25039 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25040 fourth parameter needed for rt_sigprocmask syscall.
25041 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25042 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25043 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25044 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25045 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25046 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25048 2013-03-04 Joseph Myers <joseph@codesourcery.com>
25051 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25052 comment about bounded pointers.
25053 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25054 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25056 2013-03-04 Andreas Jaeger <aj@suse.de>
25058 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25059 common definitions.
25061 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25062 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25063 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25064 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25065 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25066 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25068 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25071 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25072 __ieee754_sqrl instead of __sqrl.
25074 2013-03-01 Joseph Myers <joseph@codesourcery.com>
25076 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25077 * sysdeps/powerpc/fpu_control.h: ... here.
25078 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25079 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25080 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25081 * sysdeps/powerpc/bits/mathinline.h: ... here.
25083 2013-03-01 Roland McGrath <roland@hack.frob.com>
25085 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25086 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25087 to just [NEED_DL_SYSINFO_DSO].
25088 * elf/dl-support.c: Likewise.
25089 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25090 * elf/rtld.c (dl_main): Likewise.
25091 * elf/setup-vdso.h (setup_vdso): Likewise.
25092 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25093 * sysdeps/unix/sysv/linux/dl-sysdep.c
25094 (_dl_discover_osversion): Likewise.
25096 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25098 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25099 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25101 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25103 * NEWS: Mention libm performance improvements and non-x86 PI
25106 * csu/libc-start.c (__pthread_initialize_minimal): Change
25107 function arguments.
25108 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25110 2013-02-28 Joseph Myers <joseph@codesourcery.com>
25113 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25114 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25115 <bp-sym.h> and <bp-asm.h>.
25116 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25117 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25119 (memcpy): Don't use BP_SYM.
25120 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25122 (__mpn_add_n): Don't use BP_SYM.
25123 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25124 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25126 (__mpn_addmul_1): Don't use BP_SYM.
25127 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25128 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25130 (_setjmp): Don't use BP_SYM.
25131 (__novmx_setjmp): Likewise.
25132 (__GI__setjmp): Likewise.
25133 (__vmx_setjmp): Likewise.
25134 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25136 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25137 (__bzero): Don't use BP_SYM.
25138 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25139 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25140 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25141 <bp-sym.h> and <bp-asm.h>.
25142 (memcpy): Don't use BP_SYM.
25143 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25144 <bp-sym.h> and <bp-asm.h>.
25145 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25146 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25147 <bp-sym.h> and <bp-asm.h>.
25148 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25149 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25151 (__mpn_lshift): Don't use BP_SYM.
25152 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25153 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25155 (memset): Don't use BP_SYM.
25156 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25157 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25158 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25160 (__mpn_mul_1): Don't use BP_SYM.
25161 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25162 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25163 <bp-sym.h> and <bp-asm.h>.
25164 (memcmp): Don't use BP_SYM.
25165 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25166 <bp-sym.h> and <bp-asm.h>.
25167 (memcpy): Don't use BP_SYM.
25168 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25169 <bp-sym.h> and <bp-asm.h>.
25170 (memset): Don't use BP_SYM.
25171 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25172 <bp-sym.h> and <bp-asm.h>.
25173 (strncmp): Don't use BP_SYM.
25174 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25175 <bp-sym.h> and <bp-asm.h>.
25176 (memcpy): Don't use BP_SYM.
25177 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25178 <bp-sym.h> and <bp-asm.h>.
25179 (memset): Don't use BP_SYM.
25180 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25181 <bp-sym.h> and <bp-asm.h>.
25182 (__memchr): Don't use BP_SYM.
25183 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25184 <bp-sym.h> and <bp-asm.h>.
25185 (memcmp): Don't use BP_SYM.
25186 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25187 <bp-sym.h> and <bp-asm.h>.
25188 (memcpy): Don't use BP_SYM.
25189 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25190 <bp-sym.h> and <bp-asm.h>.
25191 (__mempcpy): Don't use BP_SYM.
25192 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25193 <bp-sym.h> and <bp-asm.h>.
25194 (__memrchr): Don't use BP_SYM.
25195 * sysdeps/powerpc/powerpc32/power7/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/rawmemchr.S: Don't include
25199 <bp-sym.h> and <bp-asm.h>.
25200 (__rawmemchr): Don't use BP_SYM.
25201 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25202 <bp-sym.h> and <bp-asm.h>.
25203 (__STRCMP): Don't use BP_SYM.
25204 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25205 <bp-sym.h> and <bp-asm.h>.
25206 (strchr): Don't use BP_SYM.
25207 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25208 <bp-sym.h> and <bp-asm.h>.
25209 (__strchrnul): Don't use BP_SYM.
25210 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25211 <bp-sym.h> and <bp-asm.h>.
25212 (strlen): Don't use BP_SYM.
25213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25214 <bp-sym.h> and <bp-asm.h>.
25215 (strncmp): Don't use BP_SYM.
25216 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25217 <bp-sym.h> and <bp-asm.h>.
25218 (__strnlen): Don't use BP_SYM.
25219 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25221 (__mpn_rshift): Don't use BP_SYM.
25222 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25223 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25224 <bp-sym.h> and <bp-asm.h>.
25225 (__sigsetjmp): Don't use BP_SYM.
25226 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25227 (L(start_addresses)): Don't use BP_SYM.
25228 (_start): Likewise.
25229 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25231 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25232 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25233 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25234 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25236 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25237 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25238 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25239 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25241 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25243 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25244 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25246 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25248 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25249 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25250 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25252 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25254 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25256 (strncmp): Don't use BP_SYM,
25257 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25259 (__mpn_sub_n): Don't use BP_SYM.
25260 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25261 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25263 (__mpn_submul_1): Don't use BP_SYM.
25264 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25266 <bp-sym.h> and <bp-asm.h>.
25267 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25269 <bp-sym.h> and <bp-asm.h>.
25270 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25273 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25276 Use ZK to minimize writes to Z.
25277 (sub_magnitudes): Simplify code a bit.
25278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25279 Use ZK to minimize writes to Z.
25280 (sub_magnitudes): Simplify code a bit.
25282 2013-02-27 Roland McGrath <roland@hack.frob.com>
25284 * csu/gmon-start.c: Add special exception to license text.
25286 2013-02-27 Richard Henderson <rth@redhat.com>
25288 * scripts/config.guess: Update from config.git.
25289 * scripts/config.sub: Likewise.
25291 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25293 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25295 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25297 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25299 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25301 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25303 2013-02-26 Roland McGrath <roland@hack.frob.com>
25305 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25306 [$(build-shared = yes].
25308 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25310 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25311 (__mul): Reduce iterations for calculating mantissa.
25313 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25315 (__mpranred): Likewise.
25318 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25319 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25321 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25323 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25324 Define __attribute__.
25326 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25328 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25330 * posix/regex_internal.h (__attribute): Remove.
25331 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25332 (re_string_context_at): Likewise.
25333 (bitset_not): Use __attribute__ and mark function as possibly
25335 (bitset_merge): Likewise.
25336 (bitset_mask): Likewise.
25337 (re_string_char_size_at): Likewise.
25338 (re_string_wchar_at): Likewise.
25339 (re_string_elem_size_at): Likewise.
25341 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25343 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25347 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25351 (denorm): Likewise.
25352 (__dbl_mp): Likewise.
25353 (add_magnitudes): Likewise.
25354 (sub_magnitudes): Likewise.
25358 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25361 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25364 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25368 up changes with default code.
25369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25372 2013-02-24 Allan McRae <allan@archlinux.org>
25374 * manual/socket.texi (The Internet Namespace): Order menu items
25375 to match that in the file.
25377 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25378 node listing of the info page menu.
25380 2013-02-21 Joseph Myers <joseph@codesourcery.com>
25383 * sysdeps/i386/bp-asm.h: Remove file.
25384 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25385 (PARMS): Do not use macros from bp-asm.h.
25389 (__mpn_add_n): Do not use BP_SYM
25390 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25392 (PARMS): Do not use macros from bp-asm.h.
25395 (__mpn_addmul_1): Do not use BP_SYM
25396 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25398 (PARMS): Do not use macros from bp-asm.h.
25399 (SIGMSK): Likewise.
25400 (_setjmp): Likewise. Do not use BP_SYM.
25401 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25403 (PARMS): Do not use macros from bp-asm.h.
25404 (SIGMSK): Likewise.
25405 (setjmp): Likewise. Do not use BP_SYM.
25406 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25408 (PARMS): Do not use macros from bp-asm.h.
25409 (__frexp): Do not use BP_SYM.
25411 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25413 (PARMS): Do not use macros from bp-asm.h.
25414 (__frexpf): Do not use BP_SYM.
25415 (frexpf): Likewise.
25416 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25418 (PARMS): Do not use macros from bp-asm.h.
25419 (__frexpl): Do not use BP_SYM.
25420 (frexpl): Likewise.
25421 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25423 (PARMS): Do not use macros from bp-asm.h.
25424 (__remquo): Do not use BP_SYM.
25425 (remquo): Likewise.
25426 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25428 (PARMS): Do not use macros from bp-asm.h.
25429 (__remquof): Do not use BP_SYM.
25430 (remquof): Likewise.
25431 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25433 (PARMS): Do not use macros from bp-asm.h.
25434 (__remquol): Do not use BP_SYM.
25435 (remquol): Likewise.
25436 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25438 (PARMS): Do not use macros from bp-asm.h.
25441 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25442 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25444 (PARMS): Do not use macros from bp-asm.h.
25445 (strlen): Do not use BP_SYM.
25446 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25448 (PARMS): Do not use macros from bp-asm.h.
25452 (__mpn_add_n): Do not use BP_SYM.
25453 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25455 (PARMS): Do not use macros from bp-asm.h.
25458 (__mpn_addmul_1): Do not use BP_SYM.
25459 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25462 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25464 (PARMS): Do not use macros from bp-asm.h.
25467 (__mpn_lshift): Do not use BP_SYM.
25468 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25470 (PARMS): Do not use macros from bp-asm.h.
25474 (memcpy): Likewise. Do not use BP_SYM.
25475 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25476 libc_hidden_def and weak_alias.
25477 (mempcpy): Do not use BP_SYM in weak_alias.
25478 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25480 (PARMS): Do not use macros from bp-asm.h.
25483 [!BZERO_P] (CHR): Likewise.
25484 (memset): Likewise. Do not use BP_SYM.
25485 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25487 (PARMS): Do not use macros from bp-asm.h.
25490 (__mpn_mul_1): Do not use BP_SYM.
25491 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25493 (PARMS): Do not use macros from bp-asm.h.
25496 (__mpn_rshift): Do not use BP_SYM.
25497 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25499 (PARMS): Do not use macros from bp-asm.h.
25502 (strchr): Likewise. Do not use BP_SYM.
25503 (index): Do not use BP_SYM in weak_alias.
25504 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25506 (PARMS): Do not use macros from bp-asm.h.
25509 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25510 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25512 (PARMS): Do not use macros from bp-asm.h.
25513 (strlen): Do not use BP_SYM.
25514 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25516 (PARMS): Do not use macros from bp-asm.h.
25520 (__mpn_sub_n): Do not use BP_SYM.
25521 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25523 (PARMS): Do not use macros from bp-asm.h.
25526 (__mpn_submul_1): Do not use BP_SYM.
25527 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25529 (PARMS): Do not use macros from bp-asm.h.
25533 (__mpn_add_n): Do not use BP_SYM.
25534 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25537 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25539 (PARMS): Do not use macros from bp-asm.h.
25542 (memcmp): Do not use BP_SYM.
25543 (bcmp): Do not use BP_SYM in weak_alias.
25544 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25546 (PARMS): Do not use macros from bp-asm.h.
25550 (memcpy): Likewise. Do not use BP_SYM.
25551 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25553 (PARMS): Do not use macros from bp-asm.h.
25557 (memmove): Likewise. Do not use BP_SYM.
25558 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25560 (PARMS): Do not use macros from bp-asm.h.
25564 (__mempcpy): Likewise. Do not use BP_SYM.
25565 (mempcpy): Do not use BP_SYM in weak_alias.
25566 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25568 (PARMS): Do not use macros from bp-asm.h.
25571 [!BZERO_P] (CHR): Likewise.
25572 (memset): Likewise. Do not use BP_SYM.
25573 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25575 (PARMS): Do not use macros from bp-asm.h.
25577 (strcmp): Do not use BP_SYM.
25578 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25580 (PARMS): Do not use macros from bp-asm.h.
25583 [USE_AS_STRTOK_R] (SAVE): Likewise.
25584 (FUNCTION): Likewise. Do not use BP_SYM.
25585 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25587 (strtok_r): Likewise.
25588 (__GI___strtok_r): Likewise.
25589 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25590 (PARMS): Do not use macros from bp-asm.h.
25593 (__mpn_lshift): Do not use BP_SYM.
25594 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25595 (PARMS): Do not use macros from bp-asm.h.
25598 (__memchr): Do not use BP_SYM.
25599 (memchr): Do not use BP_SYM in weak_alias.
25600 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25601 (PARMS): Do not use macros from bp-asm.h.
25604 (memcmp): Do not use BP_SYM.
25605 (bcmp): Do not use BP_SYM in weak_alias.
25606 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25607 (PARMS): Do not use macros from bp-asm.h.
25610 (__mpn_mul_1): Do not use BP_SYM.
25611 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25613 (PARMS): Do not use macros from bp-asm.h.
25616 (__rawmemchr): Do not use BP_SYM.
25617 (rawmemchr): Do not use BP_SYM in weak_alias.
25618 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25619 (PARMS): Do not use macros from bp-asm.h.
25622 (__mpn_rshift): Do not use BP_SYM.
25623 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25624 (PARMS): Do not use macros from bp-asm.h.
25625 (SIGMSK): Likewise.
25626 (__sigsetjmp): Likewise. Do not use BP_SYM.
25627 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25628 (_start): Do not use BP_SYM.
25629 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25630 (PARMS): Do not use macros from bp-asm.h.
25633 (__stpcpy): Likewise. Do not use BP_SYM.
25634 (stpcpy): Do not use BP_SYM in weak_alias.
25635 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25637 (PARMS): Do not use macros from bp-asm.h.
25641 (__stpncpy): Likewise. Do not use BP_SYM.
25642 (stpncpy): Do not use BP_SYM in weak_alias.
25643 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25644 (PARMS): Do not use macros from bp-asm.h.
25647 (strchr): Likewise. Do not use BP_SYM.
25648 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25650 (PARMS): Do not use macros from bp-asm.h.
25653 (__strchrnul): Likewise. Do not use BP_SYM.
25654 (strchrnul): Do not use BP_SYM in weak_alias.
25655 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25657 (PARMS): Do not use macros from bp-asm.h.
25659 (strcspn): Do not use BP_SYM.
25660 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25662 (PARMS): Do not use macros from bp-asm.h.
25665 (strpbrk): Likewise. Do not use BP_SYM.
25666 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25668 (PARMS): Do not use macros from bp-asm.h.
25671 (strrchr): Likewise. Do not use BP_SYM.
25672 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25673 (PARMS): Do not use macros from bp-asm.h.
25675 (strspn): Do not use BP_SYM.
25676 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25677 (PARMS): Do not use macros from bp-asm.h.
25681 (FUNCTION): Likewise. Do not use BP_SYM.
25682 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25684 (strtok_r): Likewise.
25685 (__GI___strtok_r): Likewise.
25686 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25687 (PARMS): Do not use macros from bp-asm.h.
25691 (__mpn_sub_n): Do not use BP_SYM.
25692 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25694 (PARMS): Do not use macros from bp-asm.h.
25697 (__mpn_submul_1): Do not use BP_SYM.
25698 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25700 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25702 (PARMS): Do not use macros from bp-asm.h.
25707 (__clone): Do not use BP_SYM.
25708 (clone): Do not use BP_SYM in weak_alias.
25709 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25711 (PARMS): Do not use macros from bp-asm.h.
25713 (__mmap64): Do not use BP_SYM.
25714 (mmap64): Do not use BP_SYM in weak_alias.
25715 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25716 <bp-sym.h> and <bp-asm.h>.
25717 (PARMS): Do not use macros from bp-asm.h.
25718 (__posix_fadvise64_l64): Do not use BP_SYM.
25719 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25720 (PARMS): Do not use macros from bp-asm.h.
25722 (semtimedop): Do not use BP_SYM.
25723 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25726 2013-02-21 Allan McRae <allan@archlinux.org>
25728 * manual/message.texi (Charset conversion in gettext):
25729 Move @end statement to beginning of line.
25731 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25738 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25739 (denorm): Likewise.
25740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25743 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25745 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25746 tail-call to the resolved function if pltexit isn't needed.
25748 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25751 or Y being zero as being unlikely.
25752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25755 2013-02-20 Carlos O'Donell <carlos@redhat.com>
25757 * manual/nss.texi (System Databases and Name Service Switch):
25758 Remove frobnicate @pxref.
25760 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25762 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25763 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25765 2013-02-20 Petr Machata <pmachata@redhat.com>
25767 * elf/elf.h (R_ARM_TARGET1): New macro.
25768 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25769 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25770 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25771 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25772 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25773 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25774 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25775 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25776 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25777 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25778 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25779 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25780 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25781 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25782 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25783 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25784 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25785 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25786 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25787 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25788 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25789 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25790 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25791 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25792 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25793 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25794 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25795 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25796 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25797 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25798 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25799 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25800 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25801 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25802 (R_ARM_THM_GOT_BREL12): Likewise.
25803 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25804 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25805 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25806 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25807 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25808 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25809 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25810 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25811 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25813 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25815 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25816 __attribute_used__ to __attribute__ ((unused)).
25818 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25820 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25823 comment formatting.
25824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25826 2013-02-19 Joseph Myers <joseph@codesourcery.com>
25829 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25831 (ENTER): Remove both macro definitions.
25833 (CHECK_BOUNDS_LOW): Likewise.
25834 (CHECK_BOUNDS_HIGH): Likewise.
25835 (CHECK_BOUNDS_BOTH): Likewise.
25836 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25837 (RETURN_BOUNDED_POINTER): Likewise.
25838 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25839 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25840 (POP_ERRNO_LOCATION_RETURN): Likewise.
25841 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25842 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25843 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25845 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25846 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25847 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25848 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25849 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25850 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25851 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25852 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25853 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25854 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25855 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25856 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25857 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25858 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25860 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25861 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25863 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25864 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25865 * sysdeps/i386/i586/memset.S (memset): Likewise.
25866 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25867 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25868 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25870 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25871 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25872 Change uses of L(2) to L(out).
25873 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25874 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25875 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25876 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25877 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25879 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25880 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25882 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25883 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25884 (RETURN): Do not use macro LEAVE.
25885 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25886 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25887 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25888 * sysdeps/i386/i686/memset.S (memset): Likewise.
25889 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25890 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25891 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25892 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25894 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25895 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25896 L(1_2) and L(1_3) into L(1).
25897 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25898 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25899 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25900 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25901 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25902 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25903 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25904 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25905 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25907 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25908 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25909 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25910 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25911 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25912 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25913 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25914 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25915 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25916 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25917 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25918 * sysdeps/i386/strspn.S (strspn): Likewise.
25919 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25921 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25922 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25923 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25924 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25925 L(1_3) into L(1_1).
25926 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25927 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25928 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25930 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25932 2013-02-19 Jakub Jelinek <jakub@redhat.com>
25934 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25937 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25939 * math/atest-exp.c (exp_mpn): Remove ROUND.
25940 * math/atest-exp2.c (exp_mpn): Likewise.
25941 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25943 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25944 * stdlib/tst-tls-atexit-lib.c: Likewise.
25945 * stdlib/tst-tls-atexit.c: Likewise.
25947 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25949 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25950 and __attribute_alloc_size__.
25952 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25954 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25955 __attribute_alloc_size__.
25956 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25957 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25959 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25961 * include/programs/xmalloc.h: New file.
25962 * catgets/gencat.c: Include it.
25963 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25964 * elf/pldd.c: Likewise.
25965 * iconv/iconv_charmap.c: Likewise.
25966 * iconv/iconvconfig.c: Likewise.
25967 * iconv/strtab.c: Likewise.
25968 * locale/programs/locale.c: Likewise.
25969 * locale/programs/localedef.h: Likewise.
25970 * locale/programs/simple-hash.c: Likewise.
25971 * nscd/nscd.h: Likewise.
25972 * nss/makedb.c: Likewise.
25973 * sysdeps/generic/ldconfig.h: Likewise.
25975 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25977 * Versions.def: Add GLIBC_2.18.
25978 * include/link.h (struct link_map): New member l_tls_dtor_count.
25979 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25980 (__call_tls_dtors): Likewise.
25981 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25982 __cxa_thread_atexit_impl.
25983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25999 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26000 (tests): Add test case tst-tls-atexit.
26001 (modules-names): Add shared library for tst-tls-atexit.
26002 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26003 (GLIBC_PRIVATE): Add __call_tls_dtors.
26004 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26006 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26007 * stdlib/tst-tls-atexit.c: New test case.
26008 * stdlib/tst-tls-atexit-lib.c: New test case.
26010 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26012 * elf/Versions (ld): Add _dl_find_dso_for_object.
26013 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26014 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26015 (dl_open_worker): Use _dl_find_dso_for_object.
26016 * elf/dl-sym.c (do_sym): Likewise.
26017 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26019 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26021 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26022 Syntactic changes only.
26023 (_dl_runtime_profile): Do a tail-call to the resolved function.
26025 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26028 * sysdeps/x86_64/bp-asm.h: Remove file.
26029 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26030 <bp-sym.h> and <bp-asm.h>.
26031 (__clone): Do not use BP_SYM.
26032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26033 <bp-sym.h> and <bp-asm.h>.
26034 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26035 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26037 (_setjmp): Do not use BP_SYM.
26038 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26040 (setjmp): Do not use BP_SYM.
26041 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26043 (mempcpy): Do not use BP_SYM in weak_alias.
26044 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26046 (strchr): Do not use BP_SYM.
26047 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26049 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26050 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26051 (_start): Do not use BP_SYM.
26052 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26054 (strcat): Do not use BP_SYM.
26055 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26057 (STRCMP): Do not use BP_SYM.
26058 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26060 (STRCPY): Do not use BP_SYM.
26061 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26063 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26065 (FUNCTION): Do not use BP_SYM.
26066 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26068 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26070 2013-02-17 Andreas Jaeger <aj@suse.de>
26072 * time/Versions: Sort entries.
26073 * string/Versions: Likewise.
26074 * resolv/Versions: Likewise.
26075 * posix/Versions: Likewise.
26076 * iconv/Versions: Likewise.
26077 * elf/Versions: Likewise.
26078 * wcsmbs/Versions: Likewise.
26080 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26082 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26083 loop termination condition.
26085 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26086 variable to calculate EZ.
26089 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26090 the lower precision input.
26092 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26095 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26096 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26097 (run-via-rtld-prefix): Do not handle %-bp tests.
26098 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26099 (all-object-suffixes): Remove .ob.
26100 (bppfx): Remove variable.
26101 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26102 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26103 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26104 [$(build-bounded) = yes] (libtype.ob): Likewise.
26105 * Makerules (elide-routines.ob): Remove variable.
26106 (do-tests-clean): Do not handle *-bp.out.
26107 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26108 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26109 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26110 (tests): Do not include $(tests-bp.out).
26111 (xtests): Do not include $(xtests-bp.out).
26112 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26113 [$(build-bounded) = yes] ($(addprefix
26114 $(objpfx),$(binaries-bounded))): Remove rule.
26115 ($(objpfx)%-bp.out): Remove rule.
26116 * config.make.in (build-bounded): Remove variable.
26117 * crypt/Makefile [$(build-bounded) = yes]
26118 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26119 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26120 append to variable.
26121 [$(build-bounded) = yes] (install-lib): Likewise.
26122 [$(build-bounded) = yes] (generated): Likewise.
26123 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26125 * intl/Makefile [$(build-bounded) = yes]
26126 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26127 * math/Makefile [$(build-bounded) = yes]
26128 ($(tests:%=$(objpfx)%-bp): Likewise.
26129 * misc/Makefile [$(build-bounded) = yes]
26130 ($(objpfx)tst-tsearch-bp): Likewise.
26131 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26132 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26134 * string/Makefile (o-objects.ob): Remove variable.
26135 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26136 (CFLAGS-.ob): Remove variable.
26137 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26138 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26139 both definitions of variable.
26140 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26141 (ASFLAGS-.ob): Remove variable.
26143 2013-02-14 Joseph Myers <joseph@codesourcery.com>
26146 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26147 Remove __BOUNDED_POINTERS__ from condition.
26148 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26149 * string/bits/string2.h [!__NO_STRING_INLINES &&
26150 !__BOUNDED_POINTERS__]: Likewise.
26151 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26153 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26154 Remove conditional code.
26155 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26156 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26157 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26161 * csu/libc-start.c: Do not include <bp-sym.h>.
26162 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26163 * elf/dl-open.c: Do not include <bp-sym.h>.
26164 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26165 * math/fegetenv.c: Do not include <bp-sym.h>.
26166 (fegetenv): Do not use BP_SYM in versioned symbols.
26167 * nptl/sysdeps/pthread/bits/libc-lockP.h
26168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26171 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26173 (__pthread_mutex_destroy): Likewise.
26174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26175 (__pthread_mutex_lock): Likewise.
26176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26177 (__pthread_mutex_trylock): Likewise.
26178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26179 (__pthread_mutex_unlock): Likewise.
26180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26181 (__pthread_mutexattr_init): Likewise.
26182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26183 (__pthread_mutexattr_destroy): Likewise.
26184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26185 (__pthread_mutexattr_settype): Likewise.
26186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26187 (__pthread_rwlock_init): Likewise.
26188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26189 (__pthread_rwlock_destroy): Likewise.
26190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26191 (__pthread_rwlock_rdlock): Likewise.
26192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26193 (__pthread_rwlock_tryrdlock): Likewise.
26194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26195 (__pthread_rwlock_wrlock): Likewise.
26196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26197 (__pthread_rwlock_trywrlock): Likewise.
26198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26199 (__pthread_rwlock_unlock): Likewise.
26200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26201 (__pthread_key_create): Likewise.
26202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26203 (__pthread_setspecific): Likewise.
26204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26205 (__pthread_getspecific): Likewise.
26206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26209 (_pthread_cleanup_push_defer): Likewise.
26210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26211 (_pthread_cleanup_pop_restore): Likewise.
26212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26213 (pthread_setcancelstate): Likewise.
26214 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26216 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26217 (memchr): Do not use BP_SYM in weak_alias.
26218 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26219 (fegetenv): Do not use BP_SYM in versioned symbols.
26220 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26221 (fesetenv): Do not use BP_SYM in versioned symbols.
26222 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26223 (feupdateenv): Do not use BP_SYM in versioned symbols.
26224 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26225 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26226 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26227 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26228 (open64): Do not use BP_SYM in weak_alias.
26229 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26230 (fegetenv): Do not use BP_SYM in versioned symbols.
26231 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26232 (fesetenv): Do not use BP_SYM in versioned symbols.
26233 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26234 (feupdateenv): Do not use BP_SYM in versioned symbols.
26235 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26236 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26237 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26238 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26239 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26240 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26241 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26243 (__libc_start_main): Do not use BP_SYM.
26245 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26248 redundant return line.
26250 (denorm): Likewise.
26251 (dbl_mp): Likewise.
26252 (sub_magnitudes): Likewise.
26258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26260 (denorm): Likewise.
26261 (dbl_mp): Likewise.
26262 (sub_magnitudes): Likewise.
26269 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26272 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26275 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26276 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26278 of __mul for squares.
26279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26283 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26284 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26286 2013-02-13 Joseph Myers <joseph@codesourcery.com>
26289 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26291 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26292 prototype or function definition. Rename ubp_* variables and
26293 parameters. Remove argv definitions conditional on
26294 [__BOUNDED_POINTERS__].
26295 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26296 * elf/dl-runtime.c (_dl_fixup): Likewise.
26297 * include/set-hooks.h (RUN_HOOK): Likewise.
26298 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26300 * string/strcpy.c (strcpy): Do not use __unbounded.
26301 * sysdeps/generic/frame.h (struct layout): Likewise.
26302 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26303 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26304 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26305 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26306 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26307 (__backtrace): Likewise.
26308 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26310 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26311 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26312 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26314 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26315 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26316 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26317 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26318 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26319 Do not use __unbounded.
26320 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26321 Rename __unboundedrlimits parameter to rlimits in prototype.
26322 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26323 Do not use __unbounded.
26324 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26325 not use __ptrvalue.
26326 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26327 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26328 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26329 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26330 __ptrvalue or __unbounded.
26331 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26332 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26334 (__new_msgctl): Do not use __ptrvalue.
26335 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26337 (__libc_msgrcv): Do not use __ptrvalue.
26338 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26339 startup_info): Do not use __unbounded.
26340 (__libc_start_main): Likewise. Rename ubp_* variables and
26341 parameters. Remove argv definitions conditional on
26342 [__BOUNDED_POINTERS__].
26343 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26345 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26347 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26349 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26351 (__new_shmctl): Do not use __ptrvalue.
26352 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26353 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26355 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26356 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26357 (__libc_sigaction): Likewise.
26358 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26359 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26361 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26363 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
26365 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26367 * string/mempcpy.c: Implement by calling memcpy.
26369 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26373 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26376 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26377 values in the mantissa.
26379 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26380 minimize writes to Z.
26381 (sub_magnitudes): Simplify code a bit.
26383 2013-02-12 Roland McGrath <roland@hack.frob.com>
26385 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26386 from the message. The linker prefixes all warnings with that already.
26388 2013-02-12 Andreas Schwab <schwab@suse.de>
26391 * posix/regexec.c (extend_buffers): Add parameter min_len.
26392 (check_matching): Pass minimum needed length.
26393 (clean_state_log_if_needed): Likewise.
26394 (get_subexp): Likewise.
26395 * posix/Makefile (tests): Add bug-regex34.
26396 (bug-regex34-ENV): Define.
26397 * posix/bug-regex34.c: New file.
26400 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26401 elements compare against the byte sequence of it, not its name.
26402 * posix/Makefile (tests): Add bug-regex35.
26403 (bug-regex35-ENV): Define.
26404 * posix/bug-regex35.c: New file.
26406 2013-02-11 Tom de Vries <tom@codesourcery.com>
26408 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26410 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26411 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26412 (CHECK_EOL): Add undef.
26414 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
26416 * bits/stdlib-bsearch.h: New file.
26417 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26418 * stdlib/stdlib.h: Likewise.
26420 2013-02-11 Roland McGrath <roland@hack.frob.com>
26422 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26423 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26425 * manual/search.texi (Array Search Function): Add missing const in
26427 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26428 declaration to use rlim_t.
26429 (Basic Scheduling Functions): Remove erroneous const from
26430 sched_getparam prototype. Remove erroneous * from
26431 sched_get_priority_max and sched_get_priority_min prototypes.
26432 (Resource Usage): Fix summary @comment on vtimes to refer to
26433 sys/vtimes.h rather than vtimes.h.
26434 Add missing *s in vtimes prototype.
26435 (Limits on Resources): Fix ulimit prototype to return long int.
26436 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26437 prototypes to use long int rather than double.
26438 (BSD Random): Fix initstate and setstate to use char *, not void *.
26439 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26440 prototype to make second argument 'struct aiocb64 *const[]'.
26441 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26442 (Status of AIO Operations): Remove erroneous const in aio_return and
26443 aio_return64 prototypes.
26444 (Synchronizing I/O): Fix sync prototype to return void.
26445 * manual/startup.texi (Suboptions): Remove an erroneous const in
26446 getsubopt prototype.
26447 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26448 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26449 use size_t rather than int.
26450 (Scanning All Users): Likewise for getpwent_r.
26451 (Setting Groups): Add missing const to setgroups prototype.
26452 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26453 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26454 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26455 'const void *' rather than 'const char *'.
26456 (Host Address Functions): Likewise for inet_ntop.
26457 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26458 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26459 ssize_t for return value.
26460 (Sending Data): Likewise for send, sendto, sendmsg.
26461 (Socket Option Functions): Add a missing const in setsockopt prototype.
26462 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26463 use wchar_t for the argument.
26464 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26465 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26467 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26468 double/float/long double for second argument.
26469 Fix return types of significand, significandf, significandl.
26470 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26471 argument in fchmod prototype.
26472 (File Owner): Use uid_t and gid_t in fchown prototype.
26473 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26474 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26475 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26476 use 'const struct dirent **' as argument types to CMP function pointer
26478 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26479 (File Times): Fix summary magic @comment for struct utimbuf and utime
26480 to refer to utime.h, not time.h.
26481 * manual/string.texi (Argz Functions): Add missing const in
26482 argz_extract and argz_next prototypes.
26483 (Finding Tokens in a String): Likewise for basename.
26484 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26485 (Copying and Concatenation): Fix typo in wmemmove prototype.
26486 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26487 (Signal Stack): Remove erroneous const in sigstack prototype.
26488 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26490 (Simple Calendar Time): Likewise for stime.
26491 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26493 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26494 say sys/sysctl.h instead.
26495 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26496 and vsyslog prototypes.
26498 2013-02-11 Tom de Vries <tom@codesourcery.com>
26500 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26503 2013-02-11 Roland McGrath <roland@hack.frob.com>
26505 * misc/sys/mman.h: Fix typo in mremap comment.
26507 2013-02-08 Roland McGrath <roland@hack.frob.com>
26509 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26510 the '\0' terminator.
26512 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26515 * debug/segfault.c: Don't include <bp-checks.h>.
26516 * sysdeps/generic/bp-checks.h: Remove file.
26517 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26518 (__GETDENTS): Don't use CHECK_N.
26519 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26520 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26521 (__getgroups): Don't use CHECK_N.
26522 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26523 (setgroups): Don't use CHECK_N.
26524 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26525 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26526 (__libc_msgrcv): Don't use CHECK_N.
26527 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26528 (__libc_msgsnd): Don't use CHECK_N.
26529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26531 (__libc_pread): Don't use CHECK_N.
26532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26533 include <bp-checks.h>.
26534 (__libc_pread64): Don't use CHECK_N.
26535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26536 include <bp-checks.h>.
26537 (__libc_pwrite): Don't use CHECK_N.
26538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26539 include <bp-checks.h>.
26540 (__libc_pwrite64): Don't use CHECK_N.
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26543 (__libc_pread): Don't use CHECK_N.
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26545 include <bp-checks.h>.
26546 (__libc_pread64): Don't use CHECK_N.
26547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26548 include <bp-checks.h>.
26549 (__libc_pwrite): Don't use CHECK_N.
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26551 include <bp-checks.h>.
26552 (__libc_pwrite64): Don't use CHECK_N.
26553 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26554 (do_pread): Don't use CHECK_N.
26555 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26556 (do_pread64): Don't use CHECK_N.
26557 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26558 (do_pwrite): Don't use CHECK_N.
26559 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26560 (do_pwrite64): Don't use CHECK_N.
26561 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26562 (__libc_readv): Don't use CHECK_N.
26563 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26564 (semop): Don't use CHECK_N.
26565 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26567 (semtimedop): Don't use CHECK_N.
26568 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26569 (__libc_pread): Don't use CHECK_N.
26570 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26572 (__libc_pread64): Don't use CHECK_N.
26573 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26575 (__libc_pwrite): Don't use CHECK_N.
26576 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26578 (__libc_pwrite64): Don't use CHECK_N.
26579 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26581 (__libc_msgrcv): Don't use CHECK_N.
26582 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26583 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26584 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26585 (__libc_writev): Don't use CHECK_N.
26587 2013-02-08 Roland McGrath <roland@hack.frob.com>
26589 * string/strcpy.c: Removed unused variable.
26591 * Makeconfig (+sysdep-includes): Define with := rather than =.
26592 Use an existing include/ subdir of each sysdeps dir before it.
26594 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26596 * nscd/connection.c (register_traced_file): Comment function.
26597 [HAVE_INOTIFY] (union __inev): Define.
26598 [HAVE_INOTIFY] (inotify_check_files): New function.
26599 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26600 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26602 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26604 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26606 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26607 loaded if not already and that a failure is permanent.
26609 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26612 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26613 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26615 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26618 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26619 (CHECK_1_NULL_OK): Likewise.
26620 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26621 (__fxstat): Do not use CHECK_1.
26622 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26624 (___fxstat64): Do not use CHECK_1.
26625 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26627 (__fxstatat): Do not use CHECK_1.
26628 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26630 (__fxstatat64): Do not use CHECK_1.
26631 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26633 (__fxstat): Do not use CHECK_1.
26634 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26636 (__fxstatat): Do not use CHECK_1.
26637 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26639 (__getresgid): Do not use CHECK_1.
26640 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26642 (__getresuid): Do not use CHECK_1.
26643 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26645 (__lxstat): Do not use CHECK_1.
26646 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26648 (__old_msgctl): Do not use CHECK_1.
26649 (__new_msgctl): Likewise.
26650 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26652 (__new_setrlimit): Do not use CHECK_1.
26653 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26655 (__old_shmctl): Do not use CHECK_1.
26656 (__new_shmctl): Likewise.
26657 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26659 (__xstat): Do not use CHECK_1.
26660 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26661 (__lxstat): Do not use CHECK_1.
26662 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26664 (___lxstat64): Do not use CHECK_1.
26665 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26666 (__old_msgctl): Do not use CHECK_1.
26667 (__new_msgctl): Likewise.
26668 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26670 (__gettimeofday): Do not use CHECK_1.
26671 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26672 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26673 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26675 (__gettimeofday): Do not use CHECK_1.
26676 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26677 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26678 (__new_shmctl): Do not use CHECK_1.
26679 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26681 (do_sigtimedwait): Do not use CHECK_1.
26682 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26684 (do_sigwaitinfo): Do not use CHECK_1.
26685 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26687 (msgctl): Do not use CHECK_1.
26688 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26690 (shmctl): Do not use CHECK_1.
26691 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26692 (ustat): Do not use CHECK_1.
26693 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26695 (__fxstat): Do not use CHECK_1.
26696 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26698 (__fxstatat): Do not use CHECK_1.
26699 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26701 (__lxstat): Do not use CHECK_1.
26702 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26704 (__xstat): Do not use CHECK_1.
26705 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26706 (__xstat): Do not use CHECK_1.
26707 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26708 (___xstat64): Do not use CHECK_1.
26711 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26713 (CHECK_BOUNDS_HIGH): Likewise.
26714 * string/strcpy.c: Do not include <bp-checks.h>.
26715 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26717 2013-02-07 Roland McGrath <roland@hack.frob.com>
26719 * nscd/nscd-client.h (__nscd_drop_map_ref):
26720 Add __attribute__ ((unused)).
26721 * nis/nss-nisplus.h (niserr2nss): Likewise.
26723 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26724 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26726 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26727 Remove inline keyword.
26728 * include/rounding-mode.h (round_away): Likewise.
26729 * libio/wfileops.c (adjust_wide_data): Likewise.
26730 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26731 (__m128i_strloadu_tolower): Likewise.
26732 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26733 (__m128i_strloadu_tolower): Likewise.
26734 * time/mktime.c (ydhms_diff): Likewise.
26735 * locale/elem-hash.h (elem_hash): Likewise.
26736 * locale/setlocale.c (setdata): Likewise.
26737 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26738 (re_string_wchar_at): Likewise.
26739 (bitset_not, bitset_merge, bitset_mask): Likewise.
26740 [!(__GNUC__ > 3)] (inline): Remove macro.
26741 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26742 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26743 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26744 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26745 * string/memcmp.c (memcmp_bytes): Likewise.
26746 * locale/programs/locarchive.c (compute_hashval): Likewise.
26747 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26748 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26749 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26750 * nss/getent.c (print_rpc, print_protocols): Likewise.
26751 (print_passwd, print_group, print_aliases): Likewise.
26752 * nis/nss-nisplus.h (niserr2nss): Likewise.
26753 * nscd/connections.c (restart_p): Likewise.
26754 Change return type to bool.
26756 2013-02-05 Roland McGrath <roland@hack.frob.com>
26758 * Makeconfig (all-Depend-files): Add existing
26759 $(sorted-subdirs:=/Depend) files.
26760 (all-subdirs): Remove nss.
26761 * sysdeps/unix/inet/Subdirs: Add it here instead.
26762 * hesiod/Depend: New file.
26764 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26765 instead of calling alloca.
26767 * io/lseek.c (__lseek): Rename to __libc_lseek.
26768 Define __lseek as an alias.
26770 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26772 2013-02-04 Carlos O'Donell <carlos@redhat.com>
26774 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26775 else clause and remove check for non-standard endianness.
26777 2013-02-04 David S. Miller <davem@davemloft.net>
26779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26781 2013-02-04 Joseph Myers <joseph@codesourcery.com>
26784 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26785 (__ubp_memchr): Remove prototype.
26786 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26787 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26788 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26789 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26790 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26792 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26793 (__ubp_memchr): Likewise.
26794 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26795 (__ubp_memchr): Likewise.
26796 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26797 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26798 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26799 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26801 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26802 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26803 (__getcwd): Do not use CHECK_STRING.
26804 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26806 (__real_chown): Do not use CHECK_STRING.
26807 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26809 (fchownat): Do not use CHECK_STRING.
26810 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26812 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26814 (__lchown): Do not use CHECK_STRING.
26815 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26816 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26817 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26818 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26820 include <bp-checks.h>.
26821 (truncate64): Do not use CHECK_STRING.
26822 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26824 (__real_chown): Do not use CHECK_STRING.
26825 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26827 (__lchown): Do not use CHECK_STRING.
26828 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26830 (__chown): Do not use CHECK_STRING.
26831 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26833 (truncate64): Do not use CHECK_STRING.
26834 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26836 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26837 (__xmknod): Do not use CHECK_STRING.
26838 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26840 (__xmknodat): Do not use CHECK_STRING.
26841 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26842 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26844 2013-02-04 Andreas Schwab <schwab@suse.de>
26847 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26848 * include/netdb.h: Likewise for h_errno.
26849 * elf/tst-stackguard1.c: Include <tls.h>.
26851 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26853 * elf/link.h (struct link_map): Extend the l_addr comment.
26854 * include/link.h (struct link_map): Likewise.
26856 2013-02-01 Joseph Myers <joseph@codesourcery.com>
26859 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26860 (BOUNDED_1): Remove macro.
26861 * debug/backtrace.c: Don't include <bp-checks.h>.
26862 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26863 (__backtrace): Likewise.
26864 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26866 (__backtrace): Don't use BOUNDED_1.
26867 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26869 (__backtrace): Don't use BOUNDED_1.
26870 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26871 (__backtrace): Don't use BOUNDED_1.
26872 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26873 (shmat): Don't use BOUNDED_N.
26875 2013-01-31 Joseph Myers <joseph@codesourcery.com>
26878 * sysdeps/generic/bp-start.h: Remove file.
26879 * csu/libc-start.c: Don't include <bp-start.h>.
26880 (LIBC_START_MAIN): Set up __environ directly instead of using
26881 INIT_ARGV_and_ENVIRON.
26882 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26886 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26888 (CHECK_FCNTL): Likewise.
26889 (CHECK_N_PAGES): Likewise.
26892 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26894 (CHECK_SIGSET_NULL_OK): Likewise.
26895 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26897 (sigpending): Don't use CHECK_SIGSET.
26898 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26900 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26901 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26903 (do_sigsuspend): Don't use CHECK_SIGSET.
26904 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26906 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26907 (do_sigwait): Don't use CHECK_SIGSET.
26908 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26910 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26911 include <bp-checks.h>.
26912 (sigpending): Don't use CHECK_SIGSET.
26913 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26914 include <bp-checks.h>.
26915 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26916 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26918 (sigpending): Don't use CHECK_SIGSET.
26919 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26921 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26924 * sysdeps/generic/bp-semctl.h: Remove file.
26925 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26926 <bp-checks.h> and <bp-semctl.h>.
26927 (__old_semctl): Don't use CHECK_SEMCTL.
26928 (__new_semctl): Likewise.
26929 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26931 (__old_semctl): Don't use CHECK_SEMCTL.
26932 (__new_semctl): Likewise.
26933 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26934 <bp-checks.h> and <bp-semctl.h>.
26935 (__old_semctl): Don't use CHECK_SEMCTL.
26936 (__new_semctl): Likewise.
26937 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26938 <bp-checks.h> and <bp-semctl.h>.
26939 (semctl): Don't use CHECK_SEMCTL.
26942 * Makerules (elide-bp-thunks): Remove variable.
26943 (elide-routines.oS): Don't use $(elide-bp-thunks).
26944 (elide-routines.os): Likewise.
26945 (elide-routines.o): Likewise.
26946 (elide-routines.op): Likewise.
26947 (elide-routines.og): Likewise.
26948 (objects): Don't use $(bp-thunks).
26949 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26951 (common-generated): Do not add s-proto-bp.d.
26952 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26955 Do not generate makefile rules for bounded-pointer thunks.
26956 * sysdeps/generic/bp-thunks.h: Remove file.
26957 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26958 * sysdeps/unix/s-proto-bp.S: Likewise.
26961 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26962 parts of result separately when argument is not close to line from
26963 -i to i and one part of argument is small.
26964 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26965 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26966 * math/libm-test.inc (cacos_test): Add more tests.
26967 (casin_test): Likewise.
26968 (casinh_test): Likewise.
26969 * sysdeps/i386/fpu/libm-test-ulps: Update.
26970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26972 2013-01-31 David S. Miller <davem@davemloft.net>
26974 * po/de.po: Update from translation team.
26976 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26978 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26980 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26982 * configure.in (_AC_PROG_CC_C89): New definition.
26983 * configure: Regenerate.
26985 * configure.in (AC_PROG_CPP): New definition.
26986 * configure: Regenerate.
26988 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26990 * debug/tst-backtrace.h: New file.
26991 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26992 (ret): Remove variable.
26994 (FAIL): Remove macro.
26995 (NO_INLINE): Likewise.
26996 (fn1): Use match function instead of strstr.
26997 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26998 (ret): Remove variable.
27000 (FAIL): Remove macro.
27001 (NO_INLINE): Likewise.
27002 (fn): Use match function instead of strstr.
27003 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27004 (ret): Remove variable.
27006 (FAIL): Remove macro.
27007 (NO_INLINE): Likewise.
27008 (handle_signal): Use match function instead of strstr.
27009 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27010 (ret): Remove variable.
27012 (FAIL): Remove macro.
27013 (NO_INLINE): Likewise.
27014 (handle_signal): Use match function instead of strstr.
27016 2013-01-23 Roland McGrath <roland@hack.frob.com>
27018 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27020 2013-01-23 David S. Miller <davem@davemloft.net>
27022 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27023 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27024 argument of CAS if possible.
27025 * sysdeps/sparc/sparc64/bits/atomic.h
27026 (__arch_compare_and_exchange_val_32_acq): Likewise.
27027 (__arch_compare_and_exchange_val_64_acq): Likewise.
27029 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27031 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27032 * sysdeps/posix/ulimit.c: ... this.
27033 Include <limits.h>.
27034 * sysdeps/unix/bsd/ulimit.c: Remove file.
27036 2013-01-23 Adam Conrad <adconrad@0c3.net>
27038 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27039 (LDFLAGS-tst-array5): Likewise.
27041 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27044 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27045 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27046 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27047 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27049 2013-01-21 David S. Miller <davem@davemloft.net>
27051 * sysdeps/sparc/backtrace.c: New file.
27052 * sysdeps/sparc/sparc32/backtrace.h: New file.
27053 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27054 * sysdeps/sparc/sparc64/backtrace.h: New file.
27055 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27056 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27059 2013-01-21 Andreas Schwab <schwab@suse.de>
27062 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27065 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27071 2013-01-18 Joseph Myers <joseph@codesourcery.com>
27072 Mark Mitchell <mark@codesourcery.com>
27073 Tom de Vries <tom@codesourcery.com>
27074 Paul Pluzhnikov <ppluzhnikov@google.com>
27076 * debug/tst-backtrace2.c: New file.
27077 * debug/tst-backtrace3.c: Likewise.
27078 * debug/tst-backtrace4.c: Likewise.
27079 * debug/tst-backtrace5.c: Likewise.
27080 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27081 (CFLAGS-tst-backtrace3.c): Likewise.
27082 (CFLAGS-tst-backtrace4.c): Likewise.
27083 (CFLAGS-tst-backtrace5.c): Likewise.
27084 (LDFLAGS-tst-backtrace2): Likewise.
27085 (LDFLAGS-tst-backtrace3): Likewise.
27086 (LDFLAGS-tst-backtrace4): Likewise.
27087 (LDFLAGS-tst-backtrace5): Likewise.
27088 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27089 tst-backtrace4 and tst-backtrace5.
27091 2013-01-18 Anton Blanchard <anton@samba.org>
27092 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27094 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27095 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27096 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27097 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27099 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27100 "+r" and remove output regs list as redundant. Add explicit inline
27101 asm to specify register of return val to work around compiler codegen
27102 bug. Remove (int) cast on return value. Add return type parameter to
27103 use in macro so that this macro does not truncate return value for
27105 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27106 pass to INTERNAL_VSYSCALL_NCS.
27107 (INLINE_VSYSCALL): Add 'long int' as return type to
27108 INTERNAL_VSYSCALL_NCS macro invocation.
27109 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27110 INTERNAL_VSYSCALL_NCS macro invocation.
27111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27113 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27116 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27117 Fix application of SIMD FP exception mask.
27119 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27120 mp_no from a power of two.
27121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27122 __mpexp_twomm1. Use __pow_mp.
27124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27127 2013-01-17 David S. Miller <davem@davemloft.net>
27129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27131 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27134 * include/complex.h: Condition contents on [!_COMPLEX_H].
27135 (__kernel_casinhf): New prototype.
27136 (__kernel_casinh): Likewise.
27137 (__kernel_casinhl): Likewise.
27138 * math/Makefile (libm_calls): Add k_casinh.
27139 * math/k_casinh.c: New file.
27140 * math/k_casinhf.c: Likewise.
27141 * math/k_casinhl.c: Likewise.
27142 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27143 finite nonzero arguments.
27144 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27145 finite nonzero arguments.
27146 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27147 finite nonzero arguments.
27148 * math/s_casinh.c: Do not include <float.h>.
27149 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27150 * math/s_casinhf.c: Do not include <float.h>.
27151 (__casinhf): Move code for finite nonzero arguments to
27153 * math/s_casinhl.c: Do not include <float.h>.
27154 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27156 (__casinhl): Move code for finite nonzero arguments to
27158 * math/libm-test.inc (cacos_test): Add more tests.
27159 * sysdeps/i386/fpu/libm-test-ulps: Update.
27160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27162 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27164 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27165 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27166 [!HAVE_MREMAP]: Remove [defined linux] case.
27167 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27169 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27171 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27173 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
27175 * elf/elf.h (R_386_SIZE32): New relocation.
27176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27178 (elf_machine_rela): Likewise.
27179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27180 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27182 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27184 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27185 (FP_FAST_FMA): Do not define.
27186 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27187 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27188 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27189 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27190 !_SOFT_FLOAT]: Likewise.
27191 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27192 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27194 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27195 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27196 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27197 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27198 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27199 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27202 2013-01-16 Andreas Schwab <schwab@suse.de>
27205 * include/stdlib.h (__mktemp): Add declaration.
27206 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27207 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27209 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27211 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27213 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27214 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27215 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27217 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27218 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27220 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27222 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27223 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27224 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27226 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27227 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27229 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27231 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27233 2013-01-15 David S. Miller <davem@davemloft.net>
27235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27236 trunc{,f} to libm-sysdep_routes.
27237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27247 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27248 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27249 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27250 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27251 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27252 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27255 nearbyint{,f} to libm-sysdep_routes.
27256 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27267 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27269 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27272 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27273 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27274 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27276 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27277 libc_feholdexcept and libc_fesetenv.
27279 2013-01-15 Mike Frysinger <vapier@gentoo.org>
27281 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27283 2013-01-14 David S. Miller <davem@davemloft.net>
27285 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27286 (SPARC_ASM_VIS2_IFUNC): Likewise.
27287 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27289 use of 'siam' instruction.
27290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27321 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27323 routines to libm-sysdep_routines.
27324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27327 fdim/fdimf to libm-sysdep_routines.
27328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27336 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27337 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27338 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27339 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27341 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27344 to optimize copies.
27346 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27347 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27351 local variable MPTWO.
27352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27355 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27357 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27360 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27362 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27364 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27366 * manual/pattern.texi (glob_t): Document gl_flags.
27367 (glob64_t): Likewise.
27369 2013-01-11 David S. Miller <davem@davemloft.net>
27371 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27372 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27373 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
27374 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27375 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27376 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27377 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27378 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27379 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27380 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27381 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27382 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27383 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27385 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27386 sparc V9 rather than using V8 code.
27387 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27388 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27390 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27392 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27395 2013-01-11 Roland McGrath <roland@hack.frob.com>
27397 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27398 not in the main loop.
27399 * configure: Regenerated.
27401 2013-01-11 Joseph Myers <joseph@codesourcery.com>
27403 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27404 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27406 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27407 [!__GLIBC_HAVE_LONG_LONG] case.
27408 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27409 condition to just #else.
27410 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27411 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27412 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27413 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27415 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27416 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27417 #elif condition to just #else.
27418 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27419 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27420 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27421 #elif condition to just #else.
27423 2013-01-11 Steve Ellcey <sellcey@mips.com>
27425 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27426 (EF_MIPS_ARCH_64): Fix value.
27427 (EF_MIPS_ARCH_32R2): New.
27428 (EF_MIPS_ARCH_64R2): New.
27430 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27432 * Makeconfig (+link-pie-before-libc): New.
27433 (+link-pie-after-libc): Likewise.
27434 (+link-pie-tests): Likewise.
27435 (+link-pie): Rewritten.
27436 (link-before-libc): Remove $(config-LDFLAGS).
27437 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27438 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27439 (config-LDFLAGS): Renamed to ...
27440 (rtld-LDFLAGS): This.
27441 (rtld-tests-LDFLAGS): New macro.
27442 (link-libc-rpath-link): Likewise.
27443 (link-libc-tests-rpath-link): Likewise.
27444 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27445 (link-libc): Prepand $(link-libc-rpath-link).
27446 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27447 (test-program-prefix): New macro.
27448 (test-via-rtld-prefix): Likewise.
27449 (test-program-cmd): Likewise.
27450 (host-test-program-cmd): Likewise.
27451 * Makefile ($(common-objpfx)testrun.sh): Replace
27452 $(run-program-prefix) with $(test-program-prefix).
27453 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27455 ($(common-objpfx)shlib.lds): Likewise.
27456 (build-module-helper): Likewise.
27457 ($(common-objpfx)format.lds): Likewise.
27458 * Rules (binaries-pie-tests): New.
27459 (binaries-pie-notests): Likewise.
27460 (binaries-pie): Rewritten.
27461 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27462 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27463 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27464 (make-test-out): Replace $(host-built-program-cmd) with
27465 $(host-test-program-cmd).
27466 * config.make.in (build-hardcoded-path-in-tests): New variable.
27467 * configure.in (--enable-hardcoded-path-in-tests): New configure
27469 (hardcoded_path_in_tests): New AC_SUBST.
27470 * configure: Regenerated.
27471 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27472 $(built-program-cmd) with $(test-program-cmd).
27473 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27474 (test_program_cmd): This.
27475 * elf/Makefile ($(objpfx)order.out): Run test with
27476 $(test-program-prefix).
27477 ($(objpfx)order2.out): Likewise.
27478 ($(objpfx)tst-initorder.out): Likewise.
27479 ($(objpfx)tst-initorder2.out): Likewise.
27480 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27481 $(test-program-cmd).
27482 ($(objpfx)tst-array1-static.out): Likewise.
27483 ($(objpfx)tst-array2.out): Likewise.
27484 ($(objpfx)tst-array3.out): Likewise.
27485 ($(objpfx)tst-array4.out): Likewise.
27486 ($(objpfx)tst-array5.out): Likewise.
27487 ($(objpfx)tst-array5-static.out): Likewise.
27488 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27489 $(test-program-cmd).
27490 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27491 $(run-program-prefix) with $(test-program-prefix).
27492 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27493 (test_program_prefix): This.
27494 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27495 $(run-program-prefix) with $(test-program-prefix).
27496 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27497 (test_program_prefix): This.
27498 * iconvdata/tst-tables.sh: Likewise.
27499 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27500 $(run-program-prefix) with $(test-program-prefix).
27501 ($(objpfx)tst-translit.out): Likewise.
27502 ($(objpfx)tst-gettext2.out): Likewise.
27503 ($(objpfx)tst-gettext4.out): Likewise.
27504 ($(objpfx)tst-gettext6.out): Likewise.
27505 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27506 (test_program_prefix): This.
27507 * intl/tst-gettext2.sh: Likewise.
27508 * intl/tst-gettext4.sh Likewise.
27509 * intl/tst-gettext6.sh: Likewise.
27510 * intl/tst-translit.sh: Likewise.
27511 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27512 with $(test-program-cmd).
27513 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27514 $(run-program-prefix) with $(test-program-prefix).
27515 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27516 (test_program_prefix): This.
27517 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27518 $(run-program-prefix) with $(test-program-prefix).
27519 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27520 (test_program_prefix): This.
27521 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27522 * posix/Makefile ($(objpfx)globtest.out): Replace
27523 $(run-via-rtld-prefix) and $(test-wrapper) with
27524 $(test-program-prefix) and $(test-via-rtld-prefix).
27525 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27526 $(test-program-prefix).
27527 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27528 $(host-test-program-cmd).
27529 (tst-spawn-ARGS): Likewise.
27530 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27531 $(test-program-prefix).
27532 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27533 (test_via_rtld_prefix): This.
27534 (test_wrapper): Renamed to ...
27535 (test_program_prefix): This.
27536 (run_program_prefix): Replaced by test_program_prefix.
27537 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27538 (test_program_prefix): This.
27539 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27540 with $(host-test-program-cmd).
27541 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27542 $(run-program-prefix) with $(test-program-prefix).
27543 ($(objpfx)tst-printf.out): Likewise.
27544 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27545 $(test-program-cmd).
27546 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27547 (test_program_prefix): This.
27548 * stdio-common/tst-unbputc.sh: Likewise.
27549 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27550 $(run-program-prefix) with $(test-program-prefix).
27551 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27552 (test_program_prefix): This.
27553 * string/Makefile ($(objpfx)tst-svc.out): Replace
27554 $(built-program-cmd) with $(test-program-cmd).
27556 2013-01-11 Andreas Jaeger <aj@suse.de>
27559 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27560 value. Sync with Linux 3.7.
27562 2013-01-10 David S. Miller <davem@davemloft.net>
27564 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27565 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27566 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27568 2013-01-10 Roland McGrath <roland@hack.frob.com>
27570 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27572 * configure: Regenerated.
27574 2013-01-10 David S. Miller <davem@davemloft.net>
27576 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27577 sparc V9 rather than using V8 code.
27578 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27579 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27581 2013-01-10 Roland McGrath <roland@hack.frob.com>
27583 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27584 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27585 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27586 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27587 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27588 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27589 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27590 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27591 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27592 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27593 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27594 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27595 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27596 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27597 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27598 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27599 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27600 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27601 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27602 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27603 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27604 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27605 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27606 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27607 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27608 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27609 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27611 2013-01-10 David S. Miller <davem@davemloft.net>
27613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27615 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27617 * posix/Makefile (tests-static): New variable.
27618 (tests): Add $(tests-static).
27619 (tst-exec-static-ARGS): New variable.
27620 (tst-spawn-static-ARGS): Likewise.
27621 * posix/tst-exec-static.c: New file.
27622 * posix/tst-spawn-static.c: Likewise.
27623 * posix/tst-exec.c: Support run directly.
27624 * posix/tst-spawn.c: Likewise.
27626 2013-01-10 Joseph Myers <joseph@codesourcery.com>
27628 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27630 * math/bits/mathcalls.h (llrint): Likewise.
27631 (llround): Likewise.
27632 * stdlib/stdlib.h (struct drand48_data): Likewise.
27633 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27634 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27635 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27637 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27639 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27640 (elf_greg_t): Likewise.
27641 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27642 (__jmp_buf): Likewise.
27643 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27645 (llrint): Likewise, for all definitions.
27646 (llrintl): Likewise.
27648 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27649 Remove [__GNUC__] condition.
27650 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27651 condition to just [__USE_ISOC99].
27652 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27654 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27657 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27658 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27660 (_POSIX_V6_ILP32_OFF32): Likewise.
27661 (_XBS5_ILP32_OFF32): Likewise.
27662 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27663 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27665 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27667 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27670 doubles __mpexp_twomm1. Adjust usage.
27671 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27674 2013-01-10 Andreas Schwab <schwab@suse.de>
27677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27678 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27680 2013-01-09 David S. Miller <davem@davemloft.net>
27683 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27684 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27685 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27686 (TCP_FASTOPEN): Define.
27687 (tcp_repair_opt): New structure.
27688 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27690 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27691 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27692 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27693 (tcp_cookie_transactions): New structure.
27695 2013-01-09 Anton Blanchard <anton@samba.org>
27697 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27698 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27699 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27700 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27702 2013-01-09 Joseph Myers <joseph@codesourcery.com>
27704 * include/features.h (__USE_ANSI): Remove.
27706 2013-01-09 Roland McGrath <roland@hack.frob.com>
27708 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27710 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27712 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27714 * sysdeps/s390/fpu/libm-test-ulps: Update.
27716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27718 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27722 (denorm): Likewise.
27723 (__mp_dbl): Likewise.
27724 (__dbl_mp): Likewise.
27725 (add_magnitudes): Likewise.
27726 (sub_magnitudes): Likewise.
27732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27736 (denorm): Likewise.
27737 (__mp_dbl): Likewise.
27738 (__dbl_mp): Likewise.
27739 (add_magnitudes): Likewise.
27740 (sub_magnitudes): Likewise.
27746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27750 (denorm): Likewise.
27751 (__mp_dbl): Likewise.
27752 (__dbl_mp): Likewise.
27753 (add_magnitudes): Likewise.
27754 (sub_magnitudes): Likewise.
27761 2013-01-08 Joseph Myers <joseph@codesourcery.com>
27763 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27764 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27765 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27766 2 && __USE_EXTERN_INLINES]: Likewise.
27768 2013-01-08 Andreas Jaeger <aj@suse.de>
27771 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27773 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27774 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27776 2013-01-07 Anton Blanchard <anton@samba.org>
27778 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27779 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27780 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27781 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27782 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27783 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27784 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27785 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27787 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27788 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27789 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27790 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27791 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27792 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27793 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27794 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27795 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27796 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27797 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27798 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27799 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27800 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27801 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27802 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27803 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27804 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27805 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27806 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27807 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27808 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27810 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27811 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27812 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27814 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27815 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27816 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27817 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27818 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27820 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27822 2013-01-07 Joseph Myers <joseph@codesourcery.com>
27824 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27825 (__MALLOC_PMT): Likewise.
27826 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27827 [__GNUC__], only on [_LIBC].
27828 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27829 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27830 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27831 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27832 forward declaration.
27833 (realloc_hook_ini): Likewise.
27834 (memalign_hook_ini): Likewise.
27835 (__libc_memalign): Do not use __MALLOC_PMT in variable
27837 (__libc_valloc): Likewise.
27838 (__libc_pvalloc): Likewise.
27839 (__libc_calloc): Likewise.
27840 (__posix_memalign): Likewise.
27843 * math/s_casinh.c: Include <float.h>.
27844 (__casinh): Do not do computation with squaring and square root
27845 for large arguments.
27846 * math/s_casinhf.c: Include <float.h>.
27847 (__casinhf): Do not do computation with squaring and square root
27848 for large arguments.
27849 * math/s_casinhl.c: Include <float.h>.
27850 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27851 (__casinhl): Do not do computation with squaring and square root
27852 for large arguments.
27853 * math/libm-test.inc (casin_test): Add more tests.
27854 (casinh_test): Likewise.
27855 * sysdeps/i386/fpu/libm-test-ulps: Update.
27856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27858 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27860 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27861 (__x86_64_raw_data_cache_size): Likewise.
27862 (__x86_64_data_cache_size_half): Likewise.
27863 (__x86_64_raw_data_cache_size_half): Likewise.
27864 (__x86_64_shared_cache_size): Likewise.
27865 (__x86_64_raw_shared_cache_size): Likewise.
27866 (__x86_64_shared_cache_size_half): Likewise.
27867 (__x86_64_raw_shared_cache_size_half): Likewise.
27868 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27870 (__x86_data_cache_size): This.
27871 (__x86_64_raw_data_cache_size): Renamed to ...
27872 (__x86_raw_data_cache_size): This.
27873 (__x86_64_data_cache_size_half): Renamed to ...
27874 (__x86_data_cache_size_half): This.
27875 (__x86_64_raw_data_cache_size_half): Renamed to ...
27876 (__x86_raw_data_cache_size_half): This.
27877 (__x86_64_shared_cache_size): Renamed to ...
27878 (__x86_shared_cache_size): This.
27879 (__x86_64_raw_shared_cache_size): Renamed to ...
27880 (__x86_raw_shared_cache_size): This.
27881 (__x86_64_shared_cache_size_half): Renamed to ...
27882 (__x86_shared_cache_size_half): This.
27883 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27884 (__x86_raw_shared_cache_size_half): This.
27885 * sysdeps/x86_64/memcpy.S: Updated.
27886 * sysdeps/x86_64/memset.S: Likewise.
27887 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27888 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27889 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27891 2013-01-04 David S. Miller <davem@davemloft.net>
27893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27895 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27897 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27898 1 to avoid redefinition warning.
27899 (__USE_GNU): Don't define.
27900 (init_signaling_nan): Protoize.
27902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27904 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27906 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27908 (__cpymn): Likewise.
27909 (norm): Remove commented code.
27910 (denorm): Likewise.
27911 (__mp_dbl): Likewise.
27913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27914 (__cpymn): Likewise.
27915 (norm): Remove commented code.
27916 (denorm): Likewise.
27917 (__mp_dbl): Likewise.
27920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27921 mp_no value for 1.0 and 2.0.
27922 (norm): Use RADIXI instead of radixi.d.
27923 (denorm): Likewise.
27924 (__mul): Use 0.0 instead of zero.d.
27925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27926 mp_no value for 1.0 and 2.0.
27927 (norm): Use RADIXI instead of radixi.d.
27928 (denorm): Likewise.
27929 (__mul): Use 0.0 instead of zero.d.
27931 2013-01-04 Joseph Myers <joseph@codesourcery.com>
27934 * math/s_casinh.c (__casinh): Reduce finite argument to first
27935 quadrant then set signs of results at the end.
27936 * math/s_casinhf.c (__casinhf): Likewise.
27937 * math/s_casinhl.c (__casinhl): Likewise.
27938 * math/libm-test.inc (casin_test): Add more tests.
27939 (casinh_test): Likewise.
27940 * sysdeps/i386/fpu/libm-test-ulps: Update.
27941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27943 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27945 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27947 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27949 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27951 (denorm): Likewise.
27952 (__mp_dbl): Likewise.
27955 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27956 and adjust the header comment.
27958 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27959 variable name from declaration.
27961 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27964 Initialize COMMON_CPUID_INDEX_7 element.
27965 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27966 (CPUID_RTM): Likewise.
27967 (HAS_RTM): Likewise.
27968 (COMMON_CPUID_INDEX_7): New enum.
27970 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27973 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27974 size is zero, record memory as freed.
27976 2013-01-03 Andreas Jaeger <aj@suse.de>
27978 * po/ia.po: Add new Interlingua translation.
27980 2012-01-03 Allan McRae <allan@archlinux.org>
27982 * locale/programs/localedef.c: Fix description of '--posix' flag.
27984 2013-01-02 Joseph Myers <joseph@codesourcery.com>
27986 * NEWS: Update dates in second copyright notice.
27987 * README: Update copyright dates in example.
27988 * manual/libc.texinfo: Update copyright dates.
27989 * scripts/test-installation.pl: Update copyright date in --version
27992 * hurd/ctty-input.c: Fix copyright notice formatting.
27993 * hurd/ctty-output.c: Likewise.
27994 * hurd/dtable.c: Likewise.
27995 * hurd/hurd-raise.c: Likewise.
27996 * hurd/hurdprio.c: Likewise.
27997 * hurd/msgportdemux.c: Likewise.
27998 * misc/sys/file.h: Likewise.
27999 * misc/sys/ioctl.h: Likewise.
28000 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28001 * sysdeps/mach/hurd/chdir.c: Likewise.
28002 * sysdeps/mach/hurd/fchdir.c: Likewise.
28003 * sysdeps/mach/hurd/rename.c: Likewise.
28004 * sysdeps/mach/hurd/rmdir.c: Likewise.
28005 * sysdeps/mach/hurd/seekdir.c: Likewise.
28006 * sysdeps/mach/hurd/setsid.c: Likewise.
28007 * sysdeps/posix/wait3.c: Likewise.
28009 * All files with FSF copyright notices: Update copyright dates
28010 using scripts/update-copyrights.
28011 * intl/plural.c: Regenerated.
28012 * locale/programs/charmap-kw.h: Likewise.
28013 * locale/programs/locfile-kw.h: Likewise.
28015 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28017 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28020 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28021 calculation loop and add branch prediction.
28023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28024 check access beyond bounds of m1np.
28026 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28028 (__inv): Remove local variable MPTWO to use the global
28030 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28031 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28033 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28034 MP3HALFS static const.
28036 2013-01-01 David S. Miller <davem@davemloft.net>
28038 * po/ca.po: Update from translation team.
28040 2013-01-01 Joseph Myers <joseph@codesourcery.com>
28042 * scripts/update-copyrights: New file.
28043 * Makeconfig: Reformat copyright notice.
28044 * ctype/ctype.h: Likewise.
28045 * debug/swprintf_chk.c: Likewise.
28046 * elf/dl-cache.c: Likewise.
28047 * elf/dl-debug.c: Likewise.
28048 * elf/dl-object.c: Likewise.
28049 * grp/initgroups.c: Likewise.
28050 * hurd/Makefile: Likewise.
28051 * hurd/hurd/signal.h: Likewise.
28052 * hurd/hurdfault.c: Likewise.
28053 * hurd/hurdioctl.c: Likewise.
28054 * hurd/hurdlookup.c: Likewise.
28055 * hurd/intr-msg.c: Likewise.
28056 * iconv/gconv_open.c: Likewise.
28057 * libio/swprintf.c: Likewise.
28058 * locale/lc-ctype.c: Likewise.
28059 * locale/nl_langinfo.c: Likewise.
28060 * mach/Machrules: Likewise.
28061 * mach/Makefile: Likewise.
28062 * malloc/obstack.h: Likewise.
28063 * manual/Makefile: Likewise.
28064 * manual/tsort.awk: Likewise.
28065 * misc/bits/stab.def: Likewise.
28066 * nis/nis_print_group_entry.c: Likewise.
28067 * nis/nis_table.c: Likewise.
28068 * nis/nss_compat/compat-pwd.c: Likewise.
28069 * nis/nss_compat/compat-spwd.c: Likewise.
28070 * po/Makefile: Likewise.
28071 * posix/fnmatch.c: Likewise.
28072 * posix/regex.h: Likewise.
28073 * resolv/Makefile: Likewise.
28074 * resolv/nss_dns/dns-network.c: Likewise.
28075 * resolv/res_hconf.c: Likewise.
28076 * scripts/gen-sorted.awk: Likewise.
28077 * soft-fp/soft-fp.h: Likewise.
28078 * stdio-common/printf.h: Likewise.
28079 * stdlib/monetary.h: Likewise.
28080 * stdlib/random.c: Likewise.
28081 * stdlib/random_r.c: Likewise.
28082 * sysdeps/generic/Makefile: Likewise.
28083 * sysdeps/gnu/Makefile: Likewise.
28084 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28085 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28086 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28088 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28090 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28091 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28092 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28094 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28095 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28096 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28097 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28098 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28099 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28100 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28101 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28102 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28103 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28104 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28105 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28106 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28107 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28108 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28109 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28110 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28111 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28112 * sysdeps/mach/hurd/errnos.awk: Likewise.
28113 * sysdeps/mach/hurd/fork.c: Likewise.
28114 * sysdeps/mach/hurd/getcwd.c: Likewise.
28115 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28116 * sysdeps/mach/hurd/mmap.c: Likewise.
28117 * sysdeps/mach/hurd/utimes.c: Likewise.
28118 * sysdeps/mach/hurd/xmknod.c: Likewise.
28119 * sysdeps/posix/profil.c: Likewise.
28120 * sysdeps/posix/readdir_r.c: Likewise.
28121 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28122 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28123 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28124 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28126 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28127 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28128 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28130 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28131 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28132 * sysdeps/pthread/lio_listio.c: Likewise.
28133 * sysdeps/sparc/dl-procinfo.h: Likewise.
28134 * sysdeps/unix/i386/sysdep.S: Likewise.
28135 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28136 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28137 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28138 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28140 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28141 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28142 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28143 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28144 * sysdeps/wordsize-32/divdi3.c: Likewise.
28145 * time/sys/time.h: Likewise.
28146 * wcsmbs/Makefile: Likewise.
28148 2013-01-01 David S. Miller <davem@davemloft.net>
28150 * po/fr.po: Update from translation team.
28152 * catgets/gencat.c: Update copyright year.
28153 * csu/version.c: Likewise.
28154 * debug/catchsegv.sh: Likewise.
28155 * debug/pcprofiledump.c: Likewise.
28156 * debug/xtrace.sh: Likewise.
28157 * elf/ldconfig.c: Likewise.
28158 * elf/ldd.bash.in: Likewise.
28159 * elf/pldd.c: Likewise.
28160 * elf/sotruss.ksh: Likewise.
28161 * elf/sprof.c: Likewise.
28162 * iconv/iconv_prog.c: Likewise.
28163 * iconv/iconvconfig.c: Likewise.
28164 * locale/programs/locale.c: Likewise.
28165 * locale/programs/localedef.c: Likewise.
28166 * login/programs/pt_chown.c: Likewise.
28167 * malloc/memusage.sh: Likewise.
28168 * malloc/memusagestat.c: Likewise.
28169 * malloc/mtrace.pl: Likewise.
28170 * nscd/nscd.c: Likewise.
28171 * nss/getent.c: Likewise.
28172 * nss/makedb.c: Likewise.
28173 * posix/getconf.c: Likewise.
28175 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28177 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28180 2012-12-30 Mike Frysinger <vapier@gentoo.org>
28182 * math/bits/mathcalls.h (modf): Use __nonnull.
28184 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28186 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28187 (split): Use macro CN instead of the bare value.
28188 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28191 instead of the bare value.
28192 (power1): Likewise.
28194 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28196 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28198 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28200 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28202 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28203 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28204 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28205 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28207 2012-12-28 Andreas Jaeger <aj@suse.de>
28209 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28210 values are from Linux 3.7.
28212 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28213 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28215 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28217 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28220 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28222 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28223 variables with preprocessor constants.
28224 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28225 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28226 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28228 2012-12-27 Bruno Haible <bruno@clisp.org>
28231 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28234 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28237 and use variable directly.
28238 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28240 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28242 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28243 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28245 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28246 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28247 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28248 include directive. Remove local variable MPONE.
28249 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28250 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28251 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28253 2012-12-25 David S. Miller <davem@davemloft.net>
28255 * version.h (RELEASE): Set to "development".
28256 (VERSION): Set to "2.17.90".
28257 * NEWS: Add 2.18 section.
28259 2012-12-21 David S. Miller <davem@davemloft.net>
28261 * po/hr.po: Update from translation team.
28263 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28265 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28267 2012-12-19 Steve Ellcey <sellcey@mips.com>
28269 * NEWS: Mention new memcpy for MIPS.
28271 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28273 * manual/contrib.texi (Contributors): Spelling correction.
28275 2012-12-15 David S. Miller <davem@davemloft.net>
28277 * po/ru.po: Update from translation team.
28279 2012-12-13 David S. Miller <davem@davemloft.net>
28281 * NEWS: Mention IFUNC testsuite enhancements.
28283 * po/pl.po: Update from translation team.
28284 * po/bg.po: Likewise.
28286 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28287 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28289 2012-12-11 David S. Miller <davem@davemloft.net>
28291 * po/sv.po: Update from translation team.
28293 * po/vi.po: Update from translation team.
28295 * po/cs.po: Update from translation team.
28297 * po/de.po: Update from translation team.
28298 * po/eo.po: Likewise.
28299 * po/nl.po: Likewise.
28301 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28304 * manual/argp.texi (Argp Helper Functions): Move node to follow
28305 Argp Parsing State.
28308 * manual/conf.texi (Limits on File System Capacity): Mention if
28309 terminating null is included in the max size.
28311 2012-12-10 Andreas Jaeger <aj@suse.de>
28313 * po/cs.po: Update from translation team.
28315 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28317 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28318 void pointer and cast to uintptr_t.
28319 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28321 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28322 * sysdeps/s390/s390-64/memset.S: Likewise.
28324 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
28327 * menual/message.texi (Message Translation): Fix typos.
28328 (Helper programs for gettext): Likewise.
28330 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28333 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28336 2012-12-07 David S. Miller <davem@davemloft.net>
28338 * po/libc.pot: Update.
28340 2012-12-07 Richard Henderson <rth@redhat.com>
28343 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28344 normal/normal case to before the switch.
28345 (_FP_DIV): Likewise.
28347 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28348 Mike Frysinger <vapier@gentoo.org>
28350 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28351 check for __NR_fadvise64_64.
28353 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28355 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28356 0, not just to plain "0" as a statement.
28357 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28360 2012-12-06 Joseph Myers <joseph@codesourcery.com>
28362 * NEWS: Use sourceware.org in Bugzilla URL.
28364 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28367 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28369 * stdio-common/tst-put-error.c (do_test): Add newline to the
28370 padded test to ensure flush.
28372 2012-12-05 Jeff Law <law@redhat.com>
28374 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28376 2012-12-05 Joseph Myers <joseph@codesourcery.com>
28378 * README: Don't refer to ports add-on as distributed separately.
28379 Mention AArch64 in list of systems supported in the ports add-on.
28381 * LICENSES: Add more non-FSF copyright and license notices.
28383 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28386 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28388 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28389 10000 as width of padded output.
28391 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28393 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28395 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28396 variable LX with __attribute__ ((unused)).
28397 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28399 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28401 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28402 with __attribute__ ((unused)).
28404 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
28406 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28408 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28410 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28411 (CFLAGS-nldbl-acos.c): New variable.
28412 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28413 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28414 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28415 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28416 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28417 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28418 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28419 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28420 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28421 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28422 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28423 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28424 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28425 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28426 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28427 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28428 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28429 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28430 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28431 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28432 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28433 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28434 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28435 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28436 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28437 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28438 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28439 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28440 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28441 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28442 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28443 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28444 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28445 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28446 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28447 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28448 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28449 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28450 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28451 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28452 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28453 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28454 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28455 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28456 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28457 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28458 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28459 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28460 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28461 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28462 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28463 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28464 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28465 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28466 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28467 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28468 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28469 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28470 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28471 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28472 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28473 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28474 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28475 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28476 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28477 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28478 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28479 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28480 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28481 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28482 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28483 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28484 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28485 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28486 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28487 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28488 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28489 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28490 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28491 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28492 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28493 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28494 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28495 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28496 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28497 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28498 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28499 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28500 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28501 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28502 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28503 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28504 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28505 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28506 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28507 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28508 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28511 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28514 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28515 whole low double instead of just low 47 bits when splitting values
28518 2012-12-03 Allan McRae <allan@archlinux.org>
28520 * manual/stdio.texi (Predefined Printf Handlers): Remove
28521 @hsep and @vsep usage.
28523 2012-12-03 Mike Frysinger <vapier@gentoo.org>
28525 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28526 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28528 2012-12-03 Jeff Law <law@redhat.com>
28530 * time/sys/time.h (settimeofday): Do not mark TV argument
28533 2012-12-01 Mike Frysinger <vapier@gentoo.org>
28535 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28536 when currently writing and seek to current position when not.
28537 * libio/Makefile (tests): Remove bug-fclose1.
28538 * libio/bug-fclose1.c: Delete.
28540 2012-12-01 Joseph Myers <joseph@codesourcery.com>
28542 * manual/arith.texi (feenableexcept): Fix typo.
28543 (fedisableexcept): Likewise.
28545 2012-11-30 Roland McGrath <roland@hack.frob.com>
28547 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28548 second, differently-typed declaration, rather than a cast.
28550 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28552 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28553 * include/rpc/svc.h: ... here.
28555 2012-11-30 Aurelien Jarno <aurel32@debian.org>
28558 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28559 depending n and resplen2 to catch cases where answer
28562 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28564 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28565 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28567 2012-11-29 Mike Frysinger <vapier@gentoo.org>
28569 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28571 2012-11-29 Roland McGrath <roland@hack.frob.com>
28573 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28575 2012-11-28 Jeff Law <law@redhat.com>
28578 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28579 dataset_temporary. Track alloca usage into alloca_used.
28580 If dataset is large allocate and release it via malloc/free.
28582 2012-06-04 Florian Weimer <fweimer@redhat.com>
28585 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28587 2012-11-28 David S. Miller <davem@davemloft.net>
28589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28591 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28594 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28595 of pi/2 rounded to nearest to 64 bits.
28596 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28597 nearest to 64 bits.
28598 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28601 2012-11-28 Jeff Law <law@redhat.com>
28602 Martin Osvald <mosvald@redhat.com>
28605 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28606 * sunrpc/svc.c: Include time.h.
28607 (__svc_accept_failed): New function.
28608 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28609 any reason other than EINTR, call __svc_accept_failed.
28610 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28611 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28613 2012-11-28 Andreas Schwab <schwab@suse.de>
28615 * scripts/abilist.awk: Also handle indirect functions in .opd
28618 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28621 * sysdeps/x86/fpu/powl_helper.c: New file.
28622 * sysdeps/x86/fpu/Makefile: Likewise.
28623 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28625 (__ieee754_powl): Use __powl_helper for finite arguments except
28626 integer exponents below 8.
28627 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28629 (__ieee754_powl): Use __powl_helper for finite arguments except
28630 integer exponents below 8.
28631 * math/libm-test.inc (pow_test): Add more tests and enable some
28632 previously disabled tests.
28633 * sysdeps/i386/fpu/libm-test-ulps: Update.
28634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28636 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28637 Carlos O'Donell <carlos_odonell@mentor.com>
28639 * nss/makedb.c (is_prime): Assert that input is odd and greater
28640 than 4. Note that fact in a comment too.
28641 (next_prime): Add 4 to input.
28643 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28646 * libio/Makefile (tests): Add test case tst-fwrite-error.
28647 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28648 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28649 * libio/tst-fwrite-error.c: New test case.
28651 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28653 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28654 before casting to void *.
28655 * include/libc-internal.h (__pointer_type): New macro.
28656 (__integer_if_pointer_type_sub): Likewise.
28657 (__integer_if_pointer_type): Likewise.
28658 (cast_to_integer): Likewise.
28659 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28660 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28661 before casting to atomic64_t.
28662 (atomic_exchange_acq): Likewise.
28663 (__arch_exchange_and_add_body): Likewise.
28664 (__arch_add_body): Likewise.
28665 (atomic_add_negative): Likewise.
28666 (atomic_add_zero): Likewise.
28668 2012-11-26 Joseph Myers <joseph@codesourcery.com>
28670 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28671 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28672 (add_fdes): Likewise.
28673 (linear_search_fdes): Likewise.
28674 (binary_search_unencoded_fdes): Likewise.
28676 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28678 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28680 2012-11-24 Adam Conrad <adconrad@0c3.net>
28682 * configure.in: Autodetect C++ header directories.
28683 * configure: Regenerated.
28685 2012-11-23 Mike Frysinger <vapier@gentoo.org>
28687 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28689 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28693 2012-11-22 Joseph Myers <joseph@codesourcery.com>
28695 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28696 LDBL_MANT_DIG == 106]: Disable some tests.
28697 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28699 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28703 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28704 input for small inputs. Return +/- pi/2 for large inputs.
28705 * math/libm-test.inc (atan_test): Add more tests.
28707 * sysdeps/generic/unwind-dw2-fde-glibc.c
28708 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28709 __attribute__ ((unused)).
28712 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28713 x * y if x and y are nonzero and z is zero.
28716 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28717 nonzero exponents with absolute value below 0x1p-117 to +/-
28721 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28722 up arguments below 2**-450, not just those below 2**-500.
28723 * math/libm-test.inc (hypot_test): Add another test.
28726 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28727 Return a+b for ratio over 2**120, not 2**60.
28728 * math/libm-test.inc (hypot_test): Add another test.
28730 * math/libm-test.inc (clog_test): Use
28731 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28732 (clog10_test): Likewise.
28735 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28737 2012-11-22 Andreas Schwab <schwab@suse.de>
28739 * sysdeps/i386/fpu/libm-test-ulps: Update.
28741 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28743 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28744 printf output with newline.
28746 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28749 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28750 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28751 -z nodlopen, -z initfirst and -z execstack support.
28752 * configure: Regenerated.
28754 * elf/elf.h (DF_1_NODIRECT): New macro.
28755 (DF_1_IGNMULDEF): Likewise.
28756 (DF_1_NOKSYMS): Likewise.
28757 (DF_1_NOHDR): Likewise.
28758 (DF_1_EDITED): Likewise.
28759 (DF_1_NORELOC): Likewise.
28760 (DF_1_SYMINTPOSE): Likewise.
28761 (DF_1_GLOBAUDIT): Likewise.
28762 (DF_1_SINGLETON): Likewise.
28763 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28764 DT_1_SUPPORTED_MASK bits.
28765 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28767 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28769 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28771 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28773 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28776 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28777 (sendmmsg): Move declarations...
28778 * socket/sys/socket.h: ... here.
28779 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28780 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28782 * socket/recvmmsg.c: ... this new file.
28783 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28784 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28785 definition of __sendmmsg hidden.
28786 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28787 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28788 Move ENOSYS stub into and include it from...
28789 * socket/sendmmsg.c: ... this new file.
28790 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28791 (sysdep_routines): Move recvmmsg and sendmmsg...
28792 * socket/Makefile (routines): ... here.
28793 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28794 (GLIBC_PRIVATE): Add __sendmmsg.
28795 * include/sys/socket.h (__sendmmsg): Add declarations.
28796 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28799 2012-11-20 Joseph Myers <joseph@codesourcery.com>
28801 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28802 variable I1 with __attribute__ ((unused)).
28803 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28805 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28807 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28808 DUMMY variables with __attribute__ ((unused)).
28810 * bits/byteswap.h: Include <bits/types.h>.
28811 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28813 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28815 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28816 string_t. Do not manually set errno.
28817 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28818 length with __strnlen. Make sure to both set errno and return it on
28821 2012-11-19 David S. Miller <davem@davemloft.net>
28823 With help from Joseph Myers.
28824 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28825 very large arguments properly.
28826 * math/libm-test.inc (atan_test): New tests.
28827 (atan2_test): New tests.
28828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28831 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28834 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28837 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28838 [POSIX] (EADDRNOTAVAIL): Likewise.
28839 [POSIX] (EAFNOSUPPORT): Likewise.
28840 [POSIX] (EALREADY): Likewise.
28841 [POSIX] (ECONNABORTED): Likewise.
28842 [POSIX] (ECONNREFUSED): Likewise.
28843 [POSIX] (ECONNRESET): Likewise.
28844 [POSIX] (EDESTADDRREQ): Likewise.
28845 [POSIX] (EDQUOT): Likewise.
28846 [POSIX] (EHOSTUNREACH): Likewise.
28847 [POSIX] (EIDRM): Likewise.
28848 [POSIX] (EISCONN): Likewise.
28849 [POSIX] (ELOOP): Likewise.
28850 [POSIX] (EMULTIHOP): Likewise.
28851 [POSIX] (ENETDOWN): Likewise.
28852 [POSIX] (ENETUNREACH): Likewise.
28853 [POSIX] (ENOBUFS): Likewise.
28854 [POSIX] (ENODATA): Likewise.
28855 [POSIX] (ENOLINK): Likewise.
28856 [POSIX] (ENOMSG): Likewise.
28857 [POSIX] (ENOPROTOOPT): Likewise.
28858 [POSIX] (ENOSR): Likewise.
28859 [POSIX] (ENOSTR): Likewise.
28860 [POSIX] (ENOTCONN): Likewise.
28861 [POSIX] (ENOTSOCK): Likewise.
28862 [POSIX] (EOPNOTSUPP): Likewise.
28863 [POSIX] (EOVERFLOW): Likewise.
28864 [POSIX] (EPROTO): Likewise.
28865 [POSIX] (EPROTONOSUPPORT): Likewise.
28866 [POSIX] (EPROTOTYPE): Likewise.
28867 [POSIX] (ESTALE): Likewise.
28868 [POSIX] (ETIME): Likewise.
28869 [POSIX] (ETXTBSY): Likewise.
28870 [POSIX] (EWOULDBLOCK): Likewise.
28871 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28872 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28873 [POSIX] (SEEK_CUR): Likewise.
28874 [POSIX] (SEEK_END): Likewise.
28875 [POSIX || UNIX98] (mode_t): Do not require.
28876 [POSIX] (off_t): Likewise.
28877 [POSIX] (pid_t): Likewise.
28878 [POSIX] (sys/stat.h): Do not allow header.
28879 [POSIX] (unistd.h): Likewise.
28880 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28881 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28882 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28883 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28885 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28886 sigevent): Specify elements.
28887 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28889 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28890 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28892 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28893 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28894 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28895 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28896 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28897 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28898 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28899 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28900 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28901 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28902 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28903 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28904 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28905 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28907 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28909 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28911 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28913 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28914 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28915 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28916 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28917 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28918 Specify lower bound on value.
28919 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28920 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28921 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28922 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28923 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28924 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28925 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28926 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28928 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28930 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28931 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28932 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28933 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28934 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28935 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28936 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28937 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28938 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28939 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28940 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28941 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28942 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28943 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28944 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28945 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28947 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28949 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28950 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28951 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28952 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28953 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28954 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28956 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28957 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28958 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28959 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28960 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28961 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28962 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28964 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28965 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28966 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28967 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28968 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28969 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28970 specify as optional.
28971 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28972 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28973 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28974 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28975 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28976 [XPG3] (NL_LANGMAX): Likewise.
28977 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28978 [POSIX || XPG3] (NL_NMAX): Likewise.
28979 [POSIX || XPG3] (NL_SETMAX): Likewise.
28980 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28981 [XPG3] (NZERO): Likewise.
28982 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28983 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28984 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28985 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28986 (REG_ERANGE): Expect.
28987 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28989 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28990 Use (void) in prototype.
28991 [POSIX] (*_t): Allow.
28992 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28993 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28994 (WRDE_BADVAL): Expect.
28996 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28998 [XPG3 || XPG4] (O_RSYNC): Likewise.
28999 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29001 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29002 [XPG3 || XPG4] (sigqueue): Likewise.
29003 [XPG3 || XPG4] (sigtimedwait): Likewise.
29004 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29005 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29006 [XPG3 || XPG4] (vsnprintf): Likewise.
29007 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29009 [XPG3 || XPG4] (blksize_t): Likewise.
29010 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29012 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29013 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29014 [XPG3 || XPG4] (struct itimerspec): Likewise.
29015 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29016 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29017 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29018 [XPG3 || XPG4] (clockid_t): Likewise.
29019 [XPG3 || XPG4] (timer_t): Likewise.
29020 [XPG3 || XPG4] (clock_getres): Likewise.
29021 [XPG3 || XPG4] (clock_gettime): Likewise.
29022 [XPG3 || XPG4] (clock_settime): Likewise.
29023 [XPG3 || XPG4] (nanosleep): Likewise.
29024 [XPG3 || XPG4] (timer_create): Likewise.
29025 [XPG3 || XPG4] (timer_delete): Likewise.
29026 [XPG3 || XPG4] (timer_gettime): Likewise.
29027 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29028 [XPG3 || XPG4] (timer_settime): Likewise.
29029 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29030 [XPG3 || XPG4] (getlogin_r): Likewise.
29031 [XPG3 || XPG4] (pread): Likewise.
29032 [XPG3 || XPG4] (pthread_atfork): Likewise.
29033 [XPG3 || XPG4] (pwrite): Likewise.
29036 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29039 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29041 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29042 finalizing MALLSTREAM.
29044 * sysdeps/mach/hurd/syncfs.c: New file.
29046 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29049 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29050 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29051 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29052 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29053 (_nss_dns_gethostbyname4_r): Likewise.
29054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29055 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29057 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29060 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29062 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29064 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29065 * elf/cache.c (print_entry): Print ",AArch64" for
29068 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29069 * elf/cache.c (print_entry): Print ",hard-float" for
29072 2012-11-18 David S. Miller <davem@davemloft.net>
29074 With help from Joseph Myers.
29075 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29077 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29079 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29080 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29082 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29083 * math/libm-test.inc (y0_test): New tests.
29084 (y1_test): New tests.
29085 * sysdeps/i386/fpu/libm-test-ulps: Update.
29086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29089 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29091 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29093 * configure: Regenerated.
29095 2012-11-17 David S. Miller <davem@davemloft.net>
29098 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29099 nonzero exponents with absolute value below 0x1p-128 to +/-
29102 2012-11-17 Joseph Myers <joseph@codesourcery.com>
29104 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29106 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29108 * posix/getconf-speclist.c: New file.
29109 * posix/posix-envs.def: Likewise.
29110 * posix/confstr.c (START_ENV_GROUP): New macro.
29111 (END_ENV_GROUP): Likewise.
29112 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29113 (KNOWN_PRESENT_ENV_STRING): Likewise.
29114 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29115 (UNKNOWN_ENVIRONMENT): Likewise.
29116 (confstr): Include posix-envs.def instead of handling
29117 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29118 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29119 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29120 (END_ENV_GROUP): Likewise.
29121 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29122 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29123 (UNKNOWN_ENVIRONMENT): Likewise.
29124 (__sysconf): Include posix-envs.def instead of handling associated
29125 cases directly here.
29126 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29127 preprocessing getconf-speclist.c rather than running getconf or
29128 generating empty file.
29130 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29132 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29134 2012-11-16 Andrej Lajovic <natrij@gmail.com>
29137 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29139 2012-11-16 David S. Miller <davem@davemloft.net>
29141 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29142 smaller than LDBL_EPSILON/2.0L, just return xm1.
29144 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29146 * elf/tst-array1.c (init): Set constructor priority to 1000.
29147 (fini): Set destructor priority to 1000.
29148 * elf/tst-array2dep.c: Likewise.
29150 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29153 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29154 (_IO_new_file_xsputn): Also return EOF if none of the input
29155 data was written when overflow failed.
29156 * libio/iopadn.c (_IO_padn): Likewise.
29157 * libio/iowpadn.c (_IO_wpadn): Likewise.
29158 * stdio-common/tst-put-error.c: Add copyright notice.
29159 (do_test): Add case for printing padded string.
29160 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29161 _IO_padn returned error.
29162 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29163 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29166 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29168 * libio/libioP.h: Add comment note that the references to C++
29169 bits are now obsolete.
29171 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29173 * math/libm-test.inc (check_complex): Use asprintf.
29175 2012-11-14 Joseph Myers <joseph@codesourcery.com>
29177 * debug/pcprofiledump.c (print_version): Update copyright year.
29178 * malloc/memusagestat.c (print_version): Likewise.
29180 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29183 * elf/Makefile (tests): Add tst-audit8.
29184 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29185 ($(objpfx)tst-audit8.out): New target.
29186 (tst-audit8-ENV): New variable.
29187 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29188 audit if l_reloc_result is NULL.
29189 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29190 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29191 * elf/tst-audit8.c: New file.
29193 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29195 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29196 * misc/Makefile (CFLAGS-select.c): Define.
29197 * posix/Makefile (CFLAGS-pause.c): Define.
29199 2012-11-13 David S. Miller <davem@davemloft.net>
29201 * crypt/Makefile: Move test targets after toplevel Rules
29202 inclusion. Grab any necessary sysdep routines when linking.
29203 * crypt/md5.c (md5_process_block): Remove define, we will always
29204 name it __md5_process_block.
29205 (md5_finish_ctx): Update md5_process_block call.
29206 (md5_stream): Likewise.
29207 (md5_process_bytes): Likewise.
29208 (md5_process_block): Rename to __md5_process_block and move to ...
29209 * crypt/md5-block.c: ... here.
29210 * crypt/sha256.c (sha256_process_block): Move to ...
29211 * crypt/sha256-block.c: ... here.
29212 * crypt/sha512.c (sha512_process_block): Move to ...
29213 * crypt/sha512-block.c: ... here.
29214 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29216 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29217 * sysdeps/sparc/sparc64/multiarch/Makefile
29218 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29220 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29221 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29223 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29224 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29225 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29226 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29227 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29228 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29229 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29230 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29231 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29233 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29234 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29236 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29238 2012-11-13 Joseph Myers <joseph@codesourcery.com>
29240 * timezone/tzselect.ksh: Update from tzcode git revision
29241 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29242 * timezone/zdump.c: Likewise.
29243 * timezone/zic.c: Likewise.
29244 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29245 in TZVERSION setting, not $(PKGVERSION).
29246 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29247 REPORT_BUGS_TO settings.
29250 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29253 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29255 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29256 detection to immediately after _FP_ROUND().
29257 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29260 2012-11-11 David S. Miller <davem@davemloft.net>
29262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29264 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29265 __close rather than their public counterparts.
29267 2012-11-10 Joseph Myers <joseph@codesourcery.com>
29269 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29271 [UNIX98] (sem_timedwait): Do not expect.
29272 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29273 [XPG4 || UNIX98] (sockatmark): Do not expect.
29274 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29275 (clock_getcpuclockid): Do not expect.
29276 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29277 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29279 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29280 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29281 [UNIX98] (vwscanf): Likewise.
29282 [UNIX98] (vswscanf): Likewise.
29284 2012-11-09 Joseph Myers <joseph@codesourcery.com>
29286 * timezone/version.h: Remove file.
29287 * timezone/README: Do not refer to version.h.
29288 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29289 $(objpfx)version.h.
29290 ($(objpfx)zdump.o): Likewise.
29291 ($(objpfx)version.h): New target.
29293 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29295 * timezone/README: Don't mention modification to tzselect.ksh.
29296 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29297 work on unmodified tzselect.ksh. Substitute version numbers in
29300 * Makefile (format-me): Remove.
29301 (INSTALL): Adjust indentation. Use commands directly instead of
29302 using $(format-me).
29304 * aclocal.m4 (ACX_PKGVERSION): New macro.
29305 (ACX_BUGURL): Likewise.
29306 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29307 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29308 (REPORT_BUGS_TO): Likewise.
29309 * configure: Regenerated.
29310 * config.h.in (PKGVERSION): New macro.
29311 (REPORT_BUGS_TO): Likewise.
29312 * config.make.in (PKGVERSION): New variable.
29313 (PKGVERSION_TEXI): Likewise.
29314 (REPORT_BUGS_TO): Likewise.
29315 (REPORT_BUGS_TEXI): Likewise.
29316 * Makefile (format-me): Use -I$(common-objpfx)manual.
29317 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29318 ($(common-objpfx)manual/%): New target.
29319 (manual/%): Remove target.
29320 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29321 (print_version): Use PKGVERSION.
29322 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29323 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29324 and REPORT_BUGS_TO.
29325 ($(objpfx)xtrace): Likewise.
29326 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29327 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29328 (print_version): Use PKGVERSION.
29329 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29330 (do_version): Use PKGVERSION.
29331 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29333 (common-ldd-rewrite): Likewise.
29334 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29335 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29336 (print_version): Use PKGVERSION.
29337 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29338 * elf/pldd.c (argp_program_bug_address): Remove variable.
29339 (more_help): New function.
29340 (argp): Use more_help.
29341 (print_version): Use PKGVERSION.
29342 * elf/sln.c (main): Use PKGVERSION.
29343 (usage): Use REPORT_BUGS_TO.
29344 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29345 (top level): Use PKGVERSION.
29346 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29347 (print_version): Use PKGVERSION.
29348 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29349 (print_version): Use PKGVERSION.
29350 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29351 (print_version): Use PKGVERSION.
29352 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29353 (print_version): Use PKGVERSION.
29354 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29355 (print_version): Use PKGVERSION.
29356 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29357 (print_version): Use PKGVERSION.
29358 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29360 ($(objpfx)memusage): Likewise.
29361 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29362 (do_version): Use PKGVERSION.
29363 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29364 (print_version): Use PKGVERSION.
29365 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29366 ($PKGVERSION): New variable.
29367 ($REPORT_BUGS_TO): Likewise.
29368 (usage): Use $REPORT_BUGS_TO.
29369 (top level): Use $PKGVERSION.
29370 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29371 ($(objpfx)pkgvers.texi): New rule.
29372 ($(objpfx)stamp-pkgvers): Likewise.
29373 * manual/install.texi: Include pkgvers.texi.
29374 (--with-pkgversion): Document new configure option.
29375 (--with-bugurl): Likewise.
29376 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29377 than necessarily for this particular distribution. Use
29378 REPORT_BUGS_TO for where to report bugs.
29379 * INSTALL: Regenerated.
29380 * manual/libc.texinfo: Include pkgvers.texi.
29381 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29382 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29383 (print_version): Use PKGVERSION.
29384 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29385 (print_version): Use PKGVERSION.
29386 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29387 (print_version): Use PKGVERSION.
29388 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29389 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29391 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29392 (print_version): Use PKGVERSION.
29393 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29394 (print_version): Use PKGVERSION.
29395 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29398 * timezone/checktab.awk: Update from tzcode 2012i.
29399 * timezone/ialloc.c: Likewise.
29400 * timezone/private.h: Likewise.
29401 * timezone/scheck.c: Likewise.
29402 * timezone/tzfile.h: Likewise.
29403 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29404 (TZVERSION): Hardcode tzcode version number.
29405 * timezone/zdump.c: Update from tzcode 2012i.
29406 * timezone/zic.c: Likewise.
29407 * timezone/version.h: New file.
29408 * timezone/README: Describe version.h. Update upstream location.
29411 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29412 (mktemp): Enable declaration.
29413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29420 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29422 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29430 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29431 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29432 for copies of such integer values.
29433 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29434 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29436 2012-11-09 Andreas Jaeger <aj@suse.de>
29438 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29439 definitions and declarations that are provided by
29440 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29442 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29444 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29445 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29446 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29449 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29451 * elf/elf.h: Update comment before AArch64 relocations.
29453 2012-11-07 David S. Miller <davem@davemloft.net>
29455 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29456 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29457 (__start_context): Declare.
29458 (__makecontext_ret): Delete.
29459 (__makecontext): Hook up __start_context instead of
29461 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29462 (sysdep_routines): Add __start_context when in stdlib.
29464 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29466 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29467 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29468 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29470 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29471 (READELF): New variable. Use it instead of hardcoded "readelf".
29473 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29475 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29476 * sysdeps/x86/Makefile: Here.
29477 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29478 * sysdeps/x86/tst-xmmymm.sh: This.
29480 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29482 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29484 [UNIX98] (pthread_barrier_t): Do not expect.
29485 [UNIX98] (pthread_barrierattr_t): Likewise.
29486 [UNIX98] (pthread_spinlock_t): Likewise.
29487 [UNIX98] (pthread_barrier_destroy): Likewise.
29488 [UNIX98] (pthread_barrier_init): Likewise.
29489 [UNIX98] (pthread_barrier_wait): Likewise.
29490 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29491 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29492 [UNIX98] (pthread_barrierattr_init): Likewise.
29493 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29494 [UNIX98] (pthread_getcpuclockid): Likewise.
29495 [UNIX98] (pthread_mutex_timedlock): Likewise.
29496 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29497 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29498 [UNIX98] (pthread_sigmask): Likewise.
29499 [UNIX98] (pthread_spin_destroy): Likewise.
29500 [UNIX98] (pthread_spin_init): Likewise.
29501 [UNIX98] (pthread_spin_lock): Likewise.
29502 [UNIX98] (pthread_spin_trylock): Likewise.
29503 [UNIX98] (pthread_spin_unlock): Likewise.
29504 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29506 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29507 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29508 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29509 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29510 [XPG3 || XPG4] (pthread_key_t): Likewise.
29511 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29512 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29513 [XPG3 || XPG4] (pthread_once_t): Likewise.
29514 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29515 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29516 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29517 [XPG3 || XPG4] (pthread_t): Likewise.
29519 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29521 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29523 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29524 Change function return type to int.
29526 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29527 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29528 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29529 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29530 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29531 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29532 [!POSIX] (posix_madvise): Likewise.
29533 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29535 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29536 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29537 (mode_t): Likewise.
29538 (posix_mem_offset): Likewise.
29539 (posix_typed_mem_get_info): Likewise.
29540 (posix_typed_mem_open): Likewise.
29542 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29543 Change condition to [XOPEN2K8].
29545 * conform/conformtest.pl: Preprocess allow-header data with -x c
29546 instead of from stdin.
29547 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29548 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29549 [C99-based standards] (cerfc): Likewise.
29550 [C99-based standards] (cexp2): Likewise.
29551 [C99-based standards] (cexpm1): Likewise.
29552 [C99-based standards] (clog10): Likewise.
29553 [C99-based standards] (clog1p): Likewise.
29554 [C99-based standards] (clog2): Likewise.
29555 [C99-based standards] (clgamma): Likewise.
29556 [C99-based standards] (ctgamma): Likewise.
29557 [C99-based standards] (cerff): Likewise.
29558 [C99-based standards] (cerfcf): Likewise.
29559 [C99-based standards] (cexp2f): Likewise.
29560 [C99-based standards] (cexpm1f): Likewise.
29561 [C99-based standards] (clog10f): Likewise.
29562 [C99-based standards] (clog1pf): Likewise.
29563 [C99-based standards] (clog2f): Likewise.
29564 [C99-based standards] (clgammaf): Likewise.
29565 [C99-based standards] (ctgammaf): Likewise.
29566 [C99-based standards] (cerfl): Likewise.
29567 [C99-based standards] (cerfcl): Likewise.
29568 [C99-based standards] (cexp2l): Likewise.
29569 [C99-based standards] (cexpm1l): Likewise.
29570 [C99-based standards] (clog10l): Likewise.
29571 [C99-based standards] (clog1pl): Likewise.
29572 [C99-based standards] (clog2l): Likewise.
29573 [C99-based standards] (clgammal): Likewise.
29574 [C99-based standards] (ctgammal): Likewise.
29575 * conform/data/inttypes.h-data [C99-based standards]: Include
29576 stdint.h-data. Remove all expectations for stdint.h contents.
29577 [C99-based standards] (PRI*): Do not allow.
29578 [C99-based standards] (SCN*): Likewise.
29579 [C99-based standards] (*_t): Likewise.
29580 [C99-based-standards] (PRId8): Expect macro.
29581 [C99-based-standards] (PRIi8): Likewise.
29582 [C99-based-standards] (PRIo8): Likewise.
29583 [C99-based-standards] (PRIu8): Likewise.
29584 [C99-based-standards] (PRIx8): Likewise.
29585 [C99-based-standards] (PRIX8): Likewise.
29586 [C99-based-standards] (SCNd8): Likewise.
29587 [C99-based-standards] (SCNi8): Likewise.
29588 [C99-based-standards] (SCNo8): Likewise.
29589 [C99-based-standards] (SCNu8): Likewise.
29590 [C99-based-standards] (SCNx8): Likewise.
29591 [C99-based-standards] (PRIdLEAST8): Likewise.
29592 [C99-based-standards] (PRIiLEAST8): Likewise.
29593 [C99-based-standards] (PRIoLEAST8): Likewise.
29594 [C99-based-standards] (PRIuLEAST8): Likewise.
29595 [C99-based-standards] (PRIxLEAST8): Likewise.
29596 [C99-based-standards] (PRIXLEAST8): Likewise.
29597 [C99-based-standards] (SCNdLEAST8): Likewise.
29598 [C99-based-standards] (SCNiLEAST8): Likewise.
29599 [C99-based-standards] (SCNoLEAST8): Likewise.
29600 [C99-based-standards] (SCNuLEAST8): Likewise.
29601 [C99-based-standards] (SCNxLEAST8): Likewise.
29602 [C99-based-standards] (PRIdFAST8): Likewise.
29603 [C99-based-standards] (PRIiFAST8): Likewise.
29604 [C99-based-standards] (PRIoFAST8): Likewise.
29605 [C99-based-standards] (PRIuFAST8): Likewise.
29606 [C99-based-standards] (PRIxFAST8): Likewise.
29607 [C99-based-standards] (PRIXFAST8): Likewise.
29608 [C99-based-standards] (SCNdFAST8): Likewise.
29609 [C99-based-standards] (SCNiFAST8): Likewise.
29610 [C99-based-standards] (SCNoFAST8): Likewise.
29611 [C99-based-standards] (SCNuFAST8): Likewise.
29612 [C99-based-standards] (SCNxFAST8): Likewise.
29613 [C99-based-standards] (PRId16): Likewise.
29614 [C99-based-standards] (PRIi16): Likewise.
29615 [C99-based-standards] (PRIo16): Likewise.
29616 [C99-based-standards] (PRIu16): Likewise.
29617 [C99-based-standards] (PRIx16): Likewise.
29618 [C99-based-standards] (PRIX16): Likewise.
29619 [C99-based-standards] (SCNd16): Likewise.
29620 [C99-based-standards] (SCNi16): Likewise.
29621 [C99-based-standards] (SCNo16): Likewise.
29622 [C99-based-standards] (SCNu16): Likewise.
29623 [C99-based-standards] (SCNx16): Likewise.
29624 [C99-based-standards] (PRIdLEAST16): Likewise.
29625 [C99-based-standards] (PRIiLEAST16): Likewise.
29626 [C99-based-standards] (PRIoLEAST16): Likewise.
29627 [C99-based-standards] (PRIuLEAST16): Likewise.
29628 [C99-based-standards] (PRIxLEAST16): Likewise.
29629 [C99-based-standards] (PRIXLEAST16): Likewise.
29630 [C99-based-standards] (SCNdLEAST16): Likewise.
29631 [C99-based-standards] (SCNiLEAST16): Likewise.
29632 [C99-based-standards] (SCNoLEAST16): Likewise.
29633 [C99-based-standards] (SCNuLEAST16): Likewise.
29634 [C99-based-standards] (SCNxLEAST16): Likewise.
29635 [C99-based-standards] (PRIdFAST16): Likewise.
29636 [C99-based-standards] (PRIiFAST16): Likewise.
29637 [C99-based-standards] (PRIoFAST16): Likewise.
29638 [C99-based-standards] (PRIuFAST16): Likewise.
29639 [C99-based-standards] (PRIxFAST16): Likewise.
29640 [C99-based-standards] (PRIXFAST16): Likewise.
29641 [C99-based-standards] (SCNdFAST16): Likewise.
29642 [C99-based-standards] (SCNiFAST16): Likewise.
29643 [C99-based-standards] (SCNoFAST16): Likewise.
29644 [C99-based-standards] (SCNuFAST16): Likewise.
29645 [C99-based-standards] (SCNxFAST16): Likewise.
29646 [C99-based-standards] (PRId32): Likewise.
29647 [C99-based-standards] (PRIi32): Likewise.
29648 [C99-based-standards] (PRIo32): Likewise.
29649 [C99-based-standards] (PRIu32): Likewise.
29650 [C99-based-standards] (PRIx32): Likewise.
29651 [C99-based-standards] (PRIX32): Likewise.
29652 [C99-based-standards] (SCNd32): Likewise.
29653 [C99-based-standards] (SCNi32): Likewise.
29654 [C99-based-standards] (SCNo32): Likewise.
29655 [C99-based-standards] (SCNu32): Likewise.
29656 [C99-based-standards] (SCNx32): Likewise.
29657 [C99-based-standards] (PRIdLEAST32): Likewise.
29658 [C99-based-standards] (PRIiLEAST32): Likewise.
29659 [C99-based-standards] (PRIoLEAST32): Likewise.
29660 [C99-based-standards] (PRIuLEAST32): Likewise.
29661 [C99-based-standards] (PRIxLEAST32): Likewise.
29662 [C99-based-standards] (PRIXLEAST32): Likewise.
29663 [C99-based-standards] (SCNdLEAST32): Likewise.
29664 [C99-based-standards] (SCNiLEAST32): Likewise.
29665 [C99-based-standards] (SCNoLEAST32): Likewise.
29666 [C99-based-standards] (SCNuLEAST32): Likewise.
29667 [C99-based-standards] (SCNxLEAST32): Likewise.
29668 [C99-based-standards] (PRIdFAST32): Likewise.
29669 [C99-based-standards] (PRIiFAST32): Likewise.
29670 [C99-based-standards] (PRIoFAST32): Likewise.
29671 [C99-based-standards] (PRIuFAST32): Likewise.
29672 [C99-based-standards] (PRIxFAST32): Likewise.
29673 [C99-based-standards] (PRIXFAST32): Likewise.
29674 [C99-based-standards] (SCNdFAST32): Likewise.
29675 [C99-based-standards] (SCNiFAST32): Likewise.
29676 [C99-based-standards] (SCNoFAST32): Likewise.
29677 [C99-based-standards] (SCNuFAST32): Likewise.
29678 [C99-based-standards] (SCNxFAST32): Likewise.
29679 [C99-based-standards] (PRId64): Likewise.
29680 [C99-based-standards] (PRIi64): Likewise.
29681 [C99-based-standards] (PRIo64): Likewise.
29682 [C99-based-standards] (PRIu64): Likewise.
29683 [C99-based-standards] (PRIx64): Likewise.
29684 [C99-based-standards] (PRIX64): Likewise.
29685 [C99-based-standards] (SCNd64): Likewise.
29686 [C99-based-standards] (SCNi64): Likewise.
29687 [C99-based-standards] (SCNo64): Likewise.
29688 [C99-based-standards] (SCNu64): Likewise.
29689 [C99-based-standards] (SCNx64): Likewise.
29690 [C99-based-standards] (PRIdLEAST64): Likewise.
29691 [C99-based-standards] (PRIiLEAST64): Likewise.
29692 [C99-based-standards] (PRIoLEAST64): Likewise.
29693 [C99-based-standards] (PRIuLEAST64): Likewise.
29694 [C99-based-standards] (PRIxLEAST64): Likewise.
29695 [C99-based-standards] (PRIXLEAST64): Likewise.
29696 [C99-based-standards] (SCNdLEAST64): Likewise.
29697 [C99-based-standards] (SCNiLEAST64): Likewise.
29698 [C99-based-standards] (SCNoLEAST64): Likewise.
29699 [C99-based-standards] (SCNuLEAST64): Likewise.
29700 [C99-based-standards] (SCNxLEAST64): Likewise.
29701 [C99-based-standards] (PRIdFAST64): Likewise.
29702 [C99-based-standards] (PRIiFAST64): Likewise.
29703 [C99-based-standards] (PRIoFAST64): Likewise.
29704 [C99-based-standards] (PRIuFAST64): Likewise.
29705 [C99-based-standards] (PRIxFAST64): Likewise.
29706 [C99-based-standards] (PRIXFAST64): Likewise.
29707 [C99-based-standards] (SCNdFAST64): Likewise.
29708 [C99-based-standards] (SCNiFAST64): Likewise.
29709 [C99-based-standards] (SCNoFAST64): Likewise.
29710 [C99-based-standards] (SCNuFAST64): Likewise.
29711 [C99-based-standards] (SCNxFAST64): Likewise.
29712 [C99-based-standards] (PRIdMAX): Likewise.
29713 [C99-based-standards] (PRIiMAX): Likewise.
29714 [C99-based-standards] (PRIoMAX): Likewise.
29715 [C99-based-standards] (PRIuMAX): Likewise.
29716 [C99-based-standards] (PRIxMAX): Likewise.
29717 [C99-based-standards] (PRIXMAX): Likewise.
29718 [C99-based-standards] (SCNdMAX): Likewise.
29719 [C99-based-standards] (SCNiMAX): Likewise.
29720 [C99-based-standards] (SCNoMAX): Likewise.
29721 [C99-based-standards] (SCNuMAX): Likewise.
29722 [C99-based-standards] (SCNxMAX): Likewise.
29723 [C99-based-standards] (PRIdPTR): Likewise.
29724 [C99-based-standards] (PRIiPTR): Likewise.
29725 [C99-based-standards] (PRIoPTR): Likewise.
29726 [C99-based-standards] (PRIuPTR): Likewise.
29727 [C99-based-standards] (PRIxPTR): Likewise.
29728 [C99-based-standards] (PRIXPTR): Likewise.
29729 [C99-based-standards] (SCNdPTR): Likewise.
29730 [C99-based-standards] (SCNiPTR): Likewise.
29731 [C99-based-standards] (SCNoPTR): Likewise.
29732 [C99-based-standards] (SCNuPTR): Likewise.
29733 [C99-based-standards] (SCNxPTR): Likewise.
29734 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29736 * conform/data/stdint.h-data: Update comments to clarify
29738 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29740 [C99-based standards] (INT8_MAX): Likewise.
29741 [C99-based standards] (INT16_MIN): Likewise.
29742 [C99-based standards] (INT16_MAX): Likewise.
29743 [C99-based standards] (INT32_MIN): Likewise.
29744 [C99-based standards] (INT32_MAX): Likewise.
29745 [C99-based standards] (INT64_MIN): Likewise.
29746 [C99-based standards] (INT64_MAX): Likewise.
29747 [C99-based standards] (UINT8_MAX): Likewise.
29748 [C99-based standards] (UINT16_MAX): Likewise.
29749 [C99-based standards] (UINT32_MAX): Likewise.
29750 [C99-based standards] (UINT64_MAX): Likewise.
29751 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29752 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29753 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29754 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29755 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29756 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29757 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29758 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29759 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29760 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29761 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29762 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29763 [C99-based standards] (INT_FAST8_MIN): Likewise.
29764 [C99-based standards] (INT_FAST8_MAX): Likewise.
29765 [C99-based standards] (INT_FAST16_MIN): Likewise.
29766 [C99-based standards] (INT_FAST16_MAX): Likewise.
29767 [C99-based standards] (INT_FAST32_MIN): Likewise.
29768 [C99-based standards] (INT_FAST32_MAX): Likewise.
29769 [C99-based standards] (INT_FAST64_MIN): Likewise.
29770 [C99-based standards] (INT_FAST64_MAX): Likewise.
29771 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29772 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29773 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29774 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29775 [C99-based standards] (INTPTR_MIN): Likewise.
29776 [C99-based standards] (INTPTR_MAX): Likewise.
29777 [C99-based standards] (UINTPTR_MAX): Likewise.
29778 [C99-based standards] (INTMAX_MIN): Likewise.
29779 [C99-based standards] (INTMAX_MAX): Likewise.
29780 [C99-based standards] (UINTMAX_MAX): Likewise.
29781 [C99-based standards] (PTRDIFF_MIN): Likewise.
29782 [C99-based standards] (PTRDIFF_MAX): Likewise.
29783 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29784 [C99-based standards] (SIZE_MAX): Likewise.
29785 [C99-based standards] (WCHAR_MAX): Likewise.
29786 [C99-based standards] (WINT_MAX): Likewise.
29787 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29788 constraint on value.
29789 [C99-based standards] (WCHAR_MIN): Likewise.
29790 [C99-based standards] (WINT_MIN): Likewise.
29791 [C99-based standards] (*_t): Allow.
29792 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29793 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29794 Include math.h-data and complex.h-data. Remove all expectations
29795 of math.h and complex.h contents.
29796 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29798 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29799 (struct tm): Expect tag.
29800 [C99-based-standards] (wcstof): Expect function.
29801 [C99-based-standards] (wcstold): Likewise.
29802 [C99-based-standards] (wcstoll): Likewise.
29803 [C99-based-standards] (wcstoull): Likewise.
29804 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29805 macro-int-constant. Specify type.
29806 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29807 constraint on value.
29808 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29810 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29812 [ISO C standards]: Do not allow headers.
29813 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29814 wcs[abcdefghijklmnopqrstuvwxyz]*.
29815 [ISO C standards] (*_t): Do not allow.
29816 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29818 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29819 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29821 [ISO C standards]: Do not allow headers.
29822 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29823 is[abcdefghijklmnopqrstuvwxyz]*.
29824 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29825 to[abcdefghijklmnopqrstuvwxyz]*.
29826 [ISO C standards] (*_t): Do not allow.
29827 * conform/data/stdalign.h-data: New file.
29828 * conform/data/stdbool.h-data: Likewise.
29829 * conform/data/stdnoreturn.h-data: Likewise.
29831 2012-11-07 Roland McGrath <roland@hack.frob.com>
29834 * manual/filesys.texi (Directory Entries): Typo fix.
29835 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29837 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29839 * elf/elf.h (EM_AARCH64): New macro.
29840 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29841 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29842 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29843 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29844 (R_AARCH64_TLSDESC): Likewise.
29845 (NT_ARM_TLS): Likewise.
29846 (NT_ARM_HW_BREAK): Likewise.
29847 (NT_ARM_HW_WATCH): Likewise.
29849 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29852 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29853 (__ieee754_powl): Saturate nonzero exponents with absolute value
29854 below 0x1p-79 to +/- 0x1p-79.
29855 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29856 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29857 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29858 nonzero exponents with absolute value below 0x1p-32 to +/-
29860 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29861 (__ieee754_powl): Saturate nonzero exponents with absolute value
29862 below 0x1p-79 to +/- 0x1p-79.
29863 * math/libm-test.inc (pow_test): Add more tests.
29865 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29867 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29868 _dl_s390_cap_flags with kernel. Increase string length.
29869 (_dl_s390_platforms): Add z196 and zEC12.
29871 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29873 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29874 Change XOPEN21K to XOPEN2K.
29876 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29878 * string/memmove.c: Use memcpy when possible.
29880 2012-11-06 Andreas Jaeger <aj@suse.de>
29882 * po/eo.po: Update from translation team.
29884 2012-11-06 Joseph Myers <joseph@codesourcery.com>
29887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29888 exponent and small x and y exponents, scale x or y up. Increase
29889 by 2 the exponent used in scaling up.
29890 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29891 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29892 * math/libm-test.inc (fma_test): Add more tests.
29893 (fma_test_towardzero): Likewise.
29894 (fma_test_downward): Likewise.
29895 (fma_test_upward): Likewise.
29897 2012-11-05 Joseph Myers <joseph@codesourcery.com>
29900 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29904 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29905 namespace for names of struct fields.
29906 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29908 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29909 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29911 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29914 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29916 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29918 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29922 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29925 2012-11-04 Joseph Myers <joseph@codesourcery.com>
29928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29929 definitely overflow as x * y not x * y + z.
29930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29932 * math/libm-test.inc (fma_test): Add more tests.
29933 (fma_test_towardzero): Likewise.
29934 (fma_test_downward): Likewise.
29935 (fma_test_upward): Likewise.
29937 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29941 * include/stub-tag.h: Remove file.
29942 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29944 * manual/maint.texi (Porting): Don't reference it.
29945 * Makerules ($(objpfx)stubs): Likewise.
29946 * dirent/closedir.c: Don't include <stub-tag.h>.
29947 * dirent/dirfd.c: Likewise.
29948 * dirent/fdopendir.c: Likewise.
29949 * dirent/getdents.c: Likewise.
29950 * dirent/getdents64.c: Likewise.
29951 * dirent/opendir.c: Likewise.
29952 * dirent/readdir.c: Likewise.
29953 * dirent/readdir64.c: Likewise.
29954 * dirent/readdir64_r.c: Likewise.
29955 * dirent/readdir_r.c: Likewise.
29956 * dirent/rewinddir.c: Likewise.
29957 * dirent/seekdir.c: Likewise.
29958 * dirent/telldir.c: Likewise.
29959 * gmon/profil.c: Likewise.
29960 * grp/setgroups.c: Likewise.
29961 * inet/if_index.c: Likewise.
29962 * io/access.c: Likewise.
29963 * io/chdir.c: Likewise.
29964 * io/chmod.c: Likewise.
29965 * io/chown.c: Likewise.
29966 * io/close.c: Likewise.
29967 * io/dup.c: Likewise.
29968 * io/dup2.c: Likewise.
29969 * io/dup3.c: Likewise.
29970 * io/euidaccess.c: Likewise.
29971 * io/faccessat.c: Likewise.
29972 * io/fchdir.c: Likewise.
29973 * io/fchmod.c: Likewise.
29974 * io/fchmodat.c: Likewise.
29975 * io/fchown.c: Likewise.
29976 * io/fchownat.c: Likewise.
29977 * io/fcntl.c: Likewise.
29978 * io/flock.c: Likewise.
29979 * io/fstatfs.c: Likewise.
29980 * io/fstatfs64.c: Likewise.
29981 * io/fstatvfs.c: Likewise.
29982 * io/fstatvfs64.c: Likewise.
29983 * io/futimens.c: Likewise.
29984 * io/fxstat.c: Likewise.
29985 * io/fxstat64.c: Likewise.
29986 * io/fxstatat.c: Likewise.
29987 * io/fxstatat64.c: Likewise.
29988 * io/getcwd.c: Likewise.
29989 * io/isatty.c: Likewise.
29990 * io/lchmod.c: Likewise.
29991 * io/lchown.c: Likewise.
29992 * io/link.c: Likewise.
29993 * io/linkat.c: Likewise.
29994 * io/lseek.c: Likewise.
29995 * io/lseek64.c: Likewise.
29996 * io/lxstat64.c: Likewise.
29997 * io/mkdir.c: Likewise.
29998 * io/mkdirat.c: Likewise.
29999 * io/mkfifo.c: Likewise.
30000 * io/mkfifoat.c: Likewise.
30001 * io/open.c: Likewise.
30002 * io/open64.c: Likewise.
30003 * io/openat.c: Likewise.
30004 * io/openat64.c: Likewise.
30005 * io/pipe.c: Likewise.
30006 * io/pipe2.c: Likewise.
30007 * io/poll.c: Likewise.
30008 * io/posix_fadvise.c: Likewise.
30009 * io/posix_fadvise64.c: Likewise.
30010 * io/posix_fallocate.c: Likewise.
30011 * io/posix_fallocate64.c: Likewise.
30012 * io/read.c: Likewise.
30013 * io/readlink.c: Likewise.
30014 * io/readlinkat.c: Likewise.
30015 * io/rmdir.c: Likewise.
30016 * io/sendfile.c: Likewise.
30017 * io/sendfile64.c: Likewise.
30018 * io/statfs.c: Likewise.
30019 * io/statfs64.c: Likewise.
30020 * io/statvfs.c: Likewise.
30021 * io/statvfs64.c: Likewise.
30022 * io/symlink.c: Likewise.
30023 * io/symlinkat.c: Likewise.
30024 * io/ttyname.c: Likewise.
30025 * io/ttyname_r.c: Likewise.
30026 * io/umask.c: Likewise.
30027 * io/unlink.c: Likewise.
30028 * io/unlinkat.c: Likewise.
30029 * io/utime.c: Likewise.
30030 * io/utimensat.c: Likewise.
30031 * io/write.c: Likewise.
30032 * io/xmknod.c: Likewise.
30033 * io/xmknodat.c: Likewise.
30034 * io/xstat.c: Likewise.
30035 * io/xstat64.c: Likewise.
30036 * login/getpt.c: Likewise.
30037 * login/grantpt.c: Likewise.
30038 * login/unlockpt.c: Likewise.
30039 * math/e_acoshl.c: Likewise.
30040 * math/e_acosl.c: Likewise.
30041 * math/e_asinl.c: Likewise.
30042 * math/e_atan2l.c: Likewise.
30043 * math/e_atanhl.c: Likewise.
30044 * math/e_coshl.c: Likewise.
30045 * math/e_expl.c: Likewise.
30046 * math/e_fmodl.c: Likewise.
30047 * math/e_gammal_r.c: Likewise.
30048 * math/e_hypotl.c: Likewise.
30049 * math/e_j0l.c: Likewise.
30050 * math/e_j1l.c: Likewise.
30051 * math/e_jnl.c: Likewise.
30052 * math/e_lgammal_r.c: Likewise.
30053 * math/e_log10l.c: Likewise.
30054 * math/e_log2l.c: Likewise.
30055 * math/e_logl.c: Likewise.
30056 * math/e_powl.c: Likewise.
30057 * math/e_rem_pio2l.c: Likewise.
30058 * math/e_sinhl.c: Likewise.
30059 * math/e_sqrtl.c: Likewise.
30060 * math/fclrexcpt.c: Likewise.
30061 * math/fedisblxcpt.c: Likewise.
30062 * math/feenablxcpt.c: Likewise.
30063 * math/fegetenv.c: Likewise.
30064 * math/fegetexcept.c: Likewise.
30065 * math/fegetround.c: Likewise.
30066 * math/feholdexcpt.c: Likewise.
30067 * math/fesetenv.c: Likewise.
30068 * math/fesetround.c: Likewise.
30069 * math/feupdateenv.c: Likewise.
30070 * math/fgetexcptflg.c: Likewise.
30071 * math/fraiseexcpt.c: Likewise.
30072 * math/fsetexcptflg.c: Likewise.
30073 * math/ftestexcept.c: Likewise.
30074 * math/k_cosl.c: Likewise.
30075 * math/k_rem_pio2l.c: Likewise.
30076 * math/k_sinl.c: Likewise.
30077 * math/k_tanl.c: Likewise.
30078 * math/s_asinhl.c: Likewise.
30079 * math/s_atanl.c: Likewise.
30080 * math/s_cbrtl.c: Likewise.
30081 * math/s_erfl.c: Likewise.
30082 * math/s_expm1l.c: Likewise.
30083 * math/s_log1pl.c: Likewise.
30084 * math/s_tanhl.c: Likewise.
30085 * misc/acct.c: Likewise.
30086 * misc/brk.c: Likewise.
30087 * misc/chflags.c: Likewise.
30088 * misc/chroot.c: Likewise.
30089 * misc/fchflags.c: Likewise.
30090 * misc/fgetxattr.c: Likewise.
30091 * misc/flistxattr.c: Likewise.
30092 * misc/fremovexattr.c: Likewise.
30093 * misc/fsetxattr.c: Likewise.
30094 * misc/fsync.c: Likewise.
30095 * misc/ftruncate.c: Likewise.
30096 * misc/futimes.c: Likewise.
30097 * misc/futimesat.c: Likewise.
30098 * misc/getdomain.c: Likewise.
30099 * misc/getdtsz.c: Likewise.
30100 * misc/gethostid.c: Likewise.
30101 * misc/gethostname.c: Likewise.
30102 * misc/getloadavg.c: Likewise.
30103 * misc/getpagesize.c: Likewise.
30104 * misc/getsysstats.c: Likewise.
30105 * misc/getxattr.c: Likewise.
30106 * misc/gtty.c: Likewise.
30107 * misc/ioctl.c: Likewise.
30108 * misc/lgetxattr.c: Likewise.
30109 * misc/listxattr.c: Likewise.
30110 * misc/llistxattr.c: Likewise.
30111 * misc/lremovexattr.c: Likewise.
30112 * misc/lsetxattr.c: Likewise.
30113 * misc/lutimes.c: Likewise.
30114 * misc/madvise.c: Likewise.
30115 * misc/mincore.c: Likewise.
30116 * misc/mlock.c: Likewise.
30117 * misc/mlockall.c: Likewise.
30118 * misc/mmap.c: Likewise.
30119 * misc/mprotect.c: Likewise.
30120 * misc/msync.c: Likewise.
30121 * misc/munlock.c: Likewise.
30122 * misc/munlockall.c: Likewise.
30123 * misc/munmap.c: Likewise.
30124 * misc/preadv.c: Likewise.
30125 * misc/preadv64.c: Likewise.
30126 * misc/ptrace.c: Likewise.
30127 * misc/pwritev.c: Likewise.
30128 * misc/pwritev64.c: Likewise.
30129 * misc/readv.c: Likewise.
30130 * misc/reboot.c: Likewise.
30131 * misc/remap_file_pages.c: Likewise.
30132 * misc/removexattr.c: Likewise.
30133 * misc/revoke.c: Likewise.
30134 * misc/select.c: Likewise.
30135 * misc/setdomain.c: Likewise.
30136 * misc/setegid.c: Likewise.
30137 * misc/seteuid.c: Likewise.
30138 * misc/sethostid.c: Likewise.
30139 * misc/sethostname.c: Likewise.
30140 * misc/setregid.c: Likewise.
30141 * misc/setreuid.c: Likewise.
30142 * misc/setxattr.c: Likewise.
30143 * misc/sstk.c: Likewise.
30144 * misc/stty.c: Likewise.
30145 * misc/swapoff.c: Likewise.
30146 * misc/swapon.c: Likewise.
30147 * misc/sync.c: Likewise.
30148 * misc/syncfs.c: Likewise.
30149 * misc/syscall.c: Likewise.
30150 * misc/truncate.c: Likewise.
30151 * misc/ualarm.c: Likewise.
30152 * misc/usleep.c: Likewise.
30153 * misc/ustat.c: Likewise.
30154 * misc/utimes.c: Likewise.
30155 * misc/vhangup.c: Likewise.
30156 * misc/writev.c: Likewise.
30157 * posix/_exit.c: Likewise.
30158 * posix/alarm.c: Likewise.
30159 * posix/execve.c: Likewise.
30160 * posix/fexecve.c: Likewise.
30161 * posix/fork.c: Likewise.
30162 * posix/fpathconf.c: Likewise.
30163 * posix/getaddrinfo.c: Likewise.
30164 * posix/getegid.c: Likewise.
30165 * posix/geteuid.c: Likewise.
30166 * posix/getgid.c: Likewise.
30167 * posix/getgroups.c: Likewise.
30168 * posix/getlogin.c: Likewise.
30169 * posix/getlogin_r.c: Likewise.
30170 * posix/getpgid.c: Likewise.
30171 * posix/getpid.c: Likewise.
30172 * posix/getppid.c: Likewise.
30173 * posix/getresgid.c: Likewise.
30174 * posix/getresuid.c: Likewise.
30175 * posix/getsid.c: Likewise.
30176 * posix/getuid.c: Likewise.
30177 * posix/glob64.c: Likewise.
30178 * posix/nanosleep.c: Likewise.
30179 * posix/pathconf.c: Likewise.
30180 * posix/pause.c: Likewise.
30181 * posix/posix_madvise.c: Likewise.
30182 * posix/pread.c: Likewise.
30183 * posix/pread64.c: Likewise.
30184 * posix/pwrite.c: Likewise.
30185 * posix/pwrite64.c: Likewise.
30186 * posix/sched_getaffinity.c: Likewise.
30187 * posix/sched_getp.c: Likewise.
30188 * posix/sched_gets.c: Likewise.
30189 * posix/sched_primax.c: Likewise.
30190 * posix/sched_primin.c: Likewise.
30191 * posix/sched_rr_gi.c: Likewise.
30192 * posix/sched_setaffinity.c: Likewise.
30193 * posix/sched_setp.c: Likewise.
30194 * posix/sched_sets.c: Likewise.
30195 * posix/sched_yield.c: Likewise.
30196 * posix/setgid.c: Likewise.
30197 * posix/setlogin.c: Likewise.
30198 * posix/setpgid.c: Likewise.
30199 * posix/setresgid.c: Likewise.
30200 * posix/setresuid.c: Likewise.
30201 * posix/setsid.c: Likewise.
30202 * posix/setuid.c: Likewise.
30203 * posix/sleep.c: Likewise.
30204 * posix/spawni.c: Likewise.
30205 * posix/sysconf.c: Likewise.
30206 * posix/times.c: Likewise.
30207 * posix/wait.c: Likewise.
30208 * posix/wait3.c: Likewise.
30209 * posix/wait4.c: Likewise.
30210 * posix/waitpid.c: Likewise.
30211 * resolv/gai_sigqueue.c: Likewise.
30212 * resource/getpriority.c: Likewise.
30213 * resource/getrlimit.c: Likewise.
30214 * resource/getrusage.c: Likewise.
30215 * resource/nice.c: Likewise.
30216 * resource/setpriority.c: Likewise.
30217 * resource/setrlimit.c: Likewise.
30218 * resource/ulimit.c: Likewise.
30219 * rt/aio_cancel.c: Likewise.
30220 * rt/aio_fsync.c: Likewise.
30221 * rt/aio_read.c: Likewise.
30222 * rt/aio_sigqueue.c: Likewise.
30223 * rt/aio_suspend.c: Likewise.
30224 * rt/aio_write.c: Likewise.
30225 * rt/clock_getres.c: Likewise.
30226 * rt/clock_gettime.c: Likewise.
30227 * rt/clock_nanosleep.c: Likewise.
30228 * rt/clock_settime.c: Likewise.
30229 * rt/lio_listio.c: Likewise.
30230 * rt/mq_close.c: Likewise.
30231 * rt/mq_getattr.c: Likewise.
30232 * rt/mq_notify.c: Likewise.
30233 * rt/mq_open.c: Likewise.
30234 * rt/mq_receive.c: Likewise.
30235 * rt/mq_send.c: Likewise.
30236 * rt/mq_setattr.c: Likewise.
30237 * rt/mq_timedreceive.c: Likewise.
30238 * rt/mq_timedsend.c: Likewise.
30239 * rt/mq_unlink.c: Likewise.
30240 * rt/shm_open.c: Likewise.
30241 * rt/shm_unlink.c: Likewise.
30242 * rt/timer_create.c: Likewise.
30243 * rt/timer_delete.c: Likewise.
30244 * rt/timer_getoverr.c: Likewise.
30245 * rt/timer_gettime.c: Likewise.
30246 * rt/timer_settime.c: Likewise.
30247 * setjmp/__longjmp.c: Likewise.
30248 * setjmp/setjmp.c: Likewise.
30249 * signal/kill.c: Likewise.
30250 * signal/killpg.c: Likewise.
30251 * signal/raise.c: Likewise.
30252 * signal/sigaction.c: Likewise.
30253 * signal/sigaltstack.c: Likewise.
30254 * signal/sigblock.c: Likewise.
30255 * signal/sigignore.c: Likewise.
30256 * signal/sigintr.c: Likewise.
30257 * signal/signal.c: Likewise.
30258 * signal/sigpause.c: Likewise.
30259 * signal/sigpending.c: Likewise.
30260 * signal/sigqueue.c: Likewise.
30261 * signal/sigreturn.c: Likewise.
30262 * signal/sigset.c: Likewise.
30263 * signal/sigsetmask.c: Likewise.
30264 * signal/sigstack.c: Likewise.
30265 * signal/sigsuspend.c: Likewise.
30266 * signal/sigtimedwait.c: Likewise.
30267 * signal/sigvec.c: Likewise.
30268 * signal/sigwait.c: Likewise.
30269 * signal/sigwaitinfo.c: Likewise.
30270 * signal/sysv_signal.c: Likewise.
30271 * socket/accept.c: Likewise.
30272 * socket/accept4.c: Likewise.
30273 * socket/bind.c: Likewise.
30274 * socket/connect.c: Likewise.
30275 * socket/getpeername.c: Likewise.
30276 * socket/getsockname.c: Likewise.
30277 * socket/getsockopt.c: Likewise.
30278 * socket/isfdtype.c: Likewise.
30279 * socket/listen.c: Likewise.
30280 * socket/recv.c: Likewise.
30281 * socket/recvfrom.c: Likewise.
30282 * socket/recvmsg.c: Likewise.
30283 * socket/send.c: Likewise.
30284 * socket/sendmsg.c: Likewise.
30285 * socket/sendto.c: Likewise.
30286 * socket/setsockopt.c: Likewise.
30287 * socket/shutdown.c: Likewise.
30288 * socket/sockatmark.c: Likewise.
30289 * socket/socket.c: Likewise.
30290 * socket/socketpair.c: Likewise.
30291 * stdio-common/ctermid.c: Likewise.
30292 * stdio-common/cuserid.c: Likewise.
30293 * stdio-common/remove.c: Likewise.
30294 * stdio-common/rename.c: Likewise.
30295 * stdio-common/renameat.c: Likewise.
30296 * stdio-common/tempname.c: Likewise.
30297 * stdlib/getcontext.c: Likewise.
30298 * stdlib/makecontext.c: Likewise.
30299 * stdlib/setcontext.c: Likewise.
30300 * stdlib/swapcontext.c: Likewise.
30301 * stdlib/system.c: Likewise.
30302 * streams/fattach.c: Likewise.
30303 * streams/fdetach.c: Likewise.
30304 * streams/getmsg.c: Likewise.
30305 * streams/getpmsg.c: Likewise.
30306 * streams/putmsg.c: Likewise.
30307 * streams/putpmsg.c: Likewise.
30308 * sysdeps/unix/bsd/getpt.c: Likewise.
30309 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30310 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30311 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30314 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30315 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30316 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30317 * sysvipc/msgctl.c: Likewise.
30318 * sysvipc/msgget.c: Likewise.
30319 * sysvipc/msgrcv.c: Likewise.
30320 * sysvipc/msgsnd.c: Likewise.
30321 * sysvipc/semctl.c: Likewise.
30322 * sysvipc/semget.c: Likewise.
30323 * sysvipc/semop.c: Likewise.
30324 * sysvipc/semtimedop.c: Likewise.
30325 * sysvipc/shmat.c: Likewise.
30326 * sysvipc/shmctl.c: Likewise.
30327 * sysvipc/shmdt.c: Likewise.
30328 * sysvipc/shmget.c: Likewise.
30329 * termios/tcdrain.c: Likewise.
30330 * termios/tcflow.c: Likewise.
30331 * termios/tcflush.c: Likewise.
30332 * termios/tcgetattr.c: Likewise.
30333 * termios/tcgetpgrp.c: Likewise.
30334 * termios/tcsendbrk.c: Likewise.
30335 * termios/tcsetattr.c: Likewise.
30336 * termios/tcsetpgrp.c: Likewise.
30337 * time/adjtime.c: Likewise.
30338 * time/clock.c: Likewise.
30339 * time/getitimer.c: Likewise.
30340 * time/gettimeofday.c: Likewise.
30341 * time/setitimer.c: Likewise.
30342 * time/settimeofday.c: Likewise.
30343 * time/stime.c: Likewise.
30344 * time/time.c: Likewise.
30346 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
30348 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30351 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30353 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30355 2012-11-03 Joseph Myers <joseph@codesourcery.com>
30358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30359 FE_TONEAREST before applying Dekker multiplication and Knuth
30360 addition. Clear inexact exceptions and check for exact zero
30361 results afterwards.
30362 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30363 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30364 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30365 * math/libm-test.inc (fma_test): Add more tests.
30366 (fma_test_towardzero): Likewise.
30367 (fma_test_downward): Likewise.
30368 (fma_test_upward): Likewise.
30369 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30371 (libc_fesetround): New macro.
30372 (libc_fesetroundf): Likewise.
30373 (libc_fesetroundl): Likewise.
30374 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30376 (libc_fesetround_387): Likewise.
30377 (libc_fesetroundf): New macro.
30378 (libc_fesetround): Likewise.
30379 (libc_fesetroundl): Likewise.
30380 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30382 (libc_fesetroundf): New macro.
30383 (libc_fesetround): Likewise.
30384 (libc_fesetroundl): Likewise.
30385 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30386 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30387 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30389 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30390 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30392 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30393 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30395 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30399 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30400 integer constant usable in #if and use that to give value to enum
30402 (FE_DIVBYZERO): Likewise.
30403 (FE_UNDERFLOW): Likewise.
30404 (FE_OVERFLOW): Likewise.
30405 (FE_INVALID): Likewise.
30406 (FE_INVALID_SNAN): Likewise.
30407 (FE_INVALID_ISI): Likewise.
30408 (FE_INVALID_IDI): Likewise.
30409 (FE_INVALID_ZDZ): Likewise.
30410 (FE_INVALID_IMZ): Likewise.
30411 (FE_INVALID_COMPARE): Likewise.
30412 (FE_INVALID_SOFTWARE): Likewise.
30413 (FE_INVALID_SQRT): Likewise.
30414 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30415 (FE_TONEAREST): Likewise.
30416 (FE_TOWARDZERO): Likewise.
30417 (FE_UPWARD): Likewise.
30418 (FE_DOWNWARD): Likewise.
30419 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30420 (FE_DIVBYZERO): Likewise.
30421 (FE_OVERFLOW): Likewise.
30422 (FE_UNDERFLOW): Likewise.
30423 (FE_INEXACT): Likewise.
30424 (FE_TONEAREST): Likewise.
30425 (FE_DOWNWARD): Likewise.
30426 (FE_UPWARD): Likewise.
30427 (FE_TOWARDZERO): Likewise.
30428 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30429 (FE_UNDERFLOW): Likewise.
30430 (FE_OVERFLOW): Likewise.
30431 (FE_DIVBYZERO): Likewise.
30432 (FE_INVALID): Likewise.
30433 (FE_TONEAREST): Likewise.
30434 (FE_TOWARDZERO): Likewise.
30435 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30436 (FE_OVERFLOW): Likewise.
30437 (FE_UNDERFLOW): Likewise.
30438 (FE_DIVBYZERO): Likewise.
30439 (FE_INEXACT): Likewise.
30440 (FE_TONEAREST): Likewise.
30441 (FE_TOWARDZERO): Likewise.
30442 (FE_UPWARD): Likewise.
30443 (FE_DOWNWARD): Likewise.
30444 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30445 (FE_DIVBYZERO): Likewise.
30446 (FE_OVERFLOW): Likewise.
30447 (FE_UNDERFLOW): Likewise.
30448 (FE_INEXACT): Likewise.
30449 (FE_TONEAREST): Likewise.
30450 (FE_DOWNWARD): Likewise.
30451 (FE_UPWARD): Likewise.
30452 (FE_TOWARDZERO): Likewise.
30454 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30456 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30458 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30460 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30461 commands. Quote $PWD.
30462 (blacklist_exports): Don't use remove_newlines. Replace "declare
30464 (remove_newlines): Remove.
30466 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30468 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30469 * stdlib/stdlib.h (atof): Moved to ...
30470 * include/bits/stdlib-float.h: Here. New file.
30471 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30472 * stdlib/bits/stdlib-float.h: New file.
30473 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30475 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30478 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30480 * conform/conformtest.pl (@headers): Add fenv.h.
30481 * conform/data/fenv.h-data: New file.
30482 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30483 include of <math/fenv.h>.
30485 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30486 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30487 && !UNIX98]. Enables tests for XOPEN2K8.
30488 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30489 POSIX2008]: Likewise.
30491 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30492 (struct rusage): Do not expect type or its members.
30495 * math/math.h (FP_NAN): Define macro to integer constant usable in
30496 #if and use that to give value to enum constant.
30497 (FP_INFINITE): Likewise.
30498 (FP_ZERO): Likewise.
30499 (FP_SUBNORMAL): Likewise.
30500 (FP_NORMAL): Likewise.
30502 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30504 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30505 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30508 2012-11-02 Roland McGrath <roland@hack.frob.com>
30510 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30511 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30512 autoconf-time if not.
30513 * configure.in: Remove AC_PREREQ.
30515 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30517 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30518 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30519 of the internal implementation.
30521 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30523 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30524 except include of <misc/sys/syslog.h>.
30526 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30529 function returns with a NULL context exit with zero.
30531 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30533 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30535 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30537 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30538 (run_program_cmd): This.
30539 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30540 (tst_langinfo): New variable. Use it.
30542 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30544 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30545 floating point opcodes.
30547 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30549 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30552 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30554 * sysdeps/mach/hurd/powerpc: Remove directory.
30555 * sysdeps/mach/powerpc: Likewise.
30557 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30559 * scripts/check-local-headers.sh: Ignore c++ headers.
30561 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30563 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30564 __libc_cleanup_region_start argument.
30566 2012-11-01 Joseph Myers <joseph@codesourcery.com>
30570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30571 x * y using scaling, not as x * y + z.
30572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30574 * math/libm-test.inc (fma_test): Add more tests.
30575 (fma_test_towardzero): Likewise.
30576 (fma_test_downward): Likewise.
30577 (fma_test_upward): Likewise.
30579 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30581 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30583 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30585 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30588 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30590 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30592 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30599 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30602 Fix the order of the list for glibc 2.17.
30603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30606 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30610 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30613 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30614 for low part of x being zero before using __atanl (y).
30615 * math/libm-test.inc (atan2_test): Add another test.
30617 * manual/install.texi (Configuring and compiling): Document
30618 general use of test-wrapper and test-wrapper-env.
30619 * INSTALL: Regenerated.
30621 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30622 (__fma): Do not extract and scale down low bits on after-rounding
30623 systems when result rounded to normal precision would have normal
30625 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30626 (__fmal): Do not extract and scale down low bits on after-rounding
30627 systems when result rounded to normal precision would have normal
30629 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30630 (__fmal): Do not extract and scale down low bits on after-rounding
30631 systems when result rounded to normal precision would have normal
30633 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30635 (fma_test): Add more tests.
30636 (fma_test_towardzero): Likewise.
30637 (fma_test_downward): Likewise.
30638 (fma_test_upward): Likewise.
30640 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30642 * sysdeps/i386/tininess.h: Renamed to ...
30643 * sysdeps/x86/tininess.h: This.
30644 * sysdeps/x86_64/tininess.h: Removed.
30646 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30648 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30649 input. Use $(build-program-cmd).
30650 ($(objpfx)tst-array1-static.out): Likewise.
30651 ($(objpfx)tst-array2.out): Likewise.
30652 ($(objpfx)tst-array3.out): Likewise.
30653 ($(objpfx)tst-array4.out): Likewise.
30654 ($(objpfx)tst-array5.out): Likewise.
30655 ($(objpfx)tst-array5-static.out): Likewise.
30657 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30659 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30662 * nss/nsswitch.h (nss_interface_function): Provide new
30663 macro for use with NSS functions.
30664 * grp/initgroups.c: Use new macro.
30665 * nss/getXXbyYY.c: Likewise.
30666 * nss/getXXbyYY_r.c: Likewise.
30667 * nss/getXXent.c: Likewise.
30668 * nss/getXXent_r.c: Likewise.
30669 * sysdeps/posix/getaddrinfo.c: Likewise.
30671 2012-10-30 Andreas Jaeger <aj@suse.de>
30673 * po/ru.po: Update Russion translation from translation project.
30675 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30680 result and shift together with sticky bit instead of replicating
30681 round-to-nearest rounding.
30682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30683 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30684 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30685 missing underflow exceptions.
30686 (fma_test_towardzero): Add more tests.
30687 (fma_test_downward): Likewise.
30688 (fma_test_upward): Likewise.
30691 * sysdeps/generic/tininess.h: New file.
30692 * sysdeps/i386/tininess.h: Likewise.
30693 * sysdeps/sh/tininess.h: Likewise.
30694 * sysdeps/x86_64/tininess.h: Likewise.
30695 * stdlib/tst-strtod-underflow.c: Likewise.
30696 * stdlib/tst-tininess.c: Likewise.
30697 * stdlib/strtod_l.c: Include <tininess.h>.
30698 (round_and_return): Do not set errno for exact underflow cases.
30699 Force an underflow exception when setting errno for underflow.
30700 Determine underflow based on rounding to normal precision if
30701 TININESS_AFTER_ROUNDING.
30702 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30703 ERANGE for exact underflow cases.
30704 * stdlib/Makefile (tests): Add tst-tininess and
30705 tst-strtod-underflow.
30706 ($(objpfx)tst-tininess): Use $(link-libm).
30707 ($(objpfx)tst-strtod-underflow): Likewise.
30709 2012-10-30 Andreas Jaeger <aj@suse.de>
30712 * elf/Makefile (tests): Remove conditional for have-initfini-array
30713 since this is now always required and the variable does not exist
30715 (tests-static): Likewise.
30716 (modules-names): Likewise.
30718 * po/eo.po: Add Esperanto translation from translation project.
30720 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30721 merged with constructor/destructor.
30722 (init_array): Likewise.
30723 * elf/tst-array2dep.c (fini_array): Likewise.
30724 (init_array): Likewise.
30726 2012-10-29 Mike Frysinger <vapier@gentoo.org>
30728 * manual/message.texi: Delete @cartouche tags.
30730 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30732 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30734 * sysdeps/mach/hurd/fsync.c: Likewise.
30736 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30737 [_POSIX_REALTIME_SIGNALS]: Change condition to
30738 [_POSIX_REALTIME_SIGNALS > 0].
30740 2012-10-27 Andreas Jaeger <aj@suse.de>
30742 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30743 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30745 [__WORDSIZE != 64]: Likewise.
30747 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30749 * iconvdata/tst-table.sh: Remove ${SHELL}.
30750 * iconvdata/tst-tables.sh: Likewise.
30752 2012-10-25 David S. Miller <davem@davemloft.net>
30754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30755 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30760 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30761 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30762 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30765 2012-10-25 Roland McGrath <roland@hack.frob.com>
30767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30768 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30771 2012-10-25 Joseph Myers <joseph@codesourcery.com>
30772 Jim Blandy <jimb@codesourcery.com>
30774 * scripts/cross-test-ssh.sh: New file.
30775 * manual/install.texi (Configuring and compiling): Document use of
30777 * INSTALL: Regenerated.
30779 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30781 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30784 2012-10-25 Joseph Myers <joseph@codesourcery.com>
30786 * Makeconfig (run-program-prefix): Fix comment.
30788 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30789 Jim Blandy <jimb@codesourcery.com>
30791 * Makeconfig (test-wrapper): New variable,
30792 (test-wrapper-env): Likewise.
30793 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30794 (run-built-tests): Define to yes.
30795 (run-program-prefix): Use $(test-wrapper).
30796 (built-program-cmd): Likewise.
30797 * Rules (make-test-out): Use $(test-wrapper-env) and
30798 $(host-built-program-cmd).
30799 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30800 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30802 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30803 $(test-wrapper-env) to tst-rtld-load-self.sh.
30804 ($(objpfx)order2.out): Use $(test-wrapper).
30805 ($(objpfx)tst-initorder.out): Likewise.
30806 ($(objpfx)tst-initorder2.out): Likewise.
30807 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30808 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30809 (test_wrapper_env): New variable. Use it to run ld.so.
30810 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30811 Use it to run ld.so.
30812 (test_wrapper_env): Likewise.
30813 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30814 $(test-wrapper) to run-iconv-test.sh.
30815 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30816 (ICONV): Use $test_wrapper.
30817 * posix/Makefile ($(objpfx)globtest.out): Pass
30818 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30819 globtest.sh, not $(run-program-prefix).
30820 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30821 (test_wrapper): Likewise.
30822 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30823 set together with run_via_rtld_prefix.
30824 (run_program_prefix): Define in terms of test_wrapper and
30825 run_via_rtld_prefix.
30827 2012-10-24 Roland McGrath <roland@hack.frob.com>
30829 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30830 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30834 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30835 Declare __clock_getres, __clock_gettime, __clock_settime,
30836 __clock_nanosleep, and __clock_getcpuclockid.
30837 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30838 Remove librt_hidden_def (clock_gettime).
30839 * sysdeps/unix/clock_gettime.c: Likewise.
30840 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30841 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30842 * rt/clock_getres.c: Define __clock_getres as an alias.
30843 * sysdeps/posix/clock_getres.c: Likewise.
30844 * rt/clock_settime.c: Define __clock_settime as an alias.
30845 * sysdeps/unix/clock_settime.c: Likewise.
30846 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30847 * sysdeps/unix/clock_nanosleep.c: Likewise.
30848 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30849 * rt/clock-compat.c: New file.
30850 * rt/Makefile (librt-routines): Add clock-compat and move
30851 $(clock-routines) to ...
30852 (routines): ... here, new variable.
30853 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30854 Don't add get_clockfreq here.
30855 * rt/Versions (libc: GLIBC_2.17): New version set.
30856 Add clock_* symbols here.
30857 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30858 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30859 (GLIBC_2.17): Add clock_* symbols.
30860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30862 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30871 * NEWS: Mention the move.
30873 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30874 Use __open, __read, __close rather than their public counterparts.
30875 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30876 (__get_clockfreq_via_cpuinfo): Likewise.
30877 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30878 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30880 * config.h.in (HAVE_IFUNC): New #undef.
30881 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30883 * configure: Regenerated.
30885 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30887 * configure.in: Move READELF check to start of file.
30888 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30889 libc_cv_asm_gnu_indirect_function in the process.
30890 * configure: Regenerated.
30892 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30894 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30895 send the output to /dev/null.
30896 (libc_cv_cc_with_libunwind): Likewise.
30897 (libc_cv_as_noexecstack): Likewise.
30898 * configure: Regenerate.
30900 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30902 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30904 * posix/globtest.sh (TMPDIR): Do not set.
30905 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30906 (testout): Likewise.
30908 2012-10-24 Andreas Jaeger <aj@suse.de>
30910 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30911 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30912 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30913 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30914 posix_fadvise64, posix_fallocate64.
30916 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30917 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30918 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30920 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30922 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30925 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30926 <bits/fcntl-linux.h>.
30927 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30930 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30931 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30932 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30933 [__WORDSIZE != 64]: Likewise.
30935 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30937 * Makeconfig (run-built-tests): New variable.
30938 * Rules [$(cross-compiling) = yes]: Change condition to
30939 [$(run-built-tests) = no].
30940 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30941 to [$(run-built-tests) = yes].
30942 * elf/Makefile [$(cross-compiling) = no]: Likewise
30943 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30944 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30945 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30946 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30947 * io/Makefile [$(cross-compiling) = no]: Likewise.
30948 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30949 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30950 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30951 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30952 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30953 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30954 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30955 * string/Makefile [$(cross-compiling) = no]: Likewise.
30957 * posix/Makefile ($(objpfx)globtest.out): Pass
30958 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30959 $(rtld-installed-name).
30960 * posix/globtest.sh (elf_objpfx): Remove variable.
30961 (rtld_installed_name): Likewise.
30962 (library_path): Likewise.
30963 (run_program_prefix): New variable. Use for running globtest
30966 2012-10-23 Jim Blandy <jimb@codesourcery.com>
30967 Joseph Myers <joseph@codesourcery.com>
30969 * Makeconfig (host-built-program-cmd): New variable.
30970 * elf/Makefile (tst-stackguard1-ARGS): Use
30971 $(host-built-program-cmd).
30972 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30973 (tst-spawn-ARGS): Likewise.
30974 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30976 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30977 Jim Blandy <jimb@codesourcery.com>
30979 * Makeconfig (run-via-rtld-prefix): New variable.
30980 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30981 (built-program-cmd): Likewise.
30983 2012-10-22 Andreas Jaeger <aj@suse.de>
30985 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30986 __O_RSYNC if it exists, otherwise to O_SYNC.
30988 2012-10-22 Jim Blandy <jimb@codesourcery.com>
30989 Joseph Myers <joseph@codesourcery.com>
30991 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30993 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30995 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30998 2012-10-22 Andreas Jaeger <aj@suse.de>
31000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31005 bits/fcntl-linux.h.
31007 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31008 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31015 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31016 Joseph Myers <joseph@codesourcery.com>
31018 * config.make.in (NM): New variable.
31020 2012-10-21 Andreas Jaeger <aj@suse.de>
31022 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31023 definitions and declarations that are provided by
31024 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31026 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31029 * elf/Makefile (tests-static): Add tst-leaks1-static.
31030 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31031 ($(objpfx)tst-leaks1-static): New rule.
31032 ($(objpfx)tst-leaks1-static-mem): Likewise.
31033 (tst-leaks1-static-ENV): New macro.
31034 * elf/dl-open.c (dl_open_worker): Check the main application
31035 only if SHARED is defined.
31036 * elf/tst-leaks1-static.c: New file.
31038 2012-10-20 Andreas Jaeger <aj@suse.de>
31040 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31041 generic values for Linux.
31042 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31043 and declarations that are provided by <bits/fcntl-linux.h> and
31044 include <bits/fcntl-linux.h>.
31045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31048 2012-10-20 Roland McGrath <roland@hack.frob.com>
31050 * io/fcntl.h: Move include of <bits/types.h> to the top and
31051 include it unconditionally.
31053 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31055 * wcsmbs/Makefile (tests-ifunc): New variable.
31056 (tests): Add $(tests-ifunc).
31057 * wcsmbs/test-wcschr-ifunc.c: New file.
31058 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31059 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31060 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31061 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31062 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31064 * string/Makefile (tests-ifunc): New variable.
31065 (tests): Add $(tests-ifunc).
31066 * string/test-memccpy.c (TEST_NAME): New macro.
31067 * string/test-memchr.c (TEST_NAME): Likewise.
31068 * string/test-memcmp.c (TEST_NAME): Likewise.
31069 * string/test-memcpy.c (TEST_NAME): Likewise.
31070 * string/test-memmem.c (TEST_NAME): Likewise.
31071 * string/test-memmove.c (TEST_NAME): Likewise.
31072 * string/test-memset.c (TEST_NAME): Likewise.
31073 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31074 * string/test-stpcpy.c (TEST_NAME): Likewise.
31075 * string/test-stpncpy.c (TEST_NAME): Likewise.
31076 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31077 * string/test-strcasestr.c (TEST_NAME): Likewise.
31078 * string/test-strcat.c (TEST_NAME): Likewise.
31079 * string/test-strchr.c (TEST_NAME): Likewise.
31080 * string/test-strcmp.c(TEST_NAME): Likewise.
31081 * string/test-strcpy.c (TEST_NAME): Likewise.
31082 * string/test-strcspn.c (TEST_NAME): Likewise.
31083 * string/test-strlen.c (TEST_NAME): Likewise.
31084 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31085 * string/test-strncmp.c (TEST_NAME): Likewise.
31086 * string/test-strncpy.c (TEST_NAME): Likewise.
31087 * string/test-strnlen.c (TEST_NAME): Likewise.
31088 * string/test-strpbrk.c (TEST_NAME): Likewise.
31089 * string/test-strrchr.c (TEST_NAME): Likewise.
31090 * string/test-strspn.c (TEST_NAME): Likewise.
31091 * string/test-strstr.c (TEST_NAME): Likewise.
31092 * string/test-bcopy-ifunc.c: New file.
31093 * string/test-bzero-ifunc.c: Likewise.
31094 * string/test-memccpy-ifunc.c: Likewise.
31095 * string/test-memchr-ifunc.c: Likewise.
31096 * string/test-memcmp-ifunc.c: Likewise.
31097 * string/test-memcpy-ifunc.c: Likewise.
31098 * string/test-memmem-ifunc.c: Likewise.
31099 * string/test-memmove-ifunc.c: Likewise.
31100 * string/test-mempcpy-ifunc.c: Likewise.
31101 * string/test-memset-ifunc.c: Likewise.
31102 * string/test-rawmemchr-ifunc.c: Likewise.
31103 * string/test-stpcpy-ifunc.c: Likewise.
31104 * string/test-stpncpy-ifunc.c: Likewise.
31105 * string/test-strcasecmp-ifunc.c: Likewise.
31106 * string/test-strcasestr-ifunc.c: Likewise.
31107 * string/test-strcat-ifunc.c: Likewise.
31108 * string/test-strchr-ifunc.c: Likewise.
31109 * string/test-strchrnul-ifunc.c: Likewise.
31110 * string/test-strcmp-ifunc.c: Likewise.
31111 * string/test-strcpy-ifunc.c: Likewise.
31112 * string/test-strcspn-ifunc.c: Likewise.
31113 * string/test-strlen-ifunc.c: Likewise.
31114 * string/test-strncasecmp-ifunc.c: Likewise.
31115 * string/test-strncat-ifunc.c: Likewise.
31116 * string/test-strncmp-ifunc.c: Likewise.
31117 * string/test-strncpy-ifunc.c: Likewise.
31118 * string/test-strnlen-ifunc.c: Likewise.
31119 * string/test-strpbrk-ifunc.c: Likewise.
31120 * string/test-strrchr-ifunc.c: Likewise.
31121 * string/test-strspn-ifunc.c: Likewise.
31122 * string/test-strstr-ifunc.c: Likewise.
31124 * debug/Makefile (tests-ifunc): New variable.
31125 (tests): Add $(tests-ifunc).
31126 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31127 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31128 * debug/test-stpcpy_chk-ifunc.c: New file.
31129 * debug/test-strcpy_chk-ifunc.c: Likewise.
31131 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31134 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31135 header is not read in.
31137 2012-10-19 Joseph Myers <joseph@codesourcery.com>
31139 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31140 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31141 directly. Pass built executable to script as
31142 $(built-program-cmd).
31143 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31144 $testprogram without using LD_LIBRARY_PATH and $ldso.
31146 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31147 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31148 $(rtld-installed-name).
31149 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31150 (rtld_installed_name): Likewise.
31151 (library_path): Likewise.
31152 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31153 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31154 $(run-program-prefix) to tst-tables.sh.
31155 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31156 it to run tst-table-from and tst-table-to.
31157 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31158 Pass it to tst-table.sh.
31159 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31160 $(run-program-prefix) to tst-gettext.sh.
31161 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31163 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31165 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31166 to run tst-gettext.
31167 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31168 to run tst-gettext2.
31169 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31170 to run tst-translit.
31171 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31172 $(run-program-prefix) to tst-mtrace.sh.
31173 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31175 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31176 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31177 $(rtld-installed-name).
31178 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31179 (rtld_installed_name): Likewise.
31180 (run_program_prefix): New variable. Use it to run wordexp-test.
31182 * Makeconfig (ARCH): Remove all definitions.
31183 (machine): Likewise.
31184 [ARCH]: Remove conditional code.
31185 [!objdir]: Give error.
31186 [!objdir] (objpfx): Remove.
31187 [!objdir] (common-objpfx): Likewise.
31188 [!objdir] (common-objdir): Likewise.
31189 * configure.in (config_makefile): Remove. Hardcode Makefile in
31190 AC_CONFIG_FILES call.
31191 * configure: Regenerated.
31194 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31196 (testout): Likewise.
31198 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31199 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31200 $(rtld-installed-name).
31201 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31202 (rtld_installed_name): Likwise.
31203 (runit): Remove function.
31204 (run_getconf): New variable, Use it for running getconf binary.
31206 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31209 * string/test-memmem.c (check_result): New function.
31210 (do_one_test): Use it.
31211 (check1): New function.
31212 (test_main): Use it.
31214 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31216 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31218 2012-10-18 Joseph Myers <joseph@codesourcery.com>
31220 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31221 (_G_LSEEK64): Likewise.
31222 (_G_MMAP64): Likewise.
31223 (_G_FSTAT64): Likewise.
31224 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31225 (_G_LSEEK64): Likewise.
31226 (_G_MMAP64): Likewise.
31227 (_G_FSTAT64): Likewise.
31228 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31229 unconditional. Call __mmap64 directly.
31230 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31231 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31232 __lseek64 directly.
31233 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31234 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31236 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31237 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31238 __lseek64 directly.
31239 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31240 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31241 __lseek64 directly.
31242 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31243 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31244 __lseek64 directly.
31245 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31246 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31247 __fxstat64 directly.
31248 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31249 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31251 (freopen64) [!_G_OPEN64]: Remove conditional code.
31252 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31254 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31255 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31257 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31258 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31260 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31261 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31263 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31264 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31266 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31267 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31269 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31270 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31272 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31274 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31277 * manual/memory.texi (Malloc Tunable Parameters): Add note
31278 about free list pointers overwriting some perturb bytes.
31279 Wording suggested by Roland McGrath.
31281 2012-10-17 Joseph Myers <joseph@codesourcery.com>
31283 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31284 (lgamma_test): Likewise.
31285 (tgamma_test): Likewise.
31287 2012-10-16 Florian Weimer <fweimer@redhat.com>
31290 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31291 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31293 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31295 * NEWS: Mention BZ #14716.
31296 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31297 when removing AVAILABLE1_USES_J macro.
31299 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31301 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31302 (__bswap_64): __uint64_t for unsigned 64-bit int.
31304 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31306 * include/string.h (memmem): Declare libc hidden alias.
31307 * string/memmem.c (memmem): Define libc hidden alias.
31308 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31309 __read, __close instead of open, read, close.
31311 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31313 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31314 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31316 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31317 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31318 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31320 (__rawmemchr_sse2): Likewise.
31321 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31322 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31323 (__strchr_sse2): Likewise.
31324 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31325 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31326 (__strcasecmp_sse2): Likewise.
31327 (__strncasecmp_sse2): Likewise.
31328 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31329 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31330 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31331 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31332 (__strrchr_sse2): Likewise.
31333 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31335 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31336 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31337 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31338 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31339 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31340 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31341 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31342 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31343 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31344 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31345 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31346 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31347 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31348 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31349 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31350 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31351 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31352 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31353 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31354 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31355 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31356 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31357 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31358 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31359 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31360 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31361 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31362 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31363 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31364 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31366 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31368 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31369 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31370 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31371 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31373 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31375 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31376 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31377 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31378 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31380 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31381 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31382 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31383 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31384 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31385 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31386 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31387 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31388 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31389 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31390 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31391 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31392 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31393 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31394 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31395 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31396 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31397 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31398 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31399 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31400 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31401 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31402 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31403 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31404 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31406 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31407 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31408 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31409 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31410 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31411 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31412 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31413 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31414 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31415 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31416 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31417 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31418 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31419 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31420 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31422 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31423 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31424 * include/ifunc-impl-list.h: New file.
31425 * misc/ifunc-impl-list.c: Likewise.
31426 * misc/Makefile (routines): Add ifunc-impl-list.
31427 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31428 * string/test-string.h: Include <ifunc-impl-list.h>.
31429 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31430 TEST_NAME]: New variables.
31431 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31433 (test_init): Call __libc_ifunc_impl_list to initialize
31434 func_list if TEST_IFUNC and TEST_NAME are defined.
31436 * string/Makefile (strop-tests): Add bcopy and bzero.
31437 * string/test-bcopy.c: New file.
31438 * string/test-bzero.c: Likewise.
31439 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31441 * string/test-memset.c: Support bzero test if TEST_BZERO is
31443 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31445 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31447 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31450 2012-10-10 Joseph Myers <joseph@codesourcery.com>
31452 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31453 * configure: Regenerated.
31455 * Makeconfig (+link-static-before-libc): Don't include
31456 $(link-static-libc).
31458 * libio/libio.h (_IO_pos_t): Remove.
31460 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31462 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31465 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31467 * crypt/crypt-entry.c: Include fips-private.h.
31468 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31469 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31470 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31471 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31473 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31475 * crypt/crypt-private.h: Include stdbool.h.
31476 (_ufc_setup_salt_r): Return bool.
31477 * crypt/crypt-entry.c: Include errno.h.
31478 (__crypt_r): Return NULL with EINVAL for bad salt.
31479 * crypt/crypt_util.c (bad_for_salt): New.
31480 (_ufc_setup_salt_r): Check that salt is long enough and within
31481 the specified alphabet.
31482 * crypt/badsalttest.c: New file.
31483 * crypt/Makefile (tests): Add it.
31484 ($(objpfx)badsalttest): New.
31486 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31488 * NEWS: Add entry for BZ #14602.
31490 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31492 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31494 * math/libm-test.inc: Update comment listing what functions and
31496 (isgreater_test): New function.
31497 (isgreaterequal_test): Likewise.
31498 (isless_test): Likewise.
31499 (islessequal_test): Likewise.
31500 (islessgreater_test): Likewise.
31501 (isunordered_test): Likewise.
31502 (main): Call the new functions.
31504 2012-10-09 Roland McGrath <roland@hack.frob.com>
31506 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31507 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31508 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31509 * sysdeps/i386/configure: Regenerated.
31510 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31511 * sysdeps/mach/configure: Regenerated.
31512 * sysdeps/mach/hurd/configure: Regenerated.
31513 * sysdeps/powerpc/configure: Regenerated.
31514 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31515 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31516 * sysdeps/s390/s390-32/configure: Regenerated.
31517 * sysdeps/s390/s390-64/configure: Regenerated.
31518 * sysdeps/sh/configure: Regenerated.
31519 * sysdeps/sparc/configure: Regenerated.
31520 * sysdeps/unix/sysv/linux/configure: Regenerated.
31521 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31522 * sysdeps/x86_64/configure: Regenerated.
31524 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31525 defined. Don't check if MAP is NULL.
31527 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31529 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31530 (_G_stat64): Likewise.
31531 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31532 (_G_stat64): Likewise.
31533 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31534 instead of struct _G_stat64.
31535 * libio/fileops.c (mmap_remap_check): Likewise.
31536 (decide_maybe_mmap): Likewise.
31537 (_IO_new_file_seekoff): Likewise.
31538 (_IO_file_stat): Likewise.
31539 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31541 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31542 instead of struct _G_stat64.
31543 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31545 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31548 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31550 (CHECK_EOL): New macro.
31551 (two_way_short_needle): Check beginning of haystack for EOL. Use
31553 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31554 Replace with CHECK_EOL.
31555 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31556 Replace with CHECK_EOL.
31558 2012-10-08 Joseph Myers <joseph@codesourcery.com>
31560 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31562 * math/libm-test.inc: Update comment listing what functions and
31564 (finite_test): New function.
31565 (isinf_test): Likewise.
31566 (isnan_test): Likewise.
31567 (fpclassify_test): Test subnormal input.
31568 (isfinite_test): Likewise.
31569 (isnormal_test): Likewise.
31570 (main): Call the new functions.
31572 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31575 * Makerules (%.dynsym): Force C locale when running
31576 $(OBJDUMP) --dynamic-syms.
31578 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31580 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31583 2012-10-06 David S. Miller <davem@davemloft.net>
31585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31586 upper 32-bits of the length value in %o2 since we use branch-on-register
31587 tests which consider the entire 64-bit register.
31589 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31591 * string/test-strstr.c (check2): Add a test for page boundary.
31593 2012-10-05 David S. Miller <davem@davemloft.net>
31595 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31596 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31598 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31600 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31601 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31602 and bzero when HWCAP_SPARC_CRYPTO is present.
31604 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31607 * string/test-strstr.c (check2): New function.
31608 (test_main): Call check2.
31610 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31612 * string/bug-strcasestr1.c (do_test): Moved to ...
31613 * string/test-strcasestr.c (check1): Here. New function.
31614 (do_one_test): Break out result checking code into ...
31615 (check_result): This. New function.
31616 (do_one_test): Call check_result.
31617 (test_main): Call check1.
31618 * string/bug-strchr1.c (do_test): Moved to ...
31619 * string/test-strchr.c (check1): Here. New function.
31620 (do_one_test): Break out result checking code into ...
31621 (check_result): This. New function.
31622 (do_one_test): Call check_result.
31623 (test_main): Call check1.
31624 * string/bug-strstr1.c (main): Moved to ...
31625 * string/test-strstr.c (check1): Here. New function.
31626 (do_one_test): Break out result checking code into ...
31627 (check_result): This. New function.
31628 (do_one_test): Call check_result.
31629 (test_main): Call check1.
31630 * string/bug-strcasestr1.c: Removed.
31631 * string/bug-strchr1.c: Likewise.
31632 * string/bug-strstr1.c: Likewise.
31634 * elf/Makefile (dl-routines): Add hwcaps.
31635 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31636 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31637 (_dl_important_hwcaps): Moved to ...
31638 * elf/dl-hwcaps.c: Here. New file.
31639 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31642 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31643 if IS_IN_rtld isn't defined.
31645 * elf/dl-support.c (_dl_sysinfo_map): New.
31646 Include "get-dynamic-info.h" and "setup-vdso.h".
31647 (_dl_non_dynamic_init): Call setup_vdso.
31648 * elf/dynamic-link.h: Don't include <assert.h>.
31649 (elf_get_dynamic_info): Moved to ...
31650 * elf/get-dynamic-info.h: Here. New file.
31651 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31652 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31653 * elf/setup-vdso.h: Here. New file.
31654 * elf/rtld.c: Include "setup-vdso.h".
31655 (dl_main): Call setup_vdso.
31657 2012-10-05 Joseph Myers <joseph@codesourcery.com>
31659 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31660 creal in comment listing functions tested. List finite, isinf,
31661 isnan, isless, islessequal, isgreater, isgreaterequal,
31662 islessgreater, isunordered, lgamma_r and pow10 as functions and
31663 macros not tested. Mention which functions not tested are aliases
31664 for other functions. Fix typo. Note that signs of NaNs are not
31667 * scripts/config.guess: Update from config.git.
31668 * scripts/config.sub: Likewise.
31670 2012-10-04 Roland McGrath <roland@hack.frob.com>
31672 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31673 * misc/madvise.c (madvise): Renamed to __madvise.
31674 Make madvise a weak alias.
31675 * include/sys/mman.h: Declare __madvise.
31676 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31677 * sysdeps/unix/syscalls.list
31678 (madvise): Make __madvise the strong name, and madvise a weak alias.
31679 * sysdeps/unix/sysv/linux/syscalls.list
31680 (madvise, mmap): Remove redundant entries.
31681 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31682 * malloc/malloc.c (mtrim): Likewise.
31683 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31685 2012-10-03 Roland McGrath <roland@hack.frob.com>
31687 * sysdeps/mach/hurd/dl-cache.c: File removed.
31688 * config.h.in (USE_LDCONFIG): New #undef.
31689 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31690 * configure: Regenerated.
31691 * elf/Makefile (dl-routines): Add dl-cache only under
31692 [$(use-ldconfig) = yes].
31693 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31694 cache on [USE_LDCONFIG].
31695 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31697 * elf/rtld.c (dl_main): Likewise.
31699 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31701 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31702 _SC_LEVEL4_CACHE_LINESIZE.
31704 2012-10-03 Roland McGrath <roland@hack.frob.com>
31706 * sysdeps/unix/bsd/confstr.h: File removed.
31708 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
31710 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31713 2012-10-02 Roland McGrath <roland@hack.frob.com>
31715 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31716 Make 'mapoff' field ElfW(Off) rather than off_t.
31718 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31720 * nscd/Makefile: Remove nscd-cflags and all its users.
31721 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31722 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31725 * malloc.c (malloc_printerr): Clarify error message.
31727 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31730 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31731 Set bit_FMA_Usable if FMA is supported.
31732 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31734 (bit_FMA4_Usable): Updated.
31735 (index_FMA_Usable): New macro.
31736 (CPUID_FMA): Likewise
31737 (HAS_FMA): Defined with bit_FMA_Usable.
31739 2012-10-01 Roland McGrath <roland@hack.frob.com>
31741 * bits/types.h (__swblk_t): Type removed.
31742 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31743 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31744 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31745 (__SWBLK_T_TYPE): Likewise.
31746 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31747 (__SWBLK_T_TYPE): Likewise.
31748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31749 (__SWBLK_T_TYPE): Likewise.
31750 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31751 (__SWBLK_T_TYPE): Likewise.
31753 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
31754 Honza Horak <hhorak@redhat.com>
31756 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31757 (xdr_mapname): Use YPMAXMAP as maxsize.
31758 (xdr_peername): Use YPMAXPEER as maxsize.
31759 (xdr_keydat): Use YPAXRECORD as maxsize.
31760 (xdr_valdat): Use YPMAXRECORD as maxsize.
31762 2012-10-01 Roland McGrath <roland@hack.frob.com>
31764 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31766 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31767 * csu/init-first.c: ... here.
31768 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31769 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31770 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31771 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31772 * sysdeps/i386/init-first.c: File removed.
31773 * sysdeps/sh/init-first.c: File removed.
31775 2012-10-01 Joseph Myers <joseph@codesourcery.com>
31778 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31779 if x * y might underflow to zero and z is zero.
31780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31781 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31782 * math/libm-test.inc (min_subnorm_value): New variable.
31783 (fma_test): Add more tests.
31784 (fma_test_towardzero): Likewise.
31785 (fma_test_downward): Likewise
31786 (fma_test_upward): Likewise.
31787 (initialize): Set min_subnorm_value.
31789 2012-09-29 Joseph Myers <joseph@codesourcery.com>
31792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31794 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31795 mode for addition resulting in exact zero.
31796 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31799 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31800 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31801 * math/libm-test.inc (fma_test): Add more tests.
31802 (fma_test_towardzero): New function.
31803 (fma_test_downward): Likewise.
31804 (fma_test_upward): Likewise.
31805 (main): Call the new functions.
31807 2012-09-28 David S. Miller <davem@davemloft.net>
31809 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31811 2012-09-28 Roland McGrath <roland@hack.frob.com>
31813 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31814 instead of SIGALRM.
31816 * sysdeps/gnu/_G_config.h: Moved to ...
31817 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31818 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31819 * sysdeps/generic/_G_config.h: ... here.
31821 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31823 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31825 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31826 Conditionalize target on [libnss_test1.so-version].
31828 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31830 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31831 (elfobjdir): Move out of conditionals.
31833 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31834 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31835 (__nss_lookup_function): Conditionalize label remove_from_tree on
31836 [!DO_STATIC_NSS || SHARED], matching its only use.
31838 2012-09-28 David S. Miller <davem@davemloft.net>
31840 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31841 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31843 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31845 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31846 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31847 when HWCAP_SPARC_CRYPTO is present.
31849 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31851 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31853 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31856 * stdio-common/vfprintf.c (process_string_arg): Revert
31859 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31861 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31863 * stdio-common/tst-sprintf.c: Include <locale.h>
31864 (main): Test sprintf's handling of incomplete multibyte
31867 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31869 * elf/dl-runtime.c (VERSYMIDX): Removed.
31870 * elf/dl-version.c (VERSYMIDX): Likewise.
31871 * elf/do-rel.h (VERSYMIDX): Likewise.
31872 (VALIDX): Likewise.
31873 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31874 * elf/rtld.c (VALIDX): Likewise.
31875 (ADDRIDX): Likewise.
31876 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31877 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31878 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31879 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31880 (VALIDX): Likewise.
31881 (ADDRIDX): Likewise.
31883 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31885 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31887 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31890 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31892 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31893 addresses are in the same scope as 192.0.2/24.
31894 * posix/gai.conf: Document new scope table defaults.
31896 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31899 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31900 for ftell. Compute offsets from write pointers instead.
31901 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31903 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31906 * libio/Makefile (tests): New test case tst-fseek.
31907 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31908 combination works in wide mode.
31909 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31910 state when the external buffer state changes.
31912 2012-09-27 David S. Miller <davem@davemloft.net>
31915 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31916 pass reloc->r_addend in as the 'high' argument to
31917 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31921 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31923 * rt/tst-aio2.c: Include <pthread.h>.
31924 * rt/tst-aio3.c: Likewise.
31926 2012-09-27 Steve Ellcey <sellcey@mips.com>
31928 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31930 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31932 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31933 contents on [SHARED].
31935 2012-09-26 Marek Polacek <polacek@redhat.com>
31939 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31940 for C++ and GCC <4.3 as well as for non GCC compilers.
31942 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31946 2012-09-25 Roland McGrath <roland@hack.frob.com>
31948 * Makefile.in (all, install): Declare with .PHONY.
31949 Reported by Michael Hope <michael.hope@linaro.org>.
31951 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31953 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31954 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31956 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31958 (sydep_routines): Add the new and the internal functions.
31959 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31960 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31962 (GLIBC_2.17): Add the new function.
31963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31964 (GLIBC_2.17): Likewise.
31965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31966 (GLIBC_2.17): Likewise.
31967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31968 (GLIBC_2.17): Likewise.
31969 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31971 2012-09-25 Alan Modra <amodra@gmail.com>
31973 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31974 Add release barrier before setting once_control to say
31975 initialisation is done. Add hints on lwarx. Use macro in
31977 (clear_once_control): Add release barrier.
31979 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31982 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31984 * math/s_clog10.c (__clog10): Likewise.
31985 * math/s_clog10f.c (__clog10f): Likewise.
31986 * math/s_clog10l.c (__clog10l): Likewise.
31987 * math/s_clogf.c (__clogf): Likewise.
31988 * math/s_clogl.c (__clogl): Likewise.
31989 * math/Makefile (libm-calls): Add x2y2m1.
31990 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31991 (__x2y2m1): Likewise.
31992 (__x2y2m1l): Likewise.
31993 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31994 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31995 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31996 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31997 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31998 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31999 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32000 * sysdeps/i386/fpu/libm-test-ulps: Update.
32001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32004 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32005 int as type of variable DEPTH.
32006 (glob): Use size_t instead of int as type of variables NEWCOUNT
32009 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32011 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32012 Add s_sincosf-sse2.
32013 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32014 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32015 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32016 macros for using routine as __sincosf_ia32.
32017 Use macro for function declaration and weak_alias.
32018 * sysdeps/i386/fpu/libm-test-ulps: Update.
32020 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32021 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32023 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32024 subnormal argument.
32025 * math/s_cexpf.c (__cexpf): Likewise.
32026 * math/s_csinf.c (__csinf): Likewise.
32027 * math/s_csinhf.c (__csinhf): Likewise.
32028 * math/s_ctanf.c (__ctanf): Likewise.
32029 * math/s_ctanhf.c (__ctanhf): Likewise.
32030 * math/s_ccosh.c (__ccoshf): Likewise.
32031 * math/s_cexp.c (__cexpl): Likewise.
32032 * math/s_csin.c (__csin): Likewise.
32033 * math/s_csinh.c (__csinh): Likewise.
32034 * math/s_ctan.c (__ctan): Likewise.
32035 * math/s_ctanh.c (ctanh): Likewise.
32036 * math/s_ccoshl.c (__ccoshl): Likewise.
32037 * math/s_cexpl.c (__cexpl): Likewise.
32038 * math/s_csinl.c (__csinl): Likewise.
32039 * math/s_csinhl.c (__csinhl): Likewise.
32040 * math/s_ctanl.c (__ctanl): Likewise.
32041 * math/s_ctanhl.c (__ctanhl): Likewise.
32043 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32045 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32046 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32047 (_IO_off_t): Define to __off_t, not _G_off_t.
32048 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32049 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32050 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32051 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32052 type of __dummy and __dummy2 fields.
32053 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32054 (_G_ssize_t): Likewise.
32055 (_G_off_t): Likewise.
32056 (_G_pid_t): Likewise.
32057 (_G_uid_t): Likewise.
32058 (_G_wchar_t): Likewise.
32059 (_G_wint_t): Likewise.
32060 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32061 (_G_ssize_t): Likewise.
32062 (_G_off_t): Likewise.
32063 (_G_pid_t): Likewise.
32064 (_G_uid_t): Likewise.
32065 (_G_wchar_t): Likewise.
32066 (_G_wint_t): Likewise.
32067 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32068 (_G_ssize_t): Likewise.
32069 (_G_off_t): Likewise.
32070 (_G_pid_t): Likewise.
32071 (_G_uid_t): Likewise.
32072 (_G_wchar_t): Likewise.
32073 (_G_wint_t): Likewise.
32075 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32077 * malloc/arena.c: Include malloc-sysdep.h.
32078 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32079 is sufficient to shrink the heap or an unmap is needed.
32080 * sysdeps/generic/malloc-sysdep.h: New file. Define
32081 new function check_may_shrink_heap.
32082 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32083 new function check_may_shrink_heap.
32085 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32087 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32090 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32092 * catgets/test-gencat.sh: Add "set -e".
32093 * elf/tst-pathopt.sh: Likewise.
32094 * grp/tst_fgetgrent.sh: Likewise.
32095 * iconvdata/run-iconv-test.sh: Likewise.
32096 * intl/tst-gettext.sh: Likewise.
32097 * intl/tst-gettext2.sh: Likewise.
32098 * intl/tst-gettext4.sh: Likewise.
32099 * intl/tst-gettext6.sh: Likewise.
32100 * intl/tst-translit.sh: Likewise.
32101 * io/ftwtest-sh: Likewise.
32102 * libio/test-freopen.sh: Likewise.
32103 * malloc/tst-mtrace.sh: Likewise.
32104 * posix/globtest.sh: Likewise.
32105 * posix/tst-getconf.sh: Likewise.
32106 * posix/wordexp-tst.sh: Likewise.
32107 * stdio-common/tst-printf.sh: Likewise.
32108 * stdio-common/tst-unbputc.sh: Likewise.
32109 * stdlib/tst-fmtmsg.sh: Likewise.
32110 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32111 * catgets/Makefile: Do not specify -e option when running
32112 testsuite shell scripts.
32113 * elf/Makefile: Likewise.
32114 * grp/Makefile: Likewise.
32115 * iconvdata/Makefile: Likewise.
32116 * intl/Makefile: Likewise.
32117 * io/Makefile: Likewise.
32118 * libio/Makefile: Likewise.
32119 * malloc/Makefile: Likewise.
32120 * posix/Makefile: Likewise.
32121 * stdio-common/Makefile: Likewise.
32122 * stdlib/Makefile: Likewise.
32123 * sysdeps/x86_64/Makefile: Likewise.
32125 * io/ftwtest-sh: Add copyright header.
32126 * posix/globtest.sh: Likewise.
32127 * posix/tst-getconf.sh: Likewise.
32128 * posix/wordexp-tst.sh: Likewise.
32129 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32131 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32134 * Makeconfig (+link): Defined as $(+link-static) if
32135 $(build-shared) isn't yes.
32136 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32138 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32140 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32143 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32144 new chunk size with MALLOC_ALIGN_MASK.
32146 2012-09-24 Joseph Myers <joseph@codesourcery.com>
32149 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32151 (__printf_fphex): Determine rounding using get_rounding_mode and
32153 * stdio-common/tst-printf-round.c (struct hex_test): New
32155 (hex_tests): New variable.
32156 (test_hex_in_one_mode): New function.
32157 (do_test): Also run tests for hex float output.
32159 2012-09-21 Joseph Myers <joseph@codesourcery.com>
32161 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32162 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32163 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32164 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32165 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32166 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32167 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32168 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32170 2012-09-20 Joseph Myers <joseph@codesourcery.com>
32172 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32173 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32174 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32175 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32177 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32180 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32182 * elf/tst-rtld-load-self.sh: New test.
32183 * elf/Makefile: Run it.
32185 2012-09-18 Joseph Myers <joseph@codesourcery.com>
32187 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32188 (tst-writev-ENV): Remove.
32189 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32191 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32193 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32195 2012-09-17 Joseph Myers <joseph@codesourcery.com>
32197 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32199 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32201 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32202 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32203 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32206 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32209 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32210 * config.make.in (have-cpp-asm-debuginfo): Removed.
32211 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32212 * configure: Regenerated.
32214 2012-09-14 Joseph Myers <joseph@codesourcery.com>
32217 * stdio-common/printf_fp.c: Include <stdbool.h> and
32219 (___printf_fp): Determine rounding using get_rounding_mode and
32221 * stdio-common/tst-printf-round.c: New file.
32222 * stdio-common/Makefile (tests): Add tst-printf-round.
32223 (link-libm): New variable.
32224 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32226 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32229 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32230 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32232 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32235 2012-09-13 Joseph Myers <joseph@codesourcery.com>
32237 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32238 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32239 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32240 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32242 2012-09-12 Joseph Myers <joseph@codesourcery.com>
32245 * include/rounding-mode.h: New file.
32246 * sysdeps/generic/get-rounding-mode.h: Likewise.
32247 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32248 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32249 (MAX_VALUE): New macro.
32250 (MIN_VALUE): Likewise.
32251 (overflow_value): New function.
32252 (underflow_value): Likewise.
32253 (round_and_return): Use overflow_value and underflow_value to
32254 determine return values in overflow and underflow cases. Use
32255 round_away to determine rounding depending on rounding mode.
32256 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32257 determine return values in overflow and underflow cases.
32258 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32259 (struct test_results): New structure.
32260 (struct test): Use struct test_results to store expected results
32261 for all rounding modes.
32262 (TEST): Include expected results for all rounding modes.
32263 (test_in_one_mode): New function.
32264 (do_test): Use test_in_one_mode to compute and check results.
32265 Check results for all rounding modes.
32266 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32269 2012-12-09 Allan McRae <allan@archlinux.org>
32271 * sysdeps/i386/fpu/libm-test-ulps: Update
32273 2012-09-11 Joseph Myers <joseph@codesourcery.com>
32275 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32276 (_G_int32_t): Likewise.
32277 (_G_uint16_t): Likewise.
32278 (_G_uint32_t): Likewise.
32279 (_G_HAVE_BOOL): Likewise.
32280 (_G_HAVE_ATEXIT): Likewise.
32281 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32282 (_G_HAVE_IO_FILE_OPEN): Likewise.
32283 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32284 (_G_int32_t): Likewise.
32285 (_G_uint16_t): Likewise.
32286 (_G_uint32_t): Likewise.
32287 (_G_HAVE_BOOL): Likewise.
32288 (_G_HAVE_ATEXIT): Likewise.
32289 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32290 (_G_HAVE_IO_FILE_OPEN): Likewise.
32291 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32292 (_G_int32_t): Likewise.
32293 (_G_uint16_t): Likewise.
32294 (_G_uint32_t): Likewise.
32295 (_G_HAVE_BOOL): Likewise.
32296 (_G_HAVE_ATEXIT): Likewise.
32297 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32298 (_G_HAVE_IO_FILE_OPEN): Likewise.
32300 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32302 * csu/libc-tls.c: Update copyright years.
32304 2012-09-10 Joseph Myers <joseph@codesourcery.com>
32306 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32307 [!_G_USING_THUNKS]: Remove conditional code.
32308 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32309 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32311 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32312 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32313 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32314 (_G_VTABLE_LABEL_PREFIX): Likewise.
32315 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32316 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32317 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32318 (_G_VTABLE_LABEL_PREFIX): Likewise.
32319 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32320 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32321 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32322 (_G_VTABLE_LABEL_PREFIX): Likewise.
32323 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32325 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32327 * libio/Makefile: Include ../Makeconfig before tests.
32328 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32329 only if $(build-shared) is yes.
32331 * iconv/gconv_db.c: Update copyright years.
32333 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32335 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32336 unwind info if defined PIC. Fix special cases description.
32337 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32339 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32341 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32343 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32345 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32347 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32350 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32351 (LDLIBS-tst-chk4): This.
32352 (LDFLAGS-tst-chk5): Renamed to ...
32353 (LDLIBS-tst-chk5): This.
32354 (LDFLAGS-tst-chk6): Renamed to ...
32355 (LDLIBS-tst-chk6): This.
32356 (LDFLAGS-tst-lfschk4): Renamed to ...
32357 (LDLIBS-tst-lfschk4): This.
32358 (LDFLAGS-tst-lfschk5): Renamed to ...
32359 (LDLIBS-tst-lfschk5): This.
32360 (LDFLAGS-tst-lfschk6): Renamed to ...
32361 (LDLIBS-tst-lfschk6): This.
32363 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32364 on $(common-objpfx)soversions.mk.
32366 2012-09-07 Joseph Myers <joseph@codesourcery.com>
32369 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32372 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32374 * malloc/arena.c (arena_get_retry): New function that gets
32375 another arena for the caller to try its request on.
32376 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32377 current arena cannot fulfill the request.
32378 (__libc_memalign): Likewise.
32379 (__libc_memalign): Likewise.
32380 (__libc_pvalloc): Likewise.
32381 (__libc_calloc): Likewise.
32383 2012-09-05 John Tobey <john.tobey@gmail.com>
32386 * manual/arith.texi (Operations on Complex): Fix description
32387 of carg branch cut.
32389 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32392 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32396 * manual/memory.texi (Memory): Make order of menu items match
32399 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32401 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32402 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32403 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32405 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32407 * csu/libc-tls.c (static_dtv): Renamed to ...
32408 (_dl_static_dtv): This. Make it global.
32409 (_dl_initial_dtv): Removed.
32410 (__libc_setup_tls): Updated.
32411 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32412 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32415 2012-09-06 Petr Machata <pmachata@redhat.com>
32417 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32418 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32419 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32420 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32422 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32425 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32426 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32429 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32432 * Makeconfig (link-static-before-libc): Replace $(+prector)
32434 (link-static-after-libc): Replace $(+postctor) with
32436 (link-bounded): Replace $(+prector)/$(+postctor) with
32437 $(+prectorT)/$(+postctorT).
32438 (+prectorT): New macro.
32439 (+postctorT): Likewise.
32441 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32443 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32444 (round_str): Handle values above the maximum for IBM long double
32446 * stdlib/tst-strtod-round.c (tests): Regenerated.
32448 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32450 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32452 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32453 zarch_nohighgprs around the zarch optimized routines.
32454 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32455 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32456 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32459 2012-09-05 David S. Miller <davem@davemloft.net>
32461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32463 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32464 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32465 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32466 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32469 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32471 * malloc/arena.c: Fold copyright years.
32472 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32474 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32476 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32478 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32480 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32482 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32484 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32485 change internal state upon failure.
32487 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32489 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32490 * malloc/memusage.c (mmap): Likewise.
32491 (mmap64, mremap): Likewise. Adjust name in comment.
32493 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32495 * libio/fileops.c: Fix typos in comments.
32496 * libio/oldfileops.c: Likewise.
32497 * libio/wfileops.c: Likewise.
32499 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32502 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32503 (tst-malloc-usable-ENV): Set environment for test case.
32504 * malloc/hooks.c (malloc_check_get_size): New function to get
32506 * malloc/malloc.c (musable): Use malloc_check_get_size.
32507 * malloc/tst-malloc-usable.c: New test case.
32509 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32511 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32513 2012-09-05 Allan McRae <allan@archlinux.org>
32516 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32517 determine header location.
32518 * configure: Regenerated.
32520 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32522 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32524 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32525 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32527 (test): Regenerate.
32529 2012-09-04 David S. Miller <davem@davemloft.net>
32531 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32532 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32533 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32535 2012-09-04 Florian Weimer <fweimer@redhat.com>
32537 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32540 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32542 2012-09-04 Joseph Myers <joseph@codesourcery.com>
32545 * libio/iogetdelim.c: Include <limits.h>.
32546 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32547 + len + 1 would overflow.
32549 2012-09-03 Andreas Jaeger <aj@suse.de>
32551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32552 * sysdeps/i386/fpu/libm-test-ulps: Update.
32554 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32556 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32557 Add s_sinf-sse2, s_conf-sse2.
32559 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32560 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32561 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32562 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32564 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32565 for using routine as __sinf_ia32.
32566 Use macro for function declaration and weak_alias.
32567 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32568 for using routine as __cosf_ia32.
32569 Use macro for function declaration and weak_alias.
32571 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32572 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32574 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32575 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32578 * math/libm-test.inc (cos_test): Add more test cases.
32579 (sin_test): Likewise.
32580 (sincos_test): Likewise.
32582 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32584 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32585 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32587 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32589 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32592 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32593 first element of the GOT.
32594 (elf_machine_load_address): Return the difference between
32595 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32597 2012-09-01 Allan McRae <allan@archlinux.org>
32600 * configure.in (AWK): Require gawk version 3.0 or later.
32601 * configure: Regenerated.
32603 2012-09-01 Joseph Myers <joseph@codesourcery.com>
32605 * sysdeps/unix/sysv/linux/kernel-features.h
32606 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32607 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32608 [__NR_clock_getres]: Make code unconditional.
32609 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32610 (clock_getcpuclockid): Remove code left unreachable by removal of
32612 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32613 code unconditional.
32614 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32615 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32616 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32617 Make code unconditional.
32618 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32619 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32620 * sysdeps/unix/sysv/linux/clock_settime.c
32621 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32623 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32624 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32626 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32629 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32630 scripts/test-installation.pl.
32632 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32633 and $ld_so_version if it is set.
32635 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32638 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32639 failure if reading from procfs failed.
32640 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32642 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32644 * sysdeps/unix/sysv/linux/kernel-features.h
32645 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32646 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32647 Remove conditional code.
32648 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32649 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32650 Remove conditional code.
32651 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32652 * sysdeps/unix/sysv/linux/i386/fxstat.c
32653 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32655 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32656 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32657 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32658 * sysdeps/unix/sysv/linux/i386/lxstat.c
32659 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32661 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32662 Remove conditional code.
32663 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32664 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32665 Remove conditional code.
32666 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32667 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32668 <kernel-features.h>.
32669 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32671 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32672 Remove conditional code.
32673 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32674 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32675 Remove conditional.
32677 2012-08-27 Mike Frysinger <vapier@gentoo.org>
32680 * NEWS: Add fixed bug number.
32682 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32685 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32686 underflowing exponent in case of negative sign.
32687 * stdlib/tst-strtod-round-data: Add more tests.
32688 * stdlib/tst-strtod-round.c (tests): Regenerated.
32691 * stdlib/strtod_l.c (NDIG): Remove.
32692 (HEXNDIG): Likewise.
32693 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32694 smallest representable value.
32695 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32696 lie within an exact representation of 1/2 ulp of the result.
32697 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32699 (TENS_P9_IDX): Define unconditionally.
32700 (TENS_P9_SIZE): Likewise.
32701 (TENS_P10_IDX): Likewise.
32702 (TENS_P10_SIZE): Likewise.
32703 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32704 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32705 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32706 entries for 10^2^13 and 10^2^14.
32707 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32708 (TENS_P13_IDX): Define.
32709 (TENS_P13_SIZE): Likewise.
32710 (TENS_P14_IDX): Likewise.
32711 (TENS_P14_SIZE): Likewise.
32712 (_fpioconst_pow10): Change array size to
32713 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32715 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32716 1024]: Add entries for 10^2^13 and 10^2^14.
32717 [LAST_POW10 > _LAST_POW10]: Remove #error.
32718 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32719 (_fpioconst_pow10): Change array size to
32720 FPIOCONST_POW10_ARRAY_SIZE.
32721 * stdlib/gen-fpioconst.c: New file.
32722 * stdlib/gen-tst-strtod-round.c: Likewise.
32723 * stdlib/tst-strtod-round-data: Likewise.
32724 * stdlib/tst-strtod-round.c: Likewise.
32725 * stdlib/Makefile (tests): Add tst-strtod-round.
32728 * stdlib/strtod_l.c: Include <stdint.h>.
32729 (NDEBUG): Do not define.
32730 (round_and_return): Change EXPONENT parameter to type intmax_t.
32731 Rearrange calculations to avoid internal overflow possibilities.
32732 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32733 Rearrange calculations to avoid internal overflow possibilities.
32734 Assert that number fits inside MPNSIZE limbs.
32735 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32736 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32737 calculations and add assertions to avoid internal overflow
32738 possibilities. Add casts to avoid signed/unsigned operations.
32739 * stdlib/tst-strtod-overflow.c: New file.
32740 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32742 2012-08-25 Marek Polacek <polacek@redhat.com>
32744 * time/time.h: Fix some typos in comments.
32746 2012-08-23 Roland McGrath <roland@hack.frob.com>
32748 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32749 * posix/tst-rfc3484-2.c: Likewise.
32750 * posix/tst-rfc3484-3.c: Likewise.
32752 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32754 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32755 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32757 2012-08-23 Joseph Myers <joseph@codesourcery.com>
32759 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32760 #include of fxstatat64.c.
32762 2012-08-22 Roland McGrath <roland@hack.frob.com>
32764 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32765 * shadow/getspent_r.c: Likewise.
32766 * shadow/getspnam.c: Likewise.
32767 * shadow/getspnam_r.c: Likewise.
32768 * gshadow/getsgent.c: Likewise.
32769 * gshadow/getsgent_r.c: Likewise.
32770 * gshadow/getsgnam.c: Likewise.
32771 * gshadow/getsgnam_r.c: Likewise.
32772 * inet/getnetbyad.c: Likewise.
32773 * inet/getnetbyad_r.c: Likewise.
32774 * inet/getnetbynm.c: Likewise.
32775 * inet/getnetbynm_r.c: Likewise.
32776 * inet/getnetent.c: Likewise.
32777 * inet/getnetent_r.c: Likewise.
32778 * inet/getproto.c: Likewise.
32779 * inet/getproto_r.c: Likewise.
32780 * inet/getprtent.c: Likewise.
32781 * inet/getprtent_r.c: Likewise.
32782 * inet/getprtname.c: Likewise.
32783 * inet/getprtname_r.c: Likewise.
32784 * inet/getrpcbyname.c: Likewise.
32785 * inet/getrpcbyname_r.c: Likewise.
32786 * inet/getrpcbynumber.c: Likewise.
32787 * inet/getrpcbynumber_r.c: Likewise.
32788 * inet/getrpcent.c: Likewise.
32789 * inet/getrpcent_r.c: Likewise.
32790 * inet/getaliasent.c: Likewise.
32791 * inet/getaliasent_r.c: Likewise.
32792 * inet/getaliasname.c: Likewise.
32793 * inet/getaliasname_r.c: Likewise.
32794 * nscd/getgrgid_r.c: Likewise.
32795 * nscd/getgrnam_r.c: Likewise.
32796 * nscd/gethstbyad_r.c: Likewise.
32797 * nscd/gethstbynm3_r.c: Likewise.
32798 * nscd/getpwnam_r.c: Likewise.
32799 * nscd/getpwuid_r.c: Likewise.
32800 * nscd/getsrvbynm_r.c: Likewise.
32801 * nscd/getsrvbypt_r.c: Likewise.
32802 * nscd/gai.c: Likewise.
32804 * configure.in (build_nscd): New substituted variable, set
32805 by --disable-build-nscd and defaults to $use_nscd.
32806 * configure: Regenerated.
32807 * config.make.in (build-nscd): New substituted variable.
32808 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32809 Change conditional to require [$(build-nscd) = yes] as well.
32810 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32813 * configure.in (use_nscd): New substituted variable, set by
32814 --disable-nscd. If enabled, define USE_NSCD.
32815 * configure: Regenerated.
32816 * config.h.in: Add USE_NSCD.
32817 * config.make.in (use-nscd): New substituted variable.
32818 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32819 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32820 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32821 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32822 (CFLAGS-getgrnam_r.c): Likewise.
32823 (CFLAGS-initgroups.c): Likewise.
32824 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32825 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32827 * inet/getnetgrent_r.c
32828 (nscd_setnetgrent): New function, broken out of ...
32829 (setnetgrent): ... here. Call it.
32830 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32831 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32832 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32833 * nscd/Makefile (routines, aux): Move definitions after include of
32834 Makeconfig. Conditionalize on [$(use-nscd) != no].
32835 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32836 Conditionalize on [USE_NSCD].
32837 (is_nscd, nscd_init_cb): Likewise.
32838 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32839 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32840 * nss/nss_db/db-init.c: Likewise.
32841 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32843 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32844 (make_request): Use it.
32845 (cache_valid_p): New function.
32846 (__check_pf): Use it.
32847 * NEWS: Add item for --disable-nscd.
32849 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32851 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32852 to support sed >= 4.2.1-20-ga9bf076.
32853 * configure: Regenerated.
32855 2012-08-22 Roland McGrath <roland@hack.frob.com>
32857 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32858 Conditionalize whole body on [IREL].
32860 2012-08-22 Jeff Law <law@redhat.com>
32863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32864 if the family is PF_UNSPEC.
32866 2012-08-22 Mike Frysinger <vapier@gentoo.org>
32868 * Makerules (lib-version): Rename from V.
32869 (install-lib-nosubdir): Change V to lib-version.
32871 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32874 * powerpc32/power6/wcschr.c: New file.
32875 * powerpc32/power6/wcscpy.c: New file.
32876 * powerpc32/power6/wcsrchr.c: New file.
32877 * powerpc64/power6/wcschr.c: New file.
32878 * powerpc64/power6/wcscpy.c: New file.
32879 * powerpc64/power6/wcsrchr.c: New file.
32881 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32883 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32884 (two_way_short_needle): Use it.
32885 * string/strstr.c (AVAILABLE1_USES_J): Define.
32886 * string/strcasestr.c: Likewise.
32888 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32890 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32893 * NEWS: Add an entry.
32894 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32895 define their defaults.
32896 (two_way_short_needle): Detect end-of-string on-the-fly.
32897 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32898 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32899 * string/bug-strcasestr1.c: New test.
32900 * string/Makefile: Run it.
32902 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32905 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32906 the first character.
32908 2012-08-21 Roland McGrath <roland@hack.frob.com>
32910 * csu/elf-init.c (__libc_csu_irel): Function removed.
32911 * csu/libc-start.c (apply_irel): New function.
32912 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32914 2012-08-21 Joseph Myers <joseph@codesourcery.com>
32916 * sysdeps/unix/sysv/linux/kernel-features.h
32917 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32918 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32919 <kernel-features.h>.
32920 [__NR_fadvise64_64]: Make code unconditional.
32921 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32922 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32923 !__NR_fadvise64_64)]: Likewise.
32924 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32925 !__NR_fadvise64_64))]: Likewise.
32926 [__NR_fadvise64]: Make code unconditional.
32927 [!__NR_fadvise64]: Remove conditional code.
32928 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32929 <kernel-features.h>.
32930 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32932 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32935 not include <kernel-features.h>.
32936 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32938 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32940 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32941 include <kernel-features.h>.
32942 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32944 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32947 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32950 slight instruction rearrangements per scrollpipe analysis.
32951 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32953 2012-08-20 Roland McGrath <roland@hack.frob.com>
32955 * manual/syslog.texi (syslog; vsyslog, closelog):
32956 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32957 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32959 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32960 DSOCAPS to match condition on defining it.
32962 2012-08-20 Joseph Myers <joseph@codesourcery.com>
32964 * sysdeps/unix/sysv/linux/kernel-features.h
32965 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32967 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32968 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32970 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32971 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32973 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32974 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32976 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32977 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32979 * sysdeps/unix/sysv/linux/kernel-features.h
32980 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32981 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32983 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32984 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32985 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32986 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32987 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32988 Make code unconditional.
32989 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32990 (__mmap64) [!__NR_mmap2]: Likewise.
32991 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32992 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32993 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32994 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32995 [__NR_mmap2]: Make code unconditional.
32996 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32997 (__mmap64) [!__NR_mmap2]: Likewise.
32999 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33001 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33003 2012-08-18 Andreas Jaeger <aj@suse.de>
33005 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33007 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33009 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33010 * include/unistd.h (__have_sock_cloexec): Likewise.
33011 (__have_pipe2): Likewise.
33012 (__have_dup3): Likewise.
33014 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33017 * include/unistd.h (__have_pipe2): Change define into an extern int.
33018 (__have_dup3): Likewise.
33019 * socket/have_sock_cloexec.c: Include fcntl.h.
33020 (__have_pipe2): New variable.
33021 (__have_dup3): Likewise.
33023 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33025 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33027 2012-08-17 Marek Polacek <polacek@redhat.com>
33029 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33030 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33032 2012-08-17 Roland McGrath <roland@hack.frob.com>
33034 * configure.in: Add AC_SUBST for sysheaders.
33035 * configure: Regenerated.
33036 * config.make.in (sysheaders): New substituted variable.
33038 * sysdeps/unix/mkfifo.c: Moved ...
33039 * sysdeps/posix/mkfifo.c: ... here.
33040 * sysdeps/unix/mkfifoat.c: Moved ...
33041 * sysdeps/posix/mkfifoat.c: ... here.
33043 * sysdeps/unix/utime.c: Moved ...
33044 * sysdeps/posix/utime.c: ... here.
33046 * sysdeps/unix/time.c: Moved ...
33047 * sysdeps/posix/time.c: ... here.
33048 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33049 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33051 * sysdeps/unix/nice.c: Moved ...
33052 * sysdeps/posix/nice.c: ... here.
33054 * sysdeps/unix/alarm.c: Moved ...
33055 * sysdeps/posix/alarm.c: ... here.
33057 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33059 2012-08-17 Jeff Law <law@redhat.com>
33061 * intl/Makefile (codeset_mo): New variable.
33062 ($(codeset_mo)): New target.
33063 (tst-codeset.out): Depend on that. Remove explicit rule.
33064 (tst-gettext3.out, tst-gettext5.out): Likewise.
33065 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33066 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33067 * intl/tst-codeset.sh: Remove.
33068 * intl/tst-gettext3.sh: Likewise.
33069 * intl/tst-gettext5.sh: Likewise.
33071 2012-08-17 Roland McGrath <roland@hack.frob.com>
33073 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33074 * sysdeps/unix/syscalls.list: ... here.
33076 * sysdeps/posix/getaddrinfo.c
33077 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33078 (gaiconf_init, gaiconf_reload): Use them.
33079 [!_STATBUF_ST_NSEC]
33080 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33081 Define using time_t rather than struct timespec.
33083 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33084 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33086 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33088 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33089 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33092 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33093 __libc_cleanup_push argument.
33095 * bits/param.h: New file.
33096 * misc/sys/param.h: New file.
33097 * include/sys/param.h: New file.
33098 * misc/Makefile (headers): Add bits/param.h.
33099 * sysdeps/generic/sys/param.h: File removed.
33100 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33101 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33102 * sysdeps/mach/hurd/bits/param.h: New file.
33103 * sysdeps/mach/hurd/sys/param.h: File removed.
33105 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33108 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33110 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33111 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33114 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33115 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33116 rather than -D_IO_MTSAFE_IO conditionally.
33117 * stdio-common/Makefile (CPPFLAGS): Likewise.
33118 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33119 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33120 Use $(libio-mtsafe).
33121 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33122 of -D_IO_MTSAFE_IO.
33123 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33124 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33125 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33126 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33127 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33128 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33129 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33130 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33131 (CFLAGS-fread_u_chk.c): Likewise.
33132 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33133 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33134 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33135 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33136 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33137 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33138 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33139 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33140 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33142 * libio/Makefile: Test [$(libc-reentrant) = yes]
33143 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33146 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33147 * sysdeps/pthread/configure: File removed.
33148 * sysdeps/pthread/Makeconfig: New file.
33149 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33150 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33152 2012-08-16 Gary Benson <gbenson@redhat.com>
33154 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33155 unmapping the first object in a namespace.
33157 2012-08-16 Roland McGrath <roland@hack.frob.com>
33159 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33160 (__internal_setnetgrent): ... this. Add internal_function to
33161 definition. Add libc_hidden_def.
33162 (setnetgrent): Update caller.
33163 (internal_endnetgrent): Renamed to ...
33164 (__internal_endnetgrent): ... this. Add internal_function to
33165 definition. Add libc_hidden_def.
33166 (endnetgrent): Update caller.
33167 (internal_getnetgrent_r): Renamed to ...
33168 (__internal_getnetgrent_r): ... this. Add internal_function to
33169 definition. Add libc_hidden_def.
33170 (__getnetgrent_r): Update caller.
33171 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33173 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33175 * stdlib/longlong.h: Update from GCC.
33177 2012-08-16 Roland McGrath <roland@hack.frob.com>
33179 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33180 on _QL, which is set by umul_ppmm but never used.
33181 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33182 variables, which are set by GMP macros but never used.
33183 * stdio-common/_itowa.c (_itowa): Likewise.
33184 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33185 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33187 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33189 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33190 struct La_sh_regs is not constant.
33191 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33192 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33193 and struct La_sparc64_regs are not constant.
33195 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33197 * sysdeps/unix/sysv/linux/kernel-features.h
33198 (__ASSUME_POSIX_TIMERS): Remove.
33199 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33200 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33201 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33202 Make code unconditional.
33203 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33204 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33205 Make code unconditional.
33206 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33207 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33208 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33209 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33210 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33211 Make code unconditional.
33212 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33213 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33214 (__libc_missing_posix_timers): Remove.
33216 2012-08-15 Roland McGrath <roland@hack.frob.com>
33218 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33219 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33221 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33223 * elf/dl-sym.c: Include <stdlib.h>.
33225 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33226 constants, which avoids warnings in 32-bit builds.
33228 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33229 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33231 * misc/lseek.c: File moved to ...
33232 * io/lseek.c: ... here.
33234 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33236 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33237 shifting LEN more than 31 bits at once.
33239 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33242 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33243 segmentation fault for a case of two empty input strings.
33244 * string/test-strncasecmp.c (check1): Renamed to...
33245 (bz12205): ...this.
33246 (bz14195): Add new testcase for two empty input strings and N > 0.
33247 (test_main): Call new testcase, adapt for renamed function.
33249 2012-08-15 Andreas Jaeger <aj@suse.de>
33252 * crypt/md5test2.c: New test, based on test supplied by Serge
33253 Belyshev <belyshev@depni.sinp.msu.ru>.
33254 * crypt/Makefile (xtests): Add md5test-giant..
33255 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33257 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33260 * crypt/md5.c (md5_process_block): Don't assume the buffer
33261 length is less than 2**32.
33262 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33263 length is less than 2**64.
33265 2012-08-15 Roland McGrath <roland@hack.frob.com>
33267 * string/str-two-way.h: Include <sys/param.h>.
33268 (MAX): Macro removed.
33270 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33271 Move #define and #undef of memmove to just before and after
33272 including <string.h>.
33274 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33275 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33276 and after including <string.h>. Move declarations of
33277 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33278 to before #include "string/memmove.c".
33280 * include/dirent.h: Declare __getdirentries.
33282 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33283 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33285 2012-08-14 Mike Frysinger <vapier@gentoo.org>
33287 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33288 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33289 * sysdeps/i386/configure: Regenerated.
33290 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33291 STABS_CURRENT_FILE, and STABS_FUN.
33292 (END): Remove call to STABS_FUN_END.
33293 (STABS_CURRENT_FILE1): Delete.
33294 (STABS_CURRENT_FILE): Likewise.
33295 (STABS_FUN): Likewise.
33296 (STABS_FUN_END): Likewise.
33297 (STABS_FUN2): Likewise.
33298 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33299 * sysdeps/x86_64/configure: Regenerated.
33301 2012-08-14 Roland McGrath <roland@hack.frob.com>
33303 * elf/dl-open.c: Include <atomic.h>.
33304 * elf/dl-lookup.c: Likewise.
33306 2012-08-14 Joseph Myers <joseph@codesourcery.com>
33308 * sysdeps/unix/sysv/linux/kernel-features.h
33309 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33310 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33312 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33314 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33315 condition on __ASSUME_CLONE_THREAD_FLAGS.
33317 2012-08-14 Andreas Jaeger <aj@suse.de>
33319 * sysdeps/i386/fpu/libm-test-ulps: Update.
33321 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33323 * include/atomic.h (atomic_exchange_and_add): Split into ...
33324 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33327 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33331 2012-08-13 Jeff Law <law@redhat.com>
33333 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33334 null byte in the output string.
33336 2012-08-10 Joseph Myers <joseph@codesourcery.com>
33338 * sysdeps/unix/sysv/linux/kernel-features.h
33339 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33340 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33341 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33342 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33343 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33344 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33345 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33347 2012-08-09 Jeff Law <law@redhat.com>
33350 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33351 When avoid_arena is set, don't retry in the that arena. Pick the
33352 next one, whatever it might be.
33353 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33354 (arena_lock): Pass in new parameter to arena_get2.
33355 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33357 (__libc_malloc): Unify retrying after main arena failure with
33358 __libc_memalign version.
33359 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33361 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33364 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33365 to __redirect_strstr.
33366 (__strstr_sse42): Use typeof __redirect_strstr.
33367 (__strstr_ia32): Likewise.
33368 (__libc_strstr): New prototype.
33369 (strstr): Renamed to ...
33370 (__libc_strstr): This.
33371 (strstr): New strong alias of __libc_strstr.
33372 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33373 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33376 (__libc_time): New prototype.
33377 (time_ifunc): Replace time with __libc_time.
33378 (time): New strong alias and hidden definition of __libc_time.
33379 (__GI_time): Remove strong alias.
33380 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33381 Include <stddef.h>.
33382 (memmove): Redefined to __redirect_memmove.
33383 (__memmove_sse2): Use typeof __redirect_memmove.
33384 (__memmove_ssse3): Likewise.
33385 (__memmove_ssse3_back): Likewise.
33386 (__libc_memmove): New prototype.
33387 (memmove): Renamed to ...
33388 (__libc_memmove): This.
33389 (memmove): New strong alias of __libc_memmove.
33391 2012-08-08 Mark Salter <msalter@redhat.com>
33394 (R_MN10300_TLS_GD): Define.
33395 (R_MN10300_TLS_LD): Likewise.
33396 (R_MN10300_TLS_LDO): Likewise.
33397 (R_MN10300_TLS_GOTIE): Likewise.
33398 (R_MN10300_TLS_IE): Likewise.
33399 (R_MN10300_TLS_LE): Likewise.
33400 (R_MN10300_TLS_DTPMOD): Likewise.
33401 (R_MN10300_TLS_DTPOFF): Likewise.
33402 (R_MN10300_TLS_TPOFF): Likewise.
33403 (R_MN10300_SYM_DIFF): Likewise.
33404 (R_MN10300_ALIGN): Likewise.
33405 (R_MN10300_NUM): Update.
33407 2012-08-08 Joseph Myers <joseph@codesourcery.com>
33409 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33412 2012-08-08 Roland McGrath <roland@hack.frob.com>
33414 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33416 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33417 sysdeps/unix -> sysdeps/posix move.
33418 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33420 2012-08-07 Allan McRae <allan@archlinux.org>
33423 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33424 (SUNOS_CPP): Likewise.
33425 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33427 (open_input): Call CPP using execvp.
33429 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33431 * sysdeps/unix/sysv/linux/kernel-features.h
33432 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33433 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33434 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33435 (__ASSUME_WAITID_SYSCALL): Likewise.
33436 * sysdeps/unix/sysv/linux/dl-execstack.c
33437 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33438 code unconditional.
33439 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33441 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33442 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33443 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33445 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33447 [__ASSUME_WAITID_SYSCALL]: Likewise.
33448 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33450 2012-08-07 Roland McGrath <roland@hack.frob.com>
33452 * sysdeps/unix/closedir.c: Renamed to ...
33453 * sysdeps/posix/closedir.c: ... here.
33454 * sysdeps/unix/dirfd.c: Renamed to ...
33455 * sysdeps/posix/dirfd.c: ... here.
33456 * sysdeps/unix/dirstream.h: Renamed to ...
33457 * sysdeps/posix/dirstream.h: ... here.
33458 * sysdeps/unix/fdopendir.c: Renamed to ...
33459 * sysdeps/posix/fdopendir.c: ... here.
33460 * sysdeps/unix/opendir.c: Renamed to ...
33461 * sysdeps/posix/opendir.c: ... here.
33462 * sysdeps/unix/readdir.c: Renamed to ...
33463 * sysdeps/posix/readdir.c: ... here.
33464 * sysdeps/unix/readdir_r.c: Renamed to ...
33465 * sysdeps/posix/readdir_r.c: ... here.
33466 * sysdeps/unix/rewinddir.c: Renamed to ...
33467 * sysdeps/posix/rewinddir.c: ... here.
33468 * sysdeps/unix/seekdir.c: Renamed to ...
33469 * sysdeps/posix/seekdir.c: ... here.
33470 * sysdeps/unix/telldir.c: Renamed to ...
33471 * sysdeps/posix/telldir.c: ... here.
33472 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33473 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33474 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33475 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33477 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33478 * bits/fcntl.h: ... here.
33480 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33482 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33483 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33484 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33485 (struct flock): Move l_start, l_len to the beginning.
33486 Use __pid_t for l_pid.
33487 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33488 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33489 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33490 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33491 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33492 [__USE_LARGEFILE64] (struct flock64): New type.
33493 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33495 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33496 * bits/dirent.h: ... here.
33498 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33499 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33501 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33503 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33504 Change from 2.6.0 to 2.6.16.
33505 * sysdeps/unix/sysv/linux/configure: Regenerated.
33506 * sysdeps/unix/sysv/linux/kernel-features.h
33507 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33508 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33510 (__ASSUME_UTIMES): Likewise.
33511 (__ASSUME_CLONE_STOPPED): Remove.
33512 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33513 architectures, not kernel version.
33514 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33515 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33516 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33517 (__ASSUME_WAITID_SYSCALL): Likewise.
33518 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33519 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33520 * README: State 2.6.16 as minimum Linux kernel version. Do not
33521 refer to older versions.
33523 2012-08-06 Roland McGrath <roland@hack.frob.com>
33525 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33526 Define alphasort64 as an alias.
33527 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33528 Define versionsort64 as an alias.
33529 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33530 Define scandir64 as an alias.
33531 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33532 Define scandirat64 as an alias.
33533 * dirent/alphasort64.c (alphasort64):
33534 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33535 * dirent/versionsort64.c: Likewise.
33536 * dirent/scandir64.c: Likewise.
33537 * dirent/scandirat64.c: Likewise.
33538 * sysdeps/wordsize-64/alphasort.c: File removed.
33539 * sysdeps/wordsize-64/alphasort64.c: File removed.
33540 * sysdeps/wordsize-64/scandir.c: File removed.
33541 * sysdeps/wordsize-64/scandir64.c: File removed.
33542 * sysdeps/wordsize-64/scandirat.c: File removed.
33543 * sysdeps/wordsize-64/scandirat64.c: File removed.
33544 * sysdeps/wordsize-64/versionsort.c: File removed.
33545 * sysdeps/wordsize-64/versionsort64.c: File removed.
33546 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33547 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33548 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33549 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33550 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33551 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33552 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33553 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33555 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33556 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33557 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33558 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33559 [defined __arch64__ || defined __sparcv9]
33560 (__INO_T_MATCHES_INO64_T): New macro.
33561 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33562 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33563 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33564 * sysdeps/unix/sysv/linux/bits/dirent.h
33565 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33566 (_DIRENT_MATCHES_DIRENT64): New macro.
33568 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33569 Define lockf64 as an alias.
33570 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33571 Define fseeko64 as an alias.
33572 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33573 Define ftello64 as an alias.
33574 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33575 Define _IO_fgetpos64 and fgetpos64 as aliases.
33576 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33577 Define _IO_fsetpos64 and fsetpos64 as aliases.
33578 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33579 Conditionalize body on this.
33580 * libio/fseeko64.c: Likewise.
33581 * libio/ftello64.c: Likewise.
33582 * libio/iofgetpos64.c: Likewise.
33583 * libio/iofsetpos64.c: Likewise.
33584 * sysdeps/wordsize-64/lockf.c: File removed.
33585 * sysdeps/wordsize-64/lockf64.c: File removed.
33586 * sysdeps/wordsize-64/fseeko.c: File removed.
33587 * sysdeps/wordsize-64/fseeko64.c: File removed.
33588 * sysdeps/wordsize-64/ftello.c: File removed.
33589 * sysdeps/wordsize-64/ftello64.c: File removed.
33590 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33591 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33592 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33593 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33594 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33595 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33596 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33597 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33598 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33599 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33600 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33601 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33602 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33603 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33605 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33606 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33607 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33609 [defined __arch64__ || defined __sparcv9]
33610 (__OFF_T_MATCHES_OFF64_T): New macro.
33611 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33612 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33613 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33614 (__OFF_T_MATCHES_OFF64_T): New macro.
33616 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33618 * stdlib/secure-getenv.c (__secure_getenv): Replace
33619 GLIBC_2_16 with GLIBC_2_17.
33621 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33623 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33624 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33626 2012-08-03 David S. Miller <davem@davemloft.net>
33628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33630 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33632 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33634 (__ASSUME_CORRECT_SI_PID): Likewise.
33635 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33636 (__ASSUME_TMPFS_NAME): Likewise.
33637 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33638 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33639 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33640 (HAVE_AUX_SECURE): Make definition unconditional.
33641 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33642 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33644 2012-08-03 Roland McGrath <roland@hack.frob.com>
33646 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33647 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33648 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33649 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33650 __eloop_threshold instead of SYMLOOP_MAX.
33652 * sysdeps/generic/eloop-threshold.h: New file.
33653 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33655 * elf/chroot_canon.c (chroot_canon): Likewise.
33657 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33661 Change to 2.6.0 everywhere.
33662 * sysdeps/unix/sysv/linux/configure: Regenerated.
33663 * sysdeps/unix/sysv/linux/kernel-features.h
33664 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33665 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33667 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33668 (__ASSUME_FUTEX_REQUEUE): Remove.
33669 (__ASSUME_STATFS64): Define unconditionally.
33670 (__ASSUME_AT_SECURE): Likewise.
33671 (__ASSUME_CORRECT_SI_PID): Likewise.
33672 (__ASSUME_TGKILL): Define without depending on kernel version for
33674 (__ASSUME_UTIMES): Likewise.
33675 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33677 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33678 (__ASSUME_TMPFS_NAME): Likewise.
33679 * README: Update reference to Linux kernel versions.
33681 2012-08-02 Marek Polacek <polacek@redhat.com>
33684 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33685 libc_cv_asm_type_prefix with %.
33686 * configure: Regenerated.
33687 * include/libc-symbols.h: Remove comment about
33688 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33689 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33690 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33691 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33692 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33693 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33694 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33695 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33696 * elf/tst-unique2mod1.c: Likewise.
33697 * elf/tst-unique1mod2.c: Likewise.
33698 * elf/tst-unique1mod1.c: Likewise.
33699 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33700 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33701 Replace ASM_TYPE_DIRECTIVE with .type.
33702 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33703 * sysdeps/i386/sysdep.h: Likewise.
33704 * sysdeps/x86_64/sysdep.h: Likewise.
33705 * sysdeps/sh/sysdep.h: Likewise.
33706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33707 Do not define ASM_TYPE_DIRECTIVE.
33708 * sysdeps/powerpc/sysdep.h: Likewise.
33709 * sysdeps/powerpc/powerpc32/sysdep.h:
33710 Replace ASM_TYPE_DIRECTIVE with .type.
33711 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33712 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33713 * sysdeps/i386/fpu/e_powf.S: Likewise.
33714 * sysdeps/i386/fpu/e_expl.S: Likewise.
33715 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33717 * sysdeps/i386/fpu/e_pow.S: Likewise.
33718 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33719 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33720 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33721 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33722 * sysdeps/i386/fpu/e_log2.S: Likewise.
33723 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33724 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33725 * sysdeps/i386/fpu/e_powl.S: Likewise.
33726 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33727 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33728 * sysdeps/i386/fpu/e_logl.S: Likewise.
33729 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33730 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33731 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33732 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33733 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33734 * sysdeps/i386/fpu/e_log.S: Likewise.
33735 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33736 * sysdeps/i386/fpu/e_logf.S: Likewise.
33737 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33738 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33739 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33740 * sysdeps/i386/fpu/e_log10.S: Likewise.
33741 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33742 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33743 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33744 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33745 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33746 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33747 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33748 * sysdeps/i386/i686/strtok.S: Likewise.
33749 * sysdeps/i386/i386-mcount.S: Likewise.
33750 * sysdeps/i386/strtok.S: Likewise.
33751 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33752 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33753 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33754 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33755 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33756 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33757 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33758 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33759 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33760 * sysdeps/x86_64/_mcount.S: Likewise.
33761 * sysdeps/x86_64/strtok.S: Likewise.
33762 * sysdeps/sh/_mcount.S: Likewise.
33764 2012-08-01 Roland McGrath <roland@hack.frob.com>
33766 * libio/iofopen.c: Include <fcntl.h>.
33767 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33768 (_IO_fopen64, fopen64): Define as aliases.
33769 * libio/iofopen64.c: Include <fcntl.h>.
33770 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33771 Conditionalize body on this.
33772 * sysdeps/wordsize-64/iofopen.c: File removed.
33773 * sysdeps/wordsize-64/iofopen64.c: File removed.
33775 2012-08-01 Marek Polacek <polacek@redhat.com>
33777 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33778 Use dlfcn directly instead of a variable.
33779 (binfmt-subdir): Do not define.
33782 2012-08-01 Joseph Myers <joseph@codesourcery.com>
33784 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33785 Remove all definitions.
33786 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33787 <kernel-features.h>.
33788 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33789 (miss_F_GETOWN_EX): Remove all definitions.
33790 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33792 [!__ASSUME_FCNTL64]: Remove conditional code.
33793 [__ASSUME_FCNTL64]: Make code unconditional.
33794 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33795 <kernel-features.h>.
33796 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33797 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33798 (lockf64) [__NR_fcntl64]: Make code unconditional.
33799 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33801 * sysdeps/unix/sysv/linux/kernel-features.h
33802 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33803 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33804 Make code unconditional.
33805 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33806 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33808 [__NR_vfork]: Make code unconditional.
33809 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33810 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33812 [__NR_vfork]: Make code unconditional.
33813 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33814 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33816 2012-08-01 Roland McGrath <roland@hack.frob.com>
33818 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33819 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33821 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33822 Define mkstemp64 as an alias.
33823 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33824 Define mkstemps64 as an alias.
33825 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33826 Define mkostemp64 as an alias.
33827 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33828 Define mkostemps64 as an alias.
33829 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33830 Conditionalize body on this.
33831 * misc/mkostemp64.c: Likewise.
33832 * misc/mkostemps64.c: Likewise.
33833 * misc/mkstemps64.c: Likewise.
33834 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33835 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33836 * sysdeps/wordsize-64/mkostemp.c: File removed.
33837 * sysdeps/wordsize-64/mkstemp.c: File removed.
33838 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33839 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33840 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33841 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33844 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33845 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33846 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33847 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33849 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33850 compat_symbol macros from <shlib-compat.h> rather than the underlying
33851 default_symbol_version and symbol_version macros, so that DEFAULT
33852 lines in shlib-versions are respected.
33853 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33855 2012-08-01 Florian Weimer <fweimer@redhat.com>
33857 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33858 Declare with warn_unused_result.
33859 (setgid, setregid, setegid, setresgid): Likewise.
33860 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33862 * WUR-REPORT: Remove set*id functions.
33864 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33866 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33868 2012-07-31 Roland McGrath <roland@hack.frob.com>
33871 * include/sys/socket.h (__libc_accept, __libc_accept4):
33872 Add attribute_hidden.
33873 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33875 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33877 * inet/getnetgrent_r.c (setup): Likewise.
33879 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33881 2012-07-31 David S. Miller <davem@davemloft.net>
33883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33885 2012-07-31 Joseph Myers <joseph@codesourcery.com>
33888 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33889 value between 1.0 and 2.0 and smaller part has absolute value less
33891 * math/s_clog10.c (__clog10): Likewise.
33892 * math/s_clog10f.c (__clog10f): Likewise.
33893 * math/s_clog10l.c (__clog10l): Likewise.
33894 * math/s_clogf.c (__clogf): Likewise.
33895 * math/s_clogl.c (__clogl): Likewise.
33896 * math/libm-test.inc (clog_test): Add more tests.
33897 (clog10_test): Likewise.
33898 * sysdeps/i386/fpu/libm-test-ulps: Update.
33899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33901 2012-07-31 Florian Weimer <fweimer@redhat.com>
33903 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33904 Exit with zero in case no suitable GID is found, and write a
33905 message to standard error.
33907 2012-07-30 Roland McGrath <roland@hack.frob.com>
33909 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33911 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33912 (MAXPATHLEN): Removed.
33913 (NOGROUP, NODEV): New macros.
33914 (setbit, clrbit, isset, isclr): New macros.
33915 (howmany, roundup, powerof2): New macros.
33916 (DEV_BSIZE): New macro.
33918 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33919 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33921 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33922 definition on [!__NO_LONG_DOUBLE_MATH].
33924 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33925 PTR_MANGLE and PTR_DEMANGLE.
33927 * socket/accept4.c (accept4): Rename to __libc_accept4.
33928 Define accept4 as a weak alias.
33930 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33931 on [_DIRENT_HAVE_D_TYPE].
33932 * io/ftw.c (ftw_dir): Likewise.
33934 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33936 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33938 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33939 Use the BSD numbers rather than the arbitrary ones we had.
33940 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33941 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33942 (SIGXCPU, SIGXFSZ): New macros.
33945 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33946 initializer on [_LIBC_REENTRANT].
33948 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33949 definitions inside [_POSIX_MAPPED_FILES].
33951 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33953 * dirent/opendir.c: Include <fcntl.h>.
33955 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33956 (__libc_getspecific): Likewise.
33957 (__libc_key_create): Likewise.
33959 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33960 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33961 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33962 (tmpfile64): Define as alias.
33963 * sysdeps/wordsize-64/tmpfile.c: File removed.
33964 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33965 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33966 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33968 * stdio-common/vfscanf.c: Include <stdbool.h>.
33969 * nss/makedb.c: Likewise.
33970 * stdio-common/_i18n_number.h: Likewise.
33971 * argp/argp-help.c: Likewise.
33972 * posix/wordexp.c: Likewise.
33973 * sysdeps/posix/spawni.c: Likewise.
33974 * nss/nss_files/files-initgroups.c: Likewise.
33975 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33976 * nss/nss_files/files-initgroups.c: Likewise.
33977 * nss/nss_db/db-netgrp.c: Likewise.
33978 * nss/nss_db/db-initgroups.c: Likewise.
33979 * io/fchmodat.c: Include <sys/stat.h>.
33981 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33982 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33984 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33987 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33988 Add multiple inclusion protection.
33990 2012-07-27 David S. Miller <davem@davemloft.net>
33992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33994 2012-07-27 Gary Benson <gbenson@redhat.com>
33997 * elf/rtld.c: Include <stap-probe.h>.
33998 (dl_main): Added static probes "init_start" and "init_complete".
33999 * elf/dl-load.c: Include <stap-probe.h>.
34000 (lose): Take new parameter "nsid".
34001 Added static probe "map_failed".
34002 (_dl_map_object_from_fd): Pass namespace id to lose.
34003 Added static probe "map_start".
34004 (open_verify): Pass namespace id to lose.
34005 * elf/dl-open.c: Include <stap-probe.h>.
34006 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34007 and "reloc_complete".
34008 * elf/dl-close.c: Include <stap-probe.h>.
34009 (_dl_close_worker): Added static probes "unmap_start" and
34011 * elf/rtld-debugger-interface.txt: New file documenting the above.
34013 2012-07-26 Roland McGrath <roland@hack.frob.com>
34015 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34016 rather than a string variable.
34017 * sunrpc/rpc_main.c (h_output): Likewise.
34018 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34020 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34022 * inet/check_native.c: New file.
34024 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34027 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34028 if larger part has absolute value 1.0.
34029 * math/s_clog10.c (__clog10): Likewise.
34030 * math/s_clog10f.c (__clog10f): Likewise.
34031 * math/s_clog10l.c (__clog10l): Likewise.
34032 * math/s_clogf.c (__clogf): Likewise.
34033 * math/s_clogl.c (__clogl): Likewise.
34034 * math/libm-test.inc (clog_test): Add more tests.
34035 (clog10_test): Likewise.
34036 * sysdeps/i386/fpu/libm-test-ulps: Update.
34037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34039 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34040 (pltexit): Likewise.
34041 (La_regs): Likewise.
34042 (La_retval): Likewise.
34043 (int_retval): Likewise.
34044 Update #error for removed macros to refer only to definitions in
34046 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34048 (pltexit): Likewise.
34049 (La_regs): Likewise.
34050 (La_retval): Likewise.
34051 (int_retval): Likewise.
34052 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34054 (pltexit): Likewise.
34055 (La_regs): Likewise.
34056 (La_retval): Likewise.
34057 (int_retval): Likewise.
34058 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34060 (pltexit): Likewise.
34061 (La_regs): Likewise.
34062 (La_retval): Likewise.
34063 (int_retval): Likewise.
34064 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34066 (pltexit): Likewise.
34067 (La_regs): Likewise.
34068 (La_retval): Likewise.
34069 (int_retval): Likewise.
34070 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34072 (pltexit): Likewise.
34073 (La_regs): Likewise.
34074 (La_retval): Likewise.
34075 (int_retval): Likewise.
34076 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34078 (pltexit): Likewise.
34079 (La_regs): Likewise.
34080 (La_retval): Likewise.
34081 (int_retval): Likewise.
34082 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34083 macro definitions in tst-audit.h.
34084 * sysdeps/i386/tst-audit.h: New file.
34085 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34086 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34087 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34088 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34089 * sysdeps/sh/tst-audit.h: Likewise.
34090 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34091 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34092 * sysdeps/x86_64/tst-audit.h: Likewise.
34094 2012-07-26 Andreas Jaeger <aj@suse.de>
34096 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34099 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34100 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34101 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34103 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34104 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34105 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34107 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34110 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34112 (si_call_addr, si_syscall, si_arch): Define new macro.
34113 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34115 (si_call_addr, si_syscall, si_arch): Define new marcro.
34116 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34118 (si_call_addr, si_syscall, si_arch): Define new macro.
34119 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34121 (si_call_addr, si_syscall, si_arch): Define new macro.
34123 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34126 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34127 Change to 2.4.21 where previously 2.4.1.
34128 * sysdeps/unix/sysv/linux/configure: Regenerated.
34129 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34130 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34131 Linux kernel version.
34132 (__ASSUME_STD_AUXV): Remove.
34133 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34135 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34136 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34137 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34138 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34139 (__ASSUME_NETLINK_SUPPORT): Likewise.
34140 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34141 (__no_netlink_support): Remove conditional definition.
34142 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34144 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34145 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34146 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34147 (if_nameindex_ioctl): Remove.
34148 (if_nameindex_netlink): Do not handle __no_netlink_support.
34149 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34151 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34152 Remove conditional code.
34153 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34155 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34157 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34158 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34159 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34161 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34162 [!__ASSUME_STD_AUXV]: Remove conditional code.
34163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34164 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34165 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34167 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34168 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34170 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34172 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34173 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34175 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34177 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34180 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34183 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34184 code unconditional.
34185 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34187 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34189 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34192 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34194 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34197 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34198 code unconditional.
34199 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34201 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34203 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34206 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34207 code unconditional.
34208 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34210 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34212 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34215 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34217 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34218 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34219 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34220 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34221 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34222 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34223 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34224 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34225 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34226 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34227 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34228 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34229 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34230 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34231 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34232 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34233 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34234 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34235 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34237 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34238 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34239 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34241 2012-07-25 Florian Weimer <fweimer@redhat.com>
34243 * Versions.def: Add GLIBC_2.17.
34244 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34245 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34246 Introduce __libc_secure_getenv.
34247 * stdlib/Versions (2.17): Add secure_getenv
34248 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34249 * stdlib/secure-getenv.c: Rename __secure_getenv to
34250 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34251 symbol __secure_getenv for GLIBC_2.0.
34252 * stdlib/tst-secure-getenv.c: New.
34253 * stdlib/Makefile (tests): Add testcase.
34254 * manual/startup.texi (Environment Access): Document
34256 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34257 __libc_secure_getenv.
34258 * inet/ruserpass.c (ruserpass): Likewise.
34259 * malloc/mtrace.c (mtrace): Likewise.
34260 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34261 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34262 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34263 * sysdeps/posix/tempname.c: Likewise. Evaluate
34264 HAVE_SECURE_GETENV.
34265 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34266 __secure_getenv to __libc_secure_getenv.
34267 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34280 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34282 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34283 (struct La_i86_retval): Likewise.
34284 (struct La_x86_64_regs): Likewise.
34285 (struct La_x86_64_retval): Likewise.
34286 (struct La_x32_regs): Likewise.
34287 (struct La_x32_retval): Likewise.
34288 (struct La_ppc32_regs): Likewise.
34289 (struct La_ppc32_retval): Likewise.
34290 (struct La_ppc64_regs): Likewise.
34291 (struct La_ppc64_retval): Likewise.
34292 (struct La_sh_regs): Likewise.
34293 (struct La_sh_retval): Likewise.
34294 (struct La_s390_32_regs): Likewise.
34295 (struct La_s390_32_retval): Likewise.
34296 (struct La_s390_64_regs): Likewise.
34297 (struct La_s390_64_retval): Likewise.
34298 (struct La_sparc32_regs): Likewise.
34299 (struct La_sparc32_retval): Likewise.
34300 (struct La_sparc64_regs): Likewise.
34301 (struct La_sparc64_retval): Likewise.
34302 (struct audit_ifaces): Remove architecture-specific pltenter and
34304 * sysdeps/i386/ldsodefs.h: New file.
34305 * sysdeps/powerpc/ldsodefs.h: Likewise.
34306 * sysdeps/s390/ldsodefs.h: Likewise.
34307 * sysdeps/sh/ldsodefs.h: Likewise.
34308 * sysdeps/sparc/ldsodefs.h: Likewise.
34309 * sysdeps/x86_64/ldsodefs.h: Likewise.
34311 2012-07-25 Marek Polacek <polacek@redhat.com>
34314 * math/libm-test.inc (yn_test): Add another test.
34315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34316 to ERANGE when the result is +-Inf.
34317 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34318 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34319 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34320 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34322 2012-07-24 Joseph Myers <joseph@codesourcery.com>
34324 * conform/data/time.h-data (NULL): Use macro-constant. Require
34326 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34328 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34330 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34332 * configure.in <sysdeps resolving>: Correct printing
34334 * configure: Regenerate.
34336 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34338 * math/w_ilogb.c: Include <limits.h>.
34339 * math/w_ilogbl.c: Likewise.
34341 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34343 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34344 va_copy. Document allowing for unavailable va_copy only as
34345 pre-C99 compatibility.
34346 * manual/string.texi (Copying and Concatenation): Use va_copy
34347 instead of __va_copy in concat example.
34349 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34351 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34352 (__sendto): Use create_address_port. Initialize APORT and deallocate
34355 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34356 with O_NOLINK passed to __file_name_lookup.
34358 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34359 with O_NOLINK passed to __file_name_lookup.
34361 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34362 negative N or less than NGIDS.
34364 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34365 type to string_t. Set ERANGE as errno and return it if NAME is not big
34366 enough. Use memcpy instead of strncpy.
34368 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34370 * elf/Makefile (check-data): Remove.
34371 (localplt.data): New vpath directive.
34372 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34373 instead of $(check-data).
34374 * scripts/data/localplt-generic.data: Move to ...
34375 * sysdeps/generic/localplt.data: ... here.
34376 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34377 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34378 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34381 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34384 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34387 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34390 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34393 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34397 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34399 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34400 PPC32 and PPC64 files.
34401 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34402 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34404 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34406 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34407 __makecontext_ret to ...
34408 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34409 ... here and call exit if uc_link is NULL. New file.
34410 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34411 __makecontext_ret.S.
34412 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34413 __makecontext_ret to ...
34414 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34415 ... here and call exit if uc_link is NULL. New file.
34416 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34417 __makecontext_ret.S.
34419 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34421 * elf/elf.h (R_390_IRELATIVE): New definition.
34422 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34423 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34424 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34425 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34426 (elf_machine_lazy_rel): Likewise.
34427 * sysdeps/s390/dl-irel.h: New file.
34428 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34429 * sysdeps/s390/s390-64/memset.S: New asm code.
34430 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34431 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34432 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34433 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34434 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34435 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34436 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34437 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34438 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34439 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34440 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34441 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34442 * sysdeps/s390/s390-32/memset.S: New asm code.
34443 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34445 2012-07-17 Marek Polacek <polacek@redhat.com>
34448 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34449 * sysdeps/s390/s390-64/configure.in: Likewise.
34450 * sysdeps/sparc/configure.in: Likewise.
34451 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34452 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34453 * sysdeps/i386/configure.in: Likewise.
34454 * sysdeps/x86_64/configure.in: Likewise.
34455 * sysdeps/sh/configure.in: Likewise.
34456 * sysdeps/s390/s390-32/configure: Regenerated.
34457 * sysdeps/s390/s390-64/configure: Likewise.
34458 * sysdeps/x86_64/configure: Likewise.
34459 * sysdeps/sh/configure: Likewise.
34460 * sysdeps/powerpc/powerpc64/configure: Likewise.
34461 * sysdeps/powerpc/powerpc32/configure: Likewise.
34462 * sysdeps/sparc/configure: Likwise.
34463 * sysdeps/i386/configure: Likewise.
34465 * elf/dl-open.c: Comment fixes.
34467 2012-07-17 Joseph Myers <joseph@codesourcery.com>
34469 * Makefile [CXX] (check-data): Remove.
34470 [CXX] (c++-types.data): New vpath directive.
34471 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34472 vpath. Do not allow for C++ type data being missing.
34473 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34474 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34475 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34476 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34477 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34478 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34479 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34482 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34485 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34488 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34491 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34494 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34497 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34500 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34503 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34504 definitions to architecture-specific files.
34505 (TLS_IE): Likewise.
34506 (TLS_LD): Likewise.
34507 (TLS_GD): Likewise.
34508 * sysdeps/i386/tls-macros.h: New file.
34509 * sysdeps/powerpc/tls-macros.h: Likewise.
34510 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34511 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34512 * sysdeps/sh/tls-macros.h: Likewise.
34513 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34514 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34515 * sysdeps/x86_64/tls-macros.h: Likewise.
34517 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34519 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34520 zero value for regular exit case.
34522 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34523 (__start_context): Preserve zero value for regular exit case.
34525 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34526 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34528 * manual/setjmp.texi (setcontext): Clarify normal process
34529 termination when uc_link is the null pointer.
34530 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34533 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34535 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34536 preprocessor. Test for each exception mask separately.
34538 2012-07-16 Andreas Jaeger <aj@suse.de>
34540 * po/ru.po: Update from translation team.
34542 2012-07-15 Joseph Myers <joseph@codesourcery.com>
34544 * conform/data/string.h-data (NULL): Use macro-constant. Require
34546 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34547 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34548 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34549 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34550 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34552 2012-07-13 Andreas Jaeger <aj@suse.de>
34554 * po/fr.po: Update from translation team.
34556 2012-07-12 Marek Polacek <polacek@redhat.com>
34559 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34560 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34563 2012-07-12 Joseph Myers <joseph@codesourcery.com>
34566 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34567 Change to 2.4.1 where previously 2.4.0.
34568 * sysdeps/unix/sysv/linux/configure: Regenerated.
34569 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34570 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34572 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34573 (__ASSUME_AT_CLKTCK): Remove.
34574 (__ASSUME_AT_PAGESIZE): Likewise.
34575 (__ASSUME_AT_XID): Likewise.
34576 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34577 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34578 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34580 (HAVE_AUX_PAGESIZE): Likewise.
34581 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34582 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34583 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34585 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34589 the temporary buffer used to invoke __gethostbyname2_r,
34590 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34591 host_data / struct gaih_addrtuple.
34592 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34593 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34594 header file nss/nsswitch.h.
34595 * nss/nsswitch.h (global scope): Add definition of implementation
34596 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34597 resolv/nss_dns/dns-host.c).
34599 2012-07-11 Andreas Jaeger <aj@suse.de>
34601 * po/fr.po: Update from translation team.
34603 * po/sv.po: Update from translation team
34604 * po/fr.po: Another update from translation team.
34606 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34608 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34609 for subnormals or multiply small sinh result by itself.
34610 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34613 2012-07-11 David S. Miller <davem@davemloft.net>
34615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34617 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34620 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34621 (INTERNAL_MARK): Shift it here.
34623 2012-07-10 Marek Polacek <polacek@redhat.com>
34626 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34627 libc_cv_asm_global_directive with .globl.
34628 * configure: Regenerated.
34629 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34631 * sysdeps/i386/configure: Regenerated.
34632 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34634 * sysdeps/x86_64/configure: Regenerated.
34635 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34636 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34637 * elf/tst-unique2mod2.c: Likewise.
34638 * elf/tst-unique2mod1.c: Likewise.
34639 * elf/tst-unique1mod2.c: Likewise.
34640 * elf/tst-unique1mod1.c: Likewise.
34641 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34642 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34643 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34644 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34645 * sysdeps/mach/sysdep.h: Likewise.
34646 * sysdeps/i386/sysdep.h: Likewise.
34647 * sysdeps/i386/i386-mcount.S: Likewise.
34648 * sysdeps/x86_64/_mcount.S: Likewise.
34649 * sysdeps/x86_64/sysdep.h: Likewise.
34650 * sysdeps/sh/_mcount.S: Likewise.
34651 * sysdeps/sh/sysdep.h: Likewise.
34652 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34653 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34654 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34655 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34656 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34657 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34658 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34659 * locale/localeinfo.h: Likewise.
34660 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34661 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34663 2012-07-09 Roland McGrath <roland@hack.frob.com>
34666 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34668 * manual/message.texi (The Uniforum approach): Likewise.
34669 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34670 (glibc iconv Implementation): Likewise.
34672 2012-07-09 Joseph Myers <joseph@codesourcery.com>
34675 * math/s_clog.c (__clog): Avoid scaling a value down where that
34676 could result in underflow.
34677 * math/s_clog10.c (__clog10): Likewise.
34678 * math/s_clog10f.c (__clog10f): Likewise.
34679 * math/s_clog10l.c (__clog10l): Likewise.
34680 * math/s_clogf.c (__clogf): Likewise.
34681 * math/s_clogl.c (__clogl): Likewise.
34682 * math/libm-test.inc (clog_test): Add more tests.
34683 (clog10_test): Likewise.
34684 * sysdeps/i386/fpu/libm-test-ulps: Update.
34685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34687 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34690 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34691 by 7 not 8 to examine high bit of fractional part.
34694 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34695 for call to __mcount_internal.
34696 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34697 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34698 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34700 2012-07-06 Joseph Myers <joseph@codesourcery.com>
34703 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34704 approximation for values within 0x1p-13f of an odd multiple of
34706 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34707 exception. Add more tests.
34708 * sysdeps/i386/fpu/libm-test-ulps: Update.
34711 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34712 inputs and return -1 for them. Do not check for +Inf in case not
34713 reachable for +Inf.
34714 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34715 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34716 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34717 and return -1 for them. Do not check for +Inf in case not
34718 reachable for +Inf.
34719 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34721 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34722 and return -1 for them. Do not check for +Inf in case not
34723 reachable for +Inf.
34724 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34725 spurious underflow.
34726 * sysdeps/i386/fpu/libm-test-ulps: Update.
34727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34729 2012-07-06 Mike Frysinger <vapier@gentoo.org>
34731 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34733 2012-07-05 Joseph Myers <joseph@codesourcery.com>
34737 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34738 could result in spurious underflow. Scale down values above
34739 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34740 * math/s_csqrtf.c (__csqrtf): Likewise.
34741 * math/s_csqrtl.c (__csqrtl): Likewise.
34742 * math/libm-test.inc (csqrt_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-04 Andreas Schwab <schwab@linux-m68k.org>
34749 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34751 * catgets/xopen-msg.awk: New file.
34752 * catgets/xopen-msg.sed: Removed.
34754 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34756 * intl/po2test.awk: New file.
34757 * intl/po2test.sed: Removed.
34759 2012-07-04 Joseph Myers <joseph@codesourcery.com>
34762 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34763 or multiply small sinh result by itself.
34764 * math/s_ctanf.c (__ctanf): Likewise.
34765 * math/s_ctanh.c (__ctanh): Likewise.
34766 * math/s_ctanhf.c (__ctanhf): Likewise.
34767 * math/s_ctanhl.c (__ctanhl): Likewise.
34768 * math/s_ctanl.c (__ctanl): Likewise.
34769 * math/libm-test.inc (ctan_test_tonearest): New function.
34770 (ctan_test_towardzero): Likewise.
34771 (ctan_test_downward): Likewise.
34772 (ctan_test_upward): Likewise.
34773 (ctanh_test_tonearest): Likewise.
34774 (ctanh_test_towardzero): Likewise.
34775 (ctanh_test_downward): Likewise.
34776 (ctanh_test_upward): Likewise.
34777 (main): Call these new functions.
34778 * sysdeps/i386/fpu/libm-test-ulps: Update.
34779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34781 2012-07-03 Mike Frysinger <vapier@gentoo.org>
34783 * .gitignore: Delete /ports entry.
34785 2012-07-03 Andreas Jaeger <aj@suse.de>
34787 * po/bg.po: Update from translation team.
34788 * po/cs.po: Likewise.
34789 * po/de.po: Likewise.
34790 * po/hr.po: Likewise.
34791 * po/nl.pl: Likewise.
34792 * po/pl.po: Likewise.
34793 * po/vi.po: Likewise.
34795 2012-07-03 Joseph Myers <joseph@codesourcery.com>
34797 * Makeconfig [!+link] (+link-before-libc): New variable.
34798 [!+link] (+link-after-libc): Likewise.
34799 [!+link] (+link-tests): Likewise.
34800 [!+link] (+link): Define in terms of $(+link-before-libc) and
34801 $(+link-after-libc).
34802 [!+link-static] (+link-static-before-libc): New variable.
34803 [!+link-static] (+link-static-after-libc): Likewise.
34804 [!+link-static] (+link-static-tests): Likewise.
34805 [!+link-static] (+link-static): Define in terms of
34806 $(+link-static-before-libc) and $(+link-static-after-libc).
34807 [build-shared] (link-libc-before-gnulib): New variable.
34808 [build-shared] (link-libc-tests): Likewise.
34809 [build-shared] (link-libc): Define in terms of
34810 $(link-libc-before-gnulib).
34811 [!build-shared] (link-libc-tests): New variable.
34812 (link-libc-static-tests): New variable.
34813 [!gnulib] (gnulib-arch): New variable.
34814 [!gnulib] (gnulib-tests): Likewise.
34815 [!gnulib] (static-gnulib-arch): Likewise.
34816 [!gnulib] (static-gnulib-tests): Likewise.
34817 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34818 Define with "=" instead of ":=".
34819 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34820 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34821 * Rules (binaries-all-notests): New variable.
34822 (binaries-all-tests): Likewise.
34823 (binaries-static-notests): Likewise.
34824 (binaries-static-tests): Likewise.
34825 (binaries-all): Define using $(binaries-all-notests) and
34826 $(binaries-all-tests).
34827 (binaries-static): Define using $(binaries-static-notests) and
34828 $(binaries-static-tests).
34829 (binaries-shared-tests): New variable.
34830 (binaries-shared-notests): Likewise.
34831 (binaries-shared): Remove variable.
34832 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34833 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34834 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34835 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34836 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34837 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34838 * elf/Makefile (sln-modules): New variable.
34839 (extra-objs): Add $(sln-modules:=.o).
34840 (ldconfig-modules): Add static-stubs.
34841 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34842 * elf/static-stubs.c: New file.
34845 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34846 by 7 not 8 to examine high bit of fractional part. Use volatile
34847 variables when splitting into final array of floats if
34848 __FLT_EVAL_METHOD__ != 0.
34849 * math/libm-test.inc (cos_test): Add another test.
34850 (sin_test): Likewise.
34851 * sysdeps/i386/fpu/libm-test-ulps: Update.
34854 * math/libm-test.inc (cosh_test): Add more tests.
34856 * version.h (RELEASE): Set to "development".
34857 (VERSION): Set to "2.16.90".
34859 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34861 * NEWS: Update copyright. Remove last-updated date.
34862 Mention math library bug fixes and timezone data changes.
34863 * README: Mention GNU/Hurd, x32, and HPPA support status.
34865 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34867 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34869 2012-06-27 Andreas Jaeger <aj@suse.de>
34871 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34873 2012-06-25 Andreas Jaeger <aj@suse.de>
34875 * sysdeps/s390/fpu/libm-test-ulps: Update.
34877 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34878 Thomas Schwinge <thomas@codesourcery.com>
34880 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34881 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34882 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34885 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34887 * sysdeps/mach/start.c: Remove file.
34888 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34889 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34890 * sysdeps/sh/init-first.c: Likewise.
34892 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34893 registers for frame unwinding purposes, add CFI directives.
34894 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34895 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34896 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34899 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34900 __fortify_fail returning.
34901 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34903 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34904 sysdeps/sh/____longjmp_chk.S.
34905 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34906 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34907 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34908 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34910 * sysdeps/sh/abort-instr.h: New file.
34911 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34912 process in case exit returns.
34914 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34915 initialize the GOT register before use.
34917 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34918 calculation of ARGC > 4.
34920 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34921 meaningful names to some local labels.
34923 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34924 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34926 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34927 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34928 (__arch_compare_and_exchange_val_16_acq): Likewise.
34929 (__arch_compare_and_exchange_val_32_acq): Likewise.
34930 (atomic_exchange_and_add): Fix gUSA sequence.
34931 (atomic_add): Likewise.
34932 (atomic_add_negative): Likewise.
34933 (atomic_add_zero): Likewise.
34934 (atomic_bit_test_set): Likewise.
34936 2012-06-22 Andreas Schwab <schwab@redhat.com>
34939 * include/link.h (struct link_map): Add l_free_initfini.
34940 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34942 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34943 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34944 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34947 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34949 * configure.in: Use AC_LANG_SOURCE.
34950 * configure: Regenerate.
34952 2012-06-22 Roland McGrath <roland@hack.frob.com>
34954 * configure.in (libc_cv_localstatedir): New substituted variable.
34955 * configure: Regenerated.
34956 * config.make.in (localstatedir): New variable, substituted from
34957 libc_cv_localstatedir.
34958 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34959 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34960 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34961 * sysdeps/gnu/configure: Regenerated.
34963 2012-06-21 Jeff Law <law@redhat.com>
34966 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34967 free. Simplify list management for _LIBC case.
34969 2012-06-21 Joseph Myers <joseph@codesourcery.com>
34972 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34973 Clear sign bit of 64-bit integer value before comparing against
34976 * sysdeps/mach/configure: Regenerated.
34978 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34981 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34983 2012-06-21 Jeff Law <law@redhat.com>
34986 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34987 uint16_t for elements in the "seen" array to avoid char overflows.
34988 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34989 * elf/dl-open.c (dl_open_worker): Likewise.
34991 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34993 * scripts/list-sources.sh: Scan PORTS for translations.
34994 * po/libc.pot: Regenerated.
34996 2012-06-21 Andreas Jaeger <aj@suse.de>
34999 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35001 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35002 * bits/byteswap-16.h (__bswap_16): Likewise.
35003 * bits/byteswap.h (__bswap_constant_16): Likewise.
35005 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35008 * sysdeps/i386/fpu_control.h: Removed.
35009 * sysdeps/x86_64/fpu_control.h: Moved to ...
35010 * sysdeps/x86/fpu_control.h: Here.
35012 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35013 (_FPU_SETCW): Likewise.
35015 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35018 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35019 * sysdeps/x86/fpu/bits/mathinline.h: This.
35020 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35024 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35025 functions if __x86_64__ is defined.
35027 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35029 * string/endian.h: Add !__ASSEMBLER__ condition for including
35030 conversion interfaces.
35032 2012-06-15 Joseph Myers <joseph@codesourcery.com>
35035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35036 of ABS(x) in calculating zero to negative powers other than odd
35038 * math/libm-test.inc (pow_test): Add more tests.
35040 2012-06-15 Andreas Jaeger <aj@suse.de>
35042 * manual/contrib.texi (Contributors): Update entry of Liubov
35043 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35046 2012-06-15 Cyril Hrubis <metan@ucw.cz>
35048 * string/string.h: Add __wur to GNU version of strerror_r.
35050 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35053 * string/Makefile (tests): Add tst-strtok_r.
35054 * string/tst-strtok_r.c: New file.
35055 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35056 RAX_LP/RDX_LP on SAVE_PTR.
35058 2012-06-14 Roland McGrath <roland@hack.frob.com>
35060 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35062 2012-06-14 Joseph Myers <joseph@codesourcery.com>
35064 * libm_test.inc (csqrt_test): Allow more spurious underflow
35066 (j0_test): Likewise.
35067 (j1_test): Likewise.
35068 (y0_test): Likewise.
35069 (y1_test): Likewise.
35071 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35073 * po/Makefile (libc.pot): Use UTF-8 charset.
35075 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35078 Suppress sign-conversion warning from FD_SET.
35079 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35080 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35081 not unsigned long int.
35082 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35084 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35088 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35089 __extern_always_inline instead of __extern_inline.
35090 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35091 (__signbit): Likewise.
35092 (__signbitl): Support C++ namespace.
35093 (lrintf): New inline function.
35095 (llrintf): Likewise.
35096 (llrint): Likewise.
35106 (floorf): Likewise.
35107 (nearbyint): Likewise.
35108 (nearbyintf): Likewise.
35110 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35112 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35113 non-default versions.
35115 2012-06-11 Roland McGrath <roland@hack.frob.com>
35118 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35120 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35122 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35123 (FE_UPWARD, FE_DOWNWARD): Don't define.
35124 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35125 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35127 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35129 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35130 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35132 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35134 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35136 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35137 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35139 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35142 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35143 * sysdeps/i386/fpu/Implies: New file.
35144 * sysdeps/x86_64/fpu/Implies: Likewise.
35145 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35146 * sysdeps/x86/fpu/bits/fenv.h: This.
35148 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35151 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35154 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35155 character 0xffff that matches the last element of the
35158 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35160 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35163 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35165 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35166 values higher than 25.6283.
35168 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35170 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35171 subnormal exponent extraction and add some __builtin_expect.
35172 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35173 Fix for subnormal mantissa calculation.
35175 2012-06-04 Mike Frysinger <vapier@gentoo.org>
35177 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35178 cpu2 is -1 and errno is not ENOSYS.
35180 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35183 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35184 * sysdeps/x86/bits/string.h: This.
35185 * sysdeps/x86_64/bits/string.h: Removed.
35187 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35188 if not compiling for x86-64, but compiling for >= i486.
35190 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35191 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35193 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35194 New macro from Linux kernel 3.4.0.
35195 (FP_XSTATE_MAGIC2): Likewise.
35196 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35197 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35198 (struct _fpx_sw_bytes): New struct.
35199 (struct _xsave_hdr): Likewise.
35200 (struct _ymmh_state): Likewise.
35201 (struct _xstate): Likewise.
35203 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35204 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35205 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35206 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35207 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35208 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35210 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35211 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35212 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35213 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35214 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35215 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35217 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35220 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35221 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35222 (sysdep_headers): Include sys/platform/ppc.h.
35223 * sysdeps/powerpc/test-gettimebase.c: Test for
35224 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35225 * manual/Makefile (appendices): Include platform.texi.
35226 * manual/contrib.texi (Contributors): Update @node pointers.
35227 * manual/maint.texi (Maintenance): Likewise.
35228 (Platform): New node.
35229 * manual/platform.texi: New file. Document the new features.
35231 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35232 Jakub Jelinek <jakub@redhat.com>
35235 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35236 where __builtin_expect is unavailable.
35238 2012-06-03 David S. Miller <davem@davemloft.net>
35240 * stdlib/longlong.h: Updated from GCC.
35242 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35245 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35246 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35249 (GLIBC_2.16): Likewise.
35251 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35253 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35255 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35258 (default-abi): New variable.
35259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35260 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35262 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35264 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35266 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35269 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35270 definition. Document in comment.
35272 2012-06-01 David S. Miller <davem@davemloft.net>
35274 * stdlib/longlong.h: Updated from GCC.
35276 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35279 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35280 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35281 sys/debugreg.h sys/io.h here.
35282 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35283 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35285 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35286 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35287 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35288 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35289 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35290 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35292 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35293 Define only if __x86_64__ is defined.
35295 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35298 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35299 Use int64_t for variable i.
35300 * math/libm-test.inc (fmod_test): Add more tests.
35302 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35303 z computation is not scheduled after fetestexcept.
35304 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35305 Use math_force_eval instead of asm to ensure calculation scheduled
35306 before exception test.
35307 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35308 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35310 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35313 computation is not scheduled after fetestexcept.
35315 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35318 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35319 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35321 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35323 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35324 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35326 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35329 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35331 (__WCHAR_MIN): Support __WORDSIZE == 64.
35332 (__WCHAR_MAX): Likewise.
35334 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35335 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35338 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35339 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35342 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35343 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35345 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35346 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35348 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35349 Defined to 1 if __x86_64__ isn't defined.
35350 (_STAT_VER_LINUX_OLD): New.
35351 (st_atime): Remove duplicate.
35352 (st_mtime): Likewise.
35353 (st_ctime): Likewise.
35355 2012-05-31 David S. Miller <davem@davemloft.net>
35357 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35360 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35362 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35366 * elf/dl-reloc.c: Include <_itoa.h>.
35367 (_dl_reloc_bad_type): Remove use of INTUSE.
35368 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35369 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35370 * stdio-common/psiginfo.c (psiginfo): Likewise.
35371 * stdio-common/psignal.c (psignal): Likewise.
35372 * string/strsignal.c (strsignal): Likewise.
35373 * include/signal.h (_sys_siglist): Declare hidden proto.
35374 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35375 INTVARDEF with libc_hidden_data_def.
35376 * stdio-common/itoa-udigits.c: Likewise.
35377 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35378 (_itoa_lower_digits_internal): Remove declaration.
35379 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35380 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35381 (_sys_sigabbrev_internal): Remove aliases.
35382 (_sys_siglist): Define hidden alias.
35384 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35389 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35392 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35393 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35395 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35396 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35397 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35398 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35399 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35400 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35402 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35403 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35404 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35406 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35414 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35415 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35416 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35418 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35419 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35420 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35421 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35422 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35423 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35425 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35426 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35428 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35429 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35431 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35433 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35435 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35436 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35438 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35440 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35441 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35442 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35444 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35446 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35448 2012-05-31 Joseph Myers <joseph@codesourcery.com>
35450 * math/math.h (M_El): Use two more decimal places.
35451 (M_LOG2El): Likewise.
35452 (M_LOG10El): Likewise.
35453 (M_LN2l): Likewise.
35454 (M_LN10l): Likewise.
35456 (M_PI_2l): Likewise.
35457 (M_PI_4l): Likewise.
35458 (M_1_PIl): Likewise.
35459 (M_2_PIl): Likewise.
35460 (M_2_SQRTPIl): Likewise.
35461 (M_SQRT2l): Likewise.
35462 (M_SQRT1_2l): Likewise.
35464 2012-05-31 David S. Miller <davem@davemloft.net>
35466 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35467 values between float registers.
35468 * sysdeps/sparc/sparc64/memset.S: Likewise.
35469 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35471 2012-05-31 Mike Frysinger <vapier@gentoo.org>
35473 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35474 -D_FORTIFY_SOURCE=1.
35475 (CPPFLAGS-tst-longjmp_chk.c): Define.
35476 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35477 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35478 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35479 CFLAGS-tst-wchar-h.c.
35481 2012-05-31 Marek Polacek <polacek@redhat.com>
35484 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35485 __endmntent_internal): Remove declaration.
35486 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35487 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35488 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35490 2012-05-30 David S. Miller <davem@davemloft.net>
35492 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35493 (___Q_simulate_exceptions): Use real FP ops rather than writing
35495 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35498 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35501 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35502 * sysdeps/x86/bits/xtitypes.h: This.
35504 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35505 * sysdeps/x86/bits/wordsize.h: This.
35507 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35508 * sysdeps/x86/bits/huge_vall.h: This.
35510 * sysdeps/i386/bits/select.h: Removed.
35511 * sysdeps/x86_64/bits/select.h: Renamed to ...
35512 * sysdeps/x86/bits/select.h: This.
35514 * sysdeps/i386/bits/setjmp.h: Removed.
35515 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35516 * sysdeps/x86/bits/setjmp.h: This.
35518 * sysdeps/i386/bits/mathdef.h: Removed.
35519 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35520 * sysdeps/x86/bits/mathdef.h: This.
35522 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35525 * include/sys/socket.h (__connect_internal)
35526 (__libc_sa_len_internal): Remove declaration.
35527 (__connect, __libc_sa_len): Declare hidden_proto.
35528 (SA_LEN): Remove use of INTUSE.
35529 * socket/connect.c: Add libc_hidden_def.
35530 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35531 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35532 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35534 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35535 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35536 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35537 of adding _internal alias.
35539 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35542 * sysdeps/i386/bits/link.h: Removed.
35543 * sysdeps/i386/bits/linkmap.h: Likewise.
35544 * sysdeps/x86_64/bits/link.h: Renamed to ...
35545 * sysdeps/x86/bits/link.h: This.
35546 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35547 * sysdeps/x86/bits/linkmap.h: This.
35549 * sysdeps/i386/bits/endian.h: Removed.
35550 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35551 * sysdeps/x86/bits/endian.h: This.
35553 * sysdeps/i386/bits/byteswap.h: Removed.
35554 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35555 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35556 * sysdeps/x86/bits/byteswap.h: This.
35557 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35558 * sysdeps/x86/bits/byteswap-16.h: This.
35559 * sysdeps/i386/Implies: Add x86.
35560 * sysdeps/x86_64/Implies: Likewise.
35562 2012-05-30 David S. Miller <davem@davemloft.net>
35564 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35565 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35566 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35567 (FP_TRAPPING_EXCEPTIONS): Define.
35568 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35569 (FP_TRAPPING_EXCEPTIONS): Define.
35570 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35571 subnormals only when inexact has been signalled or underflow
35572 exceptions are enabled.
35573 (_FP_PACK_CANONICAL): Likewise.
35575 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35578 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35579 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35581 2012-05-30 Richard Henderson <rth@twiddle.net>
35583 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35584 with #ifndef NOT_IN_libc.
35586 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35587 marked to avoid plt entry.
35589 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35592 * Makeconfig (default-abi): New macro.
35593 (abi-includes): Likewise.
35594 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35595 $(abi-$(default-abi)-lib-soname) for soname if defined.
35596 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35598 * Makefile (installed-stubs): Likewise.
35599 * include/stubs-biarch.h: Removed.
35600 * scripts/lib-names.awk: Only handle one library at a time.
35601 * scripts/soversions.awk: Remove WORDSIZE support.
35602 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35604 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35606 (syscall-list-default-condition): Likewise.
35607 (syscall-list-default-condition): Likewise.
35608 (syscall-list-includes): Likewise.
35609 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35610 syscall-list-* with abi-*. Handle undefined abi-variants.
35611 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35612 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35613 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35614 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35615 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35616 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35618 (syscall-list-32-options): Likewise.
35619 (syscall-list-32-condition): Likewise.
35620 (syscall-list-64-options): Likewise.
35621 (syscall-list-64-condition): Likewise.
35622 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35624 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35627 (abi-64-ld-soname): New macro.
35628 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35629 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35632 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35633 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35635 2012-05-30 Joseph Myers <joseph@codesourcery.com>
35637 * sysdeps/unix/sysv/linux/kernel-features.h
35638 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35639 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35640 include <kernel-features.h>.
35641 [!__NR_ftruncate64]: Remove conditional code.
35642 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35643 [__NR_ftruncate64]: Make code unconditional.
35644 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35645 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35646 include <kernel-features.h>.
35647 [!__NR_ftruncate64]: Remove conditional code.
35648 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35649 [__NR_ftruncate64]: Make code unconditional.
35650 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35652 include <kernel-features.h>.
35653 [!__NR_ftruncate64]: Remove conditional code.
35654 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35655 [__NR_ftruncate64]: Make code unconditional.
35656 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.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.
35664 * configure.in (libc_cv_fpie): Weaken to a compile test using
35665 LIBC_TRY_CC_OPTION.
35666 * configure: Regenerated.
35668 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35683 2012-05-27 David S. Miller <davem@davemloft.net>
35685 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35687 (__Q_simulate_exceptions): Return void. Change to simulate
35688 exceptions by writing into the %fsr.
35689 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35690 (__Qp_handle_exceptions): Likewise.
35692 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35693 __Qp_handle_exceptions.
35694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35695 __Qp_handle_exceptions.
35696 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35697 as unused and give dummy FP_RND_NEAREST initializer.
35698 (FP_INHIBIT_RESULTS): Define.
35699 (___Q_simulate_exceptions): Update declaration.
35700 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35702 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35703 as unused and give dummy FP_RND_NEAREST initializer.
35704 (__Qp_handle_exceptions): Update declaration.
35705 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35708 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35710 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35711 the temporary FPU control word.
35712 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35713 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35714 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35715 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35716 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35717 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35718 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35719 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35720 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35721 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35722 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35724 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35726 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35729 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35731 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35732 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35733 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35734 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35736 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35737 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35740 2012-05-27 Ulrich Drepper <drepper@gmail.com>
35742 * po/h.po: Update from translation team.
35744 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35746 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35748 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35749 handling of denormals.
35750 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35751 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35752 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35753 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35759 2012-05-26 Marek Polacek <polacek@redhat.com>
35762 * math/libm-test.inc (fma_test): Don't always expect underflow
35765 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35768 * elf/tst-execstack.c: Include stackinfo.h.
35769 (do_test): Adjust test case to ensure that pthread_getattr_np
35770 behaviour remains the same after marking stack executable.
35772 2012-05-25 Joseph Myers <joseph@codesourcery.com>
35774 * sysdeps/unix/sysv/linux/kernel-features.h
35775 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35776 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35778 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35779 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35780 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35782 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35783 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35785 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35787 * configure.in: Define the default includes to being none.
35788 * configure: Regenerated.
35790 2012-05-25 Roland McGrath <roland@hack.frob.com>
35792 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35793 * sysdeps/x86_64/setjmp.S: Likewise.
35794 * sysdeps/i386/bsd-setjmp.S: Likewise.
35795 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35796 * sysdeps/i386/setjmp.S: Likewise.
35797 * sysdeps/i386/__longjmp.S: Likewise.
35798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35799 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35801 * include/stap-probe.h: New file.
35802 * configure.in: Handle --enable-systemtap.
35803 * configure: Regenerated.
35804 * config.h.in (USE_STAP_PROBE): New #undef.
35805 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35806 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35807 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35809 2012-05-25 Joseph Myers <joseph@codesourcery.com>
35812 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35813 to 2.4.0 where earlier.
35814 * sysdeps/unix/sysv/linux/configure: Regenerated.
35815 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35816 <kernel-features.h>.
35817 [__ASSUME_32BITUIDS]: Make code unconditional.
35818 [!__ASSUME_32BITUIDS]: Remove conditional code.
35819 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35820 <kernel-features.h>.
35821 [__ASSUME_32BITUIDS]: Make code unconditional.
35822 [!__ASSUME_32BITUIDS]: Remove conditional code.
35823 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35824 [__ASSUME_32BITUIDS]: Make code unconditional.
35825 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35826 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35827 <kernel-features.h>.
35828 [__ASSUME_32BITUIDS]: Make code unconditional.
35829 [!__ASSUME_32BITUIDS]: Remove conditional code.
35830 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35831 <kernel-features.h>.
35832 [__ASSUME_32BITUIDS]: Make code unconditional.
35833 [!__ASSUME_32BITUIDS]: Remove conditional code.
35834 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35835 <kernel-features.h>.
35836 [__ASSUME_32BITUIDS]: Make code unconditional.
35837 [!__ASSUME_32BITUIDS]: Remove conditional code.
35838 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35839 <kernel-features.h>.
35840 [__ASSUME_32BITUIDS]: Make code unconditional.
35841 [!__ASSUME_32BITUIDS]: Remove conditional code.
35842 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35843 <kernel-features.h>.
35844 [__ASSUME_32BITUIDS]: Make code unconditional.
35845 [!__ASSUME_32BITUIDS]: Remove conditional code.
35846 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35847 <kernel-features.h>.
35848 [__ASSUME_32BITUIDS]: Make code unconditional.
35849 [!__ASSUME_32BITUIDS]: Remove conditional code.
35850 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35851 <kernel-features.h>.
35852 [__ASSUME_32BITUIDS]: Make code unconditional.
35853 [!__ASSUME_32BITUIDS]: Remove conditional code.
35854 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35855 <kernel-features.h>.
35856 [__ASSUME_32BITUIDS]: Make code unconditional.
35857 [!__ASSUME_32BITUIDS]: Remove conditional code.
35858 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35859 <kernel-features.h>.
35860 [__ASSUME_32BITUIDS]: Make code unconditional.
35861 [!__ASSUME_32BITUIDS]: Remove conditional code.
35862 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35863 <kernel-features.h>.
35864 [__ASSUME_32BITUIDS]: Make code unconditional.
35865 [!__ASSUME_32BITUIDS]: Remove conditional code.
35866 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35867 <kernel-features.h>.
35868 [__NR_setresgid] (__setresgid): Do not declare.
35869 [__ASSUME_32BITUIDS]: Make code unconditional.
35870 [!__ASSUME_32BITUIDS]: Remove conditional code.
35871 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35872 <kernel-features.h>.
35873 [__NR_setresuid] (__setresuid): Do not declare.
35874 [__ASSUME_32BITUIDS]: Make code unconditional.
35875 [!__ASSUME_32BITUIDS]: Remove conditional code.
35876 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
35885 <kernel-features.h>.
35886 [__ASSUME_32BITUIDS]: Make code unconditional.
35887 [!__ASSUME_32BITUIDS]: Remove conditional code.
35888 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35889 <kernel-features.h>.
35890 [__ASSUME_32BITUIDS]: Make code unconditional.
35891 [!__ASSUME_32BITUIDS]: Remove conditional code.
35892 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35893 <kernel-features.h>.
35894 [__ASSUME_32BITUIDS]: Make code unconditional.
35895 [!__ASSUME_32BITUIDS]: Remove conditional code.
35896 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35897 <kernel-features.h>.
35898 [__ASSUME_32BITUIDS]: Make code unconditional.
35899 [!__ASSUME_32BITUIDS]: Remove conditional code.
35900 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35901 <kernel-features.h>.
35902 [__ASSUME_32BITUIDS]: Make code unconditional.
35903 [!__ASSUME_32BITUIDS]: Remove conditional code.
35904 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35905 <kernel-features.h>.
35906 [__ASSUME_32BITUIDS]: Make code unconditional.
35907 [!__ASSUME_32BITUIDS]: Remove conditional code.
35908 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35909 <kernel-features.h>.
35910 [__ASSUME_32BITUIDS]: Make code unconditional.
35911 [!__ASSUME_32BITUIDS]: Remove conditional code.
35912 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35913 <kernel-features.h>.
35914 [__ASSUME_32BITUIDS]: Make code unconditional.
35915 [!__ASSUME_32BITUIDS]: Remove conditional code.
35916 * sysdeps/unix/sysv/linux/kernel-features.h
35917 (__ASSUME_SETRESUID_SYSCALL): Remove.
35918 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35919 (__ASSUME_32BITUIDS): Likewise.
35920 (__ASSUME_LDT_WORKS): Likewise.
35921 (__ASSUME_O_DIRECTORY): Likewise.
35922 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35923 architecture but not kernel version.
35924 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35925 (__ASSUME_MMAP2_SYSCALL): Likewise.
35926 (__ASSUME_STAT64_SYSCALL): Likewise.
35927 (__ASSUME_IPC64): Likewise.
35928 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35929 <kernel-features.h>.
35930 [__ASSUME_32BITUIDS]: Make code unconditional.
35931 [!__ASSUME_32BITUIDS]: Remove conditional code.
35932 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35933 <kernel-features.h>.
35934 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35935 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35936 132096]: Remove conditional code.
35937 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35938 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35939 <kernel-features.h>.
35940 [__ASSUME_32BITUIDS]: Make code unconditional.
35941 [!__ASSUME_32BITUIDS]: Remove conditional code.
35942 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35943 <kernel-features.h>.
35944 [__ASSUME_32BITUIDS]: Make code unconditional.
35945 [!__ASSUME_32BITUIDS]: Remove conditional code.
35946 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35947 <kernel-features.h>.
35948 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35950 (__setresgid): Do not declare.
35951 [__ASSUME_32BITUIDS]: Make code unconditional.
35952 [!__ASSUME_32BITUIDS]: Remove conditional code.
35953 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35954 <kernel-features.h>.
35955 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35957 (__setresuid): Do not declare.
35958 [__ASSUME_32BITUIDS]: Make code unconditional.
35959 [!__ASSUME_32BITUIDS]: Remove conditional code.
35960 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
35965 <kernel-features.h>.
35966 [__ASSUME_32BITUIDS]: Make code unconditional.
35967 [!__ASSUME_32BITUIDS]: Remove conditional code.
35969 2012-05-25 Richard Henderson <rth@twiddle.net>
35971 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35972 dl_hwcap to ifunc resolver.
35973 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35975 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35976 dl_hwcap to ifunc resolver.
35977 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35979 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35982 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35983 for |x| <= 2**-26, not 2**-57.
35984 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35987 2012-05-24 Jeff Law <law@redhat.com>
35989 * stdio-common/Makefile (tests): Add bug25.
35990 * stdio-common/bug25.c: New test.
35992 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35995 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35996 multiple of MALLOC_ALIGNMENT in size.
35997 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35999 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36001 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36003 (FILENAME_MAX): Use macro-int-constant.
36004 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36005 (_IOFBF): Use macro-int-constant.
36006 (_IOLBF): Likewise.
36007 (_IONBF): Likewise.
36008 (SEEK_CUR): Likewise.
36009 (SEEK_END): Likewise.
36010 (SEEK_SET): Likewise.
36011 (TMP_MAX): Likewise.
36012 (EOF): Use macro-int-constant. Require < 0.
36013 (NULL): Use macro-constant. Require == 0.
36014 (stdin): Require type to be FILE *.
36015 (stdout): Likewise.
36016 (stderr): Likewise.
36017 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36018 macro-int-constant.
36019 (EXIT_SUCCESS): Likewise.
36020 (NULL): Use macro-constant. Require == 0.
36021 (RAND_MAX): Use macro-int-constant.
36022 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36023 [C99-based standards] (strtof): Require function.
36024 [C99-based standards] (strtold): Likewise.
36025 [C99-based standards] (strtoll): Likewise.
36026 [C99-based standards] (strtoull): Likewise.
36027 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36028 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36029 [ISO || ISO99 || ISO11] (math.h): Likewise.
36030 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36031 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36034 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36037 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36038 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36039 * intl/dgettext.c (DCGETTEXT): Likewise.
36040 * intl/gettext.c (DCGETTEXT): Likewise.
36041 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36042 * posix/regex_internal.h (gettext): Likewise.
36043 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36044 Remove declaration.
36045 * include/argz.h (__argz_count_internal)
36046 (__argz_stringify_internal): Remove declaration.
36047 (__argz_count, __argz_stringify): Declare hidden proto.
36048 * intl/dcgettext.c: Remove use of INTDEF.
36049 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36050 * string/argz-stringify.c: Likewise.
36051 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36052 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36053 Declare hidden proto.
36054 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36055 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36056 Declare hidden proto.
36057 * include/stdio.h (__asprintf_internal): Don't declare.
36058 (__asprintf): Don't define as macro. Declare hidden proto.
36059 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36060 (__fsetlocking): Declare hidden proto.
36061 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36062 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36064 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36065 (_IO_setlinebuf): Remove use of INTUSE.
36066 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36067 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36068 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36069 Remove declaration.
36070 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36071 (_IO_do_flush): Remove use of INTUSE.
36072 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36073 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36074 (_IO_adjust_column, _IO_least_wmarker)
36075 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36076 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36077 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36078 (_IO_default_doallocate, _IO_wdefault_doallocate)
36079 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36080 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36081 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36082 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36083 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36084 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36085 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36086 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36087 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36088 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36089 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36090 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36091 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36093 (_IO_flush_all_internal, _IO_adjust_column_internal)
36094 (_IO_default_uflow_internal, _IO_default_finish_internal)
36095 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36096 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36097 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36098 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36099 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36100 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36101 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36102 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36103 (_IO_file_close_internal, _IO_file_close_it_internal)
36104 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36105 (_IO_file_init_internal, _IO_file_attach_internal)
36106 (_IO_file_fopen_internal, _IO_file_read_internal)
36107 (_IO_file_sync_internal, _IO_file_seek_internal)
36108 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36109 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36110 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36111 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36112 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36113 (_IO_list_all_internal, _IO_link_in_internal)
36114 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36115 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36116 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36117 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36118 (_IO_do_write_internal, _IO_padn_internal)
36119 (_IO_getline_info_internal, _IO_getline_internal)
36120 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36121 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36122 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36123 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36124 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36125 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36126 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36127 with libc_hidden_ver, remove use of INTUSE.
36128 * libio/genops.c: Likewise.
36129 * libio/freopen.c: Likewise.
36130 * libio/freopen64.c: Likewise.
36131 * libio/iofclose.c: Likewise.
36132 * libio/iofdopen.c: Likewise.
36133 * libio/iofflush.c: Likewise.
36134 * libio/iofflush_u.c: Likewise.
36135 * libio/iofgets.c: Likewise.
36136 * libio/iofgets_u.c: Likewise.
36137 * libio/iofopen.c: Likewise.
36138 * libio/iofopncook.c: Likewise.
36139 * libio/iofread.c: Likewise.
36140 * libio/iofread_u.c: Likewise.
36141 * libio/ioftell.c: Likewise.
36142 * libio/iofwrite.c: Likewise.
36143 * libio/iogetline.c: Likewise.
36144 * libio/iogets.c: Likewise.
36145 * libio/iogetwline.c: Likewise.
36146 * libio/iopadn.c: Likewise.
36147 * libio/iopopen.c: Likewise.
36148 * libio/ioseekoff.c: Likewise.
36149 * libio/ioseekpos.c: Likewise.
36150 * libio/iosetbuffer.c: Likewise.
36151 * libio/iosetvbuf.c: Likewise.
36152 * libio/ioungetc.c: Likewise.
36153 * libio/ioungetwc.c: Likewise.
36154 * libio/iovdprintf.c: Likewise.
36155 * libio/iovsprintf.c: Likewise.
36156 * libio/iovsscanf.c: Likewise.
36157 * libio/memstream.c: Likewise.
36158 * libio/obprintf.c: Likewise.
36159 * libio/oldfileops.c: Likewise.
36160 * libio/oldiofclose.c: Likewise.
36161 * libio/oldiofdopen.c: Likewise.
36162 * libio/oldiofopen.c: Likewise.
36163 * libio/oldiopopen.c: Likewise.
36164 * libio/oldstdfiles.c: Likewise.
36165 * libio/putc.c: Likewise.
36166 * libio/setbuf.c: Likewise.
36167 * libio/setlinebuf.c: Likewise.
36168 * libio/stdfiles.c: Likewise.
36169 * libio/strops.c: Likewise.
36170 * libio/vasprintf.c: Likewise.
36171 * libio/vscanf.c: Likewise.
36172 * libio/vsnprintf.c: Likewise.
36173 * libio/vswprintf.c: Likewise.
36174 * libio/wfiledoalloc.c: Likewise.
36175 * libio/wfileops.c: Likewise.
36176 * libio/wgenops.c: Likewise.
36177 * libio/wmemstream.c: Likewise.
36178 * libio/wstrops.c: Likewise.
36179 * libio/__fpurge.c: Likewise.
36180 * libio/__fsetlocking.c: Likewise.
36181 * assert/assert.c: Likewise.
36182 * debug/fgets_chk.c: Likewise.
36183 * debug/fgets_u_chk.c: Likewise.
36184 * debug/fread_chk.c: Likewise.
36185 * debug/fread_u_chk.c: Likewise.
36186 * debug/gets_chk.c: Likewise.
36187 * debug/obprintf_chk.c: Likewise.
36188 * debug/vasprintf_chk.c: Likewise.
36189 * debug/vdprintf_chk.c: Likewise.
36190 * debug/vsnprintf_chk.c: Likewise.
36191 * debug/vsprintf_chk.c: Likewise.
36192 * malloc/mtrace.c: Likewise.
36193 * misc/error.c: Likewise.
36194 * misc/syslog.c: Likewise.
36195 * stdio-common/asprintf.c: Likewise.
36196 * stdio-common/fxprintf.c: Likewise.
36197 * stdio-common/getw.c: Likewise.
36198 * stdio-common/isoc99_fscanf.c: Likewise.
36199 * stdio-common/isoc99_scanf.c: Likewise.
36200 * stdio-common/isoc99_vfscanf.c: Likewise.
36201 * stdio-common/isoc99_vscanf.c: Likewise.
36202 * stdio-common/isoc99_vsscanf.c: Likewise.
36203 * stdio-common/printf-prs.c: Likewise.
36204 * stdio-common/printf_fp.c: Likewise.
36205 * stdio-common/printf_fphex.c: Likewise.
36206 * stdio-common/printf_size.c: Likewise.
36207 * stdio-common/putw.c: Likewise.
36208 * stdio-common/scanf.c: Likewise.
36209 * stdio-common/sprintf.c: Likewise.
36210 * stdio-common/tmpfile.c: Likewise.
36211 * stdio-common/vfprintf.c: Likewise.
36212 * stdio-common/vfscanf.c: Likewise.
36213 * stdlib/strfmon_l.c: Likewise.
36214 * sunrpc/openchild.c: Likewise.
36215 * sunrpc/xdr_stdio.c: Likewise.
36216 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36217 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36219 2012-05-24 Roland McGrath <roland@hack.frob.com>
36221 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36223 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36224 in the third column, to generate for the shared library an IFUNC
36225 that uses _dl_vdso_vsym.
36226 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36227 * Makeconfig (object-suffixes-noshared): New variable.
36229 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36230 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36231 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36232 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36235 * include/sys/time.h (__gettimeofday): Remove macro.
36236 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36237 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36239 (__gettimeofday): Add libc_hidden_def.
36240 (gettimeofday): Add libc_hidden_weak.
36241 * sysdeps/mach/gettimeofday.c: Likewise.
36242 * sysdeps/posix/gettimeofday.c: Likewise.
36243 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36244 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36245 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36246 (__gettimeofday_internal): Remove strong_alias.
36247 (__gettimeofday): Add libc_hidden_def.
36248 (gettimeofday): Add libc_hidden_weak.
36249 * sysdeps/unix/syscalls.list (gettimeofday):
36250 Remove __gettimeofday_internal alias.
36252 2012-05-24 Daniel Jacobowitz <drow@false.org>
36253 H.J. Lu <hongjiu.lu@intel.com>
36256 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36257 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36258 (largebin_index_32_big): New.
36259 (largebin_index): Use it for 16-byte alignment.
36260 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36261 correction with front_misalign.
36263 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36291 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36292 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36294 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36298 * math/libm-test.inc (exp_test): Add test from bug 14036.
36299 (pow_test): Add test from bug 10846.
36301 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36303 (special_function): Do not include flags in test name.
36304 (parse_args): Likewise.
36305 * sysdeps/i386/fpu/libm-test-ulps: Update.
36306 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36307 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36308 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36311 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36313 * math/libm-test.inc ("Philosophy"): Update comment about
36315 (UNDERFLOW_EXCEPTION): New macro.
36316 (UNDERFLOW_EXCEPTION_OK): Likewise.
36317 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36318 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36319 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36320 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36321 (INVALID_EXCEPTION_OK): Update value.
36322 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36323 (OVERFLOW_EXCEPTION_OK): Likewise.
36324 (IGNORE_ZERO_INF_SIGN): Likewise.
36325 (test_exceptions): Handle underflow exceptions.
36326 (acos_test): Update for underflow exception expectations.
36327 (cexp_test): Likewise.
36328 (clog_test): Likewise.
36329 (clog10_test): Likewise.
36330 (csqrt_test): Likewise.
36331 (ctan_test): Likewise.
36332 (ctanh_test): Likewise.
36333 (exp_test): Likewise.
36334 (exp10_test): Likewise.
36335 (exp2_test): Likewise.
36336 (expm1_test): Likewise.
36337 (fma_test): Likewise.
36338 (j0_test): Likewise.
36339 (jn_test): Likewise.
36340 (nexttoward_test): Likewise.
36341 (pow_test): Likewise.
36342 (scalbn_test): Likewise.
36343 (scalbln_test): Likewise.
36344 (tan_test): Likewise.
36345 (y1_test): Likewise.
36346 * sysdeps/i386/fpu/libm-test-ulps: Update.
36347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36349 2012-05-23 David S. Miller <davem@davemloft.net>
36351 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36352 (__libc_sigaction): Remove unused local variables.
36354 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36356 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36358 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36360 mktime: avoid signed integer overflow
36361 * time/mktime.c (__mktime_internal): Do not mishandle the case
36362 where diff == INT_MIN.
36364 mktime: simplify computation of average
36365 * time/mktime.c (ranged_convert): Use new time_t_avg function
36366 instead of rolling our own (probably-slower) code.
36368 mktime: do not assume signed right shift propagates sign bit
36369 * time/mktime.c (isdst_differ): New static function.
36370 (__mktime_internal): No need to normalize tm_isdst now.
36371 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36374 mktime: merge another wrapv change from gnulib
36375 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36376 from some compilers.
36378 mktime: remove incorrect attempt at unusual arithmetics
36379 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36380 The code didn't really work on such machines anyway.
36381 (TYPE_MINIMUM): Assume two's complement.
36382 (twos_complement_arithmetic): Verify that long_int and time_t
36383 are two's complement (or unsigned, in the latter case).
36385 mktime: check signed shifts on long_int and time_t, too
36386 * time/mktime.c (SHR): Check that shifts work as desired
36387 on the types long_int and time_t too, as SHR is used on
36390 mktime: do not assume 'long' is wide enough
36391 * time/mktime.c (verify): Move decl up.
36392 (long_int): New type.
36393 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36394 to remove assumption in the code that 'long' is wide enough to
36395 store year values. This assumption is not true on x32 and on
36396 some non-glibc platforms.
36398 mktime: merge wrapv change from gnulib
36399 * time/mktime.c (WRAPV): New macro.
36400 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36401 (guess_time_tm, __mktime_internal): Do not assume that signed
36402 integer overflow wraps around; modern compilers generate code
36403 where this assumption is no longer valid.
36405 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36407 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36408 Replace "jmp L(pseudo_end)" with "ret".
36409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36412 2012-05-23 Andreas Jaeger <aj@suse.de>
36414 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36415 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36417 2012-05-23 Andreas Jaeger <aj@suse.de>
36418 Maximilian Attems <max@stro.at>
36420 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36423 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36425 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36426 code so that pseudo_end is just ret and the stack pointer is
36427 correct also for static library in error case.
36429 2012-05-23 Joseph Myers <joseph@codesourcery.com>
36431 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36432 move to syscalls.list.
36433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36438 * manual/install.texi (Running make install): Do not mention Linux
36439 kernel version for which pt_chown is not needed.
36440 (Linux): Do not mention problems with nscd with 2.0 kernels.
36441 * INSTALL: Regenerated.
36443 2012-05-23 Andreas Jaeger <aj@suse.de>
36445 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36446 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36448 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36450 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36451 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36452 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36453 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36454 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36455 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36456 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36457 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36458 * sysdeps/unix/sysv/linux/bits/in.h
36459 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36461 2012-05-22 Roland McGrath <roland@hack.frob.com>
36463 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36464 (PREPARE_VERSION): Just use assert instead, it will be elided
36465 under [NDEBUG] anyway.
36467 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36469 * sysdeps/unix/sysv/linux/Makefile: Include
36470 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36471 (sysdep_routines): Remove sysctl.
36472 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36473 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36474 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36475 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36476 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36478 2012-05-22 Andreas Jaeger <aj@suse.de>
36480 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36481 that pseudo_end is just ret and the stack pointer is correct also
36482 for static library in error case.
36484 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36487 * nss/nsswitch.c (defconfig_entries): New variable.
36488 (__nss_database_lookup): Don't leak defconfig entries.
36489 (nss_parse_service_list): Don't leak on error paths.
36490 (free_database_entries): New function.
36491 (free_defconfig): New function.
36492 (free_mem): Move common code to free_database_entries.
36494 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36496 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36498 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36500 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36501 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36502 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36504 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36505 (INTERNAL_SYSCALL_TYPES): Likewise.
36506 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36507 (LOAD_REGS_TYPES_[1-6]): Likewise.
36508 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36509 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36511 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36513 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36514 copysignl for GLIBC_2_0.
36515 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36516 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36517 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36518 logbl for GLIBC_2_0.
36519 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36520 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36522 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36525 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36527 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36530 * time/mktime.c: Update copyright years.
36532 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36534 mktime: merge comment-quoting-style change from gnulib
36535 * time/mktime.c: Quote 'like this' in comments.
36536 The GNU coding standards suggest that we no longer quote `like this',
36537 as "`" and "'" are typically rendered asymmetrically nowadays.
36538 The typical gnulib style is to quote 'like this' when quoting
36539 code, and "like this" when quoting English.
36541 * time/mktime.c (compile-command): Add "-I.".
36543 mktime: merge mktime-internal.h change from gnulib
36544 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36546 mktime: merge time_r change from gnulib
36547 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36549 mktime: merge DEBUG change from gnulib
36550 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36551 case system <time.h> has a #define.
36553 mktime: merge <sys/types.h> change from gnulib
36554 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36555 since <time.t> is now guaranteed to define time_t.
36557 mktime: merge HAVE_CONFIG_H change from gnulib
36558 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36560 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36565 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36567 (struct rusage): Use anonymous union to pad each field to
36570 2012-05-21 David S. Miller <davem@davemloft.net>
36572 * Makefules (o-iterator): Remove .s cases.
36573 (compile-command.s): Delete.
36574 (COMPILE.s): Delete.
36575 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36577 2012-05-21 Joseph Myers <joseph@codesourcery.com>
36579 * configure.in (libc_cv_predef_stack_protector): Only consider
36580 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36581 * configure: Regenerated.
36583 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36586 New macro. Use R*LP on int and pointer.
36587 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36588 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36589 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36590 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36592 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36593 [__WORDSIZE_TIME64_COMPAT32] instead of
36594 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36595 (struct utmp): Likewise.
36596 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36597 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36599 (__WORDSIZE_TIME64_COMPAT32): This.
36600 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36601 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36602 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36603 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36604 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36605 (__WORDSIZE_TIME64_COMPAT32): New macro.
36607 2012-05-21 Andreas Jaeger <aj@suse.de>
36609 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36610 only if [SHARED]. Add prototype for __wcschr_ia32.
36612 2012-05-21 Roland McGrath <roland@hack.frob.com>
36614 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36615 of %rbp unmolested in the jmp_buf while mangling the low bits.
36616 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36617 unmolested high bits of %rbp while demangling the low bits.
36618 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36620 2012-05-21 Andreas Jaeger <aj@suse.de>
36622 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36623 * sunrpc/svc_simple.c: Use it for registerrpc.
36624 * sunrpc/xcrypt.c: Use it for passwd2des.
36626 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36628 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36630 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36631 Don't define if [__SYSCALL_WORDSIZE != 32].
36632 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36635 2012-05-21 Bruno Haible <bruno@clisp.org>
36636 Andreas Jaeger <aj@suse.de>
36638 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36639 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36640 inptr and inend for must_buffer_ch.
36641 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36642 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36643 * stdio-common/Makefile (tests): Remove bug15.
36644 (bug15-ENV): Remove macro.
36645 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36648 2012-05-19 Andreas Jaeger <aj@suse.de>
36649 Roland McGrath <roland@hack.frob.com>
36651 * manual/contrib.texi: Completely rewritten. It contains now an
36652 alphabetical list of contributors and their contributions.
36654 2012-05-21 Richard Henderson <rth@twiddle.net>
36656 * misc/getauxval.c (__getauxval): Use unsigned long int.
36657 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36658 (getauxval): Use unsigned long int.
36660 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36662 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36664 2012-05-21 Roland McGrath <roland@hack.frob.com>
36666 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36667 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36668 __alignof__ (long double).
36670 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36674 2012-05-20 Richard Henderson <rth@twiddle.net>
36676 * misc/getauxval.c: New file.
36677 * misc/sys/auxv.h: New file.
36678 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36679 (routines): Add getauxval.
36680 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36681 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36682 * elf/dl-sysdep.c (_dl_auxv): Remove.
36683 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36684 * elf/dl-support.c (_dl_auxv): New variable.
36685 (_dl_aux_init): Initialize it.
36686 * manual/startup.texi (Auxiliary Vector): New node.
36687 * sysdeps/generic/bits/hwcap.h: New file.
36688 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36689 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36690 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36691 * sysdeps/sparc/sysdep.h: ... here. Include it.
36692 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36693 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36699 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36705 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36709 2012-05-19 David S. Miller <davem@davemloft.net>
36711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36713 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36716 * math/s_ccosh.c: Include <float.h>
36717 (__ccosh): Avoid internal overflow calculating sinh and cosh
36718 values before multiplying by sin and cos values.
36719 * math/s_ccoshf.c: Likewise.
36720 * math/s_ccoshl.c: Likewise.
36721 * math/s_csin.c: Likewise.
36722 * math/s_csinf.c: Likewise.
36723 * math/s_csinl.c: Likewise.
36724 * math/s_csinh.c: Likewise.
36725 * math/s_csinhf.c: Likewise.
36726 * math/s_csinhl.c: Likewise.
36727 * math/libm-test.inc (ccos_test): Add more tests.
36728 (ccosh_test): Likewise.
36729 (csin_test): Likewise.
36730 (csinh_test): Likewise.
36731 * sysdeps/i386/fpu/libm-test-ulps: Update.
36732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36734 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36736 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36737 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36739 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36741 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36743 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36744 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36745 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36746 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36747 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36748 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36749 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36750 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36751 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36752 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36753 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36754 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36755 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36756 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36757 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36758 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36759 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36760 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36761 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36762 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36763 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36764 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36765 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36766 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36767 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36768 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36769 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36770 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36771 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36772 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36773 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36775 2012-05-18 Andreas Jaeger <aj@suse.de>
36777 * csu/.gitignore: Delete.
36779 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36781 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36782 (timex): Use __syscall_slong_t.
36784 2012-05-18 Andreas Jaeger <aj@suse.de>
36785 Carlos O'Donell <carlos_odonell@mentor.com>
36787 * manual/install.texi (Configuring and compiling): Update
36788 description about files modified in the source directory.
36789 * INSTALL: Regenerated.
36791 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36793 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36794 value. Use "or" to set return value to -1.
36795 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36796 negate return value.
36798 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36800 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36801 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
36802 failure if the compiler has Graphite support disabled.
36803 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36805 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36806 (CFLAGS-memmove.c): Likewise.
36807 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36810 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36812 * sysdeps/x86_64/x32/_itoa.h: New file.
36814 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36815 getdents system call only if kernel and user dirents have the
36816 same d_ino and d_off.
36818 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36819 LLONG_MAX != LONG_MAX.
36820 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36821 (_fitoa_word): Likewise.
36823 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36825 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36826 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36827 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36829 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36830 include <bits/wordsize.h>. Check __x86_64__ instead of
36832 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36833 if __x86_64__ is defined. Use anonymous union on fpstate.
36835 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36838 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36840 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36841 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36842 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36843 Refer to _rtld_local_ro instead of _rtld_global_ro.
36844 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36846 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36848 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36850 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36851 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36852 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36854 * sysdeps/powerpc/powerpc32/dl-machine.c
36855 (__elf_machine_runtime_setup) [PROF]: Don't reference
36858 2012-05-18 Andreas Jaeger <aj@suse.de>
36860 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36861 function only available for GCCs before 3.4 since GCC 3.4
36862 introduced a builtin.
36864 (llrintf): Likewise.
36865 (llrint): Likewise.
36872 (nearbyint): Likewise.
36873 (nearbyintf): Likewise.
36877 (floorf): Likewise.
36879 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36881 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36882 on both fields and cast pointer to __syscall_ulong_t.
36884 * bits/types.h (__fsword_t): New type.
36885 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36886 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36888 (__FSWORD_T_TYPE): Likewise.
36889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36890 (__FSWORD_T_TYPE): Likewise.
36891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36892 (__FSWORD_T_TYPE): Likewise.
36893 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36894 (__FSWORD_T_TYPE): Likewise.
36895 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36896 __SWORD_TYPE with __fsword_t.
36897 (statfs64): Likewise.
36899 2012-05-17 David S. Miller <davem@davemloft.net>
36901 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36903 2012-05-17 Andreas Jaeger <aj@suse.de>
36905 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36908 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36910 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36912 2012-05-17 Andreas Jaeger <aj@suse.de>
36914 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36917 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36919 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36921 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36923 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36924 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36926 2012-05-17 Andreas Jaeger <aj@suse.de>
36927 Carlos O'Donell <carlos_odonell@mentor.com>
36930 * sysdeps/x86_64/multiarch/init-arch.h
36931 (bit_YMM_Usable): Rename to...
36932 (bit_AVX_Usable): ... this.
36933 (bit_FMA4_Usable): New macro.
36934 (bit_XMM_state): New macro.
36935 (bit_YMM_state): New macro.
36936 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36937 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36938 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36939 (CPUID_OSXSAVE): New macro.
36940 (CPUID_AVX): New macro.
36941 (CPUID_FMA4): New macro.
36942 (index_YMM_Usable): Rename to...
36943 (index_AVX_Usable): ... this.
36944 (HAS_AVX): Use HAS_ARCH_FEATURE.
36945 (HAS_FMA4): Likewise.
36946 (HAS_YMM_USABLE): Remove.
36947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36948 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36950 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36951 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36952 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36953 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36954 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36956 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36958 * math/libm-test.c: Support platforms without multiple rounding modes.
36959 * math/bug-nextafter.c: Support platforms without FP exceptions.
36960 * math/bug-nexttoward.c: Likewise.
36961 * math/test-fenv.c: Likewise.
36962 * math/test-misc.c: Likewise.
36963 * stdlib/bug-getcontext.c: Likewise.
36965 2012-05-17 Andreas Jaeger <aj@suse.de>
36967 * manual/examples/search.c (critter_cmp): Change signature to
36969 * manual/string.texi (Collation Functions): Likewise.
36971 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36973 * bits/types.h: Fold copyright years.
36974 * bits/typesizes.h: Likewise.
36975 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36976 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36977 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36978 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36979 * time/time.h: Likewise.
36981 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36984 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36985 in instead of returning them. Return void.
36986 (__libc_mallinfo): Accumulate over all arenas.
36987 (__malloc_stats): Adjust for change in int_mallinfo interface.
36989 2012-05-16 Roland McGrath <roland@hack.frob.com>
36992 * configure.in (NM): Add AC_CHECK_TOOL for it.
36993 (libc_extra_cflags): New substituted variable.
36994 Check for -fstack-protector being used implicitly.
36995 * configure: Regenerated.
36996 * config.make.in (config-extra-cflags): New variable,
36997 gets @libc_extra_cflags@.
36998 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37001 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37002 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37003 * configure: Regenerated.
37004 * config.make.in (CPPUNDEFS): New substituted variable.
37005 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37006 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37007 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37009 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37011 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37012 (mq_attr): Use __syscall_slong_t.
37014 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37016 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37017 Check __x86_64__ instead of __WORDSIZE.
37018 (_STAT_VER_LINUX): Likewise.
37019 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37020 __syscall_ulong_t and __syscall_slong_t.
37021 (stat64): Likewise.
37023 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37025 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37027 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37029 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37031 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37033 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37036 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37037 include <bits/wordsize.h>. Check __x86_64__ instead of
37039 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37041 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37043 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37044 include <bits/wordsize.h>. Check __x86_64__ instead of
37046 (user_regs_struct): Use "__extension__ unsigned long long"
37047 instead of "unsigned long" if __x86_64__ is defined.
37048 (user): Likewise. Pad after pointer field if __ILP32__ is
37051 2012-05-16 Joseph Myers <joseph@codesourcery.com>
37053 * configure.in (makeinfo): Require version 4.5 or later. Allow
37055 * configure: Regenerated.
37056 * manual/install.texi (texinfo): Increase version requirement to
37058 * INSTALL: Regenerated.
37060 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37062 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37064 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37066 * sysdeps/x86_64/x32/ffs.c: New file.
37068 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37070 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37071 defined. Use __syscall_ulong_t.
37072 (shminfo): Use __syscall_ulong_t.
37073 (shm_info): Likewise.
37075 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37078 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37080 (msgqnum_t): Use __syscall_ulong_t.
37081 (msglen_t): Likewise.
37082 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37085 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37086 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37088 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37090 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37091 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37093 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37096 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37097 include <bits/wordsize.h>. Check __x86_64__ instead of
37100 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37101 "unsigned long long int" if __x86_64__ is defined.
37102 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37104 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37105 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37106 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37108 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37110 (GET_PC): Cast to uintptr_t first.
37111 (GET_FRAME): Likewise.
37112 (GET_STACK): Likewise.
37114 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37115 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37116 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37117 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37118 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37119 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37120 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37121 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37122 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37123 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37124 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37125 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37126 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37127 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37128 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37129 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37130 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37131 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37132 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37133 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37134 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37135 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37136 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37137 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37138 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37139 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37140 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37141 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37142 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37144 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37146 * Makerules (+depfiles): Also collect depfiles from .oS in
37148 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37149 .oS, $(libnldbl-routines)).
37151 * Makerules (native-compile-mkdep-flags): Define.
37152 * sunrpc/Makefile (extra-objs): Add $(addprefix
37153 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37154 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37155 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37156 calling $(make-target-directory).
37158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37160 * bits/types.h (__snseconds_t): Removed.
37161 * time/time.h (struct timespec): Replace __snseconds_t with
37163 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37164 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37166 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37167 (__SNSECONDS_T_TYPE): Likewise.
37168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37169 (__SNSECONDS_T_TYPE): Likewise.
37170 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37171 (__SNSECONDS_T_TYPE): Likewise.
37173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37175 * sysdeps/mach/hurd/bits/typesizes.h
37176 (__SYSCALL_SLONG_TYPE): New macro.
37177 (__SYSCALL_ULONG_TYPE): Likewise.
37179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37181 * bits/types.h (__syscall_slong_t): New type.
37182 (__syscall_ulong_t): Likewise.
37184 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37185 (__SYSCALL_ULONG_TYPE): Likewise.
37186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37187 (__SYSCALL_SLONG_TYPE): Likewise.
37188 (__SYSCALL_ULONG_TYPE): Likewise.
37189 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37190 (__SYSCALL_SLONG_TYPE): Likewise.
37191 (__SYSCALL_ULONG_TYPE): Likewise.
37192 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37193 (__SYSCALL_SLONG_TYPE): Likewise.
37194 (__SYSCALL_ULONG_TYPE): Likewise.
37196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37198 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37199 Add sigaltstack-offsets.sym.
37200 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37201 <sigaltstack-offsets.h>.
37202 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37203 longjmp_msg pointer.
37204 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37205 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37207 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37209 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37211 * elf/stackguard-macros.h: Remove file.
37212 * sysdeps/generic/stackguard-macros.h: New file.
37213 * sysdeps/i386/stackguard-macros.h: Likewise.
37214 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37215 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37216 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37217 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37218 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37219 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37220 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37221 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37222 <elf/stackguard-macros.h>.
37225 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37226 __aligned__ in attribute.
37227 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37228 (gregset_t): Likewise.
37230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37232 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37233 * sysdeps/x86_64/64/Implies-after: Here. New file.
37234 * sysdeps/x86_64/x32/Implies-after: New file.
37236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37238 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37239 and access return value for _dl_profile_fixup. Use R10_LP to
37242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37244 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37246 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37248 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37249 * sysdeps/x86_64/x32/sysdep.h: New file.
37251 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37253 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37254 * sysdeps/x86_64/setjmp.S: Likewise.
37256 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37258 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37259 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37260 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37261 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37262 remove unused global constant.
37264 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37266 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37267 include of <not-cancel.h>.
37269 2012-05-15 Roland McGrath <roland@hack.frob.com>
37271 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37273 2012-05-15 Jeff Law <law@redhat.com>
37274 Andreas Jaeger <aj@suse.de>
37277 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37279 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37280 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37281 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37282 code changing __hst_map_handle.map.
37284 2012-05-15 Roland McGrath <roland@hack.frob.com>
37286 * configure.in (sysnames): Look for Implies-before and Implies-after
37288 * configure: Regenerated.
37290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37292 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37293 8-byte data alignment with LP_SIZE alignment.
37295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37297 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37300 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37302 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37306 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37307 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37308 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37310 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37314 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37315 (stackinfo_sub_sp): Likewise.
37317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37319 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37324 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37332 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37334 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37336 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37338 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37339 into R11_LP and load __x86_64_shared_cache_size_half into
37342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37344 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37347 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37355 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37356 powerpc32/power7/fpu/s_logb.c via #include.
37357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37358 powerpc32/power7/fpu/s_logbf.c via #include.
37359 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37360 powerpc32/power7/fpu/s_logbl.c via #include.
37362 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37364 * README.libm: Remove file.
37366 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37368 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37369 count for x32. Use R*_LP and omit operand-size suffix.
37371 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37373 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37374 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37375 * sysdeps/x86_64/x32/shlib-versions: New file.
37377 2012-05-14 Roland McGrath <roland@hack.frob.com>
37379 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37380 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37381 Use _dl_fatal_printf instead.
37383 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37385 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37386 set if not set by the user. Do not allow for being unset.
37387 * sysdeps/unix/sysv/linux/configure: Regenerated.
37389 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37391 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37392 the `q' suffix from lea and replace .quad with ASM_ADDR.
37394 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37397 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37399 (PTR_DEMANGLE): Likewise.
37401 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37403 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37405 (ASM_ADDR): Likewise.
37406 (RAX_LP): Likewise.
37407 (RBP_LP): Likewise.
37408 (RBX_LP): Likewise.
37409 (RCX_LP): Likewise.
37410 (RDI_LP): Likewise.
37411 (RSI_LP): Likewise.
37412 (RSP_LP): Likewise.
37415 (R10_LP): Likewise.
37416 (R10_LP): Likewise.
37417 (R11_LP): Likewise.
37418 (R12_LP): Likewise.
37419 (R13_LP): Likewise.
37420 (R14_LP): Likewise.
37421 (R15_LP): Likewise.
37423 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37425 * sysdeps/x86_64/x32/dl-machine.h: New file.
37427 2012-05-14 Andreas Jaeger <aj@suse.de>
37429 * manual/Makefile (subdir): Remove export of subdir.
37430 (all): Remove target.
37431 (.PHONY): Remove all from list.
37432 (mkinstalldirs): Remove.
37433 (.PHONY): Remove installdirs from list.
37434 ($(inst_infodir)/libc.info): Use make-target-directory.
37435 (installdirs): Remove.
37436 (subdir_%): Remove.
37437 (glibc-targets): Remove.
37440 ($(objpfx)stubs ../po/manual.pot): Remove.
37441 ($(objpfx)stamp%): Remove.
37442 (make-target-directory): Remove.
37443 (subdir_install): Remove.
37444 (routines): Remove.
37451 * manual/.gitignore: Remove, it's not needed anymore.
37452 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37454 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37456 (texis): Renamed to $(objpfx)texis.
37457 (texis-path): New, contains path to generated files.
37458 (chapters.%): Use texis-path for complete path, add extra argument
37460 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37461 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37462 (summary,texi, stamp-summary): Use complete path of
37463 files. Generate files in build dir.
37464 (dir-add.texi): Build in build dir.
37465 (libm-err.texi,stamp-libm-err): Likewise.
37466 (version.texi, stamp-version): Likewise.
37467 (.%c.texi): Likewise.
37468 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37469 (mostlyclean): Remove target.
37470 (realclean): Remove target.
37471 (generated): Add new variable with contents from mostlyclean and
37472 realclean, remove entries duplicated in common-mostlyclean, add
37473 stamp-libm-err and stamp-version.
37474 (generated-dirs): Add libc directory.
37475 ($(inst_infodir)/libc.info): Install files from build dir.
37477 * manual/install.texi (Configuring and compiling): Adjust since
37478 the info files are not part of the tar ball anymore.
37480 2012-05-14 Andreas Jaeger <aj@suse.de>
37482 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37485 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37488 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37489 to 2.2.0 where earlier.
37490 * sysdeps/unix/sysv/linux/configure: Regenerated.
37491 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37492 Remove conditional code.
37493 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37494 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37495 Remove conditional code.
37496 [!__NR_lchown]: Likewise.
37497 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37498 [__NR_lchown]: Likewise.
37499 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37500 comment referencing __ASSUME_LCHOWN_SYSCALL.
37501 * sysdeps/unix/sysv/linux/i386/sigaction.c
37502 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37503 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37504 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37505 Remove conditional code.
37506 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37507 (__protocol_available): Remove #if 0 code.
37508 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37510 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37511 * sysdeps/unix/sysv/linux/kernel-features.h
37512 (__ASSUME_GETCWD_SYSCALL): Don't define.
37513 (__ASSUME_REALTIME_SIGNALS): Likewise.
37514 (__ASSUME_PREAD_SYSCALL): Likewise.
37515 (__ASSUME_PWRITE_SYSCALL): Likewise.
37516 (__ASSUME_POLL_SYSCALL): Likewise.
37517 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37518 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37520 (__ASSUME_SIOCGIFNAME): Don't define.
37521 (__ASSUME_MSG_NOSIGNAL): Likewise.
37522 (__ASSUME_SENDFILE): Define unconditionally.
37523 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37524 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37526 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37527 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37528 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37529 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37530 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37531 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37532 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37534 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37535 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37537 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37540 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37541 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37543 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37546 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37547 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37549 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37550 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37552 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37553 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37555 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37556 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37557 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37558 Remove conditional code.
37559 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37560 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37561 Remove conditional code.
37562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37563 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37564 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37565 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37566 Remove conditional code.
37567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37568 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37569 Remove conditional code.
37570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37571 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37572 Remove conditional code.
37573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37574 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37575 Remove conditional code.
37576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37577 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37578 Remove conditional code.
37579 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37580 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37581 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37583 * sysdeps/unix/sysv/linux/sigaction.c
37584 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37585 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37586 * sysdeps/unix/sysv/linux/sigpending.c
37587 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37588 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37589 * sysdeps/unix/sysv/linux/sigprocmask.c
37590 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37591 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37592 * sysdeps/unix/sysv/linux/sigsuspend.c
37593 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37594 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37595 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37596 (__libc_missing_rt_sigs): Remove.
37597 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37598 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37599 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37600 Remove conditional code.
37601 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37602 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37604 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37605 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37606 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37607 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37609 2012-05-14 Andreas Jaeger <aj@suse.de>
37611 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37612 it's not used in glibc.
37613 (__coshm1): Likewise.
37614 (__acosh1p): Likewise.
37617 * manual/string.texi (Copying and Concatenation): Add missing
37618 variable in concat example.
37619 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37621 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37625 __builtin_clzl with __builtin_clzll.
37627 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37630 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37633 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37635 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37636 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37637 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37638 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37640 2012-05-14 Mike Frysinger <vapier@gentoo.org>
37642 * NEWS: Update ia64 info.
37644 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37646 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37649 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37651 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37652 * sysdeps/unix/syscalls.list (dup3): Likewise.
37653 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37654 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37656 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37658 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37659 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37661 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37663 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37665 (TLS_IE): Use mov/add instead of movq/addq to load thread
37667 (TLS_GD_PREFIX): New.
37670 2012-05-11 David S. Miller <davem@davemloft.net>
37672 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37673 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37674 (_FPU_SETCW): Likewise.
37676 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37678 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37679 is 32-byte aligned.
37681 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37684 * iconvdata/gb18030.c: Update tables.
37685 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37686 characters specially.
37687 (BODY for TO_LOOP): Add encoding of missing ranges.
37689 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37692 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37693 * sysdeps/mach/hurd/dup3.c: Likewise.
37694 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37695 * sysdeps/powerpc/memmove.c:: Likewise.
37697 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37700 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37702 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37704 * elf/elf.h (R_X86_64_RELATIVE64): New.
37705 (R_X86_64_NUM): Updated.
37706 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37707 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37708 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37709 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37710 tst-quad1pie tst-quad2pie
37711 (modules-names): Add tst-quadmod1 tst-quadmod2.
37712 ($(objpfx)tst-quad1): New dependency.
37713 ($(objpfx)tst-quad2): Likewise.
37714 ($(objpfx)tst-quad1pie): Likewise.
37715 ($(objpfx)tst-quad2pie): Likewise.
37716 * sysdeps/x86_64/tst-quad1.c: New file.
37717 * sysdeps/x86_64/tst-quad1pie.c: New file.
37718 * sysdeps/x86_64/tst-quad2.c: Likewise.
37719 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37720 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37721 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37722 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37723 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37725 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37727 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37728 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37729 * streams/stropts.h (t_scalar_t): Define type.
37731 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37732 (_PATH_PRESERVE): Set to "/var/lib".
37733 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37735 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37738 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37739 if __dir_mkfile succeeded.
37741 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37742 checking for _hurd_dtablesize. Unlock it right after having
37743 finished _hurd_dtable allocation.
37745 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37747 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37748 * sysdeps/mach/hurd/configure: Regenerated.
37749 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37750 special-casing to...
37751 * sysdeps/gnu/configure.in: ... this new file.
37752 * sysdeps/unix/sysv/linux/configure: Regenerated.
37753 * sysdeps/gnu/configure: New generated file.
37755 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37756 for Linux: use nsec instead of usec, as well as:
37757 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37758 members of type struct timespec.
37759 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37761 (struct stat64): Likewise.
37762 (_STATBUF_ST_NSEC): New macro.
37763 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37765 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37766 __strtoul_internal rather than strtoul.
37768 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37770 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37773 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37775 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37776 which preserves existing values.
37777 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37779 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37781 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37782 TIMEOUT values. Return EINVAL for NFDS values either negative or
37783 greater than FD_SETSIZE.
37785 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37787 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37788 allocated, call __vm_protect to finish enabling the existing space, and
37789 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37790 allocate the remainder.
37792 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37794 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37795 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37797 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37799 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37800 sysdeps/mach/hurd/readlink.c.
37802 * posix/tst-sysconf.c (posix_options): Only use
37803 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37804 _POSIX_SYNCHRONIZED_IO when they are defined
37805 * sysdeps/mach/hurd/bits/posix_opt.h:
37806 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37807 (_XOPEN_REALTIME): Undefine macro.
37808 (_XOPEN_REALTIME_THREADS): Undefine macro.
37809 (_XOPEN_SHM): Undefine macro.
37810 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37812 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37814 (_POSIX_ASYNC_IO): Undefine macro.
37815 (_POSIX_PRIORITIZED_IO): Undefine macro.
37816 (_POSIX_SPIN_LOCKS): Define macro to -1.
37818 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37819 SA_NODEFER, SA_RESETHAND.
37820 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37821 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37824 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37826 * elf/Makefile (pldd-modules): Define unconditionally.
37828 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37830 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37832 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37834 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37835 Return ENOENT when name is empty.
37836 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37838 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37840 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37842 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37844 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37846 Fix mlock in all cases except non-readable pages.
37847 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37848 instead of VM_PROT_ALL as parameter to __vm_wire function.
37850 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37851 (__mkdir): When path is `/', just fail with EEXIST.
37852 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37854 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37856 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37857 <sys/uio.h> (for writev).
37858 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37859 and <sys/param.h> (for MIN).
37861 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37863 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37864 REQUESTED_TIME. Properly set the remaining time and return EINTR
37867 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37869 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37870 Depend on against $(link-rpcuserlibs).
37872 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37874 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37875 (__libc_stack_end): Do not use attribute_relro.
37876 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37877 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37878 to libthread-provided value.
37879 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37882 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37885 * bits/libc-lock.h (__libc_once_get): New macro.
37886 * sysdeps/mach/bits/libc-lock.h: Likewise.
37887 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37888 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37889 instead of using implementation details.
37891 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37892 * libio/freopen.c: Likewise.
37893 * libio/freopen64.c: Likewise.
37894 * misc/syslog.c: Likewise.
37895 * nscd/connections.c: Likewise.
37896 * nscd/netgroupcache.c: Likewise.
37897 * sysdeps/posix/getcwd.c: Likewise.
37899 2012-05-10 Roland McGrath <roland@hack.frob.com>
37901 * math/w_ilogbf.c: Add #include <limits.h>.
37903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37905 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37906 path instead of returning without unlocking.
37908 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37909 immediate-write ioctls.
37910 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37912 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37914 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37915 __builtin_frame_address instead of making assumptions about the
37916 location of the return address relative to DATA. Force early load of
37917 the return address.
37918 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37919 __builtin_frame_address.
37922 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37923 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37924 implement dup3 and do some further code clean-ups.
37925 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37926 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37928 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37930 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37932 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37933 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37934 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37935 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37936 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37939 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37940 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37941 when handler == SIG_ERR, not when handler != SIG_ERR.
37943 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37945 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37946 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37949 accept4 for GNU Hurd.
37950 * include/sys/socket.h (__libc_accept4): New prototype.
37951 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37952 to implement __libc_accept4.
37953 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37955 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37957 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37958 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37959 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37960 signal-defines.sym.
37962 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37964 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37966 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37968 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37969 assertion on O_CLOEXEC flag.
37970 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37971 * hurd/intern-fd.c: Likewise.
37972 * hurd/port2fd.c: Likewise.
37974 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37977 * bits/in.h (IPV6_PKTINFO): Define new macro.
37978 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37980 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37985 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37987 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37988 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37989 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37990 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37991 * math/libm-test.inc (logb_test) : Additional logb tests.
37993 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37994 Andreas Jaeger <aj@suse.de>
37996 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37997 * configure: Regenerated.
37998 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37999 * config.make.in (link-obsolete-rpc): New substituted variable.
38000 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38001 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38002 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38003 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38004 so that libc.a contains the symbols.
38005 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38006 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38007 * sunrpc/auth_none.c: Likewise.
38008 * sunrpc/auth_unix.c: Likewise.
38009 * sunrpc/authdes_prot.c: Likewise.
38010 * sunrpc/authuxprot.c: Likewise.
38011 * sunrpc/clnt_gen.c: Likewise.
38012 * sunrpc/clnt_perr.c: Likewise.
38013 * sunrpc/clnt_raw.c: Likewise.
38014 * sunrpc/clnt_simp.c: Likewise.
38015 * sunrpc/clnt_tcp.c: Likewise.
38016 * sunrpc/clnt_udp.c: Likewise.
38017 * sunrpc/clnt_unix.c: Likewise.
38018 * sunrpc/des_crypt.c: Likewise.
38019 * sunrpc/des_soft.c: Likewise.
38020 * sunrpc/get_myaddr.c: Likewise.
38021 * sunrpc/key_call.c: Likewise.
38022 * sunrpc/key_prot.c: Likewise.
38023 * sunrpc/netname.c: Likewise.
38024 * sunrpc/pm_getmaps.c: Likewise.
38025 * sunrpc/pm_getport.c: Likewise.
38026 * sunrpc/pmap_clnt.c: Likewise.
38027 * sunrpc/pmap_prot.c: Likewise.
38028 * sunrpc/pmap_prot2.c: Likewise.
38029 * sunrpc/pmap_rmt.c: Likewise.
38030 * sunrpc/publickey.c: Likewise.
38031 * sunrpc/rpc_cmsg.c: Likewise.
38032 * sunrpc/rpc_common.c: Likewise.
38033 * sunrpc/rpc_dtable.c: Likewise.
38034 * sunrpc/rpc_prot.c: Likewise.
38035 * sunrpc/rpc_thread.c: Likewise.
38036 * sunrpc/rtime.c: Likewise.
38037 * sunrpc/svc.c: Likewise.
38038 * sunrpc/svc_auth.c: Likewise.
38039 * sunrpc/svc_raw.c: Likewise.
38040 * sunrpc/svc_run.c: Likewise.
38041 * sunrpc/svc_tcp.c: Likewise.
38042 * sunrpc/svc_udp.c: Likewise.
38043 * sunrpc/svc_unix.c: Likewise.
38044 * sunrpc/svcauth_des.c: Likewise.
38045 * sunrpc/xcrypt.c: Likewise.
38046 * sunrpc/xdr.c: Likewise.
38047 * sunrpc/xdr_array.c: Likewise.
38048 * sunrpc/xdr_float.c: Likewise.
38049 * sunrpc/xdr_intXX_t.c: Likewise.
38050 * sunrpc/xdr_mem.c: Likewise.
38051 * sunrpc/xdr_rec.c: Likewise.
38052 * sunrpc/xdr_ref.c: Likewise.
38053 * sunrpc/xdr_sizeof.c: Likewise.
38054 * sunrpc/xdr_stdio.c: Likewise.
38056 2012-05-10 Roland McGrath <roland@hack.frob.com>
38058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38059 change. Update copyright years.
38061 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38063 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38065 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38066 Joseph Myers <joseph@codesourcery.com>
38067 Paul Pluzhnikov <ppluzhnikov@google.com>
38070 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38072 [cross-compiling] (extra-libs): Likewise.
38073 [cross-compiling] (extra-libs-others): Likewise.
38074 [cross-compiling] (librpcsvc-routines): Likewise.
38075 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38076 [cross-compiling] (omit-deps): Likewise.
38077 (sunrpc-CPPFLAGS): New variable.
38078 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38079 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38080 (cross-rpcgen-objs): New variable.
38081 (extra-objs): Append $(cross-rpcgen-objs).
38082 ($(cross-rpcgen-objs)): New rule.
38083 ($(objpfx)cross-rpcgen): Likewise.
38084 (rpcgen-cmd): Define to use $(built-program-file). Expand
38086 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38087 ($(objpfx)x%.stmp): Likewise.
38088 * sunrpc/proto.h [IS_IN_build] (_): Define.
38089 [IS_IN_build] (_libc_intl_domainname): Likewise.
38091 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38093 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38094 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38095 and R_X86_64_TPOFF64.
38097 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38099 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38100 sysdeps/unix/sysv/syscalls.list.
38103 * sysdeps/unix/sysv/syscalls.list: Remove file.
38105 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38108 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38109 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38110 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38111 (__LC_IDENTIFICATION): Make these macros useful in #if
38112 expressions, as required by C99.
38114 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38116 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38117 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38120 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38122 * stdlib/longlong.h: Updated from GCC.
38124 2012-05-09 Andreas Jaeger <aj@suse.de>
38126 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38127 default is first entry.
38128 (run_mode): Set type.
38129 (main): Remove informal message about syslog.
38130 (options): Fix typo.
38133 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38136 (llrintf): Likewise.
38137 (llrint): Likewise.
38140 (nearbyint): Likewise.
38141 (nearbyintf): Likewise.
38143 2012-05-09 Andreas Jaeger <aj@suse.de>
38144 Pedro Alves <palves@redhat.com>
38146 * nscd/nscd.c (run_mode): Use enum.
38147 (main): Cleanup coding style issue.
38149 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
38150 Andreas Jaeger <aj@suse.de>
38152 * nscd/nscd.c (go_background): Replaced with...
38153 (run_mode): ... this.
38154 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38155 (options): Add -F --foreground.
38156 (main): Implement it.
38157 (parse_opt): Parse it.
38159 2012-05-09 Andreas Jaeger <aj@suse.de>
38162 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38163 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38164 -Wconversion warning.
38165 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38168 2012-05-09 Joseph Myers <joseph@codesourcery.com>
38170 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38172 (LC_ALL): Use macro-int-constant.
38173 (LC_COLLATE): Likewise.
38174 (LC_CTYPE): Likewise.
38175 (LC_MESSAGES): Likewise.
38176 (LC_MONETARY): Likewise.
38177 (LC_NUMERIC): Likewise.
38178 (LC_TIME): Likewise.
38179 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38180 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38182 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38184 [C99-based standards] (float_t): Expect type.
38185 [C99-based standards] (double_t): Expect type.
38186 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38188 [C99-based standards] (HUGE_VALL): Likewise.
38189 [C99-based standards] (INFINITY): Likewise.
38190 [C99-based standards] (NAN): Likewise.
38191 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38192 [C99-based standards] (FP_NAN): Likewise.
38193 [C99-based standards] (FP_NORMAL): Likewise.
38194 [C99-based standards] (FP_SUBNORMAL): Likewise.
38195 [C99-based standards] (FP_ZERO): Likewise.
38196 [C99-based standards] (FP_FAST_FMA): Use
38197 optional-macro-int-constant. Specify type. Require == 1.
38198 [C99-based standards] (FP_FAST_FMAF): Likewise.
38199 [C99-based standards] (FP_FAST_FMAL): Likewise.
38200 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38201 [C99-based standards] (FP_ILOGBNAN): Likewise.
38202 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38204 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38205 [C99-based standards] (math_errhandling): Specify type.
38206 [ISO99 || ISO11] (signgam): Do not allow.
38207 [non-C99-based standards] (copysignf): Do not allow.
38208 [non-C99-based standards] (exp2f): Likewise.
38209 [non-C99-based standards] (log2f): Likewise.
38210 [non-C99-based standards] (modff): Allow.
38211 [non-C99-based standards] (erff): Do not allow.
38212 [non-C99-based standards] (erfcf): Likewise.
38213 [non-C99-based standards] (gammaf): Likewise.
38214 [non-C99-based standards] (hypotf): Likewise.
38215 [non-C99-based standards] (j0f): Likewise.
38216 [non-C99-based standards] (j1f): Likewise.
38217 [non-C99-based standards] (jnf): Likewise.
38218 [non-C99-based standards] (lgammaf): Likewise.
38219 [non-C99-based standards] (tgammaf): Likewise.
38220 [non-C99-based standards] (y0f): Likewise.
38221 [non-C99-based standards] (y1f): Likewise.
38222 [non-C99-based standards] (ynf): Likewise.
38223 [non-C99-based standards] (isnanf): Likewise.
38224 [non-C99-based standards] (acoshf): Likewise.
38225 [non-C99-based standards] (asinhf): Likewise.
38226 [non-C99-based standards] (atanhf): Likewise.
38227 [non-C99-based standards] (cbrtf): Likewise.
38228 [non-C99-based standards] (expm1f): Likewise.
38229 [non-C99-based standards] (ilogbf): Likewise.
38230 [non-C99-based standards] (log1pf): Likewise.
38231 [non-C99-based standards] (logbf): Likewise.
38232 [non-C99-based standards] (nextafterf): Likewise.
38233 [non-C99-based standards] (remainderf): Likewise.
38234 [non-C99-based standards] (rintf): Likewise.
38235 [non-C99-based standards] (scalbf): Likewise.
38236 [non-C99-based standards] (copysignl): Likewise.
38237 [non-C99-based standards] (exp2l): Likewise.
38238 [non-C99-based standards] (log2l): Likewise.
38239 [non-C99-based standards] (modfl): Allow.
38240 [non-C99-based standards] (erfl): Do not allow.
38241 [non-C99-based standards] (erfcl): Likewise.
38242 [non-C99-based standards] (gammal): Likewise.
38243 [non-C99-based standards] (hypotl): Likewise.
38244 [non-C99-based standards] (j0l): Likewise.
38245 [non-C99-based standards] (j1l): Likewise.
38246 [non-C99-based standards] (jnl): Likewise.
38247 [non-C99-based standards] (lgammal): Likewise.
38248 [non-C99-based standards] (tgammal): Likewise.
38249 [non-C99-based standards] (y0l): Likewise.
38250 [non-C99-based standards] (y1l): Likewise.
38251 [non-C99-based standards] (ynl): Likewise.
38252 [non-C99-based standards] (isnanl): Likewise.
38253 [non-C99-based standards] (acoshl): Likewise.
38254 [non-C99-based standards] (asinhl): Likewise.
38255 [non-C99-based standards] (atanhl): Likewise.
38256 [non-C99-based standards] (cbrtl): Likewise.
38257 [non-C99-based standards] (expm1l): Likewise.
38258 [non-C99-based standards] (ilogbl): Likewise.
38259 [non-C99-based standards] (log1pl): Likewise.
38260 [non-C99-based standards] (logbl): Likewise.
38261 [non-C99-based standards] (nextafterl): Likewise.
38262 [non-C99-based standards] (remainderl): Likewise.
38263 [non-C99-based standards] (rintl): Likewise.
38264 [non-C99-based standards] (scalbl): Likewise.
38265 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38266 [non-C99-based standards] (FP_*): Do not allow.
38267 [C99-based standards] (FP_*): Change to
38268 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38269 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38271 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38272 (SIG_ERR): Likewise.
38273 [X/Open-based standards] (SIG_HOLD): Likewise.
38274 (SIG_IGN): Likewise.
38275 (SIGABRT): Use macro-int-constant. Specify type. Require
38277 (SIGFPE): Likewise.
38278 (SIGILL): Likewise.
38279 (SIGINT): Likewise.
38280 (SIGSEGV): Likewise.
38281 (SIGTER): Likewise.
38282 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38283 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38284 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38285 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38286 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38287 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38288 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38289 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38290 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38291 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38292 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38293 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38294 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38295 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38296 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38297 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38298 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38299 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38300 [X/Open-based standards] (SIGTRAP): Likewise.
38301 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38302 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38303 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38304 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38305 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38308 2012-05-08 Ian Wienand <ianw@vmware.com>
38311 * time/tzset.c (__tzset_parse_tz): Update default rules for
38312 daylight time changes in the Energy Policy Act of 2005.
38314 2012-05-09 Andreas Jaeger <aj@suse.de>
38317 * elf/ldconfig.c (parse_conf): Change string to make clear that
38318 ldconfig only issued a warning if ld.so.conf does not exist.
38320 2012-05-08 David S. Miller <davem@davemloft.net>
38322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38323 movxtod instead of popping the value on the stack.
38325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38327 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38329 * config.h.in: Add HAVE_ARM_PCS_VFP.
38331 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
38334 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38335 checking but the checks are disabled for any reason.
38337 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38339 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38340 and ELF64_R_TYPE with ELFW(R_TYPE).
38342 2012-05-08 Joseph Myers <joseph@codesourcery.com>
38344 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38345 (ulimit): Likewise.
38347 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38348 (settimeofday): Likewise.
38350 2012-05-08 Mike Frysinger <vapier@gentoo.org>
38352 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38353 a struct th_u2 inside the union, and move tu_block/tu_code into
38354 a new th_u3 union of tu_block/tu_code inside of that. Move
38355 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38356 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38357 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38358 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38359 (th_stuff): Change to th_u1.tu_stuff.
38361 (th_msg): Change to th_u1.th_u2.tu_data.
38363 2012-05-07 David S. Miller <davem@davemloft.net>
38365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38368 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38369 (SETUP_PIC_REG): Use it.
38370 (SETUP_PIC_REG_LEAF): Use it.
38372 2012-05-07 Joseph Myers <joseph@codesourcery.com>
38376 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38378 (EXPL_FINITE): Likewise.
38379 (FLDLOG): Likewise.
38380 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38381 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38383 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38385 (EXPL_FINITE): Likewise.
38386 (FLDLOG): Likewise.
38387 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38388 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38390 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38391 test of -max_value argument for long double.
38392 * sysdeps/i386/fpu/libm-test-ulps: Update.
38393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38395 2012-05-06 David S. Miller <davem@davemloft.net>
38397 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38398 quad soft-float symbols whose references which are compiler
38400 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38402 2012-05-06 Joseph Myers <joseph@codesourcery.com>
38406 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38408 (EXPL_FINITE): Likewise.
38409 (FLDLOG): Likewise.
38412 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38413 Adjust comments for base varying.
38414 (__expl_finite): Change alias to EXPL_FINITE.
38415 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38417 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38418 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38419 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38420 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38421 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38423 (EXPL_FINITE): Likewise.
38424 (FLDLOG): Likewise.
38427 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38428 Adjust comments for base varying.
38429 (__expl_finite): Change alias to EXPL_FINITE.
38430 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38435 * math/libm-test.inc (check_float_internal): Correct ulp
38436 calculation for subnormal expected results.
38438 2012-05-06 Andreas Jaeger <aj@suse.de>
38440 * Makeconfig (+math-flags): New, set to -frounding-math.
38441 (+cflags): Add +math-flags so that all of glibc gets compiled with
38444 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38446 2012-05-05 Joseph Myers <joseph@codesourcery.com>
38448 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38454 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38455 (__ieee754_expl): Allow for and saturate large arguments.
38456 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38457 (u_threshold): Likewise.
38458 (__exp): Call __ieee754_exp before checking for overflow and
38460 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38461 (u_threshold): Likewise.
38462 (__expf): Call __ieee754_expf before checking for overflow and
38464 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38465 (u_threshold): Likewise.
38466 (__expl): Call __ieee754_expl before checking for overflow and
38468 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38469 (__ieee754_expl): Allow for and saturate large arguments.
38470 * math/libm-test.inc (exp_test): Add another test. Do not allow
38471 missing overflow exception on overflow.
38472 (expm1_test): Do not allow missing overflow exception on overflow.
38474 * sysdeps/i386/fpu/e_expl.c: Move to ...
38475 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38476 rather than using inline asm.
38477 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38478 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38479 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38481 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38484 (signal): Likewise.
38488 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38490 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38491 sysdeps/unix/common/syscalls.list.
38492 (fchmod): Likewise.
38493 (fchown): Likewise.
38494 (ftruncate): Likewise.
38495 (getrusage): Likewise.
38496 (gettimeofday): Likewise.
38497 (setpgid): Likewise.
38498 (setregid): Likewise.
38499 (setreuid): Likewise.
38500 (sigaction): Likewise.
38501 (truncate): Likewise.
38502 (vhangup): Likewise.
38503 * sysdeps/unix/common/syscalls.list: Remove file.
38504 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38505 * sysdeps/unix/sysv/linux/Implies: Likewise.
38507 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38509 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38511 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38515 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38518 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38521 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38524 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38527 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38530 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38533 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38537 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38541 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38544 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38548 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38552 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38554 * sysdeps/unix/common/bits/dirent.h: Remove file.
38555 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38557 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38558 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38559 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38560 * sysdeps/unix/bsd/isatty.c: Likewise.
38561 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38562 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38563 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38565 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38568 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38569 long double comparison inaccuracies.
38570 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38573 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38575 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38576 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38578 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38581 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38582 nonzero digits before rounding a hex value.
38583 * stdlib/tst-strtod.c (tests): Add another test.
38585 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38587 * sysdeps/s390/fpu/libm-test-ulps: Update.
38589 2012-05-03 Andreas Jaeger <aj@suse.de>
38591 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38592 does not get optimized out.
38593 (malloc_opt_barrier): New.
38595 2012-05-03 Andreas Jaeger <aj@suse.de>
38596 Roland McGrath <roland@hack.frob.com>
38598 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38599 intermediate file deletion.
38600 (generated): Add .symlist files.
38602 2012-05-03 Joseph Myers <joseph@codesourcery.com>
38605 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38606 Redirect under this condition.
38607 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38608 [__USE_GNU] (__dprintf_chk): Not under this condition.
38609 [__USE_GNU] (__vdprintf_chk): Likewise.
38610 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38611 under this condition.
38612 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38613 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38614 [__USE_XOPEN2K8] (vdprintf): Likewise.
38615 [__USE_GNU] (__dprintf_chk): Not under this condition.
38616 [__USE_GNU] (__vdprintf_chk): Likewise.
38617 [__USE_GNU] (dprintf): Likewise.
38618 [__USE_GNU] (vdprintf): Likewise.
38620 2012-05-03 Roland McGrath <roland@hack.frob.com>
38622 * elf/Makefile (common-generated): Set this instead of generated for
38623 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38624 $(all-built-dso)-derived lists.
38626 2012-05-03 Andreas Jaeger <aj@suse.de>
38628 * sysdeps/i386/fpu/libm-test-ulps: Update.
38631 * FAQ.in: Likewise.
38632 * scripts/gen-FAQ.pl: Likewise.
38633 * manual/install.texi (Installation): Point to online location of
38635 * Makefile (files-for-dist): Remove FAQ.
38638 2012-05-02 Allan McRae <allan@archlinux.org>
38640 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38641 (LDFLAGS-reldepmod5.so): Likewise.
38642 (LDFLAGS-reldep6mod1.so): Likewise.
38643 (LDFLAGS-reldep6mod4.so): Likewise.
38644 (LDFLAGS-reldep8mod3.so): Likewise.
38645 (LDFLAGS-unload4mod1.so): Likewise.
38646 (LDFLAGS-unload4mod2.so): Likewise.
38647 (LDFLAGS-tst-initorder): Likewise.
38648 (LDFLAGS-tst-initordera2.so): Likewise.
38649 (LDFLAGS-tst-initordera3.so): Likewise.
38650 (LDFLAGS-tst-initordera4.so): Likewise.
38651 (LDFLAGS-tst-initorderb2.so): Likewise.
38652 (LDFLAGS-noload): Likewise.
38653 (LDFLAGS-next): Likewise.
38654 (LDFLAGS-order2mod1.so): Likewise.
38655 (LDFLAGS-order2mod2.so): Likewise.
38656 (LDFLAGS-tst-initorder2): Likewise.
38657 (LDFLAGS-tst-initorder2a.so): Likewise.
38658 (LDFLAGS-tst-initorder2b.so): Likewise.
38659 (LDFLAGS-tst-initorder2c.so): Likewise.
38660 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38662 2012-05-02 David S. Miller <davem@davemloft.net>
38664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38666 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38669 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38671 2012-05-02 Andreas Jaeger <aj@suse.de>
38673 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38674 since we manipulate rounding mode.
38675 (CPPFLAGS-test-idouble.c): Likewise.
38676 (CPPFLAGS-test-ifloat.c): Likewise.
38677 (CFLAGS-test-ldouble.c): Likewise.
38678 (CFLAGS-test-double.c): Likewise.
38679 (CFLAGS-test-float.c): Likewise.
38680 (CFLAGS-test-misc.c): Likewise.
38681 (CFLAGS-test-test-fenv.c): Likewise.
38683 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38687 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38688 comparisons to determine direction to adjust input.
38690 2012-05-01 Roland McGrath <roland@hack.frob.com>
38692 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38693 output to the target.
38695 * scripts/localplt.awk: New file.
38696 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38697 (check-localplt-CFLAGS): Variable removed.
38698 ($(all-built-dso:=.jmprel)): New static pattern rule.
38699 (generated): Add those targets.
38700 (localplt-built-dso): New variable.
38701 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38703 * elf/check-localplt.c: File removed.
38705 * scripts/check-execstack.awk: New file.
38706 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38707 (check-execstack-CFLAGS): Variable removed.
38708 ($(objpfx)check-execstack.h): Target removed.
38709 ($(objpfx)execstack-default): New target.
38710 (generated): Add that instead of check-execstack.h.
38711 ($(all-built-dso:=.phdr)): New static pattern rule.
38712 (generated): Add those targets.
38713 * elf/check-execstack.c: File removed.
38715 * scripts/check-textrel.awk: New file.
38716 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38717 (check-textrel-CFLAGS): Variable removed.
38718 (all-built-dso): Use := to define.o
38719 ($(all-built-dso:=.dyn)): New static pattern rule.
38720 (generated): Add those targets.
38721 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38722 * config.make.in (READELF): New substituted variable.
38723 * elf/check-textrel.c: File removed.
38725 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38727 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38729 * conform/data/ctype.h-data [C99-based standards] (isblank):
38731 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38732 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38733 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38734 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38735 Specify type. Require positive value.
38736 (EILSEQ): Likewise.
38737 (ERANGE): Likewise.
38738 [ISO || POSIX] (EILSEQ): Do not expect.
38739 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38740 Specify type. Require positive value.
38741 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38742 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38743 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38744 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38745 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38746 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38747 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38748 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38749 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38750 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38751 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38752 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38753 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38754 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38755 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38756 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38757 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38758 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38759 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38760 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38761 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38762 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38763 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38764 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38765 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38766 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38767 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38768 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38769 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38770 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38771 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38772 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38773 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38774 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38775 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38776 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38777 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38778 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38779 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38780 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38781 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38782 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38783 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38784 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38785 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38786 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38787 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38788 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38789 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38790 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38791 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38792 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38793 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38794 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38795 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38796 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38797 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38798 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38799 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38800 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38801 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38802 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38803 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38804 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38805 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38806 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38807 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38808 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38809 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38810 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38811 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38812 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38813 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38814 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38815 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38816 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38817 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38819 (FLT_ROUNDS): Expect as macro, not constant.
38820 (FLT_MANT_DIG): Use macro-int-constant.
38821 (DBL_MANT_DIG): Likewise.
38822 (LDBL_MANT_DIG): Likewise.
38823 (FLT_DIG): Likewise.
38824 (DBL_DIG): Likewise.
38825 (LDBL_DIG): Likewise.
38826 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38827 (DBL_MIN_EXP): Likewise.
38828 (LDBL_MIN_EXP): Likewise.
38829 (FLT_MAX_EXP): Use macro-int-constant.
38830 (DBL_MAX_EXP): Likewise.
38831 (LDBL_MAX_EXP): Likewise.
38832 (FLT_MAX_10_EXP): Likewise.
38833 (DBL_MAX_10_EXP): Likewise.
38834 (LDBL_MAX_10_EXP): Likewise.
38835 (FLT_MAX): Use macro-constant.
38836 (DBL_MAX): Likewise.
38837 (LDBL_MAX): Likewise.
38838 (FLT_EPSILON): Use macro-constant. Give upper bound.
38839 (DBL_EPSILON): Likewise.
38840 (LDBL_EPSILON): Likewise.
38841 (FLT_MIN): Likewise.
38842 (DBL_MIN): Likewise.
38843 (LDBL_MIN): Likewise.
38844 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38845 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38846 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38847 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38848 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38849 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38850 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38851 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38852 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38853 [ISO11] (FLT_TRUE_MIN): Likewise.
38854 [ISO11] (LDBL_TRUE_MIN): Likewise.
38855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38856 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38857 (SCHAR_MIN): Use macro-int-constant. Specify type.
38858 (SCHAR_MAX): Likewise.
38859 (UCHAR_MAX): Likewise.
38860 (CHAR_MIN): Likewise.
38861 (CHAR_MAX): Likewise.
38862 (MB_LEN_MAX): Use macro-int-constant.
38863 (SHRT_MIN): Use macro-int-constant. Specify type.
38864 (SHRT_MAX): Likewise.
38865 (USHRT_MAX): Likewise.
38866 (INT_MAX): Likewise.
38867 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38869 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38871 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38873 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38874 bound negative. Suffix upper bound with "L".
38875 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38877 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38879 [C99-based standards] (LLONG_MAX): Likewise.
38880 [C99-based standards] (ULLONG_MAX): Likewise.
38881 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38883 [ISO11] (max_align_t): Require type.
38884 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38886 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38887 from $CFLAGS, without defining away __attribute__ calls.
38888 (checknamespace): Use $CFLAGS_namespace.
38890 * conform/conformtest.pl (@keywords): Only include C99 keywords
38891 for standards based on C99 or C11.
38893 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38895 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38898 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38899 usability of symbols in #if.
38901 * conform/conformtest.pl: If macro or constant types start
38902 "promoted:", expect the symbol to be of the following type
38903 promoted by the integer promotions.
38905 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38906 in one place. Also handle "macro-constant".
38908 * conform/conformtest.pl: Only accept expected macro values with
38909 "==". Parse all "macro" lines in one place.
38910 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38912 * conform/conformtest.pl: Handle braced types on "constant" lines
38913 instead of handling "typed-constant".
38914 * conform/data/signal.h-data: Use "constant" instead of
38917 * conform/conformtest.pl: Handle "optional-" at start of lines in
38918 one place rather than duplicating several cases. Handle each
38919 format of "macro" line with initial "optional-".
38921 * conform/conformtest.pl: Only accept expected constant or
38922 optional-constant values with "==". Parse all "constant" lines in
38923 one place. Parse all "optional-constant" lines in one place.
38924 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38925 * conform/data/fmtmsg.h-data: Likewise.
38926 * conform/data/netinet/in.h-data: Likewise.
38927 * conform/data/tar.h-data: Likewise.
38928 * conform/data/limits.h-data: Use "==" form on "constant" and
38929 "optional-constant" lines.
38931 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38932 Use -std=c99 for XOPEN2K.
38933 (@knownproblems): Remove.
38934 (newtoken): Don't check %isknown.
38936 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38937 Do not expect macro.
38938 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38939 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38940 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38941 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38942 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38943 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38944 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38945 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38946 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38947 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38948 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38949 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38950 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38951 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38952 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38953 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38954 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38955 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38956 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38957 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38958 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38959 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38960 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38961 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38962 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38963 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38964 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38965 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38966 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38967 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38968 [XPG3] (acosh): Likewise.
38969 [XPG3] (asinh): Likewise.
38970 [XPG3] (atanh): Likewise.
38971 [XPG3] (cbrt): Likewise.
38972 [XPG3] (expm1): Likewise.
38973 [XPG3] (ilogb): Likewise.
38974 [XPG3] (log1p): Likewise.
38975 [XPG3] (logb): Likewise.
38976 [XPG3] (nextafter): Likewise.
38977 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38978 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38979 [XPG3] (remainder): Likewise.
38980 [XPG3] (rint): Likewise.
38981 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38982 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38983 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38984 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38985 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38986 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38987 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38988 [UNIX98 || XOPEN2K] (scalb): Expect.
38989 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38990 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38991 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38992 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38993 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38994 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38995 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38996 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38997 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38998 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38999 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39000 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39001 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39002 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39003 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39004 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39005 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39006 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39007 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39008 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39009 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39010 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39011 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39012 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39013 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39014 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39015 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39016 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39017 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39018 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39019 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39020 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39021 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39022 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39023 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39024 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39025 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39026 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39027 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39028 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39029 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39030 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39031 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39032 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39033 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39034 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39035 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39036 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39037 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39038 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39039 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39040 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39041 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39042 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39043 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39044 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39045 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39046 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39047 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39048 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39049 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39050 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39051 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39052 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39053 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39054 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39055 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39056 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39057 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39058 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39059 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39060 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39061 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39062 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39063 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39064 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39065 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39066 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39067 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39068 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39069 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39070 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39071 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39072 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39073 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39074 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39075 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39076 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39077 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39078 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39079 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39080 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39081 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39082 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39083 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39084 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39085 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39086 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39087 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39088 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39089 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39090 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39091 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39092 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39093 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39094 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39095 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39096 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39097 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39098 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39099 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39100 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39101 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39102 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39103 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39104 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39105 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39106 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39107 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39108 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39109 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39110 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39111 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39112 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39113 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39114 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39115 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39116 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39117 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39118 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39119 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39120 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39121 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39122 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39123 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39124 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39125 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39127 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39128 _XOPEN_SOURCE_EXTENDED for XPG4.
39130 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39132 * Makeconfig (localtime): Remove variable.
39133 (inst_localtime-file): Likewise.
39135 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39156 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39160 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39161 comparisons to determine direction to adjust input.
39162 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39163 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39168 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39170 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39171 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39173 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39175 * math/libm-test.inc (nexttoward_test): Add more tests.
39177 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39180 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39181 in version GLIBC_2.1, not GLIBC_2.0.
39182 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39185 2012-04-30 Joseph Myers <joseph@codesourcery.com>
39188 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39190 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39191 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39192 * math/libm-test.inc (acos_test): Add more tests.
39193 (asin_test): Likewise.
39194 * sysdeps/i386/fpu/libm-test-ulps: Update.
39195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39198 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39200 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39201 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39202 * math/libm-test.inc (acos_test_tonearest): New function.
39203 (acos_test_towardzero): Likewise.
39204 (acos_test_downward): Likewise.
39205 (acos_test_upward): Likewise.
39206 (asin_test_tonearest): Likewise.
39207 (asin_test_towardzero): Likewise.
39208 (asin_test_downward): Likewise.
39209 (asin_test_upward): Likewise.
39210 (main): Call the new functions.
39211 * sysdeps/i386/fpu/libm-test-ulps: Update.
39212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39216 * math/e_exp10.c: Include <float.h>.
39217 (__ieee754_exp10): Handle underflow here rather than multiplying
39218 large negative argument by M_LN10.
39219 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39221 * math/e_exp10l.c: Include <float.h>.
39222 (__ieee754_exp10l): Handle underflow here rather than multiplying
39223 large negative argument by M_LN10l.
39224 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39225 spurious overflow exception on underflow.
39227 2012-04-29 Marek Polacek <polacek@redhat.com>
39229 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39230 (__fortify_function): New macro.
39231 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39232 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39233 __extern_always_inline.
39234 * libio/bits/stdio2.h: Likewise.
39235 * libio/bits/stdio.h: Likewise.
39236 * string/string.h: Likewise.
39237 * string/bits/string3.h: Likewise.
39238 * include/stdio.h: Likewise.
39239 * stdlib/bits/stdlib.h: Likewise.
39240 * stdlib/stdlib.h: Likewise.
39241 * rt/bits/mqueue2.h: Likewise.
39242 * rt/mqueue.h: Likewise.
39243 * posix/bits/unistd.h: Likewise.
39244 * posix/unistd.h: Likewise.
39245 * io/bits/poll2.h: Likewise.
39246 * io/bits/fcntl2.h: Likewise.
39247 * io/fcntl.h: Likewise.
39248 * io/sys/poll.h: Likewise.
39249 * misc/bits/syslog.h: Likewise.
39250 * misc/bits/syslog-ldbl.h: Likewise.
39251 * misc/sys/syslog.h: Likewise.
39252 * socket/bits/socket2.h: Likewise.
39253 * socket/sys/socket.h: Likewise.
39254 * debug/tst-chk1.c: Likewise.
39255 * wcsmbs/bits/wchar2.h: Likewise.
39256 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39257 * wcsmbs/wchar.h: Likewise.
39259 2012-04-29 Andreas Jaeger <aj@suse.de>
39261 * Makerules (tests): Remove enable-check-abi protection.
39262 (check-abi-warn): Remove.
39263 (check-abi-%): Remove check-abi-warn usage.
39265 * configure.in: Remove check-abi configure option.
39266 * configure: Regenerated.
39267 * config.make.in (enable-check-abi): Remove.
39269 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39272 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39273 double functions to double *_finite functions.
39276 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39277 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39279 * stdio-common/Makefile (tests): Add tst-sprintf3.
39280 * stdio-common/tst-sprintf3.c: New file.
39282 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39283 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39285 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39287 * conform/conformtest.pl: Remove duplicate typed-constant
39290 2012-04-28 David S. Miller <davem@davemloft.net>
39292 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39293 (check-abi-%): Remove AWK script prerequisite and explicit
39295 (check-abi): Rewrite to just diff the symlist with the abilist.
39296 (config-tls, config-abi-config): Delete, no longer used.
39297 (update-abi-%): Remove AWK script and explicit abilist directory.
39298 (update-abi): Rewrite to simply compare and conditionally copy the
39299 symlist and the sysdep abilist file. Remove update-abi-config
39301 * abilist/ld.abilist: Remove.
39302 * abilist/libBrokenLocale.abilist: Remove.
39303 * abilist/libanl.abilist: Remove.
39304 * abilist/libcrypt.abilist: Remove.
39305 * abilist/libdl.abilist: Remove.
39306 * abilist/librt.abilist: Remove.
39307 * abilist/libthread_db.abilist: Remove.
39308 * abilist/libutil.abilist: Remove.
39309 * scripts/extract-abilist.awk: Remove.
39310 * scripts/merge-abilist.awk: Remove.
39311 * sysdeps/generic/libcidn.abilist: New file.
39312 * sysdeps/generic/libnss_compat.abilist: New file.
39313 * sysdeps/generic/libnss_db.abilist: New file.
39314 * sysdeps/generic/libnss_dns.abilist: New file.
39315 * sysdeps/generic/libnss_files.abilist: New file.
39316 * sysdeps/generic/libnss_hesiod.abilist: New file.
39317 * sysdeps/generic/libnss_nis.abilist: New file.
39318 * sysdeps/generic/libnss_nisplus.abilist: New file.
39319 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39320 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39321 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39323 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39324 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39325 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39326 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39327 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39328 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39329 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39330 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39331 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39333 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39334 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39335 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39336 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39338 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39339 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39340 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39341 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39342 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39343 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39345 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39346 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39347 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39349 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39452 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39453 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39454 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39456 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39457 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39458 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39459 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39460 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39461 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39462 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39463 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39464 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39465 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39517 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39519 * conform/conformtest.pl: Fix typo in handling typed-constant from
39522 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39524 * README: Cut down references to pre-2.6 Linux kernels and
39525 Linuxthreads. Update lists of configurations in libc and ports
39526 and sort alphabetically. Say "or newer" with Linux kernel version
39529 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39531 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39534 * math/libm-test.inc (logb_test_downward): New test to expose
39535 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39538 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39541 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39543 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39544 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39546 2012-04-26 Joseph Myers <joseph@codesourcery.com>
39548 * sysdeps/unix/i386/brk.S: Remove file.
39549 * sysdeps/unix/i386/dl-brk.S: Likewise.
39550 * sysdeps/unix/i386/pipe.S: Likewise.
39551 * sysdeps/unix/i386/sigreturn.S: Likewise.
39552 * sysdeps/unix/i386/syscall.S: Likewise.
39553 * sysdeps/unix/i386/vfork.S: Likewise.
39554 * sysdeps/unix/i386/wait.S: Likewise.
39556 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39557 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39559 * configure.in (arm*-none*): Do not allow without
39560 --enable-hacker-mode.
39561 (netbsd*): Remove case setting base_os.
39562 (386bsd*): Likewise.
39563 (freebsd*): Likewise.
39566 (sunos*): Likewise.
39567 (ultrix*): Likewise.
39568 (newsos*): Likewise.
39569 (dynix*): Likewise.
39575 (minix*): Likewise.
39576 (irix4*): Likewise.
39577 (irix6*): Likewise.
39578 (solaris[2-9]*): Likewise.
39580 * configure: Regenerated.
39582 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39585 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39586 overflow or cancellation in calculating denominator.
39587 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39588 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39589 down expression to avoid unexpected rounding in newer GCCs.
39590 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39592 2012-04-26 David S. Miller <davem@davemloft.net>
39594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39595 long-double compat symbols.
39596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39610 2012-04-25 David S. Miller <davem@davemloft.net>
39612 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39613 HWCAP_* values only after the memory barriers have been defined.
39614 (atomic_full_barrier): Define.
39615 (atomic_read_barrier): Define.
39616 (atomic_write_barrier): Define.
39618 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39620 * shlib-versions: Add libgcc_s version information.
39621 * sysdeps/generic/libgcc_s.h: Remove.
39622 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39624 * sysdeps/gnu/unwind-resume.c: Likewise.
39625 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39627 2012-04-25 David S. Miller <davem@davemloft.net>
39629 * sysdeps/unix/sparc/brk.S: Delete.
39630 * sysdeps/unix/sparc/dl-brk.S: Delete.
39631 * sysdeps/unix/sparc/pipe.S: Delete.
39632 * sysdeps/unix/sparc/sysdep.S: Delete.
39633 * sysdeps/unix/sparc/sysdep.h: Delete.
39634 * sysdeps/unix/sparc/vfork.S: Delete.
39635 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39636 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39637 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39638 (ret_ERRVAL, r0, r1, MOVE): Define.
39639 (JUMPTARGET): Remove.
39640 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39641 sysdeps/unix/sparc/sysdep.h
39642 (ENTRY, END): Remove.
39643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39645 2012-04-25 Joseph Myers <joseph@codesourcery.com>
39647 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39648 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39651 * timezone/README: Update upstream location and email address for
39653 * timezone/zdump.c: Update from tzcode 2012b.
39654 * timezone/zic.c: Likewise.
39656 * configure.in (libc_cv_as_needed): Remove test.
39657 * configure: Regenerated.
39658 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39659 conditional definition.
39660 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39661 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39662 * config.make.in (have-as-needed): Remove variable.
39664 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39665 Paul Pluzhnikov <ppluzhnikov@google.com>
39667 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39670 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39672 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39673 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39674 * sysdeps/sh/strlen.S: Likewise.
39676 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39678 * sysdeps/unix/fork.S: Remove file.
39679 * sysdeps/unix/i386/fork.S: Likewise.
39680 * sysdeps/unix/sparc/fork.S: Likewise.
39682 * sysdeps/unix/system.c: Remove file.
39683 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39685 * sysdeps/unix/getegid.S: Remove file.
39686 * sysdeps/unix/geteuid.S: Likewise.
39688 2012-04-24 Roland McGrath <roland@hack.frob.com>
39690 * scripts/check-localplt.awk: New file.
39691 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39693 * scripts/data/localplt-generic.data: Add a comment.
39695 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39696 NODE when __dir_mkfile failed.
39697 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39698 Reported by Ludovic Courtès <ludo@gnu.org>.
39700 2012-04-24 Andreas Jaeger <aj@suse.de>
39702 * Makerules (common-clean): Also remove gen-as-const-headers
39705 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39707 * Makerules (native-compile): Do not change working directory for
39708 build. Use $(OUTPUT_OPTION) in command.
39709 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39711 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39714 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39715 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39716 * math/libm-test.inc (floor_test): Add more tests.
39717 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39719 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39721 * sysdeps/unix/getdents.c: Remove file.
39722 * sysdeps/unix/sysv/getdents.c: Likewise.
39723 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39725 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39726 sysdeps/unix/mman/syscalls.list.
39728 (mprotect): Likewise.
39730 (munmap): Likewise.
39731 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39732 * sysdeps/unix/mman/syscalls.list: Remove.
39733 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39735 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39736 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39737 * configure: Regenerated.
39738 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39739 $(libgcc_s_suffix).
39740 * config.make.in (libgcc_s_suffix): Remove variable.
39742 2012-04-23 Joseph Myers <joseph@codesourcery.com>
39744 * sysdeps/unix/sysv/gethostname.c: Move to ...
39745 * sysdeps/posix/gethostname.c: ... here.
39747 * sysdeps/unix/execve.S: Remove file.
39749 * sysdeps/unix/_exit.S: Remove file.
39751 2012-04-23 Andreas Jaeger <aj@suse.de>
39754 * manual/Makefile: Remove make dist support, there's no
39755 need for a stand-alone documentation tar ball.
39756 (TEXI2DVI): Define always, it's not in Makeconfig.
39759 (edition): Removed.
39760 (glibc-doc-$(edition).tar): Removed
39764 (ETAGS): Remove, it's in Makeconfig.
39765 (move-if-change): Remove, it's in Makeconfig.
39767 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
39770 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39771 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39772 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39773 (strtod_l, strtof_l, strtold_l): Remove __wur.
39774 It is not necessarily an error to ignore strtol's return value.
39775 One can reliably look at the stored endptr to decide whether
39776 the number had valid syntax.
39778 2012-04-21 Andreas Jaeger <aj@suse.de>
39781 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39783 2012-04-21 Joseph Myers <joseph@codesourcery.com>
39785 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39786 * sysdeps/unix/sysv/Versions: Remove file.
39788 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39793 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
39796 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39797 version from __vm86.
39799 2012-04-20 Joseph Myers <joseph@codesourcery.com>
39801 * sysdeps/unix/common/lxstat.c: Remove file.
39802 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39804 * sysdeps/unix/sysv/Makefile: Remove file.
39806 * sysdeps/unix/sysv/direct.h: Remove file.
39808 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39809 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39810 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39811 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39812 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39813 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39814 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39816 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39818 * sysdeps/unix/xmknod.c: Remove file.
39819 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39821 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39823 * sysdeps/unix/sysv/i386/time.S: Remove file.
39825 * sysdeps/unix/fxstat.c: Remove file.
39826 * sysdeps/unix/xstat.c: Likewise.
39827 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39829 * sysdeps/unix/sysv/sigaction.c: Remove file.
39831 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39832 (sysdep_headers): Remove variable.
39833 [termio.h not in sysdep_headers] (generated): Likewise.
39834 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39835 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39836 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39837 * sysdeps/unix/sysv/tcflow.c: Likewise.
39838 * sysdeps/unix/sysv/tcflush.c: Likewise.
39839 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39840 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39841 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39842 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39843 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39845 * sysdeps/unix/siglist.c: Remove file.
39847 * sysdeps/unix/getppid.S: Remove file.
39849 * sysdeps/unix/mkdir.c: Remove file.
39850 * sysdeps/unix/rmdir.c: Likewise.
39852 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39854 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39856 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39857 errlist-compat value.
39859 2012-04-18 David S. Miller <davem@davemloft.net>
39861 * sysdeps/generic/memcopy.h (reg_char): Delete.
39862 * debug/strcat_chk.c: Use char, not reg_char.
39863 * debug/strcpy_chk.c: Likewise.
39864 * debug/strncat_chk.c: Likewise.
39865 * debug/strncpy_chk.c: Likewise.
39866 * string/memchr.c: Likewise.
39867 * string/memrchr.c: Likewise.
39868 * string/rawmemchr.c: Likewise.
39869 * string/strcat.c: Likewise.
39870 * string/strchr.c: Likewise.
39871 * string/strchrnul.c: Likewise.
39872 * string/strcmp.c: Likewise.
39873 * string/strcpy.c: Likewise.
39874 * string/strncat.c: Likewise.
39875 * string/strncmp.c: Likewise.
39876 * string/strncpy.c: Likewise.
39878 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39880 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39881 __builtin_memcopy is called when src and dest ranges are known to not
39884 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39886 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39887 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39888 fwd_align_merge macro call.
39889 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39890 bwd_align_merge macro call.
39891 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39893 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39895 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39896 bwd_align_merge macros.
39897 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39898 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39899 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39901 2012-04-18 David S. Miller <davem@davemloft.net>
39903 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39905 2012-04-18 Andreas Jaeger <aj@suse.de>
39908 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39909 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39910 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39912 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39913 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39914 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39916 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39917 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39918 Adjust for changed ldbl-128 files.
39920 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39921 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39922 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39924 2012-04-17 David S. Miller <davem@davemloft.net>
39926 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39928 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39930 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39931 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39932 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39933 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39934 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39935 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39937 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39940 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39941 * math/libm-test.inc: Add ilogb errno and exception tests.
39942 * math/w_ilogb.c: New file: ilogb wrapper.
39943 * math/w_ilogbf.c: New file: ilogbf wrapper.
39944 * math/w_ilogbl.c: New file: ilogbl wrapper.
39945 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39946 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39947 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39948 exception being thrown with 0.0 as argument.
39949 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39950 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39951 exception being thrown with 0.0 as argument.
39952 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39953 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39954 exception being thrown with 0.0 as argument.
39955 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39956 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39957 exception being thrown with 0.0 as argument.
39958 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39959 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39960 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39961 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39962 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39963 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39964 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39965 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39966 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39968 2012-04-17 Petr Baudis <pasky@ucw.cz>
39970 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39973 2012-04-16 Marek Polacek <polacek@redhat.com>
39975 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39977 2012-04-16 Marek Polacek <polacek@redhat.com>
39979 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39980 operands of fdivp instruction.
39982 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39984 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39985 * elf/tst-auditmod3b.c: Likewise.
39986 * elf/tst-auditmod4b.c: Likewise.
39987 * elf/tst-auditmod5b.c: Likewise.
39988 * elf/tst-auditmod6b.c: Likewise.
39989 * elf/tst-auditmod6c.c: Likewise.
39990 * elf/tst-auditmod7b.c: Likewise.
39991 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39992 * sysdeps/x86_64/preconfigure.in: Likewise.
39993 * sysdeps/x86_64/preconfigure: Regenerated.
39995 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39997 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40000 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
40002 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40003 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40005 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40008 * locale/iso-639.def: Fix gl language name. Spotted by
40011 2012-04-12 Roland McGrath <roland@hack.frob.com>
40014 * libio/libio.h (__io_write_fn): Update comment.
40016 2012-04-12 Petr Baudis <pasky@ucw.cz>
40019 * stdio.texi (Hook Functions): The user provided writer function
40020 is not allowed to return -1.
40022 2012-04-11 David S. Miller <davem@davemloft.net>
40024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40026 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40028 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40029 Add a leading slash to rtkaio.
40031 2012-04-11 Jim Meyering <meyering@redhat.com>
40034 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40035 It is not necessarily an error to ignore fwrite's return
40036 value. One can reliably use ferror to test for errors after
40039 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40041 * bits/types.h (__snseconds_t): New type.
40042 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40044 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40045 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40046 (__SNSECONDS_T_TYPE): Likewise.
40047 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40048 (__SNSECONDS_T_TYPE): Likewise.
40049 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40050 (__SNSECONDS_T_TYPE): Likewise.
40052 2012-04-10 Andreas Jaeger <aj@suse.de>
40055 * manual/time.texi (Processor Time): Return type of times is
40056 elapsed real time since an arbitrary point in the past.
40057 (CPU Time): Move CLK_TCK from here...
40058 (Processor Time): ...to here. Correct description.
40059 * manual/conf.texi (Constants for Sysconf): Correct description of
40062 2012-04-10 David S. Miller <davem@davemloft.net>
40065 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40066 where the is a gap between DT_REL(A) and DT_JMPREL.
40068 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40070 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40071 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40072 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40074 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40076 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40077 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40078 (dl_main): Handle --inhibit-cache.
40079 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40081 * elf/dl-load.c (_dl_map_object): Use it.
40082 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40084 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40087 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40088 (__ieee754_powl): Saturate large exponents rather than testing for
40089 overflow of y*log2(x).
40090 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40091 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40095 * math/s_ctan.c: Include <float.h>.
40096 (__ctan): Avoid internal overflow or cancellation in calculating
40098 * math/s_ctanf.c: Likewise.
40099 * math/s_ctanl.c: Likewise.
40100 * math/s_ctanh.c: Likewise.
40101 * math/s_ctanhf.c: Likewise.
40102 * math/s_ctanhl.c: Likewise.
40103 * math/libm-test.inc (ctan_test): Add more tests.
40104 (ctanh_test): Likewise.
40105 * sysdeps/i386/fpu/libm-test-ulps: Update.
40106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40108 2012-04-09 Andreas Jaeger <aj@suse.de>
40111 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40112 is an optional BSD extension.
40115 * manual/stdio.texi (Opening Streams): Document additional fopen
40118 2012-04-09 Roland McGrath <roland@hack.frob.com>
40120 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40121 %eax without telling the compiler.
40123 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40126 * manual/install.texi: Use sourceware.org.
40128 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40131 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40132 (__ieee754_pow): Generate overflow and underflow using huge*huge
40133 and tiny*tiny rather than just returning constant infinity or zero
40134 for large exponents.
40135 * math/libm-test.inc (pow_test): Require overflow exceptions for
40136 applicable cases of large exponents.
40139 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40140 (__ieee754_pow): Use iterative multiplication algorithm only for
40141 integer exponents with absolute value below 1024. Check for odd
40142 integer exponents when using algorithm for real exponents.
40143 * math/libm-test.inc (pow_test): Add more tests.
40144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40146 2012-04-08 Joseph Myers <joseph@codesourcery.com>
40149 * math/libm-test.inc (exp_test): Do not allow overflow exception
40152 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40155 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40156 instead of __kernel_standard_f.
40158 2012-04-08 Mike Frysinger <vapier@gentoo.org>
40160 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40161 * sysdeps/x86_64/memset_chk.S: Likewise.
40163 2012-04-08 Andreas Jaeger <aj@suse.de>
40166 * manual/startup.texi (Environment Access): Describe return value
40167 for putenv and setenv.
40170 * manual/filesys.texi (Directory Entries): Add description for
40174 * manual/filesys.texi (Directory Entries): Clarify that it's file
40175 system not operating system in the description of DT_UNKNOWN.
40178 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40180 2012-04-08 Stephen Compall <s11@member.fsf.org>
40183 * manual/llio.texi (Opening and Closing Files): Add cross
40184 reference to explain mode argument.
40186 2012-04-07 Mike Frysinger <vapier@gentoo.org>
40188 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40189 * sysdeps/x86_64/memset_chk.S: Likewise.
40191 2012-04-07 David S. Miller <davem@davemloft.net>
40193 * elf/elf.h (R_SPARC_WDISP10): Define.
40194 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40196 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40197 R_SPARC_SIZE64 and R_SPARC_H34.
40199 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40201 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40202 conditions and remove no longer applicable assertion.
40204 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40206 * bits/byteswap.h: Include <features.h>.
40207 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40208 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40210 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40212 * bits/byteswap.h (__bswap_16): Removed.
40213 Include <bits/byteswap-16.h> to get __bswap_16.
40214 * sysdeps/i386/bits/byteswap.h: Likewise.
40215 * sysdeps/s390/bits/byteswap.h: Likewise.
40216 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40217 * bits/byteswap-16.h: New file.
40218 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40219 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40220 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40221 * string/Makefile (headers): Add bits/byteswap-16.h.
40223 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40226 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40228 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40229 * nss/tst-nss-static.c: New.
40231 2012-04-06 Robert Millan <rmh@gnu.org>
40234 * manual/llio.texi (File Position Primitive): lseek
40235 refers to WHENCE when it really means OFFSET.
40237 2012-04-06 Andreas Jaeger <aj@suse.de>
40239 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40240 strncmp declarations.
40242 * abilist/libc.abilist: Add __poll and __ppoll.
40244 2012-04-05 David S. Miller <davem@davemloft.net>
40246 * scripts/check-local-headers.sh: Accept a host triplet in the
40247 path matched by the exclude regexp.
40249 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40251 * sysdeps/powerpc/powerpc32/dl-machine.h
40252 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40253 * sysdeps/s390/s390-32/dl-machine.h
40254 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40255 * sysdeps/sparc/sparc32/dl-machine.h
40256 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40257 * sysdeps/sparc/sparc64/dl-machine.h
40258 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40260 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40262 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40263 undefined symbol errors.
40265 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40268 2012-04-05 Michael Matz <matz@suse.de>
40271 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40273 2012-04-05 Andreas Jaeger <aj@suse.de>
40276 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40279 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40281 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40282 which ROUND is no valid rounding mode.
40284 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40286 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40288 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40290 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40292 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40293 an exception using FPU order intentionally.
40295 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40297 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40298 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40299 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40300 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40302 2012-04-05 Simon Josefsson <simon@josefsson.org>
40305 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40306 EINVAL when BUFLEN is too smal.
40308 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40311 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40312 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40314 2012-04-03 Andreas Jaeger <aj@suse.de>
40317 * manual/setjmp.texi (System V contexts): Fix sentence.
40320 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40321 New macro for this case.
40322 [!__GNUC__] (__bswap_64): New inline function for this case.
40323 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40324 * bits/byteswap.h: Likewise.
40325 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40326 ull, guard with __GLIBC_HAVE_LONG_LONG.
40328 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40329 __GLIBC_HAVE_LONG_LONG.
40331 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40332 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40334 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40337 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40338 inptr and inend, rather than using last_ch.
40340 2012-04-02 David S. Miller <davem@davemloft.net>
40342 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40343 * stdio-common/printf-parse.h (read_int): Change return type to
40344 'int', return -1 on INT_MAX overflow.
40345 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40346 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40347 overflows INT_MAX. Check for overflow of in-format-string precision
40348 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40349 SIZE_MAX not INT_MAX for integer overflow test.
40350 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40351 skip the construct in the format string but do not record anything.
40352 * stdio-common/bug22.c: Adjust to test both width/prevision
40353 INT_MAX overflow as well as total length INT_MAX overflow. Check
40354 explicitly for proper errno values.
40356 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40358 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40360 * string/test-strcmp.c [! WIDE]: Likewise.
40361 * time/tst-mktime2.c: Likewise for INT_MAX.
40362 * string/test-string.h: #include <sys/param.h> for MIN.
40364 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40365 * sysdeps/i386/init-first.c (init): Likewise.
40366 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40367 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40368 * sysdeps/sh/init-first.c (init): Likewise.
40370 2012-04-01 Ulrich Drepper <drepper@gmail.com>
40372 * po/ru.po: Update from translation team.
40373 * po/vi.po: Likewise.
40375 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40377 * resolv/nss_dns/dns-host.c: Merge copyright years.
40379 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40381 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40382 Optimize memcpy with prefetch if
40383 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40384 src, dst pointers have unequal 16 byte alignments.
40386 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40389 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40390 from a CNAME entry and return the minimum ttl for the query.
40391 (gaih_getanswer_slice): Likewise.
40393 2012-03-30 Jeff Law <law@redhat.com>
40395 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40397 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40398 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40400 * resolv/nss_dns/dns-host.c: Update copyright year.
40402 2012-03-30 Ulrich Drepper <drepper@gmail.com>
40404 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40405 requests to save a system call. Fix check that all bytes are sent.
40407 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40408 comments for sendmmsg.
40410 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40413 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40414 with only 1 character between 0x0041 and 0x01b0.
40415 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40416 * wcsmbs/tst-mbsnrtowcs.c: New file.
40418 2012-03-29 David S. Miller <davem@davemloft.net>
40420 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40421 small copies by hand.
40423 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40426 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40427 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40430 2012-03-28 David S. Miller <davem@davemloft.net>
40432 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40433 that branches into memcpy.
40434 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40435 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40437 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40440 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40441 implementation too.
40442 * sysdeps/sparc/mempcpy.S: New file.
40444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40445 the IFUNC routine in the libc case.
40446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40448 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40449 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40450 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40451 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40452 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40453 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40454 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40455 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40457 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40458 loop to 256 bytes instead of 64 bytes and fix test signedness.
40460 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40461 * sysdeps/sparc/sparc32/Makefile: rather than here...
40462 * sysdeps/sparc/sparc64/Makefile: and here.
40464 2012-03-28 Ulrich Drepper <drepper@gmail.com>
40466 * malloc/mallocbug.c: Avoid warnings about unused variables.
40468 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40471 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40472 in the right place. Discard and retry query if response is
40473 larger than input buffer size.
40475 2012-03-28 Joseph Myers <joseph@codesourcery.com>
40480 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40481 x for large integer exponent.
40482 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40483 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40484 sign of result as needed afterwards.
40485 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40486 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40487 result for underflowing pow the same as for overflow.
40488 (__kernel_standard_l): Handle powl overflow and underflow here
40489 rather than calling __kernel_standard.
40490 * math/libm-test.inc (pow_test): Add more tests.
40505 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40506 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40507 (__kernel_standard_l): New function.
40508 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40510 * math/w_acosl.c (__acosl): Likewise.
40511 * math/w_asinl.c (__asinl): Likewise.
40512 * math/w_atan2l.c (__atan2l): Likewise.
40513 * math/w_atanhl.c (__atanhl): Likewise.
40514 * math/w_coshl.c (__coshl): Likewise.
40515 * math/w_exp10l.c (__exp10l): Likewise.
40516 * math/w_exp2l.c (__exp2l): Likewise.
40517 * math/w_fmodl.c (__fmodl): Likewise.
40518 * math/w_hypotl.c (__hypotl): Likewise.
40519 * math/w_j0l.c (__j0l, __y0l): Likewise.
40520 * math/w_j1l.c (__j1l, __y1l): Likewise.
40521 * math/w_jnl.c (__jnl, __ynl): Likewise.
40522 * math/w_lgammal.c (__lgammal): Likewise.
40523 * math/w_log10l.c (__log10l): Likewise.
40524 * math/w_log2l.c (__log2l): Likewise.
40525 * math/w_logl.c (__logl): Likewise.
40526 * math/w_powl.c (__powl): Likewise.
40527 * math/w_remainderl.c (__remainderl): Likewise.
40528 * math/w_scalbl.c (sysv_scalbl): Likewise.
40529 * math/w_sinhl.c (__sinhl): Likewise.
40530 * math/w_sqrtl.c (__sqrtl): Likewise.
40531 * math/w_tgammal.c (__tgammal): Likewise.
40532 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40533 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40534 * math/libm-test.inc (acos_test): Add more tests.
40535 (acosh_test): Likewise.
40536 (asin_test): Likewise.
40537 (atanh_test): Likewise.
40538 (exp_test): Likewise.
40539 (exp10_test): Likewise.
40540 (exp2_test): Likewise.
40541 (expm1_test): Likewise.
40542 (lgamma_test): Likewise.
40543 (log_test): Likewise.
40544 (log10_test): Likewise.
40545 (log1p_test): Likewise.
40546 (log2_test): Likewise.
40547 (pow_test): Do not allow some spurious overflow exceptions.
40548 (sqrt_test): Add more tests.
40549 (tgamma_test): Likewise.
40550 (y0_test): Likewise.
40551 (y1_test): Likewise.
40552 (yn_test): Likewise.
40554 2012-03-27 Anton Blanchard <anton@samba.org>
40556 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40558 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40559 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40560 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40562 2012-03-27 David S. Miller <davem@davemloft.net>
40564 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40566 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40567 have-as-vis3 check.
40569 2012-03-27 Andreas Jaeger <aj@suse.de>
40571 * sysdeps/x86_64/elf/configure.in: Moved to ...
40572 * sysdeps/x86_64/configure.in: ... here.
40573 * sysdeps/x86_64/elf/start.S: Moved to ...
40574 * sysdeps/x86_64/start.S: ... here.
40575 * sysdeps/x86_64/elf/configure: Delete.
40577 * sysdeps/x86_64/configure.in: Merge contents from
40578 sysdeps/i386/configure.in (without i686 check).
40580 * sysdeps/i386/elf/Versions: Merge into ...
40581 * sysdeps/i386/Versions: ... this.
40582 * sysdeps/i386/elf/Versions: Delete file.
40583 * sysdeps/i386/elf/start.S: Moved to ...
40584 * sysdeps/i386/start.S: ...here.
40585 * sysdeps/i386/elf/configure.in: Merge into...
40586 * sysdeps/i386/configure.in: ...here.
40587 * sysdeps/i386/elf/configure.in: Delete file.
40588 * sysdeps/i386/elf/configure: Delete file.
40590 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40591 * debug/backtracesyms.c: ... here.
40592 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40593 * debug/backtracesymsfd.c: ... here.
40594 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40595 * sysdeps/generic/ifunc-sel.h: ... here.
40597 * sysdeps/unix/i386/start.c: Delete file.
40598 * sysdeps/unix/sparc/start.c: Delete file.
40599 * sysdeps/unix/start.c: Delete file.
40601 * sysdeps/sh/elf/configure.in: Moved to ...
40602 * sysdeps/sh/configure.in: ... here.
40603 * sysdeps/sh/elf/start.S: Moved to ...
40604 * sysdeps/sh/start.S: ... here.
40605 * sysdeps/sh/elf/configure: Delete file.
40607 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40608 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40609 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40610 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40611 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40612 * sysdeps/powerpc/powerpc64/start.S: here.
40613 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40614 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40615 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40616 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40617 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40619 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40620 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40621 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40622 * sysdeps/powerpc/powerpc32/start.S: ... here.
40623 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40624 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40625 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40627 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40628 * sysdeps/powerpc/ifunc-sel.h: ... here.
40629 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40630 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40632 * sysdeps/sparc/elf/configure.in: Moved to ...
40633 * sysdeps/sparc/configure.in: ... here.
40634 * sysdeps/sparc/elf/configure: Delete file.
40635 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40636 * sysdeps/sparc/sparc32/start.S: ... here.
40637 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40638 * sysdeps/sparc/sparc64/start.S: ... here.
40639 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40640 * sysdeps/sparc/sparc32/Makefile: ... this.
40641 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40642 * sysdeps/sparc/sparc64/Makefile: ... this.
40644 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40645 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40646 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40647 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40648 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40649 * sysdeps/s390/s390-32/setjmp.S: ... here.
40650 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40651 * sysdeps/s390/s390-32/configure.in: ... here.
40652 * sysdeps/s390/s390-32/elf/configure: Delete file.
40653 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40654 * sysdeps/s390/s390-32/start.S: ... here.
40656 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40657 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40658 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40659 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40660 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40661 * sysdeps/s390/s390-64/setjmp.S: ... here.
40662 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40663 * sysdeps/s390/s390-64/configure.in: ... here
40664 * sysdeps/s390/s390-64/elf/configure: Delete file.
40665 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40666 * sysdeps/s390/s390-64/start.S: ... here.
40667 * sysdeps/s390/s390-64/elf/configure: Delete.
40669 * configure.in: Remove support for elf directories in sysdeps.
40671 * configure: Regenerated.
40672 * sysdeps/i386/configure: Regenerated.
40673 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40674 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40675 * sysdeps/s390/s390-32/configure: Regenerated.
40676 * sysdeps/s390/s390-64/configure: Regenerated.
40677 * sysdeps/sh/configure: Regenerated.
40678 * sysdeps/sparc/configure: Regenerated.
40679 * sysdeps/x86_64/configure: Regenerated.
40681 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40685 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40686 denormal result into account.
40688 2012-03-25 Roland McGrath <roland@hack.frob.com>
40690 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40691 Reported by Allan McRae <allan@archlinux.org>.
40693 2012-03-23 Jeff Law <law@redhat.com>
40695 * nss/getnssent.c (__nss_getent): Fix typo.
40697 2012-03-23 David S. Miller <davem@davemloft.net>
40699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40701 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40703 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40704 to pad to uint64_t for each field.
40705 (dl_tls_index): Replace unsigned long with uint64_t.
40707 2012-03-23 Daniel Jacobowitz <dmj@google.com>
40708 Paul Pluzhnikov <ppluzhnikov@google.com>
40711 * grp/Makefile (otherlibs): Don't set it.
40712 * inet/Makefile (otherlibs): Likewise.
40713 * login/Makefile (otherlibs): Likewise.
40714 * nscd/Makefile (otherlibs): Likewise.
40715 * posix/Makefile (otherlibs): Likewise.
40716 * pwd/Makefile (otherlibs): Likewise.
40717 * rt/Makefile (otherlibs): Likewise.
40718 * sunrpc/Makefile (otherlibs): Likewise.
40719 * nss/Makefile (otherlibs): Likewise.
40720 Add libnss_files to routines and static-only-routines.
40721 ($(objpfx)getent): Remove rule.
40722 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40723 static-only-routines.
40725 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40728 * math/s_cexp.c: Include <float.h>.
40729 (__cexp): Handle exp result overflowing not necessarily
40730 overflowing both real and imaginary parts of result.
40731 * math/s_cexpf.c: Likewise.
40732 * math/s_cexpl.c: Likewise.
40733 * math/libm-test.inc (cexp_test): Add more tests.
40734 * sysdeps/i386/fpu/libm-test-ulps: Update.
40735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40737 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40739 * include/link.h (ELFW): New macro.
40740 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40741 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40743 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40745 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40748 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40750 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40752 (struct La_x32_retval): Likewise.
40754 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40756 * sysdeps/x86_64/preconfigure.in: New file.
40757 * sysdeps/x86_64/preconfigure: New generated file.
40759 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40762 * math/e_exp2l.c: Include <float.h>.
40763 (__ieee754_exp2l): Handle overflow and underflow cases
40764 separately. Only pass fractional part of argument to
40766 * math/libm-test.inc (exp2_test): Add more tests.
40768 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40769 negating x to take absolute value.
40770 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40772 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40773 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40775 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40776 computing low part if x was negated.
40777 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40779 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40781 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40782 la_x32_gnu_pltexit.
40783 (pltexit): Cast int_retval to ptrdiff_t.
40784 * elf/tst-auditmod3b.c: Likewise.
40785 * elf/tst-auditmod4b.c: Likewise.
40786 * elf/tst-auditmod5b.c: Likewise.
40787 * elf/tst-auditmod6b.c: Likewise.
40788 * elf/tst-auditmod6c.c: Likewise.
40789 * elf/tst-auditmod7b.c: Likewise.
40791 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40792 and x32_gnu_pltexit.
40794 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40795 __ELF_NATIVE_CLASS.
40796 (La_x32_regs): New macro.
40797 (La_x32_retval): Likewise.
40798 (la_x32_gnu_pltenter): New function prototype.
40799 (la_x32_gnu_pltexit): Likewise.
40801 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40803 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40808 * configure.in (libc_cv_cc_nofma): Check for option to disable
40809 generation of FMA instructions.
40810 * configure: Regenerate.
40811 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40812 * sysdeps/ieee754/dbl-64/Makefile: New file.
40813 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40814 Remove brandred-fma4.
40815 (CFLAGS-brandred-fma4.c): Remove.
40816 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40817 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40819 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40822 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40824 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40825 LLONG_MAX != LONG_MAX.
40826 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40827 (_fitoa_word): Likewise.
40828 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40829 LLONG_MAX != LONG_MAX.
40830 * stdio-common/_itowa.h: Include <_itoa.h>.
40831 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40832 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40833 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40834 only if not defined.
40835 (_ITOA_WORD_TYPE): Likewise.
40836 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40837 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40839 2012-03-21 David S. Miller <davem@davemloft.net>
40841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40843 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40845 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40846 of x86_64 when setting libc_cv_slibdir, libdir and
40848 * sysdeps/unix/sysv/linux/configure: Regenerated.
40850 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40852 * manual/lang.texi (Old Varargs): Remove section.
40853 (How Variadic): Update menu.
40854 (va_start): Do not mention varargs.h.
40856 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40857 Joseph Myers <joseph@codesourcery.com>
40859 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40861 * configure: Regenerated.
40863 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40865 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40866 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40869 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40872 * Makefile (files-for-dist): Remove NOTES.
40873 (NOTES): Remove rule.
40874 * README: Don't refer to NOTES.
40875 * manual/creature.texi: Don't include macros.texi.
40876 * manual/intro.texi (creature.texi): Remove comment referring to
40879 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40880 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40881 * configure: Regenerated.
40882 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40883 LIBC_TRY_CC_OPTION.
40884 (libc_cv_as_i686): Likewise.
40885 (libc_cv_cc_avx): Likewise.
40886 (libc_cv_cc_sse2avx): Likewise.
40887 (libc_cv_cc_fma4): Likewise.
40888 (libc_cv_cc_novzeroupper): Likewise.
40889 * sysdeps/i386/configure: Regenerated.
40892 * sysdeps/i386/fpu/s_cexp.S: Remove.
40893 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40894 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40895 * math/libm-test.inc (cexp_test): Add more tests.
40896 * sysdeps/i386/fpu/libm-test-ulps: Update.
40897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40899 2012-03-21 Allan McRae <allan@archlinux.org>
40901 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40903 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40906 * math/w_exp2.c: Do not include <float.h>.
40907 (o_threshold, u_threshold): Remove.
40908 (__exp2): Calculate result before checking finiteness and calling
40910 * math/w_exp2f.c: Likewise.
40911 * math/w_exp2l.c: Likewise.
40912 * math/libm-test.inc (exp2_test): Require overflow exception for
40916 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40917 range of signed 64-bit integers before using fistpll. Remove
40918 checks for whether integers fit in mantissa bits.
40919 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40920 the range of signed 32-bit integers before using fistpl. Remove
40921 checks for whether integers fit in mantissa bits.
40922 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40923 (__ieee754_powl): Test for y outside the range of signed 64-bit
40924 integers before using fistpll. Reduce 64-bit values to 63-bit
40926 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40927 divide-by-zero is raised for zero to large negative powers.
40928 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40929 (__ieee754_powl): Test for y outside the range of signed 64-bit
40930 integers before using fistpll. Reduce 64-bit values to 63-bit
40932 * math/libm-test.inc (pow_test): Add more tests.
40934 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40936 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40937 <stdio-common/_itoa.h>.
40938 * debug/segfault.c: Likewise.
40939 * elf/dl-cache.c: Likewise.
40940 * elf/dl-minimal.c: Likewise.
40941 * elf/dl-misc.c: Likewise.
40942 * elf/dl-sysdep.c: Likewise.
40943 * elf/dl-version.c: Likewise.
40944 * elf/rtld.c: Likewise.
40945 * hurd/hurdsock.c: Likewise.
40946 * hurd/lookup-retry.c: Likewise.
40947 * malloc/malloc.c: Likewise.
40948 * malloc/mtrace.c: Likewise.
40949 * nscd/nscd_getgr_r.c: Likewise.
40950 * nscd/nscd_getpw_r.c: Likewise.
40951 * nscd/nscd_getserv_r.c: Likewise.
40952 * posix/getopt_init.c: Likewise.
40953 * posix/wordexp.c: Likewise.
40954 * stdio-common/_itoa.c: Likewise.
40955 * stdio-common/printf_fphex.c: Likewise.
40956 * stdio-common/vfprintf.c: Likewise.
40957 * string/_strerror.c: Likewise.
40958 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40959 * sysdeps/i386/i686/hp-timing.h: Likewise.
40960 * sysdeps/mach/_strerror.c: Likewise.
40961 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40962 * sysdeps/mach/hurd/sethostid.c: Likewise.
40963 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40964 * sysdeps/mach/xpg-strerror.c: Likewise.
40965 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40966 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40967 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40968 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40969 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40970 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40971 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40972 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40973 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40974 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40975 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40976 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40977 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40978 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40979 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40980 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40981 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40982 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40983 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40984 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40985 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40987 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40989 * stdio-common/_itoa.h: Moved to ...
40990 * sysdeps/generic/_itoa.h: Here.
40992 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40994 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40995 instead of "_itoa.h" and "_itowa.h".
40996 * stdio-common/vfprintf.: Likewise.
40998 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41000 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41002 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41003 (__signbit): Likwise.
41004 (llrintf): Likwise.
41007 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41009 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41012 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41014 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41015 OVERFLOW_EXCEPTION_OK.
41016 * math/libm-test.inc ("Philosophy"): Update comment about
41018 (OVERFLOW_EXCEPTION): Define.
41019 (OVERFLOW_EXCEPTION_OK): Likewise.
41020 (INVALID_EXCEPTION_OK): Renumber.
41021 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41022 (IGNORE_ZERO_INF_SIGN): Likewise.
41023 (test_exceptions): Handle FE_OVERFLOW.
41024 (exp10_test): Expect overflow exceptions.
41025 (exp2_test): Likewise.
41026 (expm1_test): Likewise.
41027 (nextafter_test): Likewise.
41028 (pow_test): Likewise.
41029 (scalbn_test): Likewise.
41030 (scalbln_test): Likewise.
41032 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41034 * sysdeps/x86_64/bits/atomic.h
41035 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41037 (atomic_exchange_acq): Likewise.
41038 (__arch_exchange_and_add_body): Likewise.
41039 (__arch_add_body): Likewise.
41040 (atomic_add_negative): Likewise.
41041 (atomic_add_zero): Likewise.
41043 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41045 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41046 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41048 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41050 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41051 Check __x86_64__ instead of __WORDSIZE.
41053 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41055 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41057 2012-03-19 David S. Miller <davem@davemloft.net>
41059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41061 * sysdeps/sparc/fpu/fenv_private.h: New file.
41062 * sysdeps/sparc/fpu/math_private.h: Use it.
41063 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41065 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41066 (libc_feholdexcept_setroundl): Remove.
41067 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41069 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41070 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41072 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41074 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41075 int64_t instead of long int.
41076 (INSERT_WORDS64): Likwise.
41078 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41080 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41081 _Unwind_GetCFA return to _Unwind_Ptr first.
41083 2012-03-19 Joseph Myers <joseph@codesourcery.com>
41086 * math/s_clog.c: Include <float.h>.
41087 (__clog): Scale large or subnormal inputs.
41088 * math/s_clogf.c: Likewise.
41089 * math/s_clogl.c: Likewise.
41090 * math/s_clog10.c: Include <float.h>.
41091 (M_LOG10_2): Define.
41092 (__clog10): Scale large or subnormal inputs.
41093 * math/s_clog10f.c: Likewise.
41094 * math/s_clog10l.c: Likewise.
41095 * math/libm-test.inc (clog_test): Add more tests.
41096 (clog10_test): Likewise.
41097 * sysdeps/i386/fpu/libm-test-ulps: Update.
41098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41101 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41103 * math/libm-test.inc (atan2_test): Add another test.
41105 * Makerules (common-objdir-compile): Remove.
41106 * sysdeps/unix/Makefile (config-generated): Do not add
41107 $(unix-generated) to variable.
41108 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41109 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41111 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41113 [generic bits/local_lim.h] (before-compile): Do not append to
41115 [generic bits/local_lim.h] (common-generated): Likewise.
41116 [generic sys/param.h] (before-compile): Do not append to variable.
41117 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41118 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41119 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41120 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41122 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41123 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41124 [generic sys/param.h] ($(addprefix
41125 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41126 [generic sys/param.h] (common-generated): Do not append to
41128 [generic sys/param.h] (sysdep_headers): Likewise.
41129 [generic bits/errno.h] (before-compile): Do not append to
41131 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41133 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41134 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41135 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41136 [generic bits/errno.h] (common-generated): Do not append to
41138 [generic bits/ioctls.h] (before-compile): Do not append to
41140 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41142 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41143 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41144 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41146 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41147 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41148 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41149 [generic bits/ioctls.h] (common-generated): Do not append to
41151 [generic sys/syscall.h] (syscall.h): Remove variable.
41152 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41154 [generic sys/syscall.h] (before-compile): Do not append to
41156 [generic sys/syscall.h] (common-generated): Likewise.
41157 * sysdeps/unix/errnos-tmpl.c: Remove file.
41158 * sysdeps/unix/errnos.awk: Likewise.
41159 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41160 * sysdeps/unix/ioctls.awk: Likewise.
41161 * sysdeps/unix/mk-local_lim.c: Likewise.
41162 * sysdeps/unix/snarf-ioctls: Likewise.
41164 2012-03-19 Richard Henderson <rth@twiddle.net>
41166 * sysdeps/i386/fpu/fenv_private.h: New file.
41167 * sysdeps/i386/fpu/math_private.h: Use it.
41168 (math_opt_barrier, math_force_eval): Remove.
41169 (libc_feholdexcept_setround_53bit): Remove.
41170 (libc_feupdateenv_53bit): Remove.
41171 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41172 (math_opt_barrier, math_force_eval): Remove.
41173 (libc_feholdexcept): Remove.
41174 (libc_feholdexcept_setround): Remove.
41175 (libc_fetestexcept, libc_fesetenv): Remove.
41176 (libc_feupdateenv_test): Remove.
41177 (libc_feupdateenv, libc_feholdsetround): Remove.
41178 (libc_feresetround): Remove.
41180 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41181 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41183 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41184 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41185 (libc_feupdateenv_testl): New.
41186 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41187 (libc_feupdateenv_testf): New.
41188 (libc_feupdateenv): Use libc_feupdateenv_test.
41189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41190 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41192 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41193 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41194 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41195 (libc_feresetround_noex): New.
41196 (libc_feresetround_noexf): New.
41197 (libc_feresetround_noexl): New.
41198 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41199 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41200 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41201 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41203 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41204 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41206 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41207 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41208 SET_RESTORE_ROUND_NOEX.
41209 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41210 SET_RESTORE_ROUND_NOEXF.
41211 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41212 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41213 (libc_feholdsetroundf): New.
41214 (libc_feresetround, libc_feresetroundf): New.
41216 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41217 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41218 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41220 * sysdeps/generic/math_private.h: Include <fenv.h>.
41221 (default_libc_feholdexcept): New.
41222 (default_libc_feholdexcept_setround): New.
41223 (default_libc_fesetenv, default_libc_feupdateenv): New.
41224 (libc_feholdexcept): Only define if undefined.
41225 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41226 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41227 (libc_feholdexcept_setroundl): Likewise.
41228 (libc_feholdexcept_setround_53bit): Likewise.
41229 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41230 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41231 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41232 (libc_feupdateenv_53bit): Likewise.
41233 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41234 (libc_feholdexcept): Convert from macro to inline function.
41235 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41236 (libc_fesetenv, libc_feupdateenv): Likewise.
41238 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41239 not previously defined.
41240 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41241 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41242 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41243 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41244 * sysdeps/ieee754/flt-32/math_private.h: New file.
41245 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41246 math_private.h below SET_FLOAT_WORD.
41247 (__isnan, __isinf_ns, __finite): Remove.
41248 (__isnanf, __isinf_nsf, __finitef): Remove.
41250 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41254 2012-03-17 David S. Miller <davem@davemloft.net>
41257 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41260 2012-03-16 David S. Miller <davem@davemloft.net>
41262 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41266 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41268 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41269 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41270 sysdep_routines when subdir is sysvipc.
41271 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41272 __getshmlba helper.
41274 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41276 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41278 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41281 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41283 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41284 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41285 (__lround): Renamed to ...
41286 (__llround): This. Replace long int with long long int.
41287 Define lround functions as aliases of llround functions.
41288 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41290 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41292 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41293 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41294 adresses to uintptr_t. Replace "long int" and "unsigned long
41295 int" with "greg_t" on va_arg.
41297 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41299 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41300 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41302 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41303 Move e_machine check before EI_CLASS check. Handle x32
41304 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41305 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41306 SKIP_EM_IA_64 and include
41307 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41309 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41310 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41311 (add_system_dir): New macro.
41313 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41314 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41316 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41327 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41329 * math/w_j0f.c (j0f): Likewise.
41331 * math/w_j0l.c (__j0l): Likewise.
41333 * math/w_j1.c (j1): Likewise.
41335 * math/w_j1f.c (j1f): Likewise.
41337 * math/w_j1l.c (__j1l): Likewise.
41339 * math/w_jn.c (jn): Likewise.
41341 * math/w_jnf.c (jnf): Likewise.
41343 * math/w_jnl.c (__jnl): Likewise.
41345 * math/libm-test.inc (j0_test): Add more tests.
41346 (j1_test): Likewise.
41347 (jn_test): Likewise. Add trailing semicolon to existing test.
41348 (y0_test): Likewise.
41349 (y1_test): Likewise.
41350 * sysdeps/i386/fpu/libm-test-ulps: Update.
41351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41355 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41356 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41357 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41358 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41359 (__tanl): Set errno for infinite argument.
41360 * sysdeps/i386/fpu/mptan.c: Remove.
41361 * sysdeps/i386/fpu/s_tan.S: Likewise.
41362 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41363 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41364 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41365 * math/libm-test.inc (tan_test): Add more tests and enable more
41366 tests for double and long double.
41367 * sysdeps/i386/fpu/libm-test-ulps: Update.
41368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41370 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41372 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41373 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41375 2012-03-16 Roland McGrath <roland@hack.frob.com>
41377 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41378 * configure.in: Use it for both main tree and add-ons.
41379 * configure: Regenerated.
41381 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41383 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41385 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41387 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41391 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41392 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41393 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41394 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41395 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41397 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41398 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41399 != 0 for prec == 2.
41400 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41401 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41402 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41403 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41404 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41405 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41406 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41407 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41408 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41409 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41410 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41411 * math/libm-test.inc (cos_test): Add more tests and enable more
41412 tests for long double.
41413 (sin_test): Likewise.
41414 (sincos_test): Likewise.
41415 * sysdeps/i386/fpu/libm-test-ulps: Update.
41416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41418 2012-03-16 David S. Miller <davem@davemloft.net>
41420 * sysdeps/sparc/fpu/math_private.h: New file.
41422 2012-03-15 David S. Miller <davem@davemloft.net>
41424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41434 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41438 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41439 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41441 * sysdeps/sparc/sparc-ifunc.h: New file.
41442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41468 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41469 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41479 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41480 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41481 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41482 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41483 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41487 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41489 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41493 2012-03-15 Andreas Jaeger <aj@suse.de>
41496 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41497 ieee754/flt-32 implementation for sin, cos and sincos.
41498 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41499 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41500 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41501 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41502 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41503 ieee754/flt-32 implementation for tan.
41505 * math/libm-test.inc (cos_test): Enable some large input tests for
41507 (sin_test): Likewise.
41508 (sincos_test): Likewise.
41509 (tan_test): Add tests for large input.
41511 * sysdeps/i386/fpu/libm-test-ulps: Update.
41513 2012-03-15 Andreas Jaeger <aj@suse.de>
41516 * math/libm-test.inc (cos_test): Add more test cases.
41517 (sin_test): Likewise.
41518 (sincos_test): Likewise.
41520 2012-03-15 Andreas Jaeger <aj@suse.de>
41523 * math/libm-test.inc (cos_test): Add a test case for large input
41525 (sin_test): Likewise.
41526 (sincos_test): Likewise.
41528 2012-03-15 Andreas Jaeger <aj@suse.de>
41529 Joseph Myers <joseph@codesourcery.com>
41532 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41533 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41534 * sysdeps/i386/fpu/branred.c: Likewise.
41535 * sysdeps/i386/fpu/dosincos.c: Likewise.
41536 * sysdeps/i386/fpu/mpa.c: Likewise.
41537 * sysdeps/i386/fpu/s_cos.S: Likewise.
41538 * sysdeps/i386/fpu/s_sin.S: Likewise.
41539 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41540 * sysdeps/i386/fpu/sincos32.c: Likewise.
41542 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41544 (libc_feupdateenv_53bit): Define.
41545 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41547 (libc_feupdateenv_53bit): Define.
41549 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41550 53 bit (without extend i386 double precision).
41552 * math/libm-test.inc (sincos_test): Add tests for large input.
41556 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41558 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41562 2012-03-15 David S. Miller <davem@davemloft.net>
41564 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41565 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41566 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41567 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41591 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41592 fmin/fmax sysdep routines.
41593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41595 2012-03-14 David S. Miller <davem@davemloft.net>
41597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41603 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41604 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41623 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41624 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41625 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41669 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41674 * sysdeps/sparc/configure.in: New file.
41675 * sysdeps/sparc/configure: Generate.
41676 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41677 * configure: Regenerate.
41678 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41679 * config.make.in (have-as-vis3): New.
41680 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41681 available use -Av9d instead of -Av9a.
41682 * sysdeps/sparc/sparc64/Makefile: Likewise.
41683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41698 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41699 fzeros/fnegs to load 0x80000000 into a float register instead of
41701 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41703 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41707 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41708 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41709 ($(inst_includedir)/bits/syscall.h): Remove rule.
41710 ($(objpfx)bits/syscall.d): Include instead of
41711 $(objpfx)syscall-list.d.
41712 (generated): Change syscall-list.h and syscall-list.d to
41713 bits/syscall.h and bits/syscall.d.
41715 2012-03-14 Roland McGrath <roland@hack.frob.com>
41718 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41720 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41723 * math/s_csqrt.c: Include <float.h>.
41724 (__csqrt): Scale large or subnormal inputs.
41725 * math/s_csqrtf.c: Likewise.
41726 * math/s_csqrtl.c: Likewise.
41727 * math/libm-test.inc (csqrt_test): Add more tests.
41728 * sysdeps/i386/fpu/libm-test-ulps: Update.
41729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41732 * math/libm-test.inc (hypot_test): Add more tests.
41734 2012-03-13 David S. Miller <davem@davemloft.net>
41737 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41738 double-precision for the calculation instead of scaling.
41740 2012-03-13 Joseph Myers <joseph@codesourcery.com>
41742 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41743 manipulate bits before adding and subtracting TWO52[sx].
41744 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41745 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41747 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41749 2012-03-13 David S. Miller <davem@davemloft.net>
41751 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41752 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41754 rtld-global-offsets.h
41755 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41757 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41760 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41762 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41763 'err' in the ifdef scope in which it is actually used.
41765 * nss/nss_db/db-init.c: Include string.h
41767 2012-03-12 David S. Miller <davem@davemloft.net>
41769 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41770 masking out of the most significant byte of random value used.
41771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41772 Fix coding style in previous change.
41774 * sysdeps/unix/sysv/linux/kernel-features.h
41775 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41776 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41778 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41781 2012-03-11 David S. Miller <davem@davemloft.net>
41783 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41784 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41785 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41786 for 'resultvar' otherwise things get truncated on 64-bit.
41788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41789 Fix masking out of the most significant byte of random value used.
41791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41793 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41797 2012-03-09 David S. Miller <davem@davemloft.net>
41799 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41800 variables with appropriate CPP guards.
41801 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41802 from the frame pointer, not the stack pointer. Correct layout
41803 comments. Fix test on resulting framesize and the management of
41804 the outregs buffer for pltexit. Preserve floating point return
41805 values across _dl_call_pltexit call.
41806 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41807 framesize and the management of the outregs buffer for pltexit.
41808 Preserve floating point return values across _dl_call_pltexit
41810 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41811 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41812 (la_sparc64_gnu_pltexit): New functions.
41813 (print_exit): Fix format string for return register value.
41815 2012-03-10 Joseph Myers <joseph@codesourcery.com>
41817 * sunrpc/Makefile (others): Add rpcgen.
41818 ($(objpfx)rpcgen): Remove special build rule and dependency on
41820 * sunrpc/rpcgen.c: New file.
41822 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41825 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41826 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41827 * sysdeps/i386/crti.S: Likewise.
41828 * sysdeps/i386/crtn.S: Likewise.
41829 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41830 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41831 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41832 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41833 * sysdeps/sh/crti.S: Likewise.
41834 * sysdeps/sh/crtn.S: Likewise.
41835 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41838 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41840 * locale/programs/locfile-kw.gperf: Likewise.
41841 * locale/programs/charmap-kw.h: Regenerated.
41842 * locale/programs/locfile-kw.h: Likewise.
41845 * intl/plural.y: Replace FSF snail mail address with URL.
41846 * intl/plural.c: Regenerated.
41848 2012-03-09 Richard Henderson <rth@twiddle.net>
41850 * include/math_private.h: Remove file.
41851 * math/math_private.h: Move file ...
41852 * sysdeps/generic/math_private.h: ... here.
41854 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41855 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41856 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41858 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41859 and <math_private.h>.
41860 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41861 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41862 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41863 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41864 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41865 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41866 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41867 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41868 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41869 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41871 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41872 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41873 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41874 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41875 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41876 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41877 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41878 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41879 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41881 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41882 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41884 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41885 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41886 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41887 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41888 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41889 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41890 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41891 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41892 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41893 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41894 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41895 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41896 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41897 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41898 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41899 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41900 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41901 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41902 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41903 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41904 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41905 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41906 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41907 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41908 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41909 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41910 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41911 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41912 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41913 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41914 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41915 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41916 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41917 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41918 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41919 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41920 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41921 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41923 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41924 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41925 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41926 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41927 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41928 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41929 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41930 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41931 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41932 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41933 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41934 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41938 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41939 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41940 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41941 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41942 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41943 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41944 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41945 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41947 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41948 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41949 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41950 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41951 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41952 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41953 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41954 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41955 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41956 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41957 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41958 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41959 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41960 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41961 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41962 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41963 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41964 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41965 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41966 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41967 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41968 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41969 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41970 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41971 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41972 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41973 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41974 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41975 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41976 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41977 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41978 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41979 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41980 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41981 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41982 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41983 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41984 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41985 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41986 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41987 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41988 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41989 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41990 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41991 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41992 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41993 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41994 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41995 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41996 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41997 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41998 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41999 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42000 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42001 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42002 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42003 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42004 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42005 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42006 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42007 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42008 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42009 * sysdeps/ieee754/k_standard.c: Likewise.
42010 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42011 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42012 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42013 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42014 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42015 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42016 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42017 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42018 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42019 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42020 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42021 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42022 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42023 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42024 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42025 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42026 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42027 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42028 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42029 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42030 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42031 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42032 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42033 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42034 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42035 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42036 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42037 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42038 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42039 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42040 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42041 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42042 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42043 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42044 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42045 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42046 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42047 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42048 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42049 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42050 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42051 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42052 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42053 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42054 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42055 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42056 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42057 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42058 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42059 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42060 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42061 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42062 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42063 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42064 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42065 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42066 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42070 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42071 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42072 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42073 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42074 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42086 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42087 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42088 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42089 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42090 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42094 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42100 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42101 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42102 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42103 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42104 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42105 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42106 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42107 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42108 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42109 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42111 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42112 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42113 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42114 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42115 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42116 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42117 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42118 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42119 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42120 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42121 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42122 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42123 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42124 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42125 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42126 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42127 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42128 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42129 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42130 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42131 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42132 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42133 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42134 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42135 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42136 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42137 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42138 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42139 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42140 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42141 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42142 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42143 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42144 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42145 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42146 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42147 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42148 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42149 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42150 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42151 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42152 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42153 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42154 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42155 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42156 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42157 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42158 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42159 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42160 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42161 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42162 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42163 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42164 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42165 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42166 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42167 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42168 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42169 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42170 * sysdeps/ieee754/s_lib_version.c: Likewise.
42171 * sysdeps/ieee754/s_matherr.c: Likewise.
42172 * sysdeps/ieee754/s_signgam.c: Likewise.
42173 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42174 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42175 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42176 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42177 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42178 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42179 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42180 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42181 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42182 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42183 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42184 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42185 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42186 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42187 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42188 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42189 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42190 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42191 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42192 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42195 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42197 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42198 * sunrpc/rpc_main.c: Likewise.
42199 * sunrpc/rpc_svcout.c: Likewise.
42201 2012-03-09 David S. Miller <davem@davemloft.net>
42203 * include/math_private.h: New file.
42205 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42207 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42208 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42209 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42210 from <bits/socket_type.h>.
42211 (enum __socket_type): Don't define here.
42212 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42214 bits/socket_type.h.
42217 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42218 checking __USE_GNU.
42220 * Makerules ($(inst_includedir)/%.h): New rule.
42221 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42222 (install-others): Remove variable setting.
42223 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42225 2012-03-08 Richard Henderson <rth@twiddle.net>
42227 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42228 from macro to inline function; merge with the
42229 !__LIBC_INTERNAL_MATH_INLINES version.
42230 (__ieee754_sqrtf): Likewise.
42232 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42233 to inline function.
42234 (__rintf, __floor, __floorf): Likewise.
42236 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42237 macro to inline function.
42238 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42240 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42241 not <math/math_private.h>.
42243 2012-03-08 David S. Miller <davem@davemloft.net>
42245 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42247 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42249 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42251 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42253 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42254 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42256 2012-03-08 Ulrich Drepper <drepper@gmail.com>
42258 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42259 be defined individually, they must be defined as a block. Define
42260 S for printing a string instead of hidint the different by using a
42261 macro for adding the 'l'.
42262 * stdio-common/tst-fphex-wide.c: Adjust.
42264 2012-03-07 Marek Polacek <polacek@redhat.com>
42266 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42268 2012-03-08 Marek Polacek <polacek@redhat.com>
42271 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42272 * stdio-common/tst-fphex.c: Define a few macros to make the
42273 test reusable. Use them.
42274 * stdio-common/tst-fphex-wide.c: New file.
42276 2012-03-08 Joseph Myers <joseph@codesourcery.com>
42279 * manual/macros.texi (gnusystems): New macro.
42280 (nongnusystems): Likewise.
42281 (gnulinuxhurdsystems): Likewise.
42282 (gnuhurdsystems): Likewise..
42283 (gnulinuxsystems): Likewise.
42284 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42285 variants of the GNU system, not "GNU system".
42286 * manual/conf.texi: Likewise.
42287 * manual/errno.texi: Likewise. Update example of errno macro
42289 * manual/filesys.texi: Likewise.
42290 (getumask): Document as specific to GNU/Hurd.
42291 * manual/install.texi: Likewise. Reword some references to
42293 * manual/intro.texi: Likewise.
42294 * manual/io.texi: Likewise.
42295 (File Name Portability): Detail which constraints are inapplicable
42296 to all GNU systems and which are only inapplicable to GNU/Hurd.
42297 * manual/job.texi: Likewise.
42298 * manual/llio.texi: Likewise.
42299 (O_NOCTTY): Document as present on GNU/Linux.
42300 * manual/maint.texi: Likewise.
42301 * manual/memory.texi: Likewise.
42302 * manual/pattern.texi: Likewise.
42303 * manual/pipe.texi: Likewise.
42304 * manual/process.texi: Likewise.
42305 * manual/resource.texi: Likewise.
42306 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42308 * manual/setjmp.texi: Likewise.
42309 * manual/signal.texi: Likewise.
42310 * manual/startup.texi: Likewise.
42311 * manual/stdio.texi: Likewise.
42312 * manual/terminal.texi: Likewise.
42313 (ONLCR): Document as POSIX.
42314 (OXTABS): Document availability on GNU/Linux as XTABS.
42315 (ONOEOT): Document availability separately from other bits.
42316 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42317 * manual/time.texi: Likewise.
42318 * manual/users.texi: Likewise.
42319 * INSTALL: Regenerated.
42320 * sysdeps/gnu/errlist.c: Regenerated.
42322 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42323 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42324 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42326 * configure: Regenerated.
42328 2012-03-07 Joseph Myers <joseph@codesourcery.com>
42330 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42331 default includes instead of AC_HEADER_CHECK.
42332 * sysdeps/i386/configure: Regenerated.
42335 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42336 * math/s_cacoshf.c (__cacoshf): Likewise.
42337 * math/s_cacoshl.c (__cacoshl): Likewise.
42338 * math/s_casinh.c (__casinh): Set signs of result from argument.
42339 * math/s_casinhf.c (__casinhf): Likewise.
42340 * math/s_casinhl.c (__casinhl): Likewise.
42341 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42342 (casinh_test): Add more tests.
42343 * sysdeps/i386/fpu/libm-test-ulps: Update.
42344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42346 2012-03-07 Ulrich Drepper <drepper@gmail.com>
42348 * po/zh_TW.po: Update from translation team.
42350 * login/Makefile (distribute): Remove variable.
42351 * catgets/Makefile: Likewise.
42352 * mach/Makefile: Likewise.
42353 * malloc/Makefile: Likewise.
42354 * misc/Makefile: Likewise.
42355 * iconv/Makefile: Likewise.
42356 * nscd/Makefile: Likewise.
42357 * hurd/Makefile: Likewise.
42358 * manual/Makefile: Likewise.
42359 * locale/Makefile: Likewise.
42360 * intl/Makefile: Likewise.
42361 * conform/Makefile: Likewise.
42362 * nss/Makefile: Likewise.
42363 * time/Makefile: Likewise.
42364 * soft-fp/Makefile: Likewise.
42365 * dirent/Makefile: Likewise.
42366 * gmon/Makefile: Likewise.
42367 * po/Makefile: Likewise.
42368 * rt/Makefile: Likewise.
42369 * socket/Makefile: Likewise.
42370 * math/Makefile: Likewise.
42371 * signal/Makefile: Likewise.
42372 * debug/Makefile: Likewise.
42373 * elf/Makefile: Likewise.
42374 * timezone/Makefile: Likewise.
42375 * stdlib/Makefile: Likewise.
42376 * iconvdata/Makefile: Likewise.
42377 * sunrpc/Makefile: Likewise.
42378 * io/Makefile: Likewise.
42379 * argp/Makefile: Likewise.
42380 * inet/Makefile: Likewise.
42381 * hesiod/Makefile: Likewise.
42382 * grp/Makefile: Likewise.
42383 * csu/Makefile: Likewise.
42384 * wctype/Makefile: Likewise.
42385 * crypt/Makefile: Likewise.
42386 * libio/Makefile: Likewise.
42387 * string/Makefile: Likewise.
42388 * nis/Makefile: Likewise.
42389 * resolv/Makefile: Likewise.
42390 * stdio-common/Makefile: Likewise.
42391 * wcsmbs/Makefile: Likewise.
42392 * dlfcn/Makefile: Likewise.
42393 * posix/Makefile: Likewise.
42396 * timezone/Makefile: Don't install timezone files, just the programs
42399 2012-03-06 Ulrich Drepper <drepper@gmail.com>
42401 * nss/databases.def: Add missing gshadow entry.
42403 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42405 2012-03-06 Marek Polacek <polacek@redhat.com>
42408 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42409 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42410 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42411 * stdio-common/tst-long-dbl-fphex.c: New file.
42413 2012-03-06 David S. Miller <davem@davemloft.net>
42415 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42416 (set_obp_int): New function.
42417 (get_obp_int): New function.
42418 (__get_clockfreq_via_dev_openprom): Likewise.
42419 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42420 Avoid unused variable warnings on 'val' and use builtin_expect.
42421 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42423 (INLINE_CLONE_SYSCALL): Likewise.
42425 2012-03-05 David S. Miller <davem@davemloft.net>
42427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42429 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42433 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42434 only for |x| >= 40.
42435 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42437 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
42439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42440 Replace gettimeofday with __vdso_gettimeofday.
42442 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42443 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42444 __vdso_clock_gettime and __vdso_getcpu.
42446 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42447 time with __vdso_time.
42449 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42451 * manual/lang.texi (size_t): Note types to which size_t may be
42452 equivalent with the GNU C Library, but do not describe when
42453 differences between them are significant.
42455 2012-03-05 Andreas Jaeger <aj@suse.de>
42457 * sysdeps/i386/fpu/libm-test-ulps: Update.
42459 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42462 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42463 (__ieee754_pow): Save and restore rounding mode and use
42464 round-to-nearest for main computations.
42465 * math/libm-test.inc (pow_test_tonearest): New function.
42466 (pow_test_towardzero): Likewise.
42467 (pow_test_downward): Likewise.
42468 (pow_test_upward): Likewise.
42469 (main): Call the new functions.
42470 * sysdeps/i386/fpu/libm-test-ulps: Update.
42471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42474 * math/libm-test.inc (cosh_test_tonearest): New function.
42475 (cosh_test_towardzero): Likewise.
42476 (cosh_test_downward): Likewise.
42477 (cosh_test_upward): Likewise.
42478 (sinh_test_tonearest): Likewise.
42479 (sinh_test_towardzero): Likewise.
42480 (sinh_test_downward): Likewise.
42481 (sinh_test_upward): Likewise.
42482 (main): Call the new functions.
42483 * sysdeps/i386/fpu/libm-test-ulps: Update.
42484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42486 2012-03-05 Tom de Vries <tom@codesourcery.com>
42488 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42489 default stack guard is set in last bytes.
42490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42492 2012-03-05 Kees Cook <keescook@chromium.org>
42494 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42497 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42498 possibly allocate from heap instead of stack.
42499 * stdio-common/bug-vfprintf-nargs.c: New file.
42500 * stdio-common/Makefile (tests): Add nargs overflow test.
42502 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42506 2012-03-03 Marek Polacek <polacek@redhat.com>
42508 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42509 * math/math_private.h: Likewise.
42510 * stdlib/tst-strtod.c: Likewise.
42511 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42512 * sysdeps/x86_64/bits/atomic.h: Likewise.
42514 2012-03-02 David S. Miller <davem@davemloft.net>
42516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42520 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42521 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42522 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42523 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42525 2012-03-02 Roland McGrath <roland@hack.frob.com>
42528 * manual/examples/README: New file, says the example source files
42529 can be used under GPL>=2.
42530 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42531 line containing just "*/".
42532 * manual/examples/add.c: Add copyright header (GPL>=2).
42533 * manual/examples/argp-ex1.c: Likewise.
42534 * manual/examples/argp-ex2.c: Likewise.
42535 * manual/examples/argp-ex3.c: Likewise.
42536 * manual/examples/argp-ex4.c: Likewise.
42537 * manual/examples/atexit.c: Likewise.
42538 * manual/examples/db.c: Likewise.
42539 * manual/examples/dir.c: Likewise.
42540 * manual/examples/dir2.c: Likewise.
42541 * manual/examples/execinfo.c: Likewise.
42542 * manual/examples/filecli.c: Likewise.
42543 * manual/examples/filesrv.c: Likewise.
42544 * manual/examples/fmtmsgexpl.c: Likewise.
42545 * manual/examples/genpass.c: Likewise.
42546 * manual/examples/inetcli.c: Likewise.
42547 * manual/examples/inetsrv.c: Likewise.
42548 * manual/examples/isockad.c: Likewise.
42549 * manual/examples/longopt.c: Likewise.
42550 * manual/examples/memopen.c: Likewise.
42551 * manual/examples/memstrm.c: Likewise.
42552 * manual/examples/mkfsock.c: Likewise.
42553 * manual/examples/mkisock.c: Likewise.
42554 * manual/examples/mygetpass.c: Likewise.
42555 * manual/examples/pipe.c: Likewise.
42556 * manual/examples/popen.c: Likewise.
42557 * manual/examples/rprintf.c: Likewise.
42558 * manual/examples/search.c: Likewise.
42559 * manual/examples/select.c: Likewise.
42560 * manual/examples/setjmp.c: Likewise.
42561 * manual/examples/sigh1.c: Likewise.
42562 * manual/examples/sigusr.c: Likewise.
42563 * manual/examples/stpcpy.c: Likewise.
42564 * manual/examples/strdupa.c: Likewise.
42565 * manual/examples/strftim.c: Likewise.
42566 * manual/examples/strncat.c: Likewise.
42567 * manual/examples/subopt.c: Likewise.
42568 * manual/examples/swapcontext.c: Likewise.
42569 * manual/examples/termios.c: Likewise.
42570 * manual/examples/testopt.c: Likewise.
42571 * manual/examples/testpass.c: Likewise.
42572 * manual/examples/timeval_subtract.c: Likewise.
42575 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42577 * manual/timeval_subtract.c.texi: ... here, new file.
42579 2012-03-02 David S. Miller <davem@davemloft.net>
42581 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42583 2012-03-02 Joseph Myers <joseph@codesourcery.com>
42586 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42587 (__sin): Save and restore rounding mode and use round-to-nearest
42588 for all computations.
42589 (__cos): Save and restore rounding mode and use round-to-nearest
42590 for all computations.
42591 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42593 (tan): Save and restore rounding mode and use round-to-nearest for
42595 * math/libm-test.inc (cos_test_tonearest): New function.
42596 (cos_test_towardzero): Likewise.
42597 (cos_test_downward): Likewise.
42598 (cos_test_upward): Likewise.
42599 (sin_test_tonearest): Likewise.
42600 (sin_test_towardzero): Likewise.
42601 (sin_test_downward): Likewise.
42602 (sin_test_upward): Likewise.
42603 (tan_test_tonearest): Likewise.
42604 (tan_test_towardzero): Likewise.
42605 (tan_test_downward): Likewise.
42606 (tan_test_upward): Likewise.
42607 (main): Call the new functions.
42608 * sysdeps/i386/fpu/libm-test-ulps: Update.
42609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42612 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42613 small n, then large n, before computing and testing k+n.
42614 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42615 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42617 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42619 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42620 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42621 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42622 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42623 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42624 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42626 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42627 * math/libm-test.inc (scalbn_test): Add more tests.
42628 (scalbln_test): Likewise.
42630 * manual/filesys.texi (mode_t): Describe constraints on size and
42631 signedness, not exact equivalence to a particular type.
42633 (ino64_t): Likewise.
42635 (nlink_t): Likewise.
42636 (blkcnt_t): Likewise.
42637 (blkcnt64_t): Likewise.
42638 * manual/llio.texi (off_t): Likewise.
42641 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42642 (__ieee754_exp): Save and restore rounding mode and use
42643 round-to-nearest for all computations.
42644 * math/libm-test.inc (exp_test_tonearest): New function.
42645 (exp_test_towardzero): Likewise.
42646 (exp_test_downward): Likewise.
42647 (exp_test_upward): Likewise.
42648 (main): Call the new functions.
42649 * sysdeps/i386/fpu/libm-test-ulps: Update.
42650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42652 2012-03-01 Chris Demetriou <cgd@google.com>
42654 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42655 have predictable order.
42657 2012-03-01 David S. Miller <davem@davemloft.net>
42659 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42661 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42662 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42663 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42664 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42666 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42667 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42668 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42670 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42671 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42672 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42673 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42674 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42678 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42679 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42680 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42682 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42683 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42684 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42685 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42686 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42687 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42688 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42689 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42690 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42691 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42692 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42693 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42694 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42695 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42696 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42698 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42699 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42700 * sysdeps/sparc/elf/configure: Regenerated.
42702 2012-03-01 Joseph Myers <joseph@codesourcery.com>
42704 * configure.in (AS, LD): Require binutils 2.20 or later.
42705 * configure: Regenerated.
42706 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42707 as required minimum version.
42708 * INSTALL: Regenerated.
42712 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42713 before squaring exponent.
42714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42715 bottom long double and 27 bits of top long double before squaring
42717 * math/libm-test.inc (erfc_test): Add more tests.
42718 * sysdeps/i386/fpu/libm-test-ulps: Update.
42719 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42722 2012-03-01 Kai Tietz <ktietz@redhat.com>
42724 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42725 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42726 containing bit-fields.
42727 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42728 * soft-fp/single.h (_FP_UNION_S): Likewise.
42729 * soft-fp/double.h (_FP_UNION_D): Likewise.
42731 2012-02-29 Joseph Myers <joseph@codesourcery.com>
42734 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42735 not include ../strcmp.S.
42736 [USE_AS_STRNCASECMP_L]: Likewise.
42737 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42738 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42739 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42740 (__strncasecmp_l_ia32): Define as alias to
42741 __strncasecmp_l_nonascii.
42744 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42745 * sysdeps/i386/fpu/libm-test-ulps: Update.
42746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42748 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42751 2012-02-29 Jeff Law <law@redhat.com>
42753 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42754 out of bounds read.
42756 2012-02-29 Marek Polacek <polacek@redhat.com>
42759 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42760 * elf/Makefile: Add rules to run tst-unused-dep.out.
42762 2012-02-28 David S. Miller <davem@davemloft.net>
42764 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42765 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42766 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42767 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42768 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42769 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42771 2012-02-29 Joseph Myers <joseph@codesourcery.com>
42773 * math/libm-test.inc (llround_test): Move one test from
42774 lround_test. Use TEST_f_L in moved test.
42775 (lround_test): Move misplaced test to llround_test. Add testcase
42778 2012-02-28 Ulrich Drepper <drepper@gmail.com>
42780 * sysdeps/x86_64/fpu/e_expf.S: New file.
42781 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42783 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42786 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42787 of remain_len that may cause incomplete multi-byte character and
42789 * posix/bug-regex33.c: New file.
42790 * posix/Makefile (tests): Add bug-regex33.
42792 2012-02-28 Joseph Myers <joseph@codesourcery.com>
42794 * manual/macros.texi: New file.
42795 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42796 * manual/libc.texinfo: Include macros.texi.
42797 * manual/creatute.texi: Likewise.
42798 * manual/install.texi: Likewise.
42799 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42800 @glibcadj{} in references to the GNU C Library.
42801 * manual/charset.texi: Likewise.
42802 * manual/conf.texi: Likewise.
42803 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42804 when not using those macros.
42805 * manual/creature.texi: Likewise.
42806 * manual/crypt.texi: Likewise.
42807 * manual/errno.texi: Likewise.
42808 * manual/filesys.texi: Likewise.
42809 * manual/header.texi: Likewise.
42810 * manual/install.texi: Likewise.
42811 * manual/intro.texi: Likewise.
42812 * manual/io.texi: Likewise.
42813 * manual/job.texi: Likewise.
42814 * manual/lang.texi: Likewise.
42815 * manual/libc.texiinfo: Likewise.
42816 * manual/llio.texi: Likewise.
42817 * manual/locale.texi: Likewise.
42818 * manual/maint.texi: Likewise.
42819 * manual/math.texi: Likewise.
42820 * manual/memory.texi: Likewise.
42821 * manual/message.texi: Likewise.
42822 * manual/nss.texi: Likewise.
42823 * manual/pattern.texi: Likewise.
42824 * manual/process.texi: Likewise.
42825 * manual/resource.texi: Likewise.
42826 * manual/search.texi: Likewise.
42827 * manual/setjmp.texi: Likewise.
42828 * manual/signal.texi: Likewise.
42829 * manual/socket.texi: Likewise.
42830 * manual/startup.texi: Likewise.
42831 * manual/stdio.texi: Likewise.
42832 * manual/string.texi: Likewise.
42833 * manual/sysinfo.texi: Likewise.
42834 * manual/syslog.texi: Likewise.
42835 * manual/terminal.texi: Likewise.
42836 * manual/time.texi: Likewise.
42837 * manual/users.texi: Likewise.
42838 * INSTALL: Regenerated.
42839 * NOTES: Regenerated.
42840 * sysdeps/gnu/errlist.c: Regenerated.
42842 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42844 * include/dirent.h: Include <dirstream.h> before
42847 2012-02-28 David S. Miller <davem@davemloft.net>
42849 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42850 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42851 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42852 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42854 2012-02-27 David S. Miller <davem@davemloft.net>
42856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42858 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42859 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42862 frame pointer instead of stack pointer relative arg slot.
42863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42864 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42865 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42867 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42870 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42872 2012-02-27 David S. Miller <davem@davemloft.net>
42874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42878 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42879 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42880 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42881 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42883 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42885 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42886 later. Allow versions 5-9.
42887 * configure: Regenerated.
42888 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42889 required minimum version and 4.6 as recommended version. Do not
42890 mention bugs in GCC 2.7 and 2.8.
42891 * INSTALL: Regenerated.
42893 2012-02-27 David S. Miller <davem@davemloft.net>
42895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42899 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42900 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42901 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42902 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42904 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42905 manipulate bits before adding and subtracting TWO112[sx].
42906 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42908 2012-02-27 Roland McGrath <roland@hack.frob.com>
42911 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42912 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42913 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42914 being in POSIX, because they are in 1003.1-2008.
42916 * rt/tst-aio.c: Include <fcntl.h>.
42917 * rt/tst-aio7.c: Likewise.
42918 * rt/tst-aio64.c: Likewise.
42920 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42922 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42924 * manual/install.texi (--with-headers): Describe headers as
42925 interface headers, not private headers.
42926 (Specific advice for GNU/Linux systems): Describe use of headers
42927 from "make headers_install", not private headers from older
42929 * INSTALL: Regenerated.
42930 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42932 * sysdeps/unix/sysv/linux/configure: Regenerated.
42934 * manual/llio.texi (fclean): Remove documentation.
42936 * manual/Makefile (libc-texi-generated): New variable. Include
42938 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42939 $(libc-texi-generated), not duplicated list of files.
42940 (version.texi, stamp-version): New rules.
42941 (realclean): Remove $(libc-texi-generated), not individual files
42942 from that list. Do not remove dir-add.texinfo.
42943 * manual/libc.texinfo: Comment out uses of edition numbers and
42944 references to printed manual. Remove last-updated dates.
42945 (EDITION): Comment out.
42947 (VERSION, UPDATED): Remove.
42948 (version.texi): Include.
42950 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42952 * sysdeps/posix/spawni.c: Include <signal.h>.
42953 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42954 * sysdeps/pthread/aio_fsync.c: Likewise.
42956 2012-02-26 Ulrich Drepper <drepper@gmail.com>
42958 * conform/Makefile (tests): Run only when not cross-compiling and
42959 when fast-check is not defined.
42961 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42962 * conform/data/limits.h-data: Fixes for POSIX2008.
42963 * conform/run-conformtest.sh: Run all tests.
42964 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42966 * include/bits/dlfcn.h: Likewise.
42967 * include/langinfo.h: Likewise.
42968 * include/monetary.h: Likewise.
42969 * include/sys/poll.h: Likewise.
42971 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42973 * posix/spawn.h: Define __need_sigset_t.
42974 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42975 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42976 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42977 to get sigevent_t only.
42978 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42979 only for __USE_GNU.
42980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42981 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42982 process_vm_writev only for __USE_GNU.
42983 * termios/termios.h: Declare tcgetsid also for POSIX2008.
42985 * conform/Makefile: For now ignore errors from run-conformtest.
42986 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42987 POSIX to avoid namespace pollution. Don't prepend headers.
42988 * conform/data/aio.h-data: Fixes for POSIX testing.
42989 * conform/data/fcntl.h-data: Likewise.
42990 * conform/data/glob.h-data: Likewise.
42991 * conform/data/grp.h-data: Likewise.
42992 * conform/data/pthread.h-data: Likewise.
42993 * conform/data/pwd.h-data: Likewise.
42994 * conform/data/signal.h-data: Likewise.
42995 * conform/data/spawn.h-data: Likewise.
42996 * conform/data/stdio.h-data: Likewise.
42997 * conform/data/stdlib.h-data: Likewise.
42998 * conform/data/stropts.h-data: Likewise.
42999 * conform/data/sys/mman.h-data: Likewise.
43000 * conform/data/sys/stat.h-data: Likewise.
43001 * conform/data/sys/types.h-data: Likewise.
43002 * conform/data/sys/wait.h-data: Likewise.
43003 * conform/data/time.h-data: Likewise.
43004 * conform/data/unistd.h-data: Likewise.
43005 * conform/data/utime.h-data: Likewise.
43007 * io/sys/stat.h: fchmod was always in POSIX.
43008 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43009 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43010 * rt/aio.h: Define __need_timespec before including <time.h>.
43011 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43012 struct. Add forward declaration of pthread_attr_t and use it in
43014 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43015 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43016 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43017 always remove CLK_TCK definition.
43019 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43021 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43023 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43025 * conform/run-conformtest.sh: New file.
43026 * conform/Makefile: Run run-conformtest for tests.
43027 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43030 * conform/data/uchar.h-data: New file.
43031 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43032 * conform/data/arpa/inet.h-data: Likewise.
43033 * conform/data/assert.h-data: Likewise.
43034 * conform/data/complex.h-data: Likewise.
43035 * conform/data/cpio.h-data: Likewise.
43036 * conform/data/ctype.h-data: Likewise.
43037 * conform/data/dirent.h-data: Likewise.
43038 * conform/data/dlfcn.h-data: Likewise.
43039 * conform/data/errno.h-data: Likewise.
43040 * conform/data/fcntl.h-data: Likewise.
43041 * conform/data/float.h-data: Likewise.
43042 * conform/data/fmtmsg.h-data: Likewise.
43043 * conform/data/fnmatch.h-data: Likewise.
43044 * conform/data/ftw.h-data: Likewise.
43045 * conform/data/glob.h-data: Likewise.
43046 * conform/data/grp.h-data: Likewise.
43047 * conform/data/iconv.h-data: Likewise.
43048 * conform/data/inttypes.h-data: Likewise.
43049 * conform/data/langinfo.h-data: Likewise.
43050 * conform/data/libgen.h-data: Likewise.
43051 * conform/data/limits.h-data: Likewise.
43052 * conform/data/locale.h-data: Likewise.
43053 * conform/data/math.h-data: Likewise.
43054 * conform/data/monetary.h-data: Likewise.
43055 * conform/data/mqueue.h-data: Likewise.
43056 * conform/data/ndbm.h-data: Likewise.
43057 * conform/data/net/if.h-data: Likewise.
43058 * conform/data/netdb.h-data: Likewise.
43059 * conform/data/netinet/in.h-data: Likewise.
43060 * conform/data/nl_types.h-data: Likewise.
43061 * conform/data/poll.h-data: Likewise.
43062 * conform/data/pthread.h-data: Likewise.
43063 * conform/data/pwd.h-data: Likewise.
43064 * conform/data/regex.h-data: Likewise.
43065 * conform/data/sched.h-data: Likewise.
43066 * conform/data/search.h-data: Likewise.
43067 * conform/data/semaphore.h-data: Likewise.
43068 * conform/data/setjmp.h-data: Likewise.
43069 * conform/data/signal.h-data: Likewise.
43070 * conform/data/spawn.h-data: Likewise.
43071 * conform/data/stdarg.h-data: Likewise.
43072 * conform/data/stdio.h-data: Likewise.
43073 * conform/data/stdlib.h-data: Likewise.
43074 * conform/data/string.h-data: Likewise.
43075 * conform/data/strings.h-data: Likewise.
43076 * conform/data/stropts.h-data: Likewise.
43077 * conform/data/sys/ipc.h-data: Likewise.
43078 * conform/data/sys/mman.h-data: Likewise.
43079 * conform/data/sys/msg.h-data: Likewise.
43080 * conform/data/sys/resource.h-data: Likewise.
43081 * conform/data/sys/select.h-data: Likewise.
43082 * conform/data/sys/sem.h-data: Likewise.
43083 * conform/data/sys/shm.h-data: Likewise.
43084 * conform/data/sys/socket.h-data: Likewise.
43085 * conform/data/sys/stat.h-data: Likewise.
43086 * conform/data/sys/statvfs.h-data: Likewise.
43087 * conform/data/sys/time.h-data: Likewise.
43088 * conform/data/sys/timeb.h-data: Likewise.
43089 * conform/data/sys/times.h-data: Likewise.
43090 * conform/data/sys/types.h-data: Likewise.
43091 * conform/data/sys/uio.h-data: Likewise.
43092 * conform/data/sys/un.h-data: Likewise.
43093 * conform/data/sys/utsname.h-data: Likewise.
43094 * conform/data/sys/wait.h-data: Likewise.
43095 * conform/data/syslog.h-data: Likewise.
43096 * conform/data/tar.h-data: Likewise.
43097 * conform/data/termios.h-data: Likewise.
43098 * conform/data/utime.h-data: Likewise.
43099 * conform/data/utmpx.h-data: Likewise.
43100 * conform/data/varargs.h-data: Likewise.
43101 * conform/data/wchar.h-data: Likewise.
43102 * conform/data/wctype.h-data: Likewise.
43103 * conform/data/wordexp.h-data: Likewise.
43105 * include/stropts.h: New file.
43106 * include/uchar.h: New file.
43107 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43108 * include/assert.h: Likewise.
43109 * include/ctype.h: Likewise.
43110 * include/dirent.h: Likewise.
43111 * include/dlfcn.h: Likewise.
43112 * include/fcntl.h: Likewise.
43113 * include/fnmatch.h: Likewise.
43114 * include/glob.h: Likewise.
43115 * include/grp.h: Likewise.
43116 * include/libio.h: Likewise.
43117 * include/locale.h: Likewise.
43118 * include/math.h: Likewise.
43119 * include/net/if.h: Likewise.
43120 * include/netdb.h: Likewise.
43121 * include/netinet/in.h: Likewise.
43122 * include/pthread.h: Likewise.
43123 * include/pwd.h: Likewise.
43124 * include/regex.h: Likewise.
43125 * include/sched.h: Likewise.
43126 * include/search.h: Likewise.
43127 * include/setjmp.h: Likewise.
43128 * include/signal.h: Likewise.
43129 * include/stdio.h: Likewise.
43130 * include/stdlib.h: Likewise.
43131 * include/string.h: Likewise.
43132 * include/sys/cdefs.h: Likewise.
43133 * include/sys/mman.h: Likewise.
43134 * include/sys/msg.h: Likewise.
43135 * include/sys/resource.h: Likewise.
43136 * include/sys/select.h: Likewise.
43137 * include/sys/socket.h: Likewise.
43138 * include/sys/stat.h: Likewise.
43139 * include/sys/statvfs.h: Likewise.
43140 * include/sys/time.h: Likewise.
43141 * include/sys/times.h: Likewise.
43142 * include/sys/uio.h: Likewise.
43143 * include/sys/utsname.h: Likewise.
43144 * include/sys/wait.h: Likewise.
43145 * include/termios.h: Likewise.
43146 * include/time.h: Likewise.
43147 * include/ulimit.h: Likewise.
43148 * include/unistd.h: Likewise.
43149 * include/utime.h: Likewise.
43150 * include/wchar.h: Likewise.
43151 * include/wctype.h: Likewise.
43152 * include/wordexp.h: Likewise.
43154 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43156 * time/time.h: TIME_UTC must be a macro.
43157 Make timespec_get available for ISO C11 only as well.
43159 2012-02-24 Ulrich Drepper <drepper@gmail.com>
43161 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43162 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43164 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43166 * configure.in: Use -o not -a in test for unsupported multi-arch.
43168 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43170 * manual/texinfo.tex: Update to version 2012-01-19.16.
43172 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43174 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43176 2012-02-24 Roland McGrath <roland@hack.frob.com>
43179 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43180 * manual/fdl-1.3.texi: New file.
43181 * manual/fdl-1.1.texi: File removed.
43184 * manual/libc.texinfo (FDL_VERSION): New @set.
43185 Use it for mention of FDL in cover text.
43186 (Documentation License): Use it in @include file name.
43188 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43189 Roland McGrath <roland@hack.frob.com>
43192 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43193 (not LONG_LONG_MAX and LONG_LONG_MIN.
43194 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43195 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43197 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43199 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43203 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43204 manipulate bits before adding and subtracting TWO23[sx].
43205 * math/libm-test.inc (nearbyint_test): Add more tests.
43207 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43210 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43211 bits before adding and subtracting TWO23[sx].
43212 * math/libm-test.inc (rint_test): Add more tests.
43213 (rint_test_tonearest): Likewise.
43214 (rint_test_towardzero): Likewise.
43215 (rint_test_downward): Likewise.
43216 (rint_test_upward: Likewise.
43218 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43221 * include/stdc-predef.h: New file. Extracted from features.h.
43222 * include/features.h: Include stdc-predef.h.
43223 * Makefile (headers): Add stdc-predef.h.
43224 * CONFORMANCE (Compiler limitations): Update.
43226 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43228 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43230 2012-02-21 David S. Miller <davem@davemloft.net>
43232 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43233 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43235 2012-02-20 David S. Miller <davem@davemloft.net>
43237 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43238 using a normal save/restore sequence, rather than allocating a
43239 dummy stack frame just to store a frame pointer and restore.
43240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43242 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43244 * manual/install.texi: Fix stray word in line-wrapped comment.
43246 2012-02-20 David S. Miller <davem@davemloft.net>
43248 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43249 both binutils and gcc support GOTDATA.
43251 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43252 "rd %pc" in the PIC register setup sequences.
43254 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43255 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43256 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43257 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43258 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43259 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43260 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43261 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43263 (SYSCALL_ERROR_HANDLER): Likewise.
43264 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43265 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43266 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43267 (SYSCALL_ERROR_HANDLER): Likewise.
43269 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43270 (HAVE_GCC_GOTDATA): New.
43271 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43272 relocation support in both binutils and gcc.
43273 * sysdeps/sparc/elf/configure: Regenerate.
43275 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43276 * sysdeps/sparc/sparc32/elf/configure: Delete.
43277 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43278 * sysdeps/sparc/sparc64/elf/configure: Delete.
43279 * sysdeps/sparc/elf/configure.in: New file.
43280 * sysdeps/sparc/elf/configure: Generate.
43282 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43283 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43284 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43285 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43286 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43288 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43290 * manual/install.texi: Do not mention specific glibc version
43292 * manual/libc.texinfo (VERSION, UPDATED): Update.
43293 (@copying): Use @copyright{} and range of years.
43295 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43298 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43299 [crti.S not in sysdirs] (generated): Do not append.
43300 [crti.S not in sysdirs] (omit-deps): Likewise.
43301 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43302 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43303 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43304 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43305 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43307 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43308 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43309 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43310 * csu/defs.awk: Remove file.
43311 * sysdeps/generic/initfini.c: Likewise.
43312 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43314 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43317 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43319 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43320 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43321 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43322 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43323 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43324 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43326 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43327 (__EPOLL_PACKED): Define to empty if not defined by
43329 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43333 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43335 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43336 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43337 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43338 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43340 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43344 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43346 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43348 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43349 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43350 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43353 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43355 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43356 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43358 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43360 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43361 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43363 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43365 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43368 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43370 * math/w_acos.c: Use non-signaling floating-point comparisons.
43371 * math/w_acosf.c: Likewise.
43372 * math/w_acosh.c: Likewise.
43373 * math/w_acoshf.c: Likewise.
43374 * math/w_acoshl.c: Likewise.
43375 * math/w_acosl.c: Likewise.
43376 * math/w_asin.c: Likewise.
43377 * math/w_asinf.c: Likewise.
43378 * math/w_asinl.c: Likewise.
43379 * math/w_atanh.c: Likewise.
43380 * math/w_atanhf.c: Likewise.
43381 * math/w_atanhl.c: Likewise.
43382 * math/w_exp2.c: Likewise.
43383 * math/w_exp2f.c: Likewise.
43384 * math/w_exp2l.c: Likewise.
43385 * math/w_j0.c: Likewise.
43386 * math/w_j0f.c: Likewise.
43387 * math/w_j0l.c: Likewise.
43388 * math/w_j1.c: Likewise.
43389 * math/w_j1f.c: Likewise.
43390 * math/w_j1l.c: Likewise.
43391 * math/w_jn.c: Likewise.
43392 * math/w_jnf.c: Likewise.
43393 * math/w_log.c: Likewise.
43394 * math/w_log10.c: Likewise.
43395 * math/w_log10f.c: Likewise.
43396 * math/w_log10l.c: Likewise.
43397 * math/w_log2.c: Likewise.
43398 * math/w_log2f.c: Likewise.
43399 * math/w_log2l.c: Likewise.
43400 * math/w_logf.c: Likewise.
43401 * math/w_logl.c: Likewise.
43402 * math/w_sqrt.c: Likewise.
43403 * math/w_sqrtf.c: Likewise.
43404 * math/w_sqrtl.c: Likewise.
43405 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43406 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43407 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43408 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43409 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43411 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43414 * manual/string.texi (strnlen): Use correct parameter name in
43415 equivalent expression.
43417 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43420 * manual/users.texi (seteuid): Consistently use neweuid for
43423 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43426 * manual/nss.texi (Services in the NSS configuration): Correct
43427 list of services in example configuration file.
43429 2012-02-19 Nick Bowler <nbowler@draconx.ca>
43432 * manual/arith.texi: Remove statements about negative zero
43433 behaving identically to zero.
43435 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43438 * manual/install.texi: Do not document upgrading from libc5.
43440 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43443 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43445 2012-02-18 David S. Miller <davem@davemloft.net>
43447 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43448 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43449 %o7 across the call.
43450 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43453 SETUP_PIC_REG_LEAF.
43454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43455 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43456 * sysdeps/sparc/crtn.S: Likewise.
43458 2012-02-17 Ulrich Drepper <drepper@gmail.com>
43460 * aout/Makefile: Remove.
43462 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43465 * manual/examples/argp-ex1.c (main): Format definition in GNU
43467 * manual/examples/argp-ex2.c (main): Likewise.
43468 * manual/examples/argp-ex3.c (main): Likewise.
43469 * manual/examples/argp-ex4.c (main): Likewise.
43470 * manual/examples/longopt.c (main): Use new-style prototype
43472 * manual/examples/strncat.c (main): Specify return type and use
43473 (void) for arguments.
43474 * manual/examples/subopt.c (main): Use char **argv argument.
43476 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43479 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43482 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43485 * manual/string.texi (strchr): Change when strchrnul is
43488 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43491 * manual/locale.texi (setlocale): Document LOCPATH.
43493 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43496 * manual/process.texi (execle): Move @dots{} before last argument.
43498 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
43501 * manual/charset.texi (Generic Charset Conversion): Fix typo
43502 (LC_TYPE -> LC_CTYPE).
43504 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43507 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43508 (scalbnf): Likewise.
43509 (scalbnl): Likewise.
43510 (scalbln): Likewise.
43511 (scalblnf): Likewise.
43512 (scalblnl): Likewise.
43513 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43514 (vwarnx): Likewise.
43517 * manual/filesys.texi (telldir): Use braces around return type.
43518 * manual/llio.texi (mmap): Add space after comma.
43519 (mmap64): Likewise.
43520 * manual/math.texi (jn): Use @var{} on parameter names.
43526 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43528 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43530 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43531 (sched_get_priority_max): Likewise.
43532 * manual/signal.texi (sigvec): Add space after comma.
43533 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43535 (if_indextoname): Likewise.
43536 (if_freenameindex): Likewise.
43537 (sendto): Use ',' instead of '.' in prototype.
43538 * manual/startup.texi (syscall): Use @dots{} instead of literal
43540 * manual/stdio.texi (__fpending): Separate initial words of
43541 paragraph from @deftypefun line.
43542 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43544 (vsyslog): Use @var{} on parameter names.
43545 * manual/terminal.texi (stty): Use @var{} on parameter names.
43546 * manual/users.texi (getutmp): Use @var{} on parameter names.
43547 (getutmpx): Likewise.
43549 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43552 * manual/stdio.texi (fopen): Fix typos in description of
43555 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43558 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43559 get clock_id definition.
43561 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
43564 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43565 (madvise): Cast every argument to void on its own.
43567 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43570 * manual/startup.texi (Exit Status): Fix typo.
43572 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43575 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43576 * manual/examples/argp-ex2.c: Likewise.
43577 * manual/examples/argp-ex3.c: Likewise.
43579 2012-02-16 Richard Henderson <rth@redhat.com>
43581 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43582 * sysdeps/s390/s390-32/initfini.c: Remove.
43583 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43584 * sysdeps/s390/s390-64/initfini.c: Remove.
43586 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43588 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43589 compiler output for sysdeps/generic/initfini.c.
43590 * sysdeps/sh/elf/initfini.c: Remove file.
43592 2012-02-16 David S. Miller <davem@davemloft.net>
43595 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43597 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43598 * sysdeps/sparc/crti.S: New file.
43599 * sysdeps/sparc/crtn.S: New file.
43600 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43601 * sysdeps/sparc/sparc64/Makefile: Likewise.
43603 2012-02-15 Mike Frysinger <vapier@gentoo.org>
43606 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43608 2012-02-15 Roland McGrath <roland@hack.frob.com>
43611 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43613 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43614 (write, read, close): Likewise.
43615 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43617 2012-02-15 Joseph Myers <joseph@codesourcery.com>
43619 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43620 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43621 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43622 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43624 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43628 2012-02-14 Marek Polacek <polacek@redhat.com>
43630 * sysdeps/x86_64/crti.S: New file.
43631 * sysdeps/x86_64/crtn.S: New file.
43632 * sysdeps/x86_64/elf/initfini.c: Remove file.
43634 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43636 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43637 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43638 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43639 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43641 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43642 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43645 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43647 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43648 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43649 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43650 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43652 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43656 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43658 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43659 __feraiseexcept instead of feraiseexcept.
43661 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43662 nanosleep invocations.
43663 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43664 strings, and add error checking for a nanosleep invocations.
43666 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43668 Replace FSF snail mail address with URLs, as per GNU coding standards.
43669 Most of the snail mail addresses were wrong anyway, and omitting
43670 them makes the source code easier to maintain. Almost all of the
43671 changes are to license notices and to locale LC_IDENTIFICATION
43672 addresses, except for this one:
43673 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43674 not its snail mail address.
43676 2012-02-09 Richard Henderson <rth@twiddle.net>
43678 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43679 of kernel-features.h.
43681 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43683 2012-02-08 Marek Polacek <polacek@redhat.com>
43685 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43686 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43687 * sysdeps/gnu/_G_config.h: Likewise.
43688 * sysdeps/generic/_G_config.h: Likewise.
43690 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43692 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43696 * sysdeps/powerpc/powerpc32/crti.S: New file.
43697 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43698 * sysdeps/powerpc/powerpc64/crti.S: New file.
43699 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43701 * Makeconfig (have-initfini): Don't set.
43702 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43703 * configure.in (nopic_initfini): Don't substitute.
43704 * config.h.in (HAVE_INITFINI): Don't #undef.
43705 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43706 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43708 2012-02-08 Joseph Myers <joseph@codesourcery.com>
43710 Support crti.S and crtn.S provided directly by architectures.
43711 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43712 [crti.S in sysdirs] (omit-deps): Likewise.
43713 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43714 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43715 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43716 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43717 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43718 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43719 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43720 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43721 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43722 compiler output for sysdeps/generic/initfini.c.
43723 * sysdeps/i386/elf/Makefile: Remove file.
43724 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43726 2012-02-07 Marek Polacek <polacek@redhat.com>
43728 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43729 * sysdeps/gnu/_G_config.h: Likewise.
43730 * sysdeps/mach/hurd/_G_config.h: Likewise.
43732 2012-02-07 Marek Polacek <polacek@redhat.com>
43734 * math/Makefile (tests): Add tst-CMPLX2.
43735 * math/tst-CMPLX2.c: New file.
43737 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43739 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43741 * math/libm-test.inc (jn_test): Add missing L suffix.
43743 2012-02-06 Marek Polacek <polacek@redhat.com>
43745 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43746 * sysdeps/i386/fpu/e_powf.S: Likewise.
43747 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43748 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43749 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43750 * sysdeps/i386/fpu/e_pow.S: Likewise.
43751 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43752 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43753 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43754 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43755 * sysdeps/i386/fpu/e_log2.S: Likewise.
43756 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43757 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43758 * sysdeps/i386/fpu/e_powl.S: Likewise.
43759 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43760 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43761 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43762 * sysdeps/i386/fpu/e_logl.S: Likewise.
43763 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43764 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43765 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43766 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43767 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43768 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43769 * sysdeps/i386/fpu/e_log.S: Likewise.
43770 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43771 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43772 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43773 * sysdeps/i386/fpu/e_logf.S: Likewise.
43774 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43775 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43776 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43777 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43778 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43779 * sysdeps/i386/fpu/e_log10.S: Likewise.
43780 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43781 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43782 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43783 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43784 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43785 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43786 * sysdeps/i386/asm-syntax.h: Likewise.
43787 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43788 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43789 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43790 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43791 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43792 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43793 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43794 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43795 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43796 * sysdeps/powerpc/sysdep.h: Likewise.
43797 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43798 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43800 2012-02-06 Joseph Myers <joseph@codesourcery.com>
43803 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43805 2012-02-06 Joseph Myers <joseph@codesourcery.com>
43807 * sysdeps/i386/sysdep.h: Include <features.h>.
43808 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43811 2012-02-05 Joseph Myers <joseph@codesourcery.com>
43813 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43815 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43818 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43820 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43821 (SETUP_PIC_REG): Use GET_PC_THUNK.
43822 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43825 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43827 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43828 for non-PIC compilation.
43829 (SETUP_PIC_REG): Add .p2align directive.
43830 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43831 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43832 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43833 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43834 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43835 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43836 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43837 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43838 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43839 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43840 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43841 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43842 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43843 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43844 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43845 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43846 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43847 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43848 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43849 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43850 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43852 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43853 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43854 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43856 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43857 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43858 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43859 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43860 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43861 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43862 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43863 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43864 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43865 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43866 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43867 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43868 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43869 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43870 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43872 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43874 * math/tst-CMPLX.c: Include <stdio.h>.
43876 2012-01-31 Joseph Myers <joseph@codesourcery.com>
43878 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43880 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43881 * sysdeps/sparc/bits/mathdef.h: Likewise.
43883 2012-01-31 Marek Polacek <polacek@redhat.com>
43885 * libio/libio.h: Don't define _PARAMS.
43886 * locale/programs/config.h: Don't define PARAMS.
43887 * stdlib/strtol_l.c: Likewise.
43888 (__strtol_l): Remove PARAMS from the prototype.
43890 2012-01-31 Ulrich Drepper <drepper@gmail.com>
43892 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43893 names. Just use the correct names. Remove unnecessary wrapper
43895 * malloc/arena.c: Likewise.
43896 * malloc/hooks.c: Likewise.
43898 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43899 ARENA_TEST says not to. Simplify test for creation of a new arena.
43900 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43902 2012-01-30 Ulrich Drepper <drepper@gmail.com>
43904 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43906 (update_get_addr): New function.
43907 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43908 GET_ADDR_MODULE parameter.
43910 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43912 * crypt/cert.c: Remove __STDC__ conditionals.
43913 * crypt/crypt-entry.c: Likewise.
43914 * crypt/crypt_util.c: Likewise.
43915 * libio/filedoalloc.c: Likewise.
43916 * libio/fileops.c: Likewise.
43917 * libio/genops.c: Likewise.
43918 * libio/iofclose.c: Likewise.
43919 * libio/iofdopen.c: Likewise.
43920 * libio/iofopen.c: Likewise.
43921 * libio/iofopen64.c: Likewise.
43922 * libio/iogetdelim.c: Likewise.
43923 * libio/iopopen.c: Likewise.
43924 * libio/obprintf.c: Likewise.
43925 * libio/oldfileops.c: Likewise.
43926 * libio/oldiofclose.c: Likewise.
43927 * libio/oldiofdopen.c: Likewise.
43928 * libio/oldiofopen.c: Likewise.
43929 * libio/oldiopopen.c: Likewise.
43930 * libio/wfiledoalloc.c: Likewise.
43931 * libio/wgenops.c: Likewise.
43932 * locale/programs/xmalloc.c: Likewise.
43933 * misc/syslog.c: Likewise.
43934 * stdio-common/xbug.c: Likewise.
43935 * string/memchr.c: Likewise.
43936 * string/memcmp.c: Likewise.
43937 * string/memrchr.c: Likewise.
43938 * string/rawmemchr.c: Likewise.
43939 * sysdeps/posix/getcwd.c: Likewise.
43940 * time/strftime_l.c: Likewise.
43942 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43944 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43945 * config.make.in (config-cflags-sse2avx): Define.
43946 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43949 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43951 * scripts/config.guess: Update from upstream config git repository.
43952 * scripts/config.sub: Likewise.
43954 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43956 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43958 (R_TILEPRO_*, R_TILEGX_*): New macros.
43960 * scripts/firstversions.awk: Fix bug in version range handling.
43962 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43964 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43966 * include/sys/epoll.h: New file.
43967 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43970 2012-01-28 Ulrich Drepper <drepper@gmail.com>
43972 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43973 Avoid unnecessary __WORDSIZE == 64 test.
43974 (fmaxf): Use VEX format if possible.
43979 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43980 * math/math_private.h: Remove libc_fegetround* and
43982 * sysdeps/i386/configure.in: Check for -msse2avx.
43983 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43984 also if SSE2AVX is defined.
43985 Remove libc_fegetround* and libc_fesetround*.
43986 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43987 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43990 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43991 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43992 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43993 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43994 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43996 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43998 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44000 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44002 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44004 2012-01-27 Ulrich Drepper <drepper@gmail.com>
44007 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44009 * Makeconfig (libm): Define.
44010 * elf/Makefile: Add rules to build and run tst-relsort1.
44011 * elf/tst-relsort1.c: New file.
44012 * elf/tst-relsort1mod1.c: New file.
44013 * elf/tst-relsort1mod2.c: New file.
44015 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44017 * math/s_ldexp.c: Remove __STDC__ conditionals.
44018 * math/s_ldexpf.c: Likewise.
44019 * math/s_ldexpl.c: Likewise.
44020 * math/s_nextafter.c: Likewise.
44021 * math/s_nexttowardf.c: Likewise.
44022 * math/s_significand.c: Likewise.
44023 * math/s_significandf.c: Likewise.
44024 * math/s_significandl.c: Likewise.
44025 * math/w_jnl.c: Likewise.
44026 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44027 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44028 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44029 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44030 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44031 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44032 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44033 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44034 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44035 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44036 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44037 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44038 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44039 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44040 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44041 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44042 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44043 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44045 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44046 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44047 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44048 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44049 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44050 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44051 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44052 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44053 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44054 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44055 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44056 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44057 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44058 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44059 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44060 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44061 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44062 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44063 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44064 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44065 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44066 * sysdeps/ieee754/k_standard.c: Likewise.
44067 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44068 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44069 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44070 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44071 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44072 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44073 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44074 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44075 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44076 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44077 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44078 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44079 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44080 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44081 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44082 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44083 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44084 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44085 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44086 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44087 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44088 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44089 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44090 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44091 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44092 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44094 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44096 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44098 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44099 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44100 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44102 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44103 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44104 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44105 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44106 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44107 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44108 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44109 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44110 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44111 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44112 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44113 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44114 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44115 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44116 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44117 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44118 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44119 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44120 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44121 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44122 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44123 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44124 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44125 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44126 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44127 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44128 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44129 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44130 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44131 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44132 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44133 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44134 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44135 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44136 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44137 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44138 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44139 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44140 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44141 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44142 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44143 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44144 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44145 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44146 * sysdeps/ieee754/s_matherr.c: Likewise.
44147 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44148 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44149 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44150 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44152 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44154 * crypt/md5.h: Remove __STDC__ conditionals.
44155 * libio/libioP.h: Likewise.
44156 * locale/programs/config.h: Likewise.
44157 * sysdeps/generic/sysdep.h: Likewise.
44158 * sysdeps/i386/asm-syntax.h: Likewise.
44159 * sysdeps/s390/asm-syntax.h: Likewise.
44160 * sysdeps/unix/sysdep.h: Likewise.
44161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44164 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44166 * libio/libio.h: Remove __STDC__ conditionals.
44167 * malloc/obstack.h: Likewise.
44168 * math/complex.h: Likewise.
44169 * math/math.h: Likewise.
44170 * sysdeps/generic/_G_config.h: Likewise.
44171 * sysdeps/gnu/_G_config.h: Likewise.
44172 * sysdeps/mach/hurd/_G_config.h: Likewise.
44173 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44174 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44175 * sysdeps/sparc/bits/mathdef.h: Likewise.
44177 2012-01-26 Ulrich Drepper <drepper@gmail.com>
44180 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44181 Clean up HAS_* macros.
44182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44183 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44185 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44187 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44188 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44189 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44190 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44191 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44193 2012-01-25 Joseph Myers <joseph@codesourcery.com>
44195 * elf/tst-unique3.cc (gets): Remove declaration.
44196 * elf/tst-unique3lib.cc (gets): Likewise.
44197 * elf/tst-unique3lib2.cc (gets): Likewise.
44198 * elf/tst-unique4.cc (gets): Likewise.
44200 2012-01-24 Ulrich Drepper <drepper@gmail.com>
44202 * include/stdio.h: Add C++ protection. Add gets declarations and
44204 * debug/tst-chk1.c: Don't declare gets here.
44205 * stdio-common/tst-gets.c: Likewise.
44207 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44209 * posix/glob: Remove directory.
44211 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44213 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44215 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44217 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44218 of the non-standard EPFNOSUPPORT.
44220 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44222 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44223 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44224 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44226 2012-01-21 Ulrich Drepper <drepper@gmail.com>
44228 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44230 2012-01-20 Ulrich Drepper <drepper@gmail.com>
44232 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44234 * nscd/grpcache.c (cache_addgr): Likewise.
44235 * nscd/hstcache.c (cache_addhst): Likewise.
44236 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44237 * nscd/pwdcache.c (cache_addpw): Likewise.
44238 * nscd/servicescache.c (cache_addserv): Likewise.
44240 2012-01-16 Ulrich Drepper <drepper@gmail.com>
44242 * malloc/malloc.c: Various cleanups.
44243 * malloc/hooks.c: Likewise.
44245 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44246 * stdlib/bug-fmtmsg1.c: New file.
44248 * stdlib/fmtmsg.c (init): Add missing unlock.
44249 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44251 2012-01-12 Marek Polacek <polacek@redhat.com>
44253 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44256 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44258 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44259 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44260 macro to ensure uniqueness of label name.
44261 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44262 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44264 2012-01-11 Ulrich Drepper <drepper@gmail.com>
44266 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44268 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44269 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44270 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44271 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44273 2012-01-10 Ulrich Drepper <drepper@gmail.com>
44275 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44277 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44278 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44279 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44281 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44283 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44284 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44285 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44286 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44288 * math/bits/math-finite.h: Add ldexp support.
44290 2012-01-10 Marek Polacek <polacek@redhat.com>
44292 * locale/programs/localedef.h (show_archive_content): Add noreturn
44295 2012-01-09 Ulrich Drepper <drepper@gmail.com>
44297 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44299 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44301 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44303 * io/Makefile (headers): Add bits/poll2.h.
44305 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44308 typo #include statement.
44310 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44312 * include/sys/cdefs.h: Define __attribute_alloc_size.
44313 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44314 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44315 * elf/pldd.c: Likewise.
44316 * iconv/iconv_charmap.c: Likewise.
44317 * iconv/iconvconfig.c: Likewise.
44318 * iconv/strtab.c: Likewise.
44319 * locale/programs/locale.c: Likewise.
44320 * locale/programs/localedef.h: Likewise.
44321 * locale/programs/simple-hash.c: Likewise.
44322 * nscd/nscd.h: Likewise.
44323 * nss/makedb.c: Likewise.
44324 * sysdeps/generic/ldconfig.h: Likewise.
44325 * locale/programs/localedef.c: Remove xmalloc prototype.
44326 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44328 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44330 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44333 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44335 * math/Makefile (tests): Add tst-CMPLX.
44336 * math/tst-CMPLX.c: New file.
44338 * math/complex.h (CMPLXL): Fix typo.
44340 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44341 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44343 * debug/tst-chk1.c: Add poll and ppoll tests.
44344 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44345 * include/sys/poll.h: Add hidden proto for ppoll.
44346 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44347 * sysdeps/mach/hurd/ppoll.c: Likewise.
44348 * io/ppoll.c: Likewise.
44349 * debug/poll_chk.c: New file.
44350 * debug/ppoll_chk.c: New file.
44351 * include/bits/poll2.h: New file.
44352 * io/bits/poll2.h: New file.
44355 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44357 * configure.in: static is always set to yes. Remove.
44358 * config.make.in: Don't set build-static.
44359 * Makeconfig: Remove use of build-static.
44360 * dlfcn/Makefile: Likewise.
44361 * elf/Makefile: Likewise.
44362 * math/Makefile: Likewise.
44363 * misc/Makefile: Likewise.
44364 * nptl/Makefile: Likewise.
44365 * sysdeps/mach/hurd/Makefile: Likewise.
44367 * configure.in: PWD_P is not used anymore.
44368 * config.make.in: Remove PWD_P entry.
44370 * configure.in: Remove last remnants of RANLIB.
44371 No need to check for signed size_t anymore.
44372 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44374 Remove __builtin_expect test because we require at least gcc 3.4.
44375 * aclocal.m4: Likewise.
44377 * wcsmbs/mbrtoc16.c: Implement using towc function.
44378 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44379 * wcsmbs/wcsmbsload.c: Likewise.
44380 * iconv/gconv_simple.c: Likewise.
44381 * iconv/gconv_int.h: Likewise.
44382 * iconv/gconv_builtin.h: Likewise.
44383 * iconv/iconv_prog.c: Remove CHAR16 handling.
44385 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44387 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44389 * configure.in: Remove --with-elf and --enable-bounded options.
44390 Dont set base_machine for ia64. More non-ELF conditions removed.
44391 Remove testing and setting of leading underscore information.
44392 * config.make.in (build-bounded): Set to no.
44393 * config.h.in: Remove NO_UNDERSCORES entry.
44394 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44396 * csu/start.c: Remove !NO_UNDERSCORE code.
44397 * locale/localeinfo.h: Likewise.
44398 * sysdeps/generic/machine-gmon.h: Likewise.
44399 * sysdeps/generic/sysdep.h: Likewise.
44400 * sysdeps/i386/sysdep.h: Likewise.
44401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44402 * sysdeps/mach/sysdep.h: Likewise.
44403 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44404 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44405 * sysdeps/sh/sysdep.h: Likewise.
44406 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44407 * sysdeps/unix/i386/sysdep.S: Likewise.
44408 * sysdeps/unix/sparc/start.c: Likewise.
44409 * sysdeps/unix/sparc/sysdep.S: Likewise.
44410 * sysdeps/unix/sparc/sysdep.h: Likewise.
44411 * sysdeps/unix/start.c: Likewise.
44412 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44413 * sysdeps/x86_64/sysdep.h: Likewise.
44415 2012-01-07 Ulrich Drepper <drepper@gmail.com>
44418 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44420 * argp/argp-fmtstream.h: Use const instead __const.
44421 * argp/argp.h: Likewise.
44422 * assert/assert.h: Likewise.
44423 * bits/fenv.h: Likewise.
44424 * bits/sched.h: Likewise.
44425 * bits/sigset.h: Likewise.
44426 * bits/sigthread.h: Likewise.
44427 * catgets/nl_types.h: Likewise.
44428 * conform/data/pthread.h-data: Likewise.
44429 * crypt/crypt-private.h: Likewise.
44430 * crypt/crypt.h: Likewise.
44431 * crypt/crypt_util.c: Likewise.
44432 * ctype/ctype.h: Likewise.
44433 * debug/execinfo.h: Likewise.
44434 * debug/mbsnrtowcs_chk.c: Likewise.
44435 * debug/mbsrtowcs_chk.c: Likewise.
44436 * debug/wcsnrtombs_chk.c: Likewise.
44437 * debug/wcsrtombs_chk.c: Likewise.
44438 * debug/wcstombs_chk.c: Likewise.
44439 * dirent/dirent.h: Likewise.
44440 * dlfcn/dlfcn.h: Likewise.
44441 * elf/neededtest4.c: Likewise.
44442 * grp/grp.h: Likewise.
44443 * gshadow/gshadow.h: Likewise.
44444 * iconv/gconv.h: Likewise.
44445 * iconv/gconv_int.h: Likewise.
44446 * iconv/gconv_simple.c: Likewise.
44447 * iconv/iconv.h: Likewise.
44448 * iconv/loop.c: Likewise.
44449 * iconv/skeleton.c: Likewise.
44450 * include/aio.h: Likewise.
44451 * include/aliases.h: Likewise.
44452 * include/argz.h: Likewise.
44453 * include/arpa/inet.h: Likewise.
44454 * include/assert.h: Likewise.
44455 * include/dirent.h: Likewise.
44456 * include/dlfcn.h: Likewise.
44457 * include/execinfo.h: Likewise.
44458 * include/fcntl.h: Likewise.
44459 * include/fenv.h: Likewise.
44460 * include/glob.h: Likewise.
44461 * include/grp.h: Likewise.
44462 * include/libintl.h: Likewise.
44463 * include/mntent.h: Likewise.
44464 * include/netdb.h: Likewise.
44465 * include/pwd.h: Likewise.
44466 * include/rpc/netdb.h: Likewise.
44467 * include/sched.h: Likewise.
44468 * include/search.h: Likewise.
44469 * include/shadow.h: Likewise.
44470 * include/signal.h: Likewise.
44471 * include/stdio.h: Likewise.
44472 * include/stdlib.h: Likewise.
44473 * include/string.h: Likewise.
44474 * include/sys/socket.h: Likewise.
44475 * include/sys/stat.h: Likewise.
44476 * include/sys/statfs.h: Likewise.
44477 * include/sys/statvfs.h: Likewise.
44478 * include/sys/syslog.h: Likewise.
44479 * include/sys/time.h: Likewise.
44480 * include/sys/uio.h: Likewise.
44481 * include/time.h: Likewise.
44482 * include/unistd.h: Likewise.
44483 * include/utmp.h: Likewise.
44484 * include/wchar.h: Likewise.
44485 * include/wctype.h: Likewise.
44486 * inet/aliases.h: Likewise.
44487 * inet/arpa/inet.h: Likewise.
44488 * inet/netinet/ether.h: Likewise.
44489 * inet/netinet/in.h: Likewise.
44490 * intl/libintl.h: Likewise.
44491 * io/bits/fcntl2.h: Likewise.
44492 * io/fcntl.h: Likewise.
44493 * io/ftw.h: Likewise.
44494 * io/sys/poll.h: Likewise.
44495 * io/sys/stat.h: Likewise.
44496 * io/sys/statfs.h: Likewise.
44497 * io/sys/statvfs.h: Likewise.
44498 * io/utime.h: Likewise.
44499 * libio/bits/stdio.h: Likewise.
44500 * libio/bits/stdio2.h: Likewise.
44501 * libio/libio.h: Likewise.
44502 * libio/libioP.h: Likewise.
44503 * libio/stdio.h: Likewise.
44504 * locale/lc-ctype.c: Likewise.
44505 * locale/locale.h: Likewise.
44506 * login/utmp.h: Likewise.
44507 * malloc/arena.c: Likewise.
44508 * malloc/malloc.c: Likewise.
44509 * malloc/malloc.h: Likewise.
44510 * malloc/mcheck.c: Likewise.
44511 * malloc/mtrace.c: Likewise.
44512 * math/bits/mathcalls.h: Likewise.
44513 * math/fenv.h: Likewise.
44514 * math/math_private.h: Likewise.
44515 * misc/bits/error.h: Likewise.
44516 * misc/bits/syslog.h: Likewise.
44517 * misc/err.h: Likewise.
44518 * misc/error.h: Likewise.
44519 * misc/fstab.h: Likewise.
44520 * misc/mntent.h: Likewise.
44521 * misc/regexp.h: Likewise.
44522 * misc/search.h: Likewise.
44523 * misc/sgtty.h: Likewise.
44524 * misc/sys/mman.h: Likewise.
44525 * misc/sys/syslog.h: Likewise.
44526 * misc/sys/uio.h: Likewise.
44527 * misc/sys/xattr.h: Likewise.
44528 * misc/ttyent.h: Likewise.
44529 * nis/rpcsvc/ypclnt.h: Likewise.
44530 * nss/nss.h: Likewise.
44531 * posix/bits/unistd.h: Likewise.
44532 * posix/fnmatch.h: Likewise.
44533 * posix/glob.h: Likewise.
44534 * posix/sched.h: Likewise.
44535 * posix/spawn.h: Likewise.
44536 * posix/sys/wait.h: Likewise.
44537 * posix/unistd.h: Likewise.
44538 * posix/wordexp.h: Likewise.
44539 * pwd/pwd.h: Likewise.
44540 * resolv/netdb.h: Likewise.
44541 * resource/sys/resource.h: Likewise.
44542 * rt/aio.h: Likewise.
44543 * rt/bits/mqueue2.h: Likewise.
44544 * rt/mqueue.h: Likewise.
44545 * shadow/shadow.h: Likewise.
44546 * signal/signal.h: Likewise.
44547 * socket/send.c: Likewise.
44548 * socket/sendto.c: Likewise.
44549 * socket/sys/socket.h: Likewise.
44550 * stdio-common/printf.h: Likewise.
44551 * stdlib/bits/stdlib.h: Likewise.
44552 * stdlib/fmtmsg.h: Likewise.
44553 * stdlib/monetary.h: Likewise.
44554 * stdlib/stdlib.h: Likewise.
44555 * stdlib/ucontext.h: Likewise.
44556 * streams/stropts.h: Likewise.
44557 * string/argz.h: Likewise.
44558 * string/bits/string2.h: Likewise.
44559 * string/string.h: Likewise.
44560 * string/strings.h: Likewise.
44561 * sunrpc/rpc/auth.h: Likewise.
44562 * sunrpc/rpc/auth_des.h: Likewise.
44563 * sunrpc/rpc/clnt.h: Likewise.
44564 * sunrpc/rpc/netdb.h: Likewise.
44565 * sunrpc/rpc/pmap_clnt.h: Likewise.
44566 * sunrpc/rpc/xdr.h: Likewise.
44567 * sysdeps/generic/inttypes.h: Likewise.
44568 * sysdeps/generic/net/if.h: Likewise.
44569 * sysdeps/generic/sys/swap.h: Likewise.
44570 * sysdeps/gnu/net/if.h: Likewise.
44571 * sysdeps/gnu/utmpx.h: Likewise.
44572 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44573 * sysdeps/i386/i486/bits/string.h: Likewise.
44574 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44575 * sysdeps/s390/bits/string.h: Likewise.
44576 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44577 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44578 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44579 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44580 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44581 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44582 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44583 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44584 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44585 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44586 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44587 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44588 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44589 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44590 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44591 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44592 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44594 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44595 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44596 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44597 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44598 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44599 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44600 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44601 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44602 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44603 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44604 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44605 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44606 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44607 * sysvipc/sys/ipc.h: Likewise.
44608 * sysvipc/sys/msg.h: Likewise.
44609 * sysvipc/sys/sem.h: Likewise.
44610 * sysvipc/sys/shm.h: Likewise.
44611 * termios/termios.h: Likewise.
44612 * time/sys/time.h: Likewise.
44613 * time/time.h: Likewise.
44614 * wcsmbs/bits/wchar2.h: Likewise.
44615 * wcsmbs/uchar.h: Likewise.
44616 * wcsmbs/wchar.h: Likewise.
44617 * wctype/wctype.h: Likewise.
44620 * Makeconfig: Remove all but ELF support including AIX support.
44621 * Makerules: Likewise.
44622 * config.h.in: Likewise.
44623 * config.make.in: Likewise.
44624 * configure: Likewise.
44625 * configure.in: Likewise.
44626 * csu/Makefile: Likewise.
44627 * csu/version.c: Likewise.
44628 * debug/Makefile: Likewise.
44629 * dlfcn/Makefile: Likewise.
44630 * elf/Makefile: Likewise.
44631 * extra-lib.mk: Likewise.
44632 * iconv/Makefile: Likewise.
44633 * include/libc-symbols.h: Likewise.
44634 * include/shlib-compat.h: Likewise.
44635 * resolv/Makefile: Likewise.
44636 * resolv/res_libc.c: Likewise.
44637 * rt/Makefile: Likewise.
44638 * sysdeps/i386/asm-syntax.h: Likewise.
44639 * sysdeps/i386/sysdep.h: Likewise.
44640 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44641 * sysdeps/mach/sysdep.h: Likewise.
44642 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44643 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44644 * sysdeps/s390/asm-syntax.h: Likewise.
44645 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44646 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44647 * sysdeps/sh/sysdep.h: Likewise.
44648 * sysdeps/unix/sparc/sysdep.h: Likewise.
44649 * sysdeps/wordsize-32/divdi3.c: Likewise.
44650 * sysdeps/x86_64/sysdep.h: Likewise.
44652 * argp/Versions: Remove _argp_unlock_xxx.
44655 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44656 * abilist/libBrokenLocale.abilist: Likewise.
44657 * abilist/libanl.abilist: Likewise.
44658 * abilist/libc.abilist: Likewise.
44659 * abilist/libcrypt.abilist: Likewise.
44660 * abilist/libdl.abilist: Likewise.
44661 * abilist/libm.abilist: Likewise.
44662 * abilist/libnsl.abilist: Likewise.
44663 * abilist/libpthread.abilist: Likewise.
44664 * abilist/libresolv.abilist: Likewise.
44665 * abilist/librt.abilist: Likewise.
44666 * abilist/libthread_db.abilist: Likewise.
44667 * abilist/libutil.abilist: Likewise.
44668 * abilist/libnss_db.abilist: New file.
44670 * scripts/abilist.awk: Add support for indirect functions.
44672 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44674 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44676 * shlib-versions: Remove entries for ports architectures.
44678 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44680 * elf/stackguard-macros.h: Remove support for IA-64.
44681 * elf/tst-auditmod1.c: Likewise.
44682 * sysdeps/generic/ldsodefs.h: Likewise.
44684 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44685 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44689 * configure.in: Remove --enable-omitfp support.
44691 * config.make.in: Likewise.
44692 * Makeconfig: Likewise.
44693 * manual/install.texi: Likewise.
44695 In case anyone cares, the IA-64 architecture could move to ports.
44696 * sysdeps/ia64/*: Removed.
44697 * sysdeps/unix/sysv/linux/ia64/*: Removed.
44698 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44701 * configure.in: Remove entries for unsupported architectures.
44704 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44705 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44707 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44708 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44709 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44710 fall back to using wcrtomb.
44711 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44712 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44714 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44715 * wcsmbs/tst-c16c32-1.c: New file.
44717 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44720 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44722 * elf/tst-unique3.cc: Add explicit declaration of gets.
44723 * elf/tst-unique3lib.cc: Likewise.
44724 * elf/tst-unique3lib2.cc: Likewise.
44725 * elf/tst-unique4.cc: Likewise.
44727 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44729 2012-01-06 Joseph Myers <joseph@codesourcery.com>
44732 * assert/assert.h (static_assert): Don't define for C++.
44733 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44734 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44736 2012-01-03 Ulrich Drepper <drepper@gmail.com>
44738 * iconv/loop.c (single loop): Fix assertion in storing of
44741 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44743 2012-01-01 Ulrich Drepper <drepper@gmail.com>
44745 * posix/getconf.c: Update copyright year.
44746 * nss/getent.c: Likewise.
44747 * nss/makedb.c: Likewise.
44748 * iconv/iconvconfig.c: Likewise.
44749 * iconv/iconv_prog.c: Likewise.
44750 * elf/ldconfig.c: Likewise.
44751 * elf/pldd.c: Likewise.
44752 * elf/sotruss.ksh: Likewise.
44753 * catgets/gencat.c: Likewise.
44754 * csu/version.c: Likewise.
44755 * elf/ldd.bash.in: Likewise.
44756 * elf/sprof.c (print_version): Likewise.
44757 * locale/programs/locale.c: Likewise.
44758 * locale/programs/localedef.c: Likewise.
44759 * login/programs/pt_chown.c: Likewise.
44760 * nscd/nscd.c (print_version): Likewise.
44761 * debug/xtrace.sh: Likewise.
44762 * malloc/memusage.sh: Likewise.
44763 * malloc/mtrace.pl: Likewise.
44764 * debug/catchsegv.sh: Likewise.
44766 2011-12-30 Jakub Jelinek <jakub@redhat.com>
44768 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44771 2011-12-24 Ulrich Drepper <drepper@gmail.com>
44774 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44775 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44777 * iconv/gconv_int.h: Likewise.
44778 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44779 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44780 from libc for GLIBC_2.16.
44781 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44782 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44783 * wcsmbs/uchar.h: Really define mbstate_t.
44784 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44785 * wcsmbs/c16rtomb.c: New file.
44786 * wcsmbs/mbrtoc16.c: New file.
44787 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44788 for C/POSIX locale.
44789 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44790 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44792 * wcsmbs/wchar.h: Add missing __restrict.
44794 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44797 * time/Makefile (routines): Add timespec_get.
44798 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44799 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44800 timespec for ISO C11.
44801 * time/timespec_get.c: New file.
44802 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44803 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44806 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44807 * stdlib/stdlib.h: Declare aligned_alloc.
44808 * Versions.def: Add GLIBC_2.16 for libc.
44809 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44812 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44815 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44819 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44822 * assert/assert.h (static_assert): Define.
44824 * version.h: Update for 2.16 development version.
44827 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44830 * version.h (RELEASE): Bump for 2.15 release.
44831 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44833 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44834 Patch by Marek Polacek <mpolacek@redhat.com>.
44836 * bits/byteswap.h: Protect long long constants with __extension__.
44837 * sysdeps/i386/bits/byteswap.h: Likewise.
44838 * sysdeps/ia64/bits/byteswap.h: Likewise.
44839 * sysdeps/s390/bits/byteswap.h: Likewise.
44840 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44842 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44845 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44846 destination buffer.
44847 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44849 2011-12-23 Marek Polacek <polacek@redhat.com>
44851 * elf/dl-addr.c (determine_info): Add inline keyword.
44852 * elf/tst-auditmod4b.c (check_avx): Likewise.
44853 * elf/tst-auditmod6b.c (check_avx): Likewise.
44854 * elf/tst-auditmod6c.c (check_avx): Likewise.
44855 * elf/tst-auditmod7b.c (check_avx): Likewise.
44857 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44859 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44862 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44865 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44866 processing for last bytes.
44868 2011-08-06 Bruno Haible <bruno@clisp.org>
44871 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44872 U+0385, not to U+1FEE.
44875 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44876 entry for U+00A5 U+0301.
44878 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44881 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44882 buffer for the output is too small.
44884 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44888 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44889 SSE flags if possible.
44891 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44894 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44895 processing for last bytes.
44897 2011-12-22 Joseph Myers <joseph@codesourcery.com>
44899 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44900 (syscall-list-default-options, syscall-list-default-condition)
44901 (syscall-list-includes): Define.
44902 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44903 list of ABIs and options and #if conditions for each ABI. Do not
44904 handle common syscalls between ABIs specially.
44905 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44907 (syscall-list-variants, syscall-list-32bit-options)
44908 (syscall-list-32bit-condition, syscall-list-64bit-options)
44909 (syscall-list-64bit-condition): Define.
44910 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44911 (syscall-list-variants, syscall-list-32bit-options)
44912 (syscall-list-32bit-condition, syscall-list-64bit-options)
44913 (syscall-list-64bit-condition): Define.
44914 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44916 (syscall-list-variants, syscall-list-32bit-options)
44917 (syscall-list-32bit-condition, syscall-list-64bit-options)
44918 (syscall-list-64bit-condition): Define.
44919 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44921 (syscall-list-variants, syscall-list-32bit-options)
44922 (syscall-list-32bit-condition, syscall-list-64bit-options)
44923 (syscall-list-64bit-condition): Define.
44925 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44927 * locale/iso-639.def: Add brx entry.
44930 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44931 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44933 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44934 __feraiseexcept_renamed.
44936 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44939 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44940 EPOLLET with unsigned values.
44941 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44942 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44944 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44945 to large cancellation.
44946 * math/s_cacoshf.c: Likewise.
44947 * math/s_cacoshl.c: Likewise.
44949 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44953 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44954 * math/s_cacoshf.c: Likewise.
44955 * math/s_cacoshl.c: Likewise.
44957 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44960 * iconv/gconv.h: Define __GCONV_SWAP.
44961 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44962 * iconvdata/utf-16.c: Likewise.
44963 * iconvdata/utf-32.c: Likewise.
44965 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44968 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44969 numerator after shifting it by one limb.
44971 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44973 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44974 under [__USE_EXTERN_INLINES].
44976 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44979 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44981 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44983 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44984 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44986 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44987 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44988 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44989 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44990 for strncasecmp/strncasecmp_l compilation.
44991 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44992 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44994 2011-12-08 Marek Polacek <mpolacek@redhat.com>
44997 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45000 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45003 * time/tzfile.c (__tzfile_read): Check values from file header.
45005 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45007 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45008 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45009 * powerpc/powerpc32/dl-start.S: Likewise.
45010 * powerpc/powerpc32/elf/start.S: Likewise.
45011 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45012 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45013 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45014 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45015 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45016 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45017 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45018 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45019 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45020 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45021 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45022 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45023 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45024 * powerpc/powerpc32/memset.S: Likewise.
45025 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45026 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45027 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45028 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45029 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45030 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45031 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45032 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45033 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45034 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45035 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45036 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45037 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45039 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45041 * math/libm-test.inc: Added more nearbyint tests.
45042 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45043 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45045 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45047 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45049 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45052 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45054 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45055 Add wcscpy-ssse3 wcscpy-c.
45056 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45057 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45058 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45059 * sysdeps/x86_64/wcschr.S: New file.
45060 * sysdeps/x86_64/wcsrchr.S: New file.
45061 * string/test-strcmp.c: Remove checking of wcscmp function for
45063 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45064 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45065 wcsrchr-sse2 wcsrchr-c.
45066 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45067 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45068 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45069 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45070 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45071 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45072 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45073 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45074 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45075 * wcsmbc/wcschr.c (WCSCHR): New macro.
45077 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45079 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45080 * wcsmbs/test-wcsrchr.c: New file.
45081 * string/test-strrchr.c: Add wcsrchr support.
45083 * wcsmbs/test-wcscpy.c: New file.
45084 * string/test-strcpy.c: Add wcscpy support.
45087 2011-12-10 Ulrich Drepper <drepper@gmail.com>
45089 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45092 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45095 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45097 2011-12-04 Ulrich Drepper <drepper@gmail.com>
45099 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45100 Minor optimizations.
45102 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45103 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45104 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45106 2011-12-03 Ulrich Drepper <drepper@gmail.com>
45108 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45109 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45110 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45111 for gcc to avoid warnings.
45112 * inet/Makefile (tests): Add tst-checks.
45113 * inet/tst-checks.c: New file.
45115 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45118 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45121 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45122 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45124 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45126 2011-12-02 Ulrich Drepper <drepper@gmail.com>
45128 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45131 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45133 2011-11-29 Joseph Myers <joseph@codesourcery.com>
45135 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45136 conditional on GCC version.
45137 (__arch_compare_and_exchange_val_8_acq)
45138 (__arch_compare_and_exchange_val_16_acq)
45139 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45140 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45141 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45143 2011-12-02 Joseph Myers <joseph@codesourcery.com>
45145 * sysdeps/sh/backtrace.c: New file.
45147 2011-12-02 Andreas Schwab <schwab@redhat.com>
45149 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45152 2011-12-01 Andreas Schwab <schwab@redhat.com>
45154 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45155 falling back to utime.
45157 2011-11-30 Andreas Schwab <schwab@redhat.com>
45159 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45160 expectations for float.
45162 2011-11-29 Andreas Schwab <schwab@redhat.com>
45164 * locale/weight.h (findidx): Add parameter len.
45165 * locale/weightwc.h (findidx): Likewise.
45166 * posix/fnmatch_loop.c (FCT): Adjust caller.
45167 * posix/regcomp.c (build_equiv_class): Likewise.
45168 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45169 * posix/regexec.c (check_node_accept_bytes): Likewise.
45170 * string/strcoll_l.c (STRCOLL): Likewise.
45171 * string/strxfrm_l.c (STRXFRM): Likewise.
45173 2011-11-17 Ulrich Drepper <drepper@gmail.com>
45175 * Makefile.in: Remove CVSOPT handling.
45176 * configure.in: Remove use of AC_REVISION.
45177 * iconvdata/Makefile (distribute): No need to filter out CVS.
45178 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45181 2011-11-16 Andreas Schwab <schwab@redhat.com>
45183 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45184 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45185 [USE_AS_STRNCASECMP_L]: Likewise.
45186 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45187 NO_TLS_DIRECT_SEG_REFS.
45188 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45189 Fix argument offsets for non-PIC.
45190 [USE_AS_STRNCASECMP_L]: Likewise.
45191 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45192 NO_TLS_DIRECT_SEG_REFS.
45194 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45196 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45198 * locale/loadlocale.c (_nl_load_locale): Likewise.
45200 2011-11-15 Andreas Schwab <schwab@redhat.com>
45202 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45203 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45204 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45205 (SYSCALL_GETTIME): Set errno on error.
45207 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45208 count references to noai6ai_cached.
45210 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45212 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45214 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45215 FD_CLOEXEC for /proc/self/maps.
45217 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45218 FD_CLOEXEC for /proc/meminfo.
45220 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45223 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45224 FD_CLOEXEC for given file.
45226 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45228 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45229 FD_CLOEXEC for /etc/hosts.
45230 (_gethtent): Likewise.
45232 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45234 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45235 cancellation and set FD_CLOEXEC for /etc/netgroup.
45237 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45238 reading /etc/publickey.
45240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45241 allow cancellation when reading /etc/group.
45243 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45245 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45247 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45248 when using data file.
45250 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45252 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45253 (write_nis_obj): Use "c" and "e" in fopen.
45255 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45257 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45259 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45261 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45263 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45266 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45268 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45270 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45272 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45273 file parsing and set FD_CLOEXEC.
45275 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45277 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45279 2011-11-14 Andreas Schwab <schwab@redhat.com>
45281 * malloc/arena.c (arena_get2): Don't call reused_arena when
45282 _int_new_arena failed.
45284 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45286 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45287 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45288 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45289 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45290 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45291 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45292 to compile strcasecmp and strncasecmp.
45293 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45294 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45296 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45298 2011-11-13 Ulrich Drepper <drepper@gmail.com>
45300 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45301 locale-defines.sym to gen-as-const-headers.
45302 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45303 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45305 to compile strcasecmp and strncasecmp.
45306 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45307 strcasecmp_l and strncasecmp_l.
45308 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45309 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45310 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45311 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45312 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45313 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45314 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45315 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45316 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45317 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45318 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45320 2011-11-12 Ulrich Drepper <drepper@gmail.com>
45322 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45323 result of SYSDEP_GETTIME_CPU to retval.
45324 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45325 parameter list to macro. Remove trailing semicolon. Adjust users.
45327 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45330 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45332 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45334 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45335 from unused variable.
45337 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45339 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45342 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45345 * sunrpc/rpc_prot.c (rejected): Fix case value.
45347 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45348 unsigned long long int to avoid warnings in shift.
45350 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45352 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45355 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45356 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45357 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45359 * nis/nis_table.c (nis_list): Use variable of correct type for
45360 result of __follow_path call.
45362 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45364 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45365 of math functions ceil, trunc, floor, round, and sqrt, when
45366 avaliable on the platform.
45367 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45369 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45370 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45371 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45373 2011-10-30 Marek Polacek <mpolacek@redhat.com>
45375 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45376 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45378 2011-11-11 Roland McGrath <roland@hack.frob.com>
45380 * include/unistd.h: Fix __readlink return type.
45381 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45383 2011-11-11 Ulrich Drepper <drepper@gmail.com>
45385 * stdlib/ucontext.h: Undo last change for makecontext.
45387 2011-11-11 Andreas Schwab <schwab@redhat.com>
45389 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45391 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45392 * setjmp/setjmp.h: Mark functions as non-leaf.
45393 * setjmp/bits/setjmp2.h: Likewise.
45394 * stdlib/ucontext.h: Likewise.
45396 2011-11-10 Andreas Schwab <schwab@redhat.com>
45398 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45399 (reused_arena): Don't check arena limit.
45400 (arena_get2): Atomically check arena limit.
45402 2011-11-08 Ulrich Drepper <drepper@gmail.com>
45404 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45405 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45407 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45410 2011-11-07 Andreas Schwab <schwab@redhat.com>
45412 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45413 handler when locking.
45415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45416 Fix size of allocated buffer.
45418 2011-11-04 Andreas Schwab <schwab@redhat.com>
45421 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45422 declarations for long double functions.
45423 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45425 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45427 2011-11-03 Andreas Schwab <schwab@redhat.com>
45429 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45432 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45435 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45437 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45439 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45441 * include/alloca.h (stackinfo_alloca_round): Define.
45442 (extend_alloca): Use it.
45443 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45444 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45447 * scripts/check-local-headers.sh: Ignore libaudit.h.
45449 * nscd/Makefile (extra-objs): Make recursively expanded.
45451 2011-11-01 Ulrich Drepper <drepper@gmail.com>
45453 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45454 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45456 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45457 * posix/tst-rfc3484-2.c: Likewise.
45458 * posix/tst-rfc3484-3.c: Likewise.
45460 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45462 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45464 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45465 process_vm_writev from libc using GLIBC_2.15 version.
45467 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45469 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45471 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45474 2011-10-31 Ulrich Drepper <drepper@gmail.com>
45477 * nss/getent.c (initgroups_keys): Show error message in case no group
45480 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45481 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45482 __bump_nl_timestamp.
45483 * nscd/connections (nscd_init): When host database is served open
45484 netlink socket and request notification about configuration changes.
45485 (main_loop_poll): Track netlink file descriptor and bump timestamp
45486 in case data becomes available.
45487 (main_loop_epoll): Likewise.
45488 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45489 (database_pers_head): Add extra_data fileds.
45490 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45491 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45492 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45494 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45495 in6ai data, call __free_in6ai.
45496 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45497 Add -DHAVE_NETLINK.
45498 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45499 interface information. Reuse previous data if netlink timestamp
45501 (__bump_nl_timestamp): New function.
45502 (__free_in6ai): New function.
45504 2011-10-30 Ulrich Drepper <drepper@gmail.com>
45506 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45507 close_not_cancel_no_status here.
45508 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45510 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45513 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45516 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45517 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45518 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45520 2011-07-03 Andreas Jaeger <aj@suse.de>
45523 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45524 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45525 * math/libm-test.inc (sin_test): Add test case.
45527 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45530 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45531 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45533 * elf/chroot_canon.c (chroot_canon): Cleanups.
45535 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45538 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45539 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45541 * string/test-strchr.c: Make usable for strchrnul testing.
45542 * string/test-strchrnul.c: New file.
45543 * string/Makefile (strop-tests): Add strchrnul.
45545 * po/it.po: Update from translation team.
45546 * po/es.po: Likewise.
45548 2011-10-28 Ulrich Drepper <drepper@gmail.com>
45550 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45551 the three constants needed as parameters. Drop the others.
45552 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45553 __m128i_strloadu_tolower.
45554 Create and initialize variable zero and use it in all the places
45555 where _mm_setzero_si128 was used.
45557 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45558 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45559 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45560 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45562 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45563 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45564 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45565 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45566 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45567 __mpranred, __mptan.
45568 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45569 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45570 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45571 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45572 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45573 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45574 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45575 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45576 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45578 2011-10-28 Andreas Schwab <schwab@redhat.com>
45580 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45581 redefine if SHARED.
45582 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45585 wide char related routines to wcsmbs subdir.
45587 2011-10-27 Andreas Schwab <schwab@redhat.com>
45590 * misc/sys/cdefs.h (__THROWNL): Define.
45591 * posix/unistd.h: Use __THREADNL instead of __THREAD
45592 for memory synchronization functions.
45594 2011-10-26 Roland McGrath <roland@hack.frob.com>
45597 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45599 * manual/stdio.texi (Obstack Streams): Node removed.
45601 2011-10-26 Andreas Schwab <schwab@redhat.com>
45603 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45604 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45605 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45607 * math/math_private.h (math_force_eval): Allow non-addressable
45609 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45611 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45613 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45614 file is not needed.
45616 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45617 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45618 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45619 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45621 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45622 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45623 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45625 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45626 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45627 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45628 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45629 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45630 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45631 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45632 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45633 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45634 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45635 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45636 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45637 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45638 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45639 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45640 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45641 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45642 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45643 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45645 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45646 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45649 place. Use VEX encoding when compiling for AVX.
45651 2011-10-25 Andreas Schwab <schwab@redhat.com>
45653 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45654 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45656 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45658 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45660 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45661 useless if() expression.
45662 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45663 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45664 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45665 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45666 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45667 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45668 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45669 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45670 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45671 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45672 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45673 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45674 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45675 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45676 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45677 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45678 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45679 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45680 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45682 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45684 2011-10-25 Andreas Schwab <schwab@redhat.com>
45686 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45688 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45690 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45692 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45693 .text section. Avoid duplicate constants.
45694 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45696 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45698 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45702 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45703 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45704 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45705 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45706 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45707 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45708 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45709 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45710 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45711 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45712 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45714 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45715 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45716 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45717 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45718 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45719 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45720 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45721 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45722 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45723 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45724 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45725 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45726 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45727 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45728 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45729 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45730 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45731 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45732 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45733 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45734 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45735 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45736 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45737 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45738 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45740 2011-10-24 Ulrich Drepper <drepper@gmail.com>
45742 * sysdeps/x86_64/dla.h: Move to ...
45743 * sysdeps/x86_64/fpu/dla.h: ...here.
45744 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45745 situations. Use __builtin_fma only for gcc 4.6 and up.
45747 * config.make.in: Add have-mfma4 entry.
45748 * configure.in: Substitute libc_cv_cc_fma4.
45749 * math/Makefile (dbl-only-routines): Add sincostab.
45750 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45751 Use __sincostab not sincos.
45752 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45757 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45759 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45760 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45761 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45762 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45764 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45765 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45767 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45768 define aliases when function name is a macro.
45769 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45770 sysdeps/ieee754/dbl-64/sincos.tbl.
45771 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45772 fma4-enabled routines.
45773 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45774 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45775 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45776 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45777 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45778 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45779 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45780 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45781 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45782 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45783 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45784 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45785 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45786 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45787 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45788 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45789 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45790 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45791 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45793 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45794 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45795 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45796 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45797 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45798 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45800 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45801 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45802 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45804 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45807 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45812 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45813 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45815 2011-10-24 Andreas Schwab <schwab@redhat.com>
45817 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45819 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45821 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45823 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45825 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45827 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45828 Remove unused variable magic_bits.
45829 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45831 * string/strnlen.c: Define and use STRNLEN macro.
45832 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45833 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45835 * wcsmbs/wcslen.c: Define and use WCSLEN.
45836 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45837 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45838 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45839 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45840 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45841 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45842 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45844 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45847 strnlen-sse2-no-bsf.
45848 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45849 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45850 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45851 Add strnlen support.
45852 (USE_AS_STRNLEN): New macro.
45853 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45854 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45855 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45856 * sysdeps/x86_64/wcslen.S: New file.
45858 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45860 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45861 XMM-moves are used for copying on small sizes.
45863 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45865 * wcsmbs/Makefile (strop-tests): Add wcschr.
45866 * wcsmbs/test-wcschr.c: New file.
45867 * string/test-strchr.c: Update.
45868 Add wcschr support.
45871 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45873 * wcsmbs/Makefile (strop-tests): Add wcslen.
45874 * wcsmbs/test-wcslen.c: New file.
45875 * string/test-strlen.c: Update.
45876 Add wcslen support.
45879 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45881 * po/it.po: Update from translation team.
45883 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45885 * sysdeps/x86_64/wcscmp.S: Update.
45886 Fix wrong comparison semantics.
45887 wcscmp shall use signed comparison not unsigned.
45888 Don't use substraction to avoid overflow bug.
45889 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45890 * wcsmbc/wcscmp.c: Likewise.
45891 * string/test-strcmp.c: Likewise.
45892 Add new tests to check cases with negative values.
45894 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45896 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45897 * sysdeps/x86_64/dla.h: ...here. New file.
45898 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45903 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45906 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45908 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45910 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45911 __ynl_finite aliases.
45913 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45917 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45919 [DLA_FMA] (EMULV): Use DLA_FMA.
45920 [DLA_FMA] (MUL12): Use EMULV.
45921 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45922 that are not needed.
45923 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45927 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45928 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45931 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45933 * math/s_nan.c: Undef __nan.
45934 * math/s_nanf.c: Undef __nanf.
45935 * math/s_nanl.c: Undef __nanl.
45936 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45939 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45941 * math/s_catan.c: Add branch predictions.
45942 * math/s_catanf.c: Likewise.
45943 * math/s_catanh.c: Likewise.
45944 * math/s_catanhf.c: Likewise.
45945 * math/s_catanhl.c: Likewise.
45946 * math/s_catanl.c: Likewise.
45947 * math/s_cexp.c: Likewise.
45948 * math/s_cexpf.c: Likewise.
45949 * math/s_cexpl.c: Likewise.
45950 * math/s_clog.c: Likewise.
45951 * math/s_clog10.c: Likewise.
45952 * math/s_clog10f.c: Likewise.
45953 * math/s_clog10l.c: Likewise.
45954 * math/s_clogf.c: Likewise.
45955 * math/s_clogl.c: Likewise.
45956 * math/s_csqrt.c: Likewise.
45957 * math/s_csqrtf.c: Likewise.
45958 * math/s_csqrtl.c: Likewise.
45959 * math/s_ctanf.c: Likewise.
45960 * math/s_ctanh.c: Likewise.
45961 * math/s_ctanhf.c: Likewise.
45962 * math/s_ctanhl.c: Likewise.
45963 * math/s_ctanl.c: Likewise.
45965 * math/math_private.h: Define __nan, __nanf, __nanl.
45966 * math/s_cacosh.c: Include <math_private.h>.
45967 * math/s_cacoshl.c: Likewise.
45968 * math/s_casinh.c: Likewise.
45969 * math/s_casinhf.c: Likewise.
45970 * math/s_casinhl.c: Likewise.
45971 * math/s_ccos.c: Rely entire on ccosh.
45972 * math/s_ccosf.c: Rely entire on ccoshf.
45973 * math/s_ccosl.c: Rely entirely on ccoshl.
45974 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45975 Remove tests for FE_INVALID.
45976 * math/s_ccoshf.c: Likewise.
45977 * math/s_ccoshl.c: Likewise.
45978 * math/s_csin.c: Likewise.
45979 * math/s_csinf.c: Likewise.
45980 * math/s_csinh.c Likewise.
45981 * math/s_csinhf.c: Likewise.
45982 * math/s_csinhl.c: Likewise.
45983 * math/s_csinl.c: Likewise.
45984 * math/s_ctan.c: Likewise.
45985 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45986 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45987 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45989 2011-10-21 Ulrich Drepper <drepper@gmail.com>
45991 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45992 compilation problems.
45994 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45997 2011-10-20 Ulrich Drepper <drepper@gmail.com>
45999 * sysdeps/i386/configure.in: Test for -mfma4 option.
46000 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46001 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46002 COMMON_CPUID_INDEX_80000001.
46003 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46004 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46005 use it if FMA3 is not supported.
46006 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46008 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46009 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46011 2011-10-20 Andreas Schwab <schwab@redhat.com>
46014 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46015 it would create a cycle with a link time dependency.
46017 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46019 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46021 * string/Makefile (strop-tests): Add rawmemchr.
46022 * string/test-rawmemchr.c: New file.
46024 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46025 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46026 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46027 when compiling str{,n}casecmp and when AVX is available. Hook up
46028 new optimized code in initializers.
46030 2011-10-19 Andreas Schwab <schwab@redhat.com>
46032 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46033 __feraiseexcept instead of feraiseexcept.
46035 2011-10-18 Ulrich Drepper <drepper@gmail.com>
46037 * math/math_private.h: Define defaults for libc_fetestexcept and
46039 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46040 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46041 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46042 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46043 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46044 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46045 libc_fetestexcept and libc_feupdateenv.
46047 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46048 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46049 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46050 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46051 libc_feholdexcept_setround.
46053 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46054 Add s_nearbyint-c and s_nearbyintf-c.
46055 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46056 nearbyintf inlines.
46057 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46058 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46059 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46060 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46062 * math/math_private.h: Define defaults for libc_fegetround,
46063 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46064 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46065 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46066 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46067 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46068 standard functions.
46069 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46070 Remove comments and hacks for old compiler versions.
46071 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46072 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46073 libc_feholdexceptl.
46075 2011-10-18 Andreas Schwab <schwab@redhat.com>
46077 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46078 (__feraiseexcept_renamed): Add __NTH.
46079 (feraiseexcept): Add __NTH. Rename local variables to fix
46080 namespace violations.
46082 2011-10-17 Ulrich Drepper <drepper@gmail.com>
46084 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46086 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46088 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46089 recently added interfaces.
46090 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46092 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46093 about macro parameter expansion.
46095 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46096 __NO_MATH_INLINES is defined. Cleanups.
46098 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46099 and __floorf is target has SSE4.1.
46100 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46101 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46102 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46103 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46105 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46107 (floorf): Likewise.
46109 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46111 2011-10-17 Andreas Schwab <schwab@redhat.com>
46113 * misc/sys/cdefs.h: Fix last change.
46115 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46118 2011-10-16 Ulrich Drepper <drepper@gmail.com>
46120 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46122 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46123 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46124 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46125 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46126 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46127 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46128 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46129 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46130 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46131 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46132 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46133 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46134 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46135 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46136 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46137 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46138 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46139 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46140 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46141 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46142 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46143 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46145 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46146 ceil, ceilf, floor, floorf.
46148 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46149 Perform IRELATIVE relocations last.
46151 * elf/do-rel.h: Add another parameter nrelative, replacing the
46152 local variable with the same name. Change name of the function
46153 to end in Rel or Rela (uppercase).
46154 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46155 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46156 elf_dynamic_do_##reloc function.
46158 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46160 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46161 is sufficient, at least on modern CPUs.
46163 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46165 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46166 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46168 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46170 * math/bits/math-finite.h: Add entries for exp.
46171 * math/e_expl.c: Add __*_finite alias.
46172 * sysdeps/i386/fpu/e_exp.S: Likewise.
46173 * sysdeps/i386/fpu/e_expf.S: Likewise.
46174 * sysdeps/i386/fpu/e_expl.c: Likewise.
46175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46176 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46177 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46178 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46179 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46180 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46181 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46183 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46184 is sufficient, at least on modern CPUs.
46186 * ctype/ctype-info.c (__ctype_init): Define.
46187 * include/ctype.h (__ctype_init): Declare.
46188 (__ctype_b_loc): The variable is always initialized.
46189 (__ctype_toupper_loc): Likewise.
46190 (__ctype_tolower_loc): Likewise.
46191 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46192 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46194 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46196 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46198 * configure.in: Also look in $cxxmachine/include for C++ system
46201 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46203 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46204 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46205 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46206 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46207 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46208 (USE_AS_WMEMCMP): New macro.
46210 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46211 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46212 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46213 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46215 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46216 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46217 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46218 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46219 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46220 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46221 (USE_AS_WMEMCMP): New macro.
46222 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46223 * sysdeps/string/test-memcmp.c: Update.
46224 Fix simple_wmemcmp.
46226 * wcsmbs/wmemcmp.c: Update.
46227 (WMEMCMP): New macro.
46230 2011-10-12 Andreas Jaeger <aj@suse.de>
46233 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46235 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46237 * libio/iofwide.c (do_length): Avoid warning.
46239 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46241 2011-10-14 Ulrich Drepper <drepper@gmail.com>
46243 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46245 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46246 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46247 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46248 * sysdeps/i386/i686/fpu/e_log.S: New file.
46249 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46250 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46252 * ctype/ctype.h: Add support for inlined isXXX functions when
46253 compiling C++ code.
46255 2011-10-14 Andreas Schwab <schwab@redhat.com>
46257 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46259 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46261 2011-10-13 Roland McGrath <roland@hack.frob.com>
46264 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46266 2011-10-13 Andreas Schwab <schwab@redhat.com>
46268 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46269 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46272 * sysdeps/x86_64/memrchr.S: Check for zero size.
46274 * string/stratcliff.c: Add memrchr tests.
46276 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46279 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46280 rawmemchr-sse2 rawmemchr-sse2-bsf.
46281 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46282 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46283 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46284 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46285 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46286 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46287 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46288 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46289 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46290 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46291 * string/memrchr.c (MEMRCHR): New macro.
46293 2011-10-12 Ulrich Drepper <drepper@gmail.com>
46295 Add integration with gcc's -ffinite-math-only and optimize wrapper
46297 * Versions.def: Define GLIBC_2.15 version for libm.
46298 * math/Makefile (headers): Add bits/math-finite.h.
46299 * math/bits/math-finite.h: New file.
46300 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46301 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46302 * math/e_acoshl.c: Add __*_finite alias.
46303 * math/e_acosl.c: Likewise.
46304 * math/e_asinl.c: Likewise.
46305 * math/e_atan2l.c: Likewise.
46306 * math/e_atanhl.c: Likewise.
46307 * math/e_coshl.c: Likewise.
46308 * math/e_exp10.c: Likewise.
46309 * math/e_exp10f.c: Likewise.
46310 * math/e_exp10l.c: Likewise.
46311 * math/e_exp2l.c: Likewise.
46312 * math/e_fmodl.c: Likewise.
46313 * math/e_gammal_r.c: Likewise.
46314 * math/e_hypotl.c: Likewise.
46315 * math/e_j0l.c: Likewise.
46316 * math/e_j1l.c: Likewise.
46317 * math/e_jnl.c: Likewise.
46318 * math/e_lgammal_r.c: Likewise.
46319 * math/e_log10l.c: Likewise.
46320 * math/e_log2l.c: Likewise.
46321 * math/e_logl.c: Likewise.
46322 * math/e_powl.c: Likewise.
46323 * math/e_sinhl.c: Likewise.
46324 * math/e_sqrtl.c: Likewise.
46325 * math/e_scalb.c: Completely rewritten and optimized.
46326 * math/e_scalbf.c: Likewise.
46327 * math/e_scalbl.c: Likewise.
46328 * math/w_acos.c: Likewise.
46329 * math/w_acosf.c: Likewise.
46330 * math/w_acosl.c: Likewise.
46331 * math/w_acosh.c: Likewise.
46332 * math/w_acoshf.c: Likewise.
46333 * math/w_acoshl.c: Likewise.
46334 * math/w_asin.c: Likewise.
46335 * math/w_asinf.c: Likewise.
46336 * math/w_asinl.c: Likewise.
46337 * math/w_atan2.c: Likewise.
46338 * math/w_atan2f.c: Likewise.
46339 * math/w_atan2l.c: Likewise.
46340 * math/w_atanh.c: Likewise.
46341 * math/w_atanhf.c: Likewise.
46342 * math/w_atanhl.c: Likewise.
46343 * math/w_exp10.c: Likewise.
46344 * math/w_exp10f.c: Likewise.
46345 * math/w_exp10l.c: Likewise.
46346 * math/w_fmod.c: Likewise.
46347 * math/w_fmodf.c: Likewise.
46348 * math/w_fmodl.c: Likewise.
46349 * math/w_j0.c: Likewise.
46350 * math/w_j0f.c: Likewise.
46351 * math/w_j0l.c: Likewise.
46352 * math/w_j1.c: Likewise.
46353 * math/w_j1f.c: Likewise.
46354 * math/w_j1l.c: Likewise.
46355 * math/w_jn.c: Likewise.
46356 * math/w_jnf.c: Likewise.
46357 * math/w_log.c: Likewise.
46358 * math/w_logf.c: Likewise.
46359 * math/w_logl.c: Likewise.
46360 * math/w_log10.c: Likewise.
46361 * math/w_log10f.c: Likewise.
46362 * math/w_log10l.c: Likewise.
46363 * math/w_log2.c: Likewise.
46364 * math/w_log2f.c: Likewise.
46365 * math/w_log2l.c: Likewise.
46366 * math/w_pow.c: Likewise.
46367 * math/w_powf.c: Likewise.
46368 * math/w_powl.c: Likewise.
46369 * math/w_remainder.c: Likewise.
46370 * math/w_remainderf.c: Likewise.
46371 * math/w_remainderl.c: Likewise.
46372 * math/w_scalb.c: Likewise.
46373 * math/w_scalbf.c: Likewise.
46374 * math/w_scalbl.c: Likewise.
46375 * math/w_sqrt.c: Likewise.
46376 * math/w_sqrtf.c: Likewise.
46377 * math/w_sqrtl.c: Likewise.
46378 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46379 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46381 * math/math_private.h: Declare __kernel_standard_f.
46382 * math/w_cosh.c: Remove cruft and optimize a bit.
46383 * math/w_coshf.c: Likewise.
46384 * math/w_coshl.c: Likewise.
46385 * math/w_exp2.c: Likewise.
46386 * math/w_exp2f.c: Likewise.
46387 * math/w_exp2l.c: Likewise.
46388 * math/w_hypot.c: Likewise.
46389 * math/w_hypotf.c: Likewise.
46390 * math/w_hypotl.c: Likewise.
46391 * math/w_lgamma.c: Likewise.
46392 * math/w_lgamma_r.c: Likewise.
46393 * math/w_lgammaf.c: Likewise.
46394 * math/w_lgammaf_r.c: Likewise.
46395 * math/w_lgammal.c: Likewise.
46396 * math/w_lgammal_r.c: Likewise.
46397 * math/w_sinh.c: Likewise.
46398 * math/w_sinhf.c: Likewise.
46399 * math/w_sinhl.c: Likewise.
46400 * math/w_tgamma.c: Likewise.
46401 * math/w_tgammaf.c: Likewise.
46402 * math/w_tgammal.c: Likewise.
46403 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46404 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46405 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46406 Minor optimizations. Pretty printing. Remove cruft.
46407 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46408 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46409 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46410 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46411 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46412 * sysdeps/i386/fpu/e_asin.S: Likewise.
46413 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46414 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46415 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46416 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46417 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46418 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46419 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46420 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46421 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46422 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46423 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46424 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46425 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46426 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46427 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46428 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46429 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46430 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46431 * sysdeps/i386/fpu/e_log.S: Likewise.
46432 * sysdeps/i386/fpu/e_log10.S: Likewise.
46433 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46434 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46435 * sysdeps/i386/fpu/e_log2.S: Likewise.
46436 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46437 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46438 * sysdeps/i386/fpu/e_logf.S: Likewise.
46439 * sysdeps/i386/fpu/e_logl.S: Likewise.
46440 * sysdeps/i386/fpu/e_pow.S: Likewise.
46441 * sysdeps/i386/fpu/e_powf.S: Likewise.
46442 * sysdeps/i386/fpu/e_powl.S: Likewise.
46443 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46444 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46445 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46446 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46447 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46448 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46449 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46450 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46451 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46452 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46453 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46455 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46456 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46457 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46458 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46459 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46460 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46461 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46462 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46463 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46464 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46465 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46466 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46468 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46469 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46470 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46471 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46472 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46473 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46474 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46475 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46476 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46477 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46478 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46479 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46480 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46481 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46482 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46483 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46484 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46485 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46486 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46487 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46488 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46489 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46490 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46491 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46492 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46493 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46494 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46495 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46496 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46497 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46498 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46499 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46500 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46501 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46502 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46503 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46504 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46505 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46506 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46507 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46508 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46509 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46510 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46511 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46512 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46513 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46514 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46515 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46516 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46517 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46518 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46519 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46520 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46521 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46522 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46523 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46524 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46525 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46526 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46527 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46528 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46529 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46530 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46531 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46532 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46533 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46534 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46535 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46536 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46537 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46538 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46539 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46540 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46541 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46542 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46543 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46544 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46545 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46546 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46547 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46548 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46549 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46550 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46551 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46552 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46553 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46554 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46555 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46556 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46557 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46558 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46559 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46560 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46561 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46562 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46563 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46564 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46565 (__isnanf): Likewise.
46566 (__isinf_ns): Likewise.
46567 (__isinf_nsf): Likewise.
46568 (__finite): Likewise.
46569 (__finitef): Likewise.
46570 (__ieee754_sqrt): Define as macro.
46571 (__ieee754_sqrtf): Define as macro.
46572 (__ieee754_sqrtl): Define as macro.
46573 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46575 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46576 __FINITE_MATH_ONLY__ consistent.
46577 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46579 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46581 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46584 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46586 2011-10-09 Ulrich Drepper <drepper@gmail.com>
46588 * po/ja.po: Update from translation team.
46590 2011-10-08 Roland McGrath <roland@hack.frob.com>
46592 * locale/programs/locarchive.c (prepare_address_space): New function.
46593 (create_archive, enlarge_archive, open_archive): Use it.
46595 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46596 inside [SHARED], where it is used.
46598 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46600 * nss/getent.c (netgroup_keys): Remove unused variable.
46601 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46603 2011-10-08 Ulrich Drepper <drepper@gmail.com>
46605 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46606 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46607 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46608 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46609 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46610 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46611 * math/Makefile (libm-calls): Add s_isinf_ns.
46612 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46613 * math/multc3.c: Likewise.
46614 * math/s_casin.c: Likewise.
46615 * math/s_casinf.c: Likewise.
46616 * math/s_casinl.c: Likewise.
46617 * math/s_ccos.c: Likewise.
46618 * math/s_ccosf.c: Likewise.
46619 * math/s_ccosl.c: Likewise.
46620 * math/s_ctan.c: Likewise.
46621 * math/s_ctanf.c: Likewise.
46622 * math/s_ctanh.c: Likewise.
46623 * math/s_ctanhf.c: Likewise.
46624 * math/s_ctanhl.c: Likewise.
46625 * math/s_ctanl.c: Likewise.
46626 * math/w_fmod.c: Likewise.
46627 * math/w_fmodf.c: Likewise.
46628 * math/w_fmodl.c: Likewise.
46629 * math/w_remainder.c: Likewise.
46630 * math/w_remainderf.c: Likewise.
46631 * math/w_remainderl.c: Likewise.
46632 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46633 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46634 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46636 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46637 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46638 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46639 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46641 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46643 * stdio-common/printf_fphex.c: Likewise.
46644 * stdio-common/printf_size.c: Likewise.
46646 * math/e_exp10.c: Include math_private.h using <...> not "...".
46647 * math/e_exp10f.c: Likewise.
46648 * math/e_exp10l.c: Likewise.
46649 * math/e_exp2l.c: Likewise.
46650 * math/e_j0l.c: Likewise.
46651 * math/e_j1l.c: Likewise.
46652 * math/e_jnl.c: Likewise.
46653 * math/e_lgammal_r.c: Likewise.
46654 * math/e_rem_pio2l.c: Likewise.
46655 * math/e_scalb.c: Likewise.
46656 * math/e_scalbf.c: Likewise.
46657 * math/e_scalbl.c: Likewise.
46658 * math/k_cosl.c: Likewise.
46659 * math/k_sinl.c: Likewise.
46660 * math/k_tanl.c: Likewise.
46661 * math/s_cacoshf.c: Likewise.
46662 * math/s_catan.c: Likewise.
46663 * math/s_catanf.c: Likewise.
46664 * math/s_catanh.c: Likewise.
46665 * math/s_catanhf.c: Likewise.
46666 * math/s_catanhl.c: Likewise.
46667 * math/s_catanl.c: Likewise.
46668 * math/s_ccosh.c: Likewise.
46669 * math/s_ccoshf.c: Likewise.
46670 * math/s_ccoshl.c: Likewise.
46671 * math/s_cexp.c: Likewise.
46672 * math/s_cexpf.c: Likewise.
46673 * math/s_cexpl.c: Likewise.
46674 * math/s_clog.c: Likewise.
46675 * math/s_clog10.c: Likewise.
46676 * math/s_clog10f.c: Likewise.
46677 * math/s_clog10l.c: Likewise.
46678 * math/s_clogf.c: Likewise.
46679 * math/s_clogl.c: Likewise.
46680 * math/s_csin.c: Likewise.
46681 * math/s_csinf.c: Likewise.
46682 * math/s_csinh.c: Likewise.
46683 * math/s_csinhf.c: Likewise.
46684 * math/s_csinhl.c: Likewise.
46685 * math/s_csinl.c: Likewise.
46686 * math/s_csqrt.c: Likewise.
46687 * math/s_csqrtf.c: Likewise.
46688 * math/s_csqrtl.c: Likewise.
46689 * math/s_ctan.c: Likewise.
46690 * math/s_ctanf.c: Likewise.
46691 * math/s_ctanh.c: Likewise.
46692 * math/s_ctanhf.c: Likewise.
46693 * math/s_ctanhl.c: Likewise.
46694 * math/s_ctanl.c: Likewise.
46695 * math/s_ldexp.c: Likewise.
46696 * math/s_ldexpf.c: Likewise.
46697 * math/s_ldexpl.c: Likewise.
46698 * math/s_significand.c: Likewise.
46699 * math/s_significandf.c: Likewise.
46700 * math/s_significandl.c: Likewise.
46701 * math/w_acos.c: Likewise.
46702 * math/w_acosf.c: Likewise.
46703 * math/w_acosh.c: Likewise.
46704 * math/w_acoshf.c: Likewise.
46705 * math/w_acoshl.c: Likewise.
46706 * math/w_acosl.c: Likewise.
46707 * math/w_asin.c: Likewise.
46708 * math/w_asinf.c: Likewise.
46709 * math/w_asinl.c: Likewise.
46710 * math/w_atan2.c: Likewise.
46711 * math/w_atan2f.c: Likewise.
46712 * math/w_atan2l.c: Likewise.
46713 * math/w_atanh.c: Likewise.
46714 * math/w_atanhf.c: Likewise.
46715 * math/w_atanhl.c: Likewise.
46716 * math/w_cosh.c: Likewise.
46717 * math/w_coshf.c: Likewise.
46718 * math/w_coshl.c: Likewise.
46719 * math/w_dremf.c: Likewise.
46720 * math/w_exp10.c: Likewise.
46721 * math/w_exp10f.c: Likewise.
46722 * math/w_exp10l.c: Likewise.
46723 * math/w_exp2.c: Likewise.
46724 * math/w_exp2f.c: Likewise.
46725 * math/w_fmod.c: Likewise.
46726 * math/w_fmodf.c: Likewise.
46727 * math/w_fmodl.c: Likewise.
46728 * math/w_hypot.c: Likewise.
46729 * math/w_hypotf.c: Likewise.
46730 * math/w_hypotl.c: Likewise.
46731 * math/w_j0.c: Likewise.
46732 * math/w_j0f.c: Likewise.
46733 * math/w_j0l.c: Likewise.
46734 * math/w_j1.c: Likewise.
46735 * math/w_j1f.c: Likewise.
46736 * math/w_j1l.c: Likewise.
46737 * math/w_jn.c: Likewise.
46738 * math/w_jnf.c: Likewise.
46739 * math/w_jnl.c: Likewise.
46740 * math/w_lgamma.c: Likewise.
46741 * math/w_lgamma_r.c: Likewise.
46742 * math/w_lgammaf.c: Likewise.
46743 * math/w_lgammaf_r.c: Likewise.
46744 * math/w_lgammal.c: Likewise.
46745 * math/w_lgammal_r.c: Likewise.
46746 * math/w_log.c: Likewise.
46747 * math/w_log10.c: Likewise.
46748 * math/w_log10f.c: Likewise.
46749 * math/w_log10l.c: Likewise.
46750 * math/w_log2.c: Likewise.
46751 * math/w_log2f.c: Likewise.
46752 * math/w_log2l.c: Likewise.
46753 * math/w_logf.c: Likewise.
46754 * math/w_logl.c: Likewise.
46755 * math/w_pow.c: Likewise.
46756 * math/w_powf.c: Likewise.
46757 * math/w_powl.c: Likewise.
46758 * math/w_remainder.c: Likewise.
46759 * math/w_remainderf.c: Likewise.
46760 * math/w_remainderl.c: Likewise.
46761 * math/w_scalb.c: Likewise.
46762 * math/w_scalbf.c: Likewise.
46763 * math/w_scalbl.c: Likewise.
46764 * math/w_sinh.c: Likewise.
46765 * math/w_sinhf.c: Likewise.
46766 * math/w_sinhl.c: Likewise.
46767 * math/w_sqrt.c: Likewise.
46768 * math/w_sqrtf.c: Likewise.
46769 * math/w_sqrtl.c: Likewise.
46770 * math/w_tgamma.c: Likewise.
46771 * math/w_tgammaf.c: Likewise.
46772 * math/w_tgammal.c: Likewise.
46774 * po/ja.po: Update from translation team.
46776 2011-09-29 Andreas Jaeger <aj@suse.de>
46779 * sunrpc/netname.c (netname2host): Fix logic.
46783 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46785 * math/w_remainder.c (__remainder): Likewise.
46786 * math/w_remainderf.c (__remainderf): Likewise.
46787 * math/libm-test.inc (remainder_test): Add test cases.
46789 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46791 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46794 2011-10-07 Ulrich Drepper <drepper@gmail.com>
46796 * string/test-memcmp.c: Avoid unncessary #defines.
46797 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46799 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46801 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46802 Use new sse2 version for core i3 - i7 as it's faster
46803 than sse42 version.
46804 (bit_Prefer_PMINUB_for_stringop): New.
46805 * sysdeps/x86_64/rawmemchr.S: Update.
46806 Replace with faster SSE2 version.
46807 * sysdeps/x86_64/memrchr.S: New file.
46808 * sysdeps/x86_64/memchr.S: Update.
46809 Replace with faster SSE2 version.
46811 2011-09-12 Marek Polacek <mpolacek@redhat.com>
46813 * elf/dl-load.c (lose): Add cast to avoid warning.
46815 2011-10-07 Ulrich Drepper <drepper@gmail.com>
46817 * po/ca.po: Update from translation team.
46819 * inet/getnetgrent_r.c: Hook up nscd.
46820 * nscd/Makefile (routines): Add nscd_netgroup.
46821 (nscd-modules): Add netgroupcache.
46822 (CFLAGS-netgroupcache.c): Define.
46823 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46824 (cache_search): Add const to second parameter.
46825 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46827 (dbs): Add netgrdb entry.
46828 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46829 (verify_persistent_db): Handle netgrdb.
46830 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46831 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46833 (netgroup_response_header): Define.
46834 (innetgroup_response_header): Define.
46835 (datahead): Add netgroup_response_header and innetgroup_response_header
46837 * nscd/nscd.conf: Add entries for netgroup cache.
46838 * nscd/nscd.h (dbtype): Add netgrdb.
46839 (_PATH_NSCD_NETGROUP_DB): Define.
46840 (netgroup_iov_disabled): Declare.
46841 (xmalloc, xcalloc, xrealloc): Move declarations here.
46842 (cache_search): Adjust prototype.
46843 Add netgroup-related prototypes.
46844 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46845 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46846 (__nscd_innetgr): Declare.
46847 * nscd/selinux.c (perms): Use access_vector_t as element type and
46848 add netgroup-related initializers.
46849 * nscd/netgroupcache.c: New file.
46850 * nscd/nscd_netgroup.c: New file.
46851 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46852 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46853 For four parameters use innetgr.
46854 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46855 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46856 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46857 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46859 * nscd/connections.c (register_traced_file): Don't register file
46860 for disabled databases.
46862 2011-10-06 Ulrich Drepper <drepper@gmail.com>
46864 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46866 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46867 from tree and freeing node.
46869 2011-09-25 Jiri Olsa <jolsa@redhat.com>
46871 * nss/nsswitch.c (__nss_database_lookup): Handle
46872 nss_parse_service_list out of memory case.
46874 2011-09-15 Jiri Olsa <jolsa@redhat.com>
46876 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46877 out of memory case.
46879 2011-10-04 Andreas Schwab <schwab@redhat.com>
46881 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46882 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46884 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46885 elf_machine_rela, elf_machine_lazy_rel.
46886 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46887 (ELF_DYNAMIC_DO_REL): Likewise.
46888 (ELF_DYNAMIC_DO_RELA): Likewise.
46889 (ELF_DYNAMIC_RELOCATE): Likewise.
46890 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46891 to ELF_DYNAMIC_DO_REL.
46892 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46893 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46894 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46896 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46897 skip_ifunc, don't call ifunc function if non-zero.
46898 (elf_machine_rela): Likewise.
46899 (elf_machine_lazy_rel): Likewise.
46900 (elf_machine_lazy_rela): Likewise.
46901 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46902 (elf_machine_lazy_rel): Likewise.
46903 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46905 (elf_machine_lazy_rel): Likewise.
46906 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46908 (elf_machine_lazy_rel): Likewise.
46909 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46910 (elf_machine_lazy_rel): Likewise.
46911 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46912 (elf_machine_lazy_rel): Likewise.
46913 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46914 (elf_machine_lazy_rel): Likewise.
46915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46916 (elf_machine_lazy_rel): Likewise.
46917 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46918 (elf_machine_lazy_rel): Likewise.
46919 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46920 (elf_machine_lazy_rel): Likewise.
46922 2011-09-28 Ulrich Drepper <drepper@gmail.com>
46924 * nss/nss_files/files-init.c (_nss_files_init): Use static
46925 initialization for all the *_traced_file variables.
46927 2011-09-28 Andreas Schwab <schwab@redhat.com>
46929 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46931 2011-09-27 Roland McGrath <roland@hack.frob.com>
46934 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46936 2011-09-27 Andreas Schwab <schwab@redhat.com>
46938 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46939 Reread the line before reparsing it.
46941 2011-09-26 Andreas Schwab <schwab@redhat.com>
46943 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46945 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46946 Maxim Kuvyrkov <maxim@codesourcery.com>
46947 Joseph Myers <joseph@codesourcery.com>
46949 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46950 if needed for __stack_chk_guard.
46952 2011-09-19 Roland McGrath <roland@hack.frob.com>
46954 * sysdeps/posix/spawni.c (script_execute): Always define it.
46955 It will be optimized away if unused.
46956 (maybe_script_execute): New function.
46957 (__spawni): Call it.
46959 * Makerules: Don't include tls.make.
46960 (config-tls): Always set to thread.
46961 * tls.make.c: File removed.
46963 2011-09-19 Mike Frysinger <vapier@gentoo.org>
46965 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46966 * config.make.in (CPPFLAGS-config): New substituted variable.
46968 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46970 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46973 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46974 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46976 2011-09-15 Roland McGrath <roland@hack.frob.com>
46978 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46979 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46980 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46981 (CALL_FAIL): Likewise.
46982 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46983 (CALL_FAIL): Macro removed.
46984 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46986 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46988 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46989 for __FINITE_MATH_ONLY__ == 1.
46991 2011-09-15 Andreas Schwab <schwab@redhat.com>
46993 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46994 __ieee754_sqrt instead of sqrt.
46995 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46996 __ieee754_sqrtf instead of sqrtf.
46997 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46998 __floorf instead of floorf.
46999 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47000 __floorf, __truncf instead of floorf, truncf.
47002 2011-09-14 Ulrich Drepper <drepper@gmail.com>
47004 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47006 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47007 __extern_always_inline.
47008 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47011 2011-09-14 Andreas Schwab <schwab@redhat.com>
47013 * elf/rtld.c (dl_main): Also relocate in dependency order when
47014 doing symbol dependency testing.
47016 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47018 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47019 Always define `refsym'.
47021 2011-09-13 Andreas Schwab <schwab@redhat.com>
47023 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47024 (__FD_ELT): Renamed from __FDELT.
47025 * misc/bits/select2.h (__FD_ELT): Likewise.
47026 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47027 __FD_MASK instead of __FDELT, __FDMASK.
47028 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47030 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47033 * elf/Makefile (gen-ldd): Fix pattern.
47035 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47036 (init_tls): Likewise.
47038 2011-09-12 Ulrich Drepper <drepper@gmail.com>
47040 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47042 2011-09-12 Andreas Schwab <schwab@redhat.com>
47044 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47045 `struct cmsghdr *' instead of `void *'.
47046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47049 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47051 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47053 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47054 ldd_rewrite_script.
47056 2011-09-11 Ulrich Drepper <drepper@gmail.com>
47058 * configure.in: Remove --with-tls option.
47059 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47060 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47061 out in case it is missing.
47062 * sysdeps/ia64/elf/configure.in: Likewise.
47063 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47064 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47065 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47066 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47067 * sysdeps/sh/elf/configure.in: Likewise.
47068 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47069 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47070 * sysdeps/x86_64/elf/configure.in: Likewise.
47071 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47072 * sysdeps/mach/hurd/tls.h: Likewise.
47075 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47078 * configure.in: Fix use of AC_INIT.
47080 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47082 2011-09-10 Ulrich Drepper <drepper@gmail.com>
47084 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47086 * malloc/hooks.c: Likewise.
47089 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47090 variables statically.
47091 (narenas): Initialize.
47092 (list_lock): Initialize.
47093 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47094 initializtion of main_arena and list_lock. Small cleanups.
47095 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47096 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47097 Add initializers to main_arena and mp_.
47098 (malloc_state): Remove pagesize member. Change all users to use
47101 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47102 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47103 is always initialized.
47105 * malloc/malloc.c: Removed unused configurations and dead code.
47106 * malloc/arena.c: Likewise.
47107 * malloc/hooks.c: Likewise.
47108 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47110 * include/tls.h: Removed. USE___THREAD must always be defined.
47111 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47112 * elf/dl-libc.c: Likewise.
47113 * elf/dl-tsd.c: Likewise.
47114 * include/errno.h: Likewise.
47115 * include/netdb.h: Likewise.
47116 * include/resolv.h: Likewise.
47117 * inet/herrno-loc.c: Likewise.
47118 * inet/herrno.c: Likewise.
47119 * malloc/arena.c: Likewise.
47120 * malloc/hooks.c: Likewise.
47121 * malloc/malloc.c: Likewise.
47122 * resolv/res-state.c: Likewise.
47123 * resolv/res_libc.c: Likewise.
47124 * sysdeps/i386/dl-machine.h: Likewise.
47125 * sysdeps/ia64/dl-machine.h: Likewise.
47126 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47127 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47128 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47129 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47130 * sysdeps/sh/dl-machine.h: Likewise.
47131 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47132 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47133 * sysdeps/unix/i386/sysdep.S: Likewise.
47134 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47135 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47136 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47137 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47138 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47140 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47141 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47144 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47145 * sysdeps/x86_64/dl-machine.h: Likewise.
47146 * tls.make.c: Likewise.
47148 * configure.in: Remove --with-__thread option. Make tests for
47149 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47150 tls_model attribute fail if no support is available. Remove
47152 * Makeconfig: Adjust for dropped configure option. All features are
47154 * Makerules: Likewise.
47155 * Versions.def: Likewise.
47156 * argp/argp-fmtstream.c: Likewise.
47157 * argp/argp-fmtstream.h: Likewise.
47158 * argp/argp-help.c: Likewise.
47159 * assert/assert.c: Likewise.
47160 * config.h.in: Likewise.
47161 * config.make.in: Likewise.
47162 * configure: Likewise.
47163 * configure.in: Likewise.
47164 * csu/Versions: Likewise.
47165 * csu/init.c: Likewise.
47166 * elf/tst-audit2.c: Likewise.
47167 * elf/tst-tls10.c: Likewise.
47168 * elf/tst-tls10.h: Likewise.
47169 * elf/tst-tls11.c: Likewise.
47170 * elf/tst-tls12.c: Likewise.
47171 * elf/tst-tls14.c: Likewise.
47172 * elf/tst-tlsmod11.c: Likewise.
47173 * elf/tst-tlsmod12.c: Likewise.
47174 * elf/tst-tlsmod13.c: Likewise.
47175 * elf/tst-tlsmod13a.c: Likewise.
47176 * elf/tst-tlsmod14a.c: Likewise.
47177 * elf/tst-tlsmod15b.c: Likewise.
47178 * elf/tst-tlsmod16a.c: Likewise.
47179 * elf/tst-tlsmod16b.c: Likewise.
47180 * elf/tst-tlsmod7.c: Likewise.
47181 * elf/tst-tlsmod8.c: Likewise.
47182 * elf/tst-tlsmod9.c: Likewise.
47183 * gmon/gmon.c: Likewise.
47184 * grp/fgetgrent_r.c: Likewise.
47185 * grp/putgrent.c: Likewise.
47186 * hurd/fopenport.c: Likewise.
47187 * include/libc-symbols.h: Likewise.
47188 * include/tls.h: Likewise.
47189 * intl/gettextP.h: Likewise.
47190 * intl/loadinfo.h: Likewise.
47191 * locale/global-locale.c: Likewise.
47192 * locale/localeinfo.h: Likewise.
47193 * mach/devstream.c: Likewise.
47194 * malloc/arena.c: Likewise.
47195 * malloc/set-freeres.c: Likewise.
47196 * misc/err.c: Likewise.
47197 * misc/getttyent.c: Likewise.
47198 * misc/mntent_r.c: Likewise.
47199 * posix/getopt.c: Likewise.
47200 * posix/wordexp.c: Likewise.
47201 * pwd/fgetpwent_r.c: Likewise.
47202 * resolv/Versions: Likewise.
47203 * resolv/res_hconf.c: Likewise.
47204 * shadow/fgetspent_r.c: Likewise.
47205 * shadow/putspent.c: Likewise.
47206 * stdio-common/printf_fphex.c: Likewise.
47207 * stdio-common/tmpfile.c: Likewise.
47208 * stdlib/abort.c: Likewise.
47209 * stdlib/fmtmsg.c: Likewise.
47210 * sunrpc/auth_unix.c: Likewise.
47211 * sunrpc/clnt_perr.c: Likewise.
47212 * sunrpc/clnt_tcp.c: Likewise.
47213 * sunrpc/clnt_udp.c: Likewise.
47214 * sunrpc/clnt_unix.c: Likewise.
47215 * sunrpc/openchild.c: Likewise.
47216 * sunrpc/svc_simple.c: Likewise.
47217 * sunrpc/svc_tcp.c: Likewise.
47218 * sunrpc/svc_udp.c: Likewise.
47219 * sunrpc/svc_unix.c: Likewise.
47220 * sunrpc/xdr.c: Likewise.
47221 * sunrpc/xdr_array.c: Likewise.
47222 * sunrpc/xdr_rec.c: Likewise.
47223 * sunrpc/xdr_ref.c: Likewise.
47224 * sunrpc/xdr_stdio.c: Likewise.
47226 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47228 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47230 2011-07-03 Andreas Jaeger <aj@suse.de>
47232 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47233 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47234 regenerate with gen-libm-tests.pl.
47236 2010-05-12 Petr Baudis <pasky@suse.cz>
47239 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47240 around j0() zero points by switching to j1().
47241 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47244 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47246 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47248 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47250 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47252 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47253 Patch in part by Pavel Roskin <proski@gnu.org>.
47256 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47258 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47259 Free memory block if necessary.
47262 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47263 be NULL. Don't lock in this case.
47265 2011-09-09 Roland McGrath <roland@hack.frob.com>
47267 * elf/elf.h (ELFOSABI_GNU): New macro.
47268 (ELFOSABI_LINUX): Define to that.
47270 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47272 * string/strncat.c (strncat): Undef the symbol in case it has been
47273 defined in bits/string.h.
47275 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47277 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47279 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47282 2011-08-17 Andreas Jaeger <aj@suse.de>
47284 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47286 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47287 Ian Lance Taylor <iant@google.com>
47289 * math/libm-test.inc (lround_test): New testcase.
47290 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47292 2011-09-08 Ulrich Drepper <drepper@gmail.com>
47294 * Makefile: Remove support for automatic cvs check-ins.
47295 * Makerules: Likewise.
47296 * config.make.in: Likewise.
47297 * configure.in: Likewise.
47298 * intl/Makefile: Likewise.
47299 * locale/Makefile: Likewise.
47300 * po/Makefile: Likewise.
47301 * posix/Makefile: Likewise.
47302 * sysdeps/gnu/Makefile: Likewise.
47303 * sysdeps/mach/hurd/Makefile: Likewise.
47304 * sysdeps/sparc/sparc32/Makefile: Likewise.
47307 * posix/Makefile (bug-regex32-ENV): Define.
47308 Patch by John Stanley <jpsinthemix@verizon.net>.
47310 * misc/Makefile (headers): Add bits/select2.h.
47311 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47312 * misc/bits/select2.h: New file.
47313 * include/bits/select2.h: New file.
47314 * debug/Makefile (routines): Add fdelt_chk.
47315 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47316 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47318 * debug/fdelt_chk.c: New file.
47320 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47321 * wcsmbs/test-wmemcmp.c: Likewise.
47322 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47323 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47325 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47327 * string/Makefile (strop-tests): Add memcmp.
47328 * string/test-wmemcmp.c: New file.
47329 * string/test-memcmp.c: Add wmemcmp support.
47331 2011-09-08 Roland McGrath <roland@hack.frob.com>
47334 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47337 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47338 garbage value in a __mach_port_mod_refs call in the cases of the
47339 task-self and thread-self ports.
47341 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47343 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47345 2011-09-08 Andreas Schwab <schwab@redhat.com>
47347 * elf/dl-load.c (lose): Check for non-null L.
47349 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47351 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47353 * elf/dl-libc.c (dlerror_run): Pass back error code from
47357 * elf/dl-load.c (lose): Free l_origin if it is valid.
47359 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47361 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47363 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47364 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47365 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47366 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47368 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47370 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47371 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47372 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47373 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47374 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47375 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47376 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47377 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47378 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47379 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47381 2011-08-15 Alan Modra <amodra@gmail.com>
47384 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47385 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47386 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47387 ppc_mcount to static-only-routines.
47388 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47390 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47391 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47393 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47395 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47396 for finite and infinity parameters.
47398 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47400 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47401 and add nop instructions for throughput optimization.
47402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47404 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47406 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47407 aligned copy for power7 with vector-scalar instructions.
47408 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47410 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47415 2011-09-07 Andreas Schwab <schwab@redhat.com>
47418 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47421 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47423 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47424 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47425 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47426 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47429 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47431 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47432 Forgot to demangle the pointer.
47434 * sysdeps/i386/sysdep.h: Define atom_text_section.
47435 * sysdeps/x86_64/sysdep.h: Likewise.
47436 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47437 section with atom_text_section.
47438 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47439 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47440 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47441 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47442 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47444 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47445 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47446 already be defined. Change to take two parameters and don't assign
47447 result to variable. Adjust all users.
47448 Define INTERNAL_GETTIME if not already defined.
47449 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47451 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47452 HAVE_CLOCK_GETTIME_VSYSCALL.
47453 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47456 gettimeofday vsyscall, just use time.
47458 2011-09-06 Andreas Schwab <schwab@redhat.com>
47460 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47463 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47465 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47467 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47469 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47471 syscall if possible.
47473 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47475 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47476 e_ident. Don't pass to find_mapsXX.
47477 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47479 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47482 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47483 * sysdeps/x86_64/multiarch/strchr.S: Update.
47484 Check bit_slow_BSF bit.
47485 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47486 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47487 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47489 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47492 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47494 (tryshell): Define.
47495 (__spawni): Change last parameter to be flag. Test
47496 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47497 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47498 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47499 * posix/spawni.c: Likewise.
47500 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47501 * posix/spawnp.c: Likewise. Change normal version to use
47502 SPAWN_XFLAGS_USE_PATH.
47503 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47504 SPAWN_XFLAGS_TRY_SHELL.
47507 * posix/glob.h: Remove gcc 1.x support.
47510 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47512 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47515 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47517 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47518 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47519 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47521 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47522 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47524 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47526 * sysdeps/x86_64/wcscmp.S: New file.
47528 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47529 wcscmp-c wcscmp-sse2
47530 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47531 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47532 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47533 * wcsmbs/wcscmp.c: Allow renaming.
47535 2011-09-05 David S. Miller <davem@davemloft.net>
47537 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47538 stack slot, rather than the struct return pointer slot.
47539 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47540 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47542 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47544 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47546 * po/ja.po: Update from translation team.
47549 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47550 kernel in 64-bit binaries.
47552 2011-09-01 David S. Miller <davem@davemloft.net>
47554 * elf/elf.h (HWCAP_SPARC_*): Move to..
47555 * sysdeps/sparc/sysdep.h: this new file and add new values.
47556 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47557 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47558 _DL_HWCAP_COUNT to 24.
47559 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47561 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47562 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47563 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47565 instead of magic constants.
47566 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47568 2011-08-31 David S. Miller <davem@davemloft.net>
47570 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47571 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47572 Reimplement to do errno handling inline.
47573 (SYSCALL_ERROR_HANDLER): New macro.
47574 (__SYSCALL_STRING): Do not do errno handling in asm.
47575 (__CLONE_SYSCALL_STRING): Delete.
47576 (__INTERNAL_SYSCALL_STRING): Delete.
47577 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47578 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47579 (PSEUDO): Reimplement to do errno handling inline.
47580 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47581 (SYSCALL_ERROR_HANDLER): New macro.
47582 (__SYSCALL_STRING): Do not do errno handling in asm.
47583 (__CLONE_SYSCALL_STRING): Delete.
47584 (__INTERNAL_SYSCALL_STRING): Delete.
47585 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47586 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47588 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47589 (inline_syscall*): Add 'err' argument.
47590 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47591 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47592 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47593 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47595 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47596 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47598 2011-08-30 Andreas Schwab <schwab@redhat.com>
47600 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47602 2011-08-29 Jiri Olsa <jolsa@redhat.com>
47604 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47607 2011-08-24 David S. Miller <davem@davemloft.net>
47609 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47611 2011-08-24 Andreas Schwab <schwab@redhat.com>
47613 * elf/Makefile: Add rules to build and run unload8 test.
47614 * elf/unload8.c: New file.
47615 * elf/unload8mod1.c: New file.
47616 * elf/unload8mod1x.c: New file.
47617 * elf/unload8mod2.c: New file.
47618 * elf/unload8mod3.c: New file.
47620 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47623 2011-08-23 David S. Miller <davem@davemloft.net>
47625 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47626 subtract stack bias.
47627 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47628 %sp not %fp in calculations.
47629 (_JMPBUF_UNWINDS_ADJ): Likewise.
47631 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47632 (aio_suspend): Call it to force an exception region around the
47633 AIO_MISC_WAIT() invocation.
47635 2011-08-23 Andreas Schwab <schwab@redhat.com>
47637 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47640 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47642 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47644 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47645 and <dl-machine.h>.
47646 (Elf64_FuncDesc): Remove.
47648 2011-08-22 David S. Miller <davem@davemloft.net>
47650 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47651 sigaltstack check, add missing cfi directives.
47652 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47653 missing cfi directives, and sigaltstack handling.
47655 2011-08-16 Andreas Schwab <schwab@redhat.com>
47658 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47659 object is seen twice.
47660 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47662 * elf/Makefile (distribute): Add tst-initorder2.c.
47663 (tests): Add tst-initorder2.
47664 (modules-names): Add tst-initorder2a tst-initorder2b
47665 tst-initorder2c tst-initorder2d. Add rules to build them.
47666 ($(objpfx)tst-initorder2.out): New rule.
47667 * elf/tst-initorder2.c: New file.
47668 * elf/tst-initorder2.exp: New file.
47670 2011-08-22 Andreas Schwab <schwab@redhat.com>
47672 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47674 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47675 dependencies back to end of function.
47677 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47678 $(elfobjdir)/ld.so.
47680 2011-08-21 Ulrich Drepper <drepper@gmail.com>
47682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47683 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47684 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47685 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47686 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47687 of __vdso_gettimeofday.
47688 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47689 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47691 (_libc_vdso_platform_setup): Remove initialization of
47692 __vdso_gettimeofday and __vdso_time.
47694 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47696 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47697 and fgetc_unlocked.
47698 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47701 * elf/dl-open.c (add_to_global): Report additions to the global scope
47702 for LD_DEBUG=scopes.
47703 (dl_open_worker): Also print scope of newly loaded dependencies.
47704 (_dl_show_scope): Indicate if there is no scope.
47707 * stdio-common/Makefile (tests): Add bug24.
47708 * stdio-common/bug24.c: New file.
47710 2011-08-19 Andreas Jaeger <aj@suse.de>
47713 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47714 non-existant file when using close-on-exec mode.
47716 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47718 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47719 the very first instruction.
47721 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47722 the CFI state in the end.
47723 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47724 inclusion of dl-trampoline.h.
47725 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47727 2011-08-19 Andreas Schwab <schwab@redhat.com>
47729 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47730 expectations for long double.
47732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47733 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47735 2011-08-14 David S. Miller <davem@davemloft.net>
47737 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47738 artificual limit depends upon the system page size.
47740 2011-08-17 Ulrich Drepper <drepper@gmail.com>
47742 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47743 * resolv/Makefile: Define CFLAGS-libresolv.
47745 2011-08-17 Andreas Schwab <schwab@redhat.com>
47747 * nss/makedb.c (compute_tables): Make variables used in nested
47750 2011-08-17 Ulrich Drepper <drepper@gmail.com>
47752 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47753 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47754 if buffer was too small.
47756 * elf/pldd.c (main): Attach to all threads in the process.
47757 Rewrite /proc handling to use *at functions.
47759 2011-08-16 Ulrich Drepper <drepper@gmail.com>
47761 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47762 specifies first scope to show.
47763 (dl_open_worker): Update callers. Move printing scope of new
47764 object to before the relocation.
47765 * elf/rtld.c (dl_main): Update _dl_show_scope call.
47766 * sysdeps/generic/ldsodefs.h: Update declaration.
47768 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47769 string for the scope number.
47771 2011-08-14 Ulrich Drepper <drepper@gmail.com>
47773 * nscd/servicescache.c (cache_addserv): Make sure written is always
47776 2011-08-14 Roland McGrath <roland@hack.frob.com>
47778 * sysdeps/i386/i486/bits/atomic.h
47779 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47780 statement expression, so as to suppress "set but not used" warning.
47781 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47783 * string/strncat.c (STRNCAT): Use prototype definition.
47785 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47786 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47788 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47789 (localedef-modules): Add localedef.
47790 (locale-modules): Add locale.
47792 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47793 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47794 to avoid a warning.
47796 2011-08-14 David S. Miller <davem@davemloft.net>
47798 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47799 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47801 2011-08-13 Ulrich Drepper <drepper@gmail.com>
47803 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
47804 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47805 * elf/rtld.c (dl_main): Set l_name of vDSO.
47806 Call _dl_show_scope when DL_DEBUG_SCOPES.
47807 (process_dl_debug): Recognize scopes flag and also set it for all.
47808 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47809 Declare _dl_show_scope.
47811 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47812 (do_dlopen): Pass caller_dlopen to dl_open.
47813 (__libc_dlopen_mode): Initialize caller_dlopen.
47815 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47816 of libc. Make tolower call locale-independent. Optimize a bit by
47817 using isdigit instead of isalnum.
47818 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47820 2011-08-12 Ulrich Drepper <drepper@gmail.com>
47822 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47823 was a dependency or dynamically loaded.
47825 2011-08-11 Ulrich Drepper <drepper@gmail.com>
47827 * intl/l10nflist.c: Allow architecture-specific pop function.
47828 * sysdeps/x86_64/l10nflist.c: New file.
47830 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47833 2011-08-10 Andreas Schwab <schwab@redhat.com>
47835 * include/dirent.h: Add libc_hidden_proto for scandirat and
47836 scandirat64. Don't declare __scandirat64.
47837 * dirent/scandirat.c: Add libc_hidden_def.
47838 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47839 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47841 2011-08-10 David S. Miller <davem@davemloft.net>
47843 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47845 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47846 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47847 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47849 2011-08-09 Ulrich Drepper <drepper@gmail.com>
47851 * Versions.def [libc]: Add GLIBC_2.15.
47852 * dirent/Makefile (routines): Add scandirat and scandirat64.
47853 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47855 * dirent/dirent.h: Declare scandirat and scandirat64.
47856 * dirent/scandirat.c: New file.
47857 * dirent/scandirat64.c: New file.
47858 * sysdeps/wordsize-64/scandirat.c: New file.
47859 * sysdeps/wordsize-64/scandirat64.c: New file.
47860 * dirent/opendir.c: Define opendirat.
47861 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47863 * dirent/scandir64.c: Adjust for scandir.c change.
47864 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47865 __scandirat64, and __scandir_cancel_handler.
47866 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47867 additional parameter and use openat instead of open (outside of ld.so).
47868 Add new __opendir as wrapper around __opendirat.
47869 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47870 here without requiring old scandirat implementation.
47872 2011-08-08 Ulrich Drepper <drepper@gmail.com>
47874 * dirent/scandir.c (cancel_handler): Renamed to
47875 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47876 defined. Adjust users.
47877 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47878 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47880 2011-08-04 Ulrich Drepper <drepper@gmail.com>
47882 * string/test-string.h (IMPL): Use __STRING to expand name and then
47885 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47888 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47890 * string/Makefile: Update.
47891 (strop-tests): Append strncat.
47892 * string/test-wcscmp.c: New file.
47893 New comprehensive test for wcscmp.
47894 * string/test-strcmp.c: Update.
47895 (WIDE): New define.
47897 2011-07-22 Andreas Schwab <schwab@redhat.com>
47899 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47902 2011-07-26 Andreas Schwab <schwab@redhat.com>
47904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47905 encoding to ACE if AI_IDN.
47907 2011-08-01 Jakub Jelinek <jakub@redhat.com>
47909 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47910 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47912 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47914 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47915 Fix overflow bug in strncat.
47916 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47918 * string/test-strncat.c: Update.
47919 Add new tests for checking overflow bugs.
47921 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47924 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47925 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47926 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47927 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47928 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47929 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47930 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47931 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47933 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47934 (USE_AS_STRCAT): Define.
47935 Add strcat and strncat support.
47936 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47938 2011-07-25 Andreas Schwab <schwab@redhat.com>
47940 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47941 __n bigger than INT_MAX+1.
47942 (__strncmp_g): Likewise.
47944 2011-07-23 Ulrich Drepper <drepper@gmail.com>
47946 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47947 * libio/stido.h: Likewise.
47949 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47954 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47955 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47956 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47957 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47958 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47961 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47966 (_dl_x86_64_save_sse): Likewise.
47968 2011-07-22 Ulrich Drepper <drepper@gmail.com>
47970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47972 (_dl_x86_64_save_sse): Likewise.
47974 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47976 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47978 2011-07-21 Andreas Schwab <schwab@redhat.com>
47980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47982 (_dl_x86_64_save_sse): Use correct AVX check.
47984 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47986 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47987 bug in strncpy/strncat.
47988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47990 2011-07-21 Ulrich Drepper <drepper@gmail.com>
47992 * string/tester.c (test_strcat): Add tests for different alignments
47993 of source and destination.
47994 (test_strncat): Likewise.
47996 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47999 * posix/glob.c (glob): Check passed in values before using them in
48000 expressions to avoid some overflows.
48001 (glob_in_dir): Likewise.
48004 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48005 check for AVX enablement so that we don't crash with old kernels and
48007 * elf/tst-audit4.c: Add same checks here.
48008 * elf/tst-audit6.c: Likewise.
48010 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48012 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48014 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48016 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48018 * po/cs.po: Update from translation team.
48019 * po/bg.po: Likewise.
48021 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48023 * misc/sys/cdefs.h: Add support for const attribute.
48024 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48025 to gnu_dev_{major,minor,makedev} functions.
48027 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48029 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48031 2011-07-20 Andreas Schwab <schwab@redhat.com>
48033 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48036 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48038 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48039 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48040 register in order to avoid conflicts with the soft frame pointer
48041 being held in r11 when necessary.
48042 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48043 (INTERNAL_VSYSCALL_NCS): Likewise.
48045 2011-07-14 Marek Polacek <mpolacek@redhat.com>
48047 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48048 * elf/dl-fini.c (_dl_fini): Adjust caller.
48049 * elf/dl-close.c (_dl_close_worker): Likewise.
48050 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48052 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48054 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48055 "aux_cache->nlibs < 0".
48057 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48058 in the reload-count case.
48060 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48063 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48064 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48065 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48066 * sysdeps/x86_64/multiarch/strcat.S: New file.
48067 * sysdeps/x86_64/multiarch/strncat.S: New file.
48068 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48069 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48070 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48071 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48072 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48073 (USE_AS_STRCAT): Define.
48074 Add strcat and strncat support.
48075 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48076 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48077 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48078 * string/strncat.c: Update.
48079 (USE_AS_STRNCAT): Define.
48080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48081 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48083 * sysdeps/x86_64/multiarch/init-arch.h
48084 (bit_Prefer_PMINUB_for_stringop): New.
48085 (index_Prefer_PMINUB_for_stringop): Likewise.
48086 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48087 bit_Prefer_PMINUB_for_stringop.
48089 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48091 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48093 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48094 of casting of buffer.
48095 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48096 buffer32 and buffer64.
48097 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48098 writes instead of casting of buffer.
48099 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48101 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48104 2011-07-19 Andreas Schwab <schwab@redhat.com>
48106 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48108 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48110 * nscd/nscd.c (termination_handler): Don't do anything for a database
48111 if it has not yet been initialized.
48113 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48115 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48117 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48119 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48121 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48123 * po/nl.po: Update from translation team.
48124 * po/sv.po: Likewise.
48126 2011-07-16 Roland McGrath <roland@hack.frob.com>
48128 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48129 now disallowed by GCC.
48131 * configure.in (use-default-link): Default to yes if a test -shared
48132 link meets our qualifications.
48133 * configure: Regenerated.
48135 * config.make.in (output-format): New variable.
48136 * configure.in: Check for ld --print-output-format support.
48137 * configure: Regenerated.
48138 * Makerules ($(common-objpfx)format.lds)
48139 [$(output-format) != unknown]: Just use $(output-format),
48140 instead of the linker-script munging.
48142 2011-07-14 Roland McGrath <roland@hack.frob.com>
48144 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48145 of $(common-objpfx)shlib.lds.
48146 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48148 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48149 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48151 * configure.in (-z relro check): Adjust test code to add a large
48152 writable data section after it.
48153 * configure: Regenerated.
48155 2011-07-11 Roland McGrath <roland@hack.frob.com>
48157 * configure.in (-z relro check): Fix test code to make the variable
48159 * configure: Regenerated.
48161 2011-07-11 Ulrich Drepper <drepper@gmail.com>
48163 * nscd/nscd.h (struct traced_file): Define.
48164 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48165 elements. Add traced_files.
48166 (inotify_fd): Declare.
48167 (register_traced_file): Declare.
48168 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48169 (inotify_fd): Export.
48170 (resolv_conf_descr): Remove.
48171 (nscd_init): Move inotify descriptor creation to main.
48172 Don't register files for notification here.
48173 (register_traced_file): New function.
48174 (invalidate_cache): Don't use reset_res to determine whether to call
48175 res_init, go through the list of registered files.
48176 (main_loop_poll): The inotify descriptors are now stored in the
48177 structures for the traced files.
48178 (main_loop_epoll): Likewise
48179 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48180 to __nss_disable_nscd.
48181 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48182 for a database anymore. Check the records for all the registered
48184 * nss/Makefile (libnss_files-routines): Add files-init.
48185 (libnss_db-routines): Add db-init.
48186 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48187 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48188 * nss/nss_db/db-init.c: New file.
48189 * nss/nss_files/files-init.c: New file.
48190 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48191 __nss_lookup_function.
48192 (__nss_lookup_function): Call nss_load_library.
48193 (nss_load_all_libraries): New function.
48194 (__nss_disable_nscd): Take parameter with callback function for files
48195 to register. Set is_nscd. Load all the DSOs for the NSS modules
48196 used for the cached services.
48197 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48198 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48199 options for features to all the files in nscd.
48201 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48203 2011-07-10 Roland McGrath <roland@hack.frob.com>
48205 * csu/elf-init.c (__libc_csu_init): Comment typo.
48207 2011-07-09 Ulrich Drepper <drepper@gmail.com>
48209 * po/pl.po: Update from translation team.
48210 * po/ja.po: Likewise.
48211 * po/ru.po: Likewise.
48212 * po/ko.po: Likewise.
48213 * po/fr.po: Likewise.
48215 2011-07-09 Roland McGrath <roland@hack.frob.com>
48217 * configure.in (.ctors/.dtors header and trailer check):
48218 Use an empirical test on a built program.
48219 * configure: Regenerated.
48221 * configure.in (-z relro check): Use an empirical test on a built DSO.
48222 Detect, but do not require, on ia64.
48223 * configure: Regenerated.
48225 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48226 Update tests that use readelf to use $READELF instead.
48227 * configure: Regenerated.
48229 2011-07-08 Ulrich Drepper <drepper@gmail.com>
48231 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48232 if the result is not used.
48234 2011-07-05 Andreas Jaeger <aj@suse.de>
48237 * stdlib/tst-strtod.c: Add testcase.
48239 2011-07-07 Ulrich Drepper <drepper@gmail.com>
48241 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48242 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48243 The latter has a higher limit. Take additional parameter to pass to
48245 (__pathconf): Pass file to __statfs_link_max.
48246 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48248 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48252 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48253 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48255 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48256 (__statfs_filesize_max): Likewise.
48257 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48259 2011-07-05 Andreas Jaeger <aj@suse.de>
48261 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48263 2011-07-06 Marek Polacek <mpolacek@redhat.com>
48265 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48267 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48270 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48272 * Makefile (strop-tests): Add strncat.
48273 * string/test-strncat.c: New file.
48275 2011-06-30 Marek Polacek <mpolacek@redhat.com>
48277 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48279 2011-06-21 Andreas Jaeger <aj@suse.de>
48281 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48282 Copy rule from iconvdata/Makefile.
48284 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48287 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48288 but no long options are defined, just return 'W'.
48290 2011-06-22 Marek Polacek <mpolacek@redhat.com>
48293 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48295 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48297 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48299 (innetgr): Likewise.
48301 2011-07-05 Roland McGrath <roland@hack.frob.com>
48303 * config.make.in (install_root): Default to $(DESTDIR).
48305 2011-07-05 Ulrich Drepper <drepper@gmail.com>
48307 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48309 2011-07-02 Roland McGrath <roland@hack.frob.com>
48311 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48313 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48314 containing directory rather than embedding absolute directory names.
48316 * scripts/check-local-headers.sh: Rewritten using awk.
48317 Match by word, not by line. Print error messages for matches.
48318 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48320 * Makerules [shlib-lds-flags empty]:
48321 ($(common-objpfx)libc_pic.opts): New target.
48322 ($(common-objpfx)libc_pic.os.clean): New target.
48323 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48325 * config.make.in (OBJCOPY): New variable.
48326 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48327 * configure: Regenerated.
48329 * config.make.in (use-default-link): New variable.
48330 * configure.in (use_default_link): Grok --with-default-link to set it.
48331 * configure: Regenerated.
48332 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48333 (shlib-lds, shlib-lds-flags): Define to empty.
48335 * Makerules (shlib-lds): New variable.
48336 (shlib-lds-flags): New variable.
48337 (build-shlib, build-moduile, build-module-asneeded): Use it.
48338 ($(common-objpfx)libc.so): Use $(shlib-lds).
48339 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48340 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48342 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48343 DT_FLAGS/DT_FLAGS_1 with zero flags.
48345 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48346 linker script munging.
48348 2011-07-02 Ulrich Drepper <drepper@gmail.com>
48350 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48352 * crypt/sha512.c (sha512_process_block): Perform total addition using
48353 128-bit if possible.
48354 (__sha512_finish_ctx): Likewise.
48355 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48357 * crypt/sha256.c (SWAP64): Define.
48358 (sha256_process_block): Perform total addition using 64-bit if
48360 (__sha256_finish_ctx): Likewise.
48362 2011-07-01 Ulrich Drepper <drepper@gmail.com>
48364 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48365 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48366 * nscd/hstcache.c (cache_addhst): Likewise.
48367 * nscd/grpcache.c (cache_addgr): Likewise.
48368 * nscd/aicache.c (addhstaiX): Likewise
48369 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48371 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
48373 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48374 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48375 * nscd/hstcache.c (cache_addhst): Likewise.
48376 * nscd/grpcache.c (cache_addgr): Likewise.
48377 * nscd/aicache.c (addhstaiX): Likewise
48379 2011-07-01 Andreas Schwab <schwab@redhat.com>
48381 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48382 domain only when needed.
48384 2011-06-30 Andreas Schwab <schwab@redhat.com>
48386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48387 is always restored.
48389 2011-06-29 Ulrich Drepper <drepper@gmail.com>
48391 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48392 are re-adding the entry.
48393 * nscd/servicescache.c (cache_addserv): Likewise.
48395 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48397 * sysdeps/generic/dl-irel.h: fix protection against multiple
48399 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48401 2011-06-28 Ulrich Drepper <drepper@gmail.com>
48404 * malloc/memusage.sh: Fix quoting in message.
48405 * debug/xtrace.sh: Likewise.
48407 * configure.in: Remove support for --experimental-malloc option, make
48409 * config.make.in: Likewise.
48410 * malloc/Makefile: Likewise.
48412 2011-06-27 Andreas Schwab <schwab@redhat.com>
48414 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48415 two-byte characters.
48417 2011-06-27 Roland McGrath <roland@hack.frob.com>
48419 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48420 AC_CACHE_CHECK invocation.
48421 * configure: Regenerated.
48423 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48425 2011-06-27 Ulrich Drepper <drepper@gmail.com>
48428 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48429 bit from old_res_options.
48431 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48433 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48434 value type for setfct.
48436 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48438 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48439 __gettimeofday instead of gettimeofday.
48441 2011-06-26 Ulrich Drepper <drepper@gmail.com>
48443 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48445 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48447 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48449 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48452 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48455 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48456 strcpy-sse2-unaligned strncpy-sse2-unaligned
48457 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48458 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48459 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48460 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48461 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48462 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48463 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48464 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48465 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48466 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48467 (STRCPY): Support SSE2 and SSSE3 versions.
48469 2011-06-24 Ulrich Drepper <drepper@gmail.com>
48472 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48473 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48474 kernels which artificially limit size of requests.
48476 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48478 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48479 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48480 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48481 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48482 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48483 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48484 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48485 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48486 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48487 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48488 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48489 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48490 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48491 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48492 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48494 Enable unaligned load optimization for Intel Core i3, i5 and i7
48496 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48498 (index_Fast_Unaligned_Load): Define.
48499 (HAS_FAST_UNALIGNED_LOAD): Define.
48501 2011-06-23 Marek Polacek <mpolacek@redhat.com>
48503 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48505 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48508 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48509 until it is clear that the information is realy needed.
48510 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48512 2011-06-22 Andreas Schwab <schwab@redhat.com>
48514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48516 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48518 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48519 /sys/devices/system/cpu/online if it is usable.
48521 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48522 reading the information from the /proc filesystem to once a second.
48524 2011-06-21 Andreas Jaeger <aj@suse.de>
48526 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48527 NULL after inclusion of kernel headers.
48529 2011-06-21 Ulrich Drepper <drepper@gmail.com>
48531 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48532 calls to internal_setent.
48535 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48536 addresses using gethostbyname4_r ignore IPv4 addresses.
48538 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48539 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48541 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48543 2011-06-20 David S. Miller <davem@davemloft.net>
48545 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48547 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48549 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48550 (elf_irel): Use it.
48551 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48552 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48553 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48554 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48555 * sysdeps/x86_64/dl-irel.h: Likewise.
48557 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48558 * elf/dl-sym.c: Likewise.
48560 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48562 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48563 need to dereference resplen2.
48565 2011-06-14 Andreas Schwab <schwab@redhat.com>
48567 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48569 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48571 * Makeconfig: Define vardbdir and inst_vardbdir.
48572 * nss/Makefile: Add rules to install db-Makefile.
48574 * nss/nss_db/db-XXX.c: Cleanup.
48576 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48577 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48579 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48580 * nss/makedb.c: Implement -g option to specify that value strings
48581 are generated and should not be added to table iterated over for
48583 * nss/nss_db/db-initgroups.c: New file.
48585 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48588 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48589 (internal_getgrouplist): Adjust to name change.
48590 Update use_initgroups_entry if this is not the first call.
48591 * nss/databases.def: Add initgroups entry.
48593 * nss/makedb.c (compute_tables): Check result of multiple hash table
48594 sizes to minimize maximum chain length.
48596 2011-06-14 Ulrich Drepper <drepper@gmail.com>
48598 * Versions.def: Add entry for libnss_db.
48599 * shlib-versions: Likewise.
48600 * nss/Makefile: Add rules to build libnss_db.
48601 * nss/Versions: Add libnss_db information. Organize libnss_files
48603 * nss/db-Makefile: Add gshadow support. Change rules for the new
48604 makedb progra. Some minor improvements to generate smaller files.
48605 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48607 * nss/makedb.c: ...here.
48608 Improve database format to be smaller and require less memory at
48610 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48612 * nss/nss_db/db-netgrp.c: Likewise.
48613 * nss/nss_db/db-open.c: Likewise.
48614 * nss/nss_files/flies-XXX.x: Adjust comments.
48615 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48616 * nss/nss_files/files-grp.c: Likewise.
48617 * nss/nss_files/files-hosts.c: Likewise.
48618 * nss/nss_files/files-network.c: Likewise.
48619 * nss/nss_files/files-proto.c: Likewise.
48620 * nss/nss_files/files-pwd.c: Likewise.
48621 * nss/nss_files/files-rpc.c: Likewise.
48622 * nss/nss_files/files-service.c: Likewise.
48623 * nss/nss_files/files-sgrp.c: Likewise.
48624 * nss/nss_files/files-spwd.c: Likewise.
48625 * nss/nss_db/db-alias.c: Removed.
48626 * nss/nss_db/dummy-db.h: Removed.
48628 2011-06-02 Ulrich Drepper <drepper@gmail.com>
48630 * nss/makedb.c: Rewritten to not use database library.
48631 * nss/Makefile: Update to build new makedb program.
48633 2011-06-14 Andreas Jaeger <aj@suse.de>
48635 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48636 memset declaration.
48638 2011-06-10 Andreas Schwab <schwab@redhat.com>
48640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48643 2011-06-10 Roland McGrath <roland@hack.frob.com>
48645 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48646 * elf/Makefile ($(objpfx)ld.so): Likewise.
48648 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48649 Don't list ld.so twice in dependencies.
48651 * posix/bug-regex31.c: Include <stdlib.h>.
48653 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48655 * nis/nss_compat/compat-spwd.c
48656 (getspent_next_nss_netgr): Remove unused variable.
48657 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48659 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48660 nonmembers" output to use the right array.
48662 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48664 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48666 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48667 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48668 * catgets/gencat.c (read_input_file): Likewise.
48669 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48671 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48672 variable definition inside #if's controlling its use.
48674 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48676 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48678 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48680 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48683 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48685 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48686 * configure: Regenerated.
48688 * Makerules: Revert last change.
48689 * elf/Makefile: Likewise.
48691 2011-06-09 Roland McGrath <roland@hack.frob.com>
48693 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48694 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48695 (reloc-link): Likewise.
48697 2011-06-09 Ulrich Drepper <drepper@gmail.com>
48699 * elf/Makefile: Add rules to build pldd.
48700 * elf/pldd.c: New file.
48701 * elf/pldd-xx.c: New file.
48703 2011-06-07 Ulrich Drepper <drepper@gmail.com>
48705 * version.h: Update for 2.15 development version.
48707 2011-06-07 David S. Miller <davem@davemloft.net>
48709 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48711 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48712 elf_machine_lazy_rel): Likewise.
48713 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48714 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48715 elf_machine_lazy_rel): Likewise.
48716 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48717 dl_hwcap via passed in argument.
48718 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48721 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48723 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48725 2011-06-06 Roland McGrath <roland@hack.frob.com>
48728 * manual/fdl-1.1.texi: New file, verbatim from:
48729 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48730 * manual/lgpl-2.1.texi: New file, verbatim from:
48731 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48732 * manual/Makefile (licenses): New variable, list those new file names.
48734 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48736 * manual/fdl.texi: File removed.
48737 * manual/lesser.texi: File removed.
48738 * manual/libc.texinfo (Copying, Documentation License):
48739 Use new @include file names, put @appendix directive before @include.
48741 2011-06-04 Jakub Jelinek <jakub@redhat.com>
48744 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48745 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48746 (mq_open): Add __NTH.
48748 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48751 Assume Intel Core i3/i5/i7 processor if AVX is available.
48753 2011-05-31 Ulrich Drepper <drepper@gmail.com>
48755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48758 2011-05-31 Andreas Schwab <schwab@redhat.com>
48760 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48761 memory. Use alloca_account. Fix memory leak when retrying.
48763 2011-05-31 Ulrich Drepper <drepper@gmail.com>
48765 * version.h (RELEASE): Bump for 2.14 release.
48766 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48768 * config.make.in (RANLIB): Remove entry.
48770 2011-05-30 Ulrich Drepper <drepper@gmail.com>
48772 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48773 (libc.pot): Work around missing support for .ksh extension in xgettext.
48776 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48777 if both request failed.
48778 (send_dg): In case of server errors clear resplen or *resplen2.
48781 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48782 when there are multiple maps.
48783 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48784 (_dl_fini): Remove test here.
48786 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48788 2011-05-29 Ulrich Drepper <drepper@gmail.com>
48791 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48792 bit from old_res_options.
48793 (gaih_inet): Likewise.
48796 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
48799 * resolv/res_init.c (res_setoptions): Make the code more compact.
48802 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48806 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48808 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48811 * malloc/malloc.h: Declare malloc hook variables as volatile.
48813 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48817 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48818 raise in the comment.
48819 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48821 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48823 2011-05-28 Ulrich Drepper <drepper@gmail.com>
48826 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48827 grow the buffers more if it already has to be sufficient.
48828 (build_wcs_upper_buffer): Likewise.
48829 * posix/regexec.c (check_matching): Likewise.
48830 (clean_state_log_if_needed): Likewise.
48831 (extend_buffers): Don't enlarge buffers beyond size of the input
48833 Patches mostly by Emil Wojak <emil@wojak.eu>.
48834 * posix/bug-regex32.c: New file.
48835 * posix/Makefile (tests): Add bug-regex32.
48837 * locale/findlocale.c (_nl_find_locale): Return right away if
48838 _nl_explode_name failed.
48839 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48841 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48843 * debug/xtrace.sh: Unify messages.
48844 * malloc/memusage.sh: Likewise.
48847 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48848 time symbol from vDSO. Substitute with vsyscall if not available.
48849 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48852 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48853 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48854 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48855 Add sendmmsg and internal_sendmmsg.
48856 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48857 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48858 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48860 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48861 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48862 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48864 2011-05-27 Ulrich Drepper <drepper@gmail.com>
48867 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48868 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48870 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48874 * iconvdata/Makefile (tests): Add bug-iconv9.
48875 * iconvdata/bug-iconv9.c: New file.
48877 2011-05-27 Andreas Schwab <schwab@redhat.com>
48880 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48882 2011-05-25 Jakub Jelinek <jakub@redhat.com>
48884 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48885 (struct user_regs_struct): Change intcs field back to cs.
48887 2011-05-25 Ulrich Drepper <drepper@gmail.com>
48889 * po/ja.po: Update from translation team.
48891 2011-05-23 Ulrich Drepper <drepper@gmail.com>
48894 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48895 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48897 2011-05-20 Andreas Schwab <schwab@redhat.com>
48899 * stdlib/longlong.h: Update from GCC.
48901 2011-05-23 Andreas Schwab <schwab@redhat.com>
48903 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48905 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48906 Add parameter name.
48907 (__sysconf): Pass it down.
48909 2011-05-22 Ulrich Drepper <drepper@gmail.com>
48912 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48914 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48915 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48916 add in in __libc_use_alloca calls. Adjust callers.
48917 (glob): Use malloc in some situations.
48919 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48920 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48923 2011-05-21 Ulrich Drepper <drepper@gmail.com>
48925 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48926 and CLOCK_BOOTTIME_ALARM.
48929 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48932 * string/_strerror.c (__strerror_r): Print negative errors as signed
48936 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48937 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48938 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48940 * configure.in: Fix typo in redirection and correct removal of test
48941 files in two cases.
48944 * locale/setlocale.c (new_composite_name): Fix test to check for
48945 identical name of all categories.
48948 * libio/filedoalloc.c (local_isatty): New function.
48949 (_IO_file_doallocate): Use local_isatty.
48950 * stdio-common/perror.c (perror): In case a new stream is used
48951 forward the stream error.
48952 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48955 2011-05-20 Ulrich Drepper <drepper@gmail.com>
48958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48960 * include/alloca.h (extend_alloca_account): Define.
48963 * posix/regex.h: Fix comments with documentation of user-accessible
48964 fields after compilation and describe correct free'ing of pattern
48965 after re_compile_pattern.
48966 Patch by Reuben Thomas <rrt@sc3d.org>.
48968 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48970 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48971 and -mno-altivec to prevent the compiler from using Altivec and/or
48972 VSX instructions when the corresponding registers are not available.
48974 2011-05-19 Andreas Schwab <schwab@redhat.com>
48976 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48978 2011-05-19 Ulrich Drepper <drepper@gmail.com>
48980 * libio/freopen.c (freopen): Use __dup2, not dup2.
48981 * libio/freopen64.c (freopen64): Likewise.
48983 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48986 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48987 * math/Makefile (tests): Add test-powl.
48988 (CFLAGS-test-powl.c): Define.
48989 * math/test-powl.c: New file.
48991 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48993 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48995 2011-05-17 Ulrich Drepper <drepper@gmail.com>
48998 * iconvdata/gb18030.c: Update to GB18020-2005.
49000 2011-05-16 Ulrich Drepper <drepper@gmail.com>
49002 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49003 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49004 Patch by Aharon Robbins <arnold@skeeve.com>.
49007 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49011 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49012 through underflows.
49015 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49016 point to strings before performing equality test for error_one_per_line
49020 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49024 (struct user_fpregs_struct): Avoid __uint*_t types.
49027 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49028 symbol info. Use it instead of calling _dl_addr locally.
49029 (lock_and_info): New function.
49030 (tr_freehook): Call lock_and_info and pass symbol info as additional
49031 parameter to tr_where.
49032 (tr_mallochook): Likewise.
49033 (tr_reallochook): Likewise.
49034 (tr_memalignhook): Likewise.
49036 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49037 used and couldn't be at all thread-safe.
49039 2011-05-15 Ulrich Drepper <drepper@gmail.com>
49041 * libio/freopen.c (freopen): Don't close old file descriptor
49042 before the new one is opened. Instead dup the new file descriptor
49043 to the old one after the new stream is created.
49044 * libio/freopen64.c (freopen64): Likewise.
49045 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49046 * libio/fileops.c (_IO_new_file_close_it): Handle new
49047 _IO_FLAGS2_NOCLOSE flag.
49048 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49049 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49050 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49051 _IO_FLAGS2_NOCLOSE flag.
49052 * include/unistd.h: Add hidden_proto for dup3.
49053 Define __have_dup3.
49054 * io/dup3.c: Define hidden symbol.
49055 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49058 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49059 when an incomplete long option is used.
49060 * posix/tst-getopt_long1.c: New file.
49061 * posix/Makefile (tests): Add tst-getopt_long1.
49064 * scripts/config.guess: Update from autoconf-2.68.
49065 * scripts/config.sub: Likewise.
49068 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49070 (has_cpuclock): ...this. New function.
49071 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49072 macro here based on has_cpuclock code.
49075 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49076 First byte (not low byte) is now always NUL.
49077 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49079 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49080 Use non-cancelable interfaces.
49083 * locale/iso-639.def: Add entry for Sorani.
49086 * include/stdlib.h: Move include protection to the right place.
49087 Define abort_msg_s. Declare __abort_msg with it.
49088 * stdlib/abort.c (__abort_msg): Adjust type.
49089 * assert/assert.c (__assert_fail_base): New function. Majority
49090 of code from __assert_fail. Allocate memory for __abort_msg with
49092 (__assert_fail): Now call __assert_fail_base.
49093 * assert/assert-perr.c: Remove bulk of implementation. Use
49094 __assert_fail_base.
49095 * include/assert.hL Declare __assert_fail_base.
49096 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49098 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49100 2011-05-14 Ulrich Drepper <drepper@gmail.com>
49104 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49105 until all modules are registered in the DTV.
49106 * elf/Makefile: Add rules to build and run tst-tls19.
49107 * elf/tst-tls19.c: New file.
49108 * elf/tst-tls19mod1.c: New file.
49109 * elf/tst-tls19mod2.c: New file.
49110 * elf/tst-tls19mod3.c: New file.
49111 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49114 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49118 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49119 two-byte sequence errors.
49120 * iconvdata/Makefile (tests): Add bug-iconv8.
49121 * iconvdata/bug-iconv8.c: New file.
49124 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49127 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49130 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49131 (dummy_getcfa): New function.
49132 (init): Get _Unwind_GetCFA address, use dummy if not found.
49133 (backtrace_helper): In recursion check, also check whether CFA changes.
49134 (__backtrace): Completely initialize arg.
49136 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49137 storing incomplete byte sequence in state object. Avoid testing for
49138 guaranteed too small input if we know there is enough data available.
49140 2011-05-11 Andreas Schwab <schwab@redhat.com>
49142 * Makeconfig (+link-pie): Indent.
49143 * Rules (binaries-pie): Define if $(have-fpie) and
49145 (binaries-shared): Also filter out $(binaries-pie).
49146 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49147 * nscd/Makefile (others-pie): Add nscd.
49148 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49149 ($(objpfx)nscd): Remove command override.
49150 * login/Makefile (others-pie): Add pt_chown.
49151 ($(objpfx)pt_chown): Remove command override.
49152 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49153 remove command overrides.
49155 2011-05-13 Ulrich Drepper <drepper@gmail.com>
49157 * libio/tst_putwc.c: Fix error messages.
49160 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49161 currently writing and seek to current position when not.
49162 * libio/Makefile (tests): Add bug-fclose1.
49163 * libio/bug-fclose1.c: New file.
49165 2011-05-12 Ulrich Drepper <drepper@gmail.com>
49168 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49169 don't set DF_1_NODELETE here.
49170 (do_lookup_x): When entering new entry test for copy relocation
49171 and if necessary set DF_1_NODELETE flag.
49172 * elf/tst-unique4.cc: New file.
49173 * elf/tst-unique4.h: New file.
49174 * elf/tst-unique4lib.cc: New file.
49175 * elf/Makefile: Add rules to build and run tst-unique4.
49176 Patch by Piotr Bury <pbury@goahead.com>.
49178 2011-05-11 Ulrich Drepper <drepper@gmail.com>
49181 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49184 * misc/mntent_r.c (addmntent): Flush the stream after the output
49187 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49188 (is_trusted_path_normalize): Skip initial colon. Append slash
49189 to empty buffer. Duplicate is_trusted_path code but allow
49190 constructed patch to be prefix.
49191 (is_dst): Allow $ORIGIN followed by /.
49192 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49193 Correct testing of result of is_trusted_path_normalize
49194 (decompose_rpath): Fix warning.
49196 2011-05-10 Ulrich Drepper <drepper@gmail.com>
49199 * grp/initgroups.c (internal_getgrouplist): When we found the service
49200 list through the initgroups entry in nsswitch.conf do not always
49201 continue on a successful lookup. Don't always use the
49202 __nss_group_database value if it is set.
49203 * nss/nsswitch.conf (initgroups): Change action for successful db
49204 lookup to continue for compatibility.
49206 2011-05-09 Ulrich Drepper <drepper@gmail.com>
49209 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49211 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49213 * iconvdata/tst-tables.sh: Likewise.
49214 * iconvdata/cp770.c: New file.
49215 * iconvdata/cp771.c: New file.
49216 * iconvdata/cp772.c: New file.
49217 * iconvdata/cp773.c: New file.
49218 * iconvdata/cp774.c: New file.
49219 * iconvdata/testdata/CP770: New file.
49220 * iconvdata/testdata/CP770..UTF8: New file.
49221 * iconvdata/testdata/CP771: New file.
49222 * iconvdata/testdata/CP771..UTF8: New file.
49223 * iconvdata/testdata/CP772: New file.
49224 * iconvdata/testdata/CP772..UTF8: New file.
49225 * iconvdata/testdata/CP773: New file.
49226 * iconvdata/testdata/CP773..UTF8: New file.
49227 * iconvdata/testdata/CP774: New file.
49228 * iconvdata/testdata/CP774..UTF8: New file.
49230 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49232 * iconvdata/gen-8bit-gap.sh: Likewise.
49233 * iconvdata/gen-8bit.sh: Likewise.
49235 * locale/iso-639.def: Add ary entry.
49238 * locale/C-translit.h.in: Add U20A1 transliteration.
49241 * locale/iso-639.def: Add wae entry.
49242 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49245 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49249 * locale/C-translit.h.in: Add entry for U20B9.
49250 Patch by pravin.d.s@gmail.com.
49252 2011-05-08 Ulrich Drepper <drepper@gmail.com>
49255 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49256 ENAMETOOLONG use generic getcwd.
49257 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49258 in rtld. Use *stat64.
49259 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49260 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49261 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49262 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49263 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49264 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49265 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49266 __fstatat64 macros.
49267 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49268 * dirent/rewinddir.c: Add libc_hidden_def.
49269 * sysdeps/mach/hurd/rewinddir.c: Likewise.
49270 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
49272 * include/dirent.h (__alloc_dir): Add flags parameter.
49273 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49274 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49276 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49277 from fdopendir if O_CLOEXEC is already set.
49279 2011-03-15 Alan Modra <amodra@gmail.com>
49281 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49282 l_tls_firstbyte_offset non-zero. Save padding offset in
49283 l_tls_firstbyte_offset for later use.
49284 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49285 freeing static tls block.
49287 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49289 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49290 where #ifdef was intended. The intent is to prevent ARG_MAX from
49291 being defined by the kernel headers.
49293 2011-05-07 Ulrich Drepper <drepper@gmail.com>
49296 * resolv/resolv.h: Define RES_NOTLDQUERY.
49297 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49298 no-tld-query and set RES_NOTLDQUERY.
49299 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49300 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49301 modern BIND to search name as TLD unless forbidden.
49303 2011-05-07 Petr Baudis <pasky@suse.cz>
49304 Ulrich Drepper <drepper@gmail.com>
49307 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49308 (is_trusted_path): ...to here.
49309 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49310 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49311 using is_trusted_path_normalize() in setuid scripts.
49313 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49315 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49316 __BEGIN/__END_DECLS.
49318 2011-05-06 Ulrich Drepper <drepper@gmail.com>
49320 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49321 NSS_STATUS_NOTFOUND if no record was found.
49323 2011-05-05 Andreas Schwab <schwab@redhat.com>
49325 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49326 (headers-not-in-tirpc): Remove rpc/netdb.h
49327 * resolv/netdb.h: Revert last change.
49329 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49331 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49332 circular dependency between libgcc.a and libc.a.
49334 2011-05-05 Andreas Schwab <schwab@redhat.com>
49336 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49337 * nis/Makefile: Don't install rpcsvc/*.
49338 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49339 instead of <rpc/types.h>.
49340 (MAXHOSTNAMELEN): Define.
49342 2011-05-03 Andreas Schwab <schwab@redhat.com>
49344 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49346 2011-04-28 Maciej Babinski <mbabinski@google.com>
49349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49350 gethostbyname4_r when IPv6 results are possible.
49352 2011-05-02 Ulrich Drepper <drepper@gmail.com>
49355 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49356 _PC_PIPE_BUF handling.
49358 2011-04-30 Bruno Haible <bruno@clisp.org>
49361 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49362 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49364 * inet/getnameinfo.c (getnameinfo): Likewise.
49366 2011-04-29 Ulrich Drepper <drepper@gmail.com>
49368 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49369 to groups setting in database lookup.
49370 * nss/nsswitch.conf: Add initgroups entry.
49372 2011-04-22 Ulrich Drepper <drepper@gmail.com>
49375 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49377 Patch by Eric Blake <eblake@redhat.com>.
49379 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49381 * sunrpc/Makefile (need-export-routines): Add svc_run.
49382 (routines): Remove svc_run.
49383 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49384 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49385 * sunrpc/svc_run.c (svc_run): Likewise.
49386 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49388 2011-04-21 Ulrich Drepper <drepper@gmail.com>
49390 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49391 problem in reallocation in last patch.
49393 2011-04-20 Ulrich Drepper <drepper@gmail.com>
49395 * sunrpc/Makefile: Move inclusion of Rules.
49397 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49399 * nss/nss_files/files-initgroups.c: New file.
49400 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49401 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49402 _nss_files_initgroups_dyn.
49404 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49406 * elf/elf.h (R_ARM_IRELATIVE): Define.
49408 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49410 * po/ru.po: Update from translation team.
49412 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49414 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49417 2011-02-06 Mike Frysinger <vapier@gentoo.org>
49420 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49421 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49422 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49424 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49426 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49428 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49430 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49431 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49432 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49434 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49437 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49439 * stdlib/bug-getcontext.c: New file.
49440 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49442 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49444 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49445 instructions into .machine "z9-109".
49446 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49447 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49449 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49451 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49452 between environment variables and auxiliary vector.
49454 2011-04-16 Ulrich Drepper <drepper@gmail.com>
49456 * Makefile: Add rules to build linkobj/libc.so.
49457 * include/libc-symbols.h: Define libc_hidden_nolink.
49458 * include/rpc/auth.h: Mark functions which are to be hidden.
49459 * include/rpc/auth_des.h: Likewise.
49460 * include/rpc/auth_unix.h: Likewise.
49461 * include/rpc/clnt.h: Likewise.
49462 * include/rpc/des_crypt.h: Likewise.
49463 * include/rpc/key_prot.h: Likewise.
49464 * include/rpc/pmap_clnt.h: Likewise.
49465 * include/rpc/pmap_prot.h: Likewise.
49466 * include/rpc/pmap_rmt.h: Likewise.
49467 * include/rpc/rpc_msg.h: Likewise.
49468 * include/rpc/svc.h: Likewise.
49469 * include/rpc/svc_auth.h: Likewise.
49470 * include/rpc/xdr.h: Likewise.
49471 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49472 * nss/Makefile: Likewise.
49473 * sunrpc/Makefile: Don't install headers. Build library with normal
49474 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49475 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49476 for the compat linking library. Remove use of INTDEF/INTUSE.
49477 * sunrpc/auth_none.c: Likewise.
49478 * sunrpc/auth_unix.c: Likewise.
49479 * sunrpc/authdes_prot.c: Likewise.
49480 * sunrpc/authuxprot.c: Likewise.
49481 * sunrpc/clnt_gen.c: Likewise.
49482 * sunrpc/clnt_perr.c: Likewise.
49483 * sunrpc/clnt_raw.c: Likewise.
49484 * sunrpc/clnt_simp.c: Likewise.
49485 * sunrpc/clnt_tcp.c: Likewise.
49486 * sunrpc/clnt_udp.c: Likewise.
49487 * sunrpc/clnt_unix.c: Likewise.
49488 * sunrpc/des_crypt.c: Likewise.
49489 * sunrpc/des_soft.c: Likewise.
49490 * sunrpc/get_myaddr.c: Likewise.
49491 * sunrpc/key_call.c: Likewise.
49492 * sunrpc/key_prot.c: Likewise.
49493 * sunrpc/netname.c: Likewise.
49494 * sunrpc/pm_getmaps.c: Likewise.
49495 * sunrpc/pm_getport.c: Likewise.
49496 * sunrpc/pmap_clnt.c: Likewise.
49497 * sunrpc/pmap_prot.c: Likewise.
49498 * sunrpc/pmap_prot2.c: Likewise.
49499 * sunrpc/pmap_rmt.c: Likewise.
49500 * sunrpc/publickey.c: Likewise.
49501 * sunrpc/rpc_cmsg.c: Likewise.
49502 * sunrpc/rpc_common.c: Likewise.
49503 * sunrpc/rpc_dtable.c: Likewise.
49504 * sunrpc/rpc_prot.c: Likewise.
49505 * sunrpc/rpc_thread.c: Likewise.
49506 * sunrpc/rtime.c: Likewise.
49507 * sunrpc/svc.c: Likewise.
49508 * sunrpc/svc_auth.c: Likewise.
49509 * sunrpc/svc_authux.c: Likewise.
49510 * sunrpc/svc_raw.c: Likewise.
49511 * sunrpc/svc_run.c: Likewise.
49512 * sunrpc/svc_simple.c: Likewise.
49513 * sunrpc/svc_tcp.c: Likewise.
49514 * sunrpc/svc_udp.c: Likewise.
49515 * sunrpc/svc_unix.c: Likewise.
49516 * sunrpc/svcauth_des.c: Likewise.
49517 * sunrpc/xcrypt.c: Likewise.
49518 * sunrpc/xdr.c: Likewise.
49519 * sunrpc/xdr_array.c: Likewise.
49520 * sunrpc/xdr_float.c: Likewise.
49521 * sunrpc/xdr_intXX_t.c: Likewise.
49522 * sunrpc/xdr_mem.c: Likewise.
49523 * sunrpc/xdr_rec.c: Likewise.
49524 * sunrpc/xdr_ref.c: Likewise.
49525 * sunrpc/xdr_sizeof.c: Likewise.
49526 * sunrpc/xdr_stdio.c: Likewise.
49528 2011-04-10 Ulrich Drepper <drepper@gmail.com>
49531 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49532 * sysdeps/ia64/dl-tls.h: Likewise.
49533 * sysdeps/powerpc/dl-tls.h: Likewise.
49534 * sysdeps/s390/dl-tls.h: Likewise.
49535 * sysdeps/sh/dl-tls.h: Likewise.
49536 * sysdeps/sparc/dl-tls.h: Likewise.
49537 * sysdeps/x86_64/dl-tls.h: Likewise.
49538 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49540 2011-03-14 Andreas Schwab <schwab@redhat.com>
49542 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49543 rpath element also skip the following colon.
49544 (expand_dynamic_string_token): Add is_path parameter and pass
49545 down to DL_DST_REQUIRED and _dl_dst_substitute.
49546 (decompose_rpath): Call expand_dynamic_string_token with
49547 non-zero is_path. Ignore empty rpaths.
49548 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49551 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49556 2011-04-09 Ulrich Drepper <drepper@gmail.com>
49559 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49560 Patch by Filipe David Manana <fdmanana@apache.org>.
49562 2011-04-07 Andreas Schwab <schwab@redhat.com>
49564 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49565 Maintain aligned stack.
49566 (CHECK_RSP): Remove unused macro.
49568 2011-04-03 Ulrich Drepper <drepper@gmail.com>
49570 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49571 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49573 2011-04-02 Ulrich Drepper <drepper@gmail.com>
49575 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49577 * include/features.h: Mention __USE_XOPEN2K8 in comment.
49579 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49582 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49583 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49584 * sysdeps/x86_64/memmove.c: New file.
49585 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49586 (memcpy): Renamed to ...
49587 (__new_memcpy): This.
49588 (memcpy): Provide GLIBC_2_14 memcpy.
49589 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49590 (memcpy): Provide GLIBC_2_2_5 memcpy.
49592 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49595 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49597 2011-03-30 Andreas Schwab <schwab@redhat.com>
49599 * misc/syncfs.c: New file.
49600 * misc/Makefile (routines): Add syncfs.
49601 * posix/unistd.h: Declare syncfs.
49602 * sysdeps/unix/syscalls.list: Add syncfs.
49604 2011-04-01 Andreas Schwab <schwab@redhat.com>
49606 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49609 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49611 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49613 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49614 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49616 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49618 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49619 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49620 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49626 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49627 sync_file_range.c with -fexceptions.
49628 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49629 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49630 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49631 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49632 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49633 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49634 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49635 sync_file_range as cancellation point
49636 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49637 now a wrapper around __call_sync_file_range with cancellation handling.
49638 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49639 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49640 function name to __call_sync_file_range.
49641 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49642 Add call_sync_file_range.
49644 2011-04-01 Andreas Schwab <schwab@redhat.com>
49646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49649 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49651 * iconv/iconv.h: Fix typo in comment.
49652 * io/fcntl.h: Likewise.
49653 * libio/stdio.h: Likewise.
49654 * posix/spawn.h: Likewise.
49655 * posix/unistd.h: Likewise.
49656 * stdlib/stdlib.h: Likewise.
49657 * time/time.h: Likewise.
49658 * wcsmbs/wchar.h: Likewise.
49660 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49661 open_by_handle): Add.
49662 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49663 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49664 Augment a few comments.
49665 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49670 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49673 * io/fcntl.h (AT_EMPTY_PATH): Define.
49675 2011-03-30 Ulrich Drepper <drepper@gmail.com>
49677 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49678 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49679 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49681 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
49682 * Versions.def: Add GLIBC_2.14.
49683 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49686 2011-03-22 Ulrich Drepper <drepper@gmail.com>
49688 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49690 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49692 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49695 * string/test-strncmp.c (do_page_test): New function.
49696 (check2): Likewise.
49697 (test_main): Call check2.
49698 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49700 2011-03-20 Ulrich Drepper <drepper@gmail.com>
49703 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49704 Handle cache information in CPU leaf 4.
49705 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49707 2011-03-18 Ulrich Drepper <drepper@gmail.com>
49710 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49711 character representation.
49712 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49714 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49716 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49717 END(__isnan) to END(__isnanf) to match function entry point/label
49718 EALIGN(__isnanf,...).
49720 2011-03-10 Jakub Jelinek <jakub@redhat.com>
49722 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49724 2011-03-10 Ulrich Drepper <drepper@gmail.com>
49727 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49728 copy from the symbol referenced in the relocation to initialize the
49730 Patch by Piotr Bury <pbury@goahead.com>.
49731 * elf/Makefile: Add rules to build and tst-unique3.
49732 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49733 * elf/tst-unique3.cc: New file.
49734 * elf/tst-unique3.h: New file.
49735 * elf/tst-unique3lib.cc: New file.
49736 * elf/tst-unique3lib2.cc: New file.
49738 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49740 2011-03-10 Mike Frysinger <vapier@gentoo.org>
49742 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49743 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49746 2011-03-06 Ulrich Drepper <drepper@gmail.com>
49748 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49749 to-be-loaded object along a path to loader is ld.so.
49751 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49752 Ulrich Drepper <drepper@gmail.com>
49754 * sysdeps/x86_64/memset.S: After aligning destination, code
49755 branches to different locations depending on the value of
49756 misalignment, when multiarch is enabled. Fix this.
49758 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49760 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49761 Set _x86_64_preferred_memory_instruction for AMD processsors.
49762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49763 Set bit_Prefer_SSE_for_memop for AMD processors.
49765 2011-03-04 Ulrich Drepper <drepper@gmail.com>
49767 * libio/fmemopen.c (fmemopen): Optimize a bit.
49769 2011-03-03 Andreas Schwab <schwab@redhat.com>
49771 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49773 2011-03-03 Roland McGrath <roland@redhat.com>
49775 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49777 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49779 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
49780 __bzero_ultra1 instead of __memset_ultra1.
49782 2011-02-23 Andreas Schwab <schwab@redhat.com>
49783 Ulrich Drepper <drepper@gmail.com>
49786 * include/link.h (struct link_map): Add l_orig_initfini.
49787 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49788 returning unsuccessfully.
49789 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49790 close of a file loaded at startup, restore the original l_initfini
49792 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49793 list, store the pointer.
49794 * elf/Makefile ($(objpfx)noload-mem): New rule.
49795 (noload-ENV): Define.
49796 (tests): Add $(objpfx)noload-mem.
49797 * elf/noload.c: Include <memcheck.h>.
49798 (main): Call mtrace. Close all opened handles.
49800 2011-02-17 Andreas Schwab <schwab@redhat.com>
49803 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49804 dependencies are missing.
49806 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49808 Fix __if_freereq crash: Unlike the generic version which uses free,
49810 * sysdeps/mach/hurd/ifreq.h: New file.
49812 2011-01-27 Petr Baudis <pasky@suse.cz>
49813 Ulrich Drepper <drepper@gmail.com>
49816 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49817 to extend_alloca().
49818 * stdio-common/bug23.c: New file.
49819 * stdio-common/Makefile (tests): Add bug23.
49821 2010-09-28 Andreas Schwab <schwab@redhat.com>
49822 Ulrich Drepper <drepper@gmail.com>
49825 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49826 before performing relro protection. At old place add assertion
49827 to make sure nothing changed.
49829 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49830 Glauber de Oliveira Costa <glommer@gmail.com>
49832 * elf/elf.h: Add new ARM TLS relocs.
49834 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49837 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49839 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49841 * sysdeps/wordsize-64/tst-writev.c: New file.
49843 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49845 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49846 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49847 insns in _dl_start to prevent a TOC reference before relocs are
49850 2011-02-15 Ulrich Drepper <drepper@gmail.com>
49853 * Makeconfig: Remove RANLIB definition.
49854 * Makerules: Don't use RANLIB.
49855 * aclocal.m4: Remove ranlib test.
49856 * configure.in: No need to check for ranlib.
49857 * elf/rtld-Rules: Don't use RANLIB.
49859 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49861 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49863 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49864 inclusion protection macro.
49866 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49867 SIGRTMIN and SIGRTMAX and print information in that case only when
49868 SIGRTMIN is defined.
49870 2011-02-11 Jakub Jelinek <jakub@redhat.com>
49872 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49873 arginfo fn returning -1.
49875 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49876 and thousands string is zero terminated.
49878 2011-02-03 Andreas Schwab <schwab@redhat.com>
49880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49881 sysdeps/unix/sysv/linux/bits/socket.h.
49883 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49885 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49886 (__CPU_COUNT): Remove old macros.
49887 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49888 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49889 (__CPU_ALLOC, __CPU_FREE): Add macros.
49890 (__sched_cpualloc, __sched_cpufree): Add declarations.
49892 2011-02-05 Ulrich Drepper <drepper@gmail.com>
49894 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49895 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49896 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49897 (readdhstai): Return value of addhstaiX call.
49898 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49899 (addgrbyX): Return value returned by cache_addgr.
49900 (readdgrbyname): Return value returned by addgrbyX.
49901 (readdgrbygid): Likewise.
49902 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49903 (addpwbyX): Return value returned by cache_addpw.
49904 (readdpwbyname): Return value returned by addhstbyX.
49905 (readdpwbyuid): Likewise.
49906 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49907 (addservbyX): Return value returned by cache_addserv.
49908 (readdservbyname): Return value returned by addservbyX:
49909 (readdservbyport): Likewise.
49910 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49911 (addhstbyX): Return value returned by cache_addhst.
49912 (readdhstbyname): Return value returned by addhstbyX.
49913 (readdhstbyaddr): Likewise.
49914 (readdhstbynamev6): Likewise.
49915 (readdhstbyaddrv6): Likewise.
49916 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49917 (readdinitgroups): Return value returned by addinitgroupsX.
49918 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49919 (prune_cache): Keep track of timeout value of re-added entries.
49920 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49921 * nscd/nscd.h: Adjust prototypes of readd* functions.
49923 2011-02-04 Roland McGrath <roland@redhat.com>
49925 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49926 (nis_stats): Likewise.
49927 * nis/nis_modify.c (nis_modify): Likewise.
49928 * nis/nis_remove.c (nis_remove): Likewise.
49929 * nis/nis_add.c (nis_add): Likewise.
49931 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49933 * posix/fnmatch_loop.c: Add some consts.
49935 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49937 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49940 * config.make.in (config-cflags-novzeroupper): Define.
49941 * configure.in: Substitute libc_cv_cc_novzeroupper.
49942 * elf/Makefile (AVX-CFLAGS): Define.
49943 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49944 (CFLAGS-tst-auditmod4a.c): Likewise.
49945 (CFLAGS-tst-auditmod4b.c): Likewise.
49946 (CFLAGS-tst-auditmod6b.c): Likewise.
49947 (CFLAGS-tst-auditmod6c.c): Likewise.
49948 (CFLAGS-tst-auditmod7b.c): Likewise.
49949 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49951 2011-02-02 Ulrich Drepper <drepper@gmail.com>
49953 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49954 function to the callback.
49955 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49957 2011-02-02 Andreas Schwab <schwab@redhat.com>
49959 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49962 2011-01-19 Ulrich Drepper <drepper@gmail.com>
49965 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49967 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49969 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49972 * elf/Makefile: Add rules to build and run new test.
49973 * elf/tst-initorder.c: New file.
49974 * elf/tst-initorder.exp: New file.
49975 * elf/tst-initordera1.c: New file.
49976 * elf/tst-initordera2.c: New file.
49977 * elf/tst-initordera3.c: New file.
49978 * elf/tst-initordera4.c: New file.
49979 * elf/tst-initorderb1.c: New file.
49980 * elf/tst-initorderb2.c: New file.
49981 * elf/tst-order-a1.c: New file.
49982 * elf/tst-order-a2.c: New file.
49983 * elf/tst-order-a3.c: New file.
49984 * elf/tst-order-a4.c: New file.
49985 * elf/tst-order-b1.c: New file.
49986 * elf/tst-order-b2.c: New file.
49987 * elf/tst-order-main.c: New file.
49988 New test case by George Gensure <werkt0@gmail.com>.
49990 2010-10-01 Andreas Schwab <schwab@redhat.com>
49992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49993 decoding ACE if AI_CANONIDN.
49995 2011-01-18 Ulrich Drepper <drepper@gmail.com>
49997 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49999 2011-01-17 Ulrich Drepper <drepper@gmail.com>
50001 * version.h (RELEASE): Bump for 2.13 release.
50002 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50004 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50006 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50008 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50009 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50010 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50011 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50012 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50013 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50015 * posix/getconf.c: Update copyright year.
50016 * catgets/gencat.c: Likewise.
50017 * csu/version.c: Likewise.
50018 * debug/catchsegv.sh: Likewise.
50019 * debug/xtrace.sh: Likewise.
50020 * elf/ldconfig.c: Likewise.
50021 * elf/ldd.bash.in: Likewise.
50022 * elf/sprof.c (print_version): Likewise.
50023 * iconv/iconv_prog.c: Likewise.
50024 * iconv/iconvconfig.c: Likewise.
50025 * locale/programs/locale.c: Likewise.
50026 * locale/programs/localedef.c: Likewise.
50027 * malloc/memusage.sh: Likewise.
50028 * malloc/mtrace.pl: Likewise.
50029 * nscd/nscd.c (print_version): Likewise.
50030 * nss/getent.c: Likewise.
50032 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50033 PF_CAIF, and PF_ALG.
50034 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50036 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50038 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50039 (modules-names): Use them.
50040 (ifunc-test-modules, ifunc-pie-tests): Define.
50041 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50042 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50043 (test-extras): Likewise.
50044 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50045 $(compile-command.c).
50046 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50047 (all-built-dso): Define.
50048 (check-textrel.out, check-execstack.out): Depend on it.
50050 * configure.in: Don't override --enable-multi-arch.
50052 2011-01-15 Ulrich Drepper <drepper@gmail.com>
50055 * nscd/hstcache.c (tryagain): Define.
50056 (cache_addhst): Return tryagain not notfound for temporary errors.
50057 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50060 2011-01-14 Ulrich Drepper <drepper@gmail.com>
50063 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50064 to make the syscall.
50065 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50068 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50069 and fall back to matching as normal character if the string ends before
50070 the matching ']' is found. This is what POSIX requires.
50071 * posix/testfnm.c: Adjust test result.
50072 * posix/globtest.sh: Adjust test result. Add new test.
50073 * posix/tst-fnmatch.input: Likewise.
50074 * posix/tst-fnmatch2.c: Add new test.
50076 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50078 * elf/Makefile (check-execstack): Revert last change. Depend on
50080 (check-execstack.h): New target.
50081 (generated): Add check-execstack.h.
50082 * elf/check-execstack.c: Include "check-execstack.h".
50083 (main): Revert last change.
50084 (handle_file): Return zero if GNU_STACK is absent and
50085 DEFAULT_STACK_PERMS doesn't include PF_X.
50087 2011-01-13 Ulrich Drepper <drepper@gmail.com>
50089 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50090 in child fails because the descriptor is already closed.
50091 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50092 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50093 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50096 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50100 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50101 temporary buffer used to handle multi lookups locally.
50102 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50104 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50106 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50109 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50111 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50112 alignment for SSE2.
50114 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50117 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50118 characters. When rounding increased number of integer digits recompute
50120 * stdio-common/tst-grouping.c: New file.
50121 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50123 2011-01-09 Ulrich Drepper <drepper@gmail.com>
50125 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50126 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50128 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50130 * bits/select.h: Likewise.
50132 2011-01-08 Ulrich Drepper <drepper@gmail.com>
50134 * po/ja.po: Update from translation team.
50136 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
50139 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50140 implementation just like for lxstat, fxstatat, et al.
50142 2010-12-27 Jim Meyering <meyering@redhat.com>
50145 * posix/regexec.c (build_trtable): Return failure indication upon
50146 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50148 2010-12-25 Ulrich Drepper <drepper@gmail.com>
50151 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50152 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50153 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50154 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50157 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50160 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50161 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50163 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50165 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50166 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50167 script has SORT_BY_INIT_PRIORITY.
50168 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50169 NO_CTORS_DTORS_SECTIONS is defined.
50170 * elf/soinit.c: Likewise.
50171 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50172 NO_CTORS_DTORS_SECTIONS is defined.
50173 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50174 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50175 * sysdeps/sh/init-first.c: Likewise.
50176 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50178 2010-12-24 Ulrich Drepper <drepper@gmail.com>
50180 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50181 always use the slow path.
50183 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50185 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50186 similar rule which adds the sysdep directories to the header search in
50187 order to pick up the correct platform stackinfo.h.
50188 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50189 perform test if it is, otherwise return successfully without testing.
50190 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50191 DEFAULT_STACK_PERMS define in stackinfo.h.
50192 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50193 defined in stackinfo.h.
50194 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50195 DEFAULT_STACK_PERMS defined in stackinfo.h.
50196 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50197 * sysdeps/ia64/stackinfo.h: Likewise.
50198 * sysdeps/s390/stackinfo.h: Likewise.
50199 * sysdeps/sh/stackinfo.h: Likewise.
50200 * sysdeps/sparc/stackinfo.h: Likewise.
50201 * sysdeps/x86_64/stackinfo.h: Likewise.
50202 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50203 PF_X for powerpc64. Retain PF_X for powerpc32.
50205 2010-12-19 Ulrich Drepper <drepper@gmail.com>
50207 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50209 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50210 GETDENTS_64BIT_ALIGNED.
50212 2010-12-14 Ulrich Drepper <dreper@gmail.com>
50214 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50216 2010-12-10 Andreas Schwab <schwab@redhat.com>
50218 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50221 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50222 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50224 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50225 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50227 2010-12-09 Ulrich Drepper <drepper@gmail.com>
50230 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50233 2010-12-09 Jakub Jelinek <jakub@redhat.com>
50235 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50237 2010-12-03 Ulrich Drepper <drepper@gmail.com>
50239 * po/it.po: Update from translation team.
50241 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50246 2010-11-30 Ulrich Drepper <drepper@gmail.com>
50248 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50250 2010-11-24 Andreas Schwab <schwab@redhat.com>
50252 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50254 (gaih_getanswer_slice): Likewise.
50256 2010-10-20 Jakub Jelinek <jakub@redhat.com>
50258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50260 2010-05-31 Petr Baudis <pasky@suse.cz>
50263 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50264 silently even in the chroot mode.
50266 2010-11-22 Ulrich Drepper <drepper@gmail.com>
50268 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50269 last patch a bit. Pretty printing
50271 2010-05-31 Petr Baudis <pasky@suse.cz>
50274 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50275 initialization of skip_initgroups_dyn.
50277 2010-11-19 Ulrich Drepper <drepper@gmail.com>
50279 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50280 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50282 2010-11-16 Ulrich Drepper <drepper@gmail.com>
50284 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50286 2010-11-11 Andreas Schwab <schwab@redhat.com>
50288 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50289 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50290 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50291 ($(objpfx)tst-fnmatch-mem): New rule.
50292 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50293 * posix/tst-fnmatch.c (main): Call mtrace.
50295 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50298 Support Intel processor model 6 and model 0x2c.
50300 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
50302 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50305 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50308 * string/test-strncasecmp.c (check_result): New function.
50309 (do_one_test): Use it.
50310 (check1): New function.
50311 (test_main): Use it.
50312 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50313 Support strcasecmp and strncasecmp.
50315 2010-11-08 Ulrich Drepper <drepper@gmail.com>
50318 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50319 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50321 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50323 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50327 * sysdeps/x86_64/multiarch/bzero.S: New file.
50328 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50329 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50330 * sysdeps/x86_64/multiarch/memset.S: New file.
50331 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50333 Set bit_Prefer_SSE_for_memop for Intel processors.
50334 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50336 (index_Prefer_SSE_for_memop): Define.
50337 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50339 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
50341 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50342 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50344 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50347 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50348 (__x86_64_raw_data_cache_size_half): Likewise.
50349 (__x86_64_raw_shared_cache_size): Likewise.
50350 (__x86_64_raw_shared_cache_size_half): Likewise.
50352 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50353 (__x86_64_raw_data_cache_size_half): Likewise.
50354 (__x86_64_raw_shared_cache_size): Likewise.
50355 (__x86_64_raw_shared_cache_size_half): Likewise.
50356 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50357 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50358 and __x86_64_raw_shared_cache_size_half. Round
50359 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50360 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50361 to multiple of 256 bytes.
50363 2010-11-03 Ulrich Drepper <drepper@gmail.com>
50366 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50367 of inacessible symlinks. Verify result of symlink before returning it.
50368 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50369 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50371 2010-10-28 Erich Ritz <erichritz@gmail.com>
50373 * math/math.h (isinf): Fix typo in comment.
50375 2010-11-01 Ulrich Drepper <drepper@gmail.com>
50377 * po/da.po: Update from translation team.
50379 2010-10-26 Ulrich Drepper <drepper@gmail.com>
50381 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50382 is added to the list.
50384 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50385 Ulrich Drepper <drepper@gmail.com>
50387 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50388 the global list here. Move code to...
50389 (_dl_add_to_namespace_list): ...here. New function.
50390 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50391 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50392 * elf/dl-load.c (lose): Don't remove the element from the list.
50393 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50394 (_dl_map_object): Likewise.
50396 2010-10-25 Ulrich Drepper <drepper@gmail.com>
50399 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50400 into all bytes of SSE register.
50401 Patch by Richard Li <richardpku@gmail.com>.
50403 2010-10-24 Ulrich Drepper <drepper@gmail.com>
50406 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50409 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50411 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50412 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50413 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50414 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50419 2010-10-22 Andreas Schwab <schwab@redhat.com>
50421 * include/dlfcn.h (__RTLD_SECURE): Define.
50422 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50423 mode & __RTLD_SECURE instead.
50424 (open_path): Rename preloaded parameter to secure.
50425 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50426 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50427 * elf/dl-deps.c (openaux): Likewise.
50428 * elf/rtld.c (struct map_args): Remove is_preloaded.
50429 (map_doit): Don't use it.
50430 (dl_main): Likewise.
50431 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50432 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50434 2010-09-09 Andreas Schwab <schwab@redhat.com>
50436 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50437 (sysd-rules-targets): Remove duplicates.
50438 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50439 rtld-%.$o dependency.
50441 2010-10-18 Andreas Schwab <schwab@redhat.com>
50443 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50444 _dl_map_object do it.
50446 2010-10-19 Ulrich Drepper <drepper@gmail.com>
50448 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50449 fast fma builtins, define the macros in the C99 standard.
50450 (FP_FAST_FMAF): Likewise.
50451 (FP_FAST_FMAL): Likewise.
50452 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50454 * bits/mathdef.h: Update copyright year.
50455 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50457 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50459 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50460 builtins, define the macros in the C99 standard.
50461 (FP_FAST_FMAF): Likewise.
50462 (FP_FAST_FMAL): Likewise.
50463 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50465 (FP_FAST_FMAF): Likewise.
50467 2010-10-15 Jakub Jelinek <jakub@redhat.com>
50470 * math/libm-test.inc (fma_test): Some new testcases.
50471 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50472 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50473 y and infinite z. Do multiplication by C already in long double.
50474 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50476 y and infinite z. Do bitwise or of inexact bit into u.d.
50477 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50478 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50479 * sysdeps/i386/fpu/s_fma.S: Removed.
50480 * sysdeps/i386/fpu/s_fmal.S: Removed.
50482 2010-10-16 Jakub Jelinek <jakub@redhat.com>
50485 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50487 computation is not scheduled after fetestexcept. Fix value
50488 of minimum denormal long double.
50490 2010-10-14 Jakub Jelinek <jakub@redhat.com>
50493 * math/libm-test.inc (fma_test): Add some more tests.
50494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50497 2010-10-15 Andreas Schwab <schwab@redhat.com>
50499 * scripts/data/localplt-s390-linux-gnu.data: New file.
50500 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50502 2010-10-13 Jakub Jelinek <jakub@redhat.com>
50505 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50506 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50508 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50510 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50512 if one of x and y is very large and the other is subnormal.
50513 * sysdeps/s390/fpu/s_fmaf.c: New file.
50514 * sysdeps/s390/fpu/s_fma.c: New file.
50515 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50516 * sysdeps/powerpc/fpu/s_fma.S: New file.
50517 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50518 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50519 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50521 2010-10-12 Jakub Jelinek <jakub@redhat.com>
50524 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50526 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50527 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50528 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50529 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50530 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50531 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50532 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50534 2010-10-12 Ulrich Drepper <drepper@redhat.com>
50537 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50538 * posix/bug-regex31.input: Add test case.
50540 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50542 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50543 * posix/bug-regex31.input: New file.
50546 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50547 (parse_sub_exp): Fix last change, use postorder.
50549 * posix/bug-regex31.c: New file.
50550 * posix/Makefile: Add rules to build and run bug-regex31.
50552 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50555 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50558 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50559 to have entries in sys_siglist.
50562 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50565 2010-10-07 Jakub Jelinek <jakub@redhat.com>
50568 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50569 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50570 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50571 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50572 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50573 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50574 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50575 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50576 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50577 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50578 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50579 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50580 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50581 * math/ftestexcept.c (fetestexcept): Likewise.
50582 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50583 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50584 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50585 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50586 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50587 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50588 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50590 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50593 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50596 2010-10-06 Ulrich Drepper <drepper@gmail.com>
50598 * string/bug-strstr1.c: New file.
50599 * string/Makefile: Add rules to build and run bug-strstr1.
50601 2010-10-05 Eric Blake <eblake@redhat.com>
50604 * string/str-two-way.h (two_way_long_needle): Always clear memory
50605 when skipping input due to the shift table.
50607 2010-10-03 Ulrich Drepper <drepper@gmail.com>
50610 * malloc/mcheck.c: Handle large requests.
50613 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50614 for strncmp and strncasecmp.
50615 * string/stratcliff.c: Add tests for strcmp and strncmp.
50616 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50618 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50620 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50623 2010-09-30 Andreas Jaeger <aj@suse.de>
50625 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50626 (CGROUP_SUPER_MAGIC): Define.
50627 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50628 Handle btrfs and cgroup file systems.
50629 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50632 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
50634 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50635 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50637 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50640 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50641 trying to locate the ELF header.
50643 2010-09-27 Andreas Schwab <schwab@redhat.com>
50646 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50647 Mask out sign-bit copies when constructing f_fsid.
50649 2010-09-24 Petr Baudis <pasky@suse.cz>
50651 * debug/stack_chk_fail_local.c: Add missing licence exception.
50652 * debug/warning-nop.c: Likewise.
50654 2010-09-15 Joseph Myers <joseph@codesourcery.com>
50656 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50657 implementing getdents64 using getdents syscall, set d_type if
50658 __ASSUME_GETDENTS32_D_TYPE.
50660 2010-09-16 Andreas Schwab <schwab@redhat.com>
50662 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50663 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50665 2010-09-21 Ulrich Drepper <drepper@redhat.com>
50668 * posix/unistd.h: Undo change of feature selection for ftruncate from
50671 2010-09-20 Ulrich Drepper <drepper@redhat.com>
50673 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50676 2010-09-20 Andreas Schwab <schwab@redhat.com>
50678 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50680 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50682 2010-09-14 Andreas Schwab <schwab@redhat.com>
50684 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50685 variables after CHECK_SP call.
50686 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50688 2010-09-13 Andreas Schwab <schwab@redhat.com>
50689 Ulrich Drepper <drepper@redhat.com>
50691 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50692 re-relocationg ld.so.
50693 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50694 _dl_init_paths call.
50695 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50698 2010-09-14 Ulrich Drepper <drepper@redhat.com>
50700 * resolv/res_init.c (__res_vinit): Count the default server we added.
50702 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50703 Ulrich Drepper <drepper@redhat.com>
50706 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50707 (____longjmp_chk): Use %ebx for saving value across system call.
50710 2010-09-06 Andreas Schwab <schwab@redhat.com>
50712 * manual/Makefile: Don't mix pattern rules with normal rules.
50714 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50716 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50718 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50719 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50720 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50721 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50722 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50725 2010-09-04 Ulrich Drepper <drepper@redhat.com>
50728 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50729 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50731 2010-09-02 Ulrich Drepper <drepper@redhat.com>
50733 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50734 * sysdeps/x86_64/addmul_1.S: Likewise.
50735 * sysdeps/x86_64/lshift.S: Likewise.
50736 * sysdeps/x86_64/mul_1.S: Likewise.
50737 * sysdeps/x86_64/rshift.S: Likewise.
50738 * sysdeps/x86_64/sub_n.S: Likewise.
50739 * sysdeps/x86_64/submul_1.S: Likewise.
50741 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50743 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50744 Define __sched_param instead of SCHED_* and sched_param when
50745 <bits/sched.h> is included with __need_schedparam defined.
50746 * bits/sched.h [__need_schedparam]
50747 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
50748 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50749 (__defined_schedparam): Define to 1.
50750 (__sched_param): New structure, identical to sched_param.
50751 (__need_schedparam): Undefine.
50753 2010-08-31 Mike Frysinger <vapier@gentoo.org>
50755 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50756 (epoll_create1): Declare.
50758 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50760 2010-08-31 Andreas Schwab <schwab@redhat.com>
50763 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50764 shifting retval into place.
50766 2010-09-01 Ulrich Drepper <drepper@redhat.com>
50768 * nis/rpcsvc/nis.h: Update copyright notice.
50769 * nis/rpcsvc/nis.x: Likewise.
50770 * nis/rpcsvc/nis_callback.h: Likewise.
50771 * nis/rpcsvc/nis_callback.x: Likewise.
50772 * nis/rpcsvc/nis_object.x: Likewise.
50773 * nis/rpcsvc/nis_tags.h: Likewise.
50774 * nis/rpcsvc/yp.h: Likewise.
50775 * nis/rpcsvc/yp.x: Likewise.
50776 * nis/rpcsvc/ypupd.h: Likewise.
50777 * nis/yp_xdr.c: Likewise.
50778 * nis/ypupdate_xdr.c: Likewise.
50780 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50781 mainly the body of pmap_getport. Add parameters to specify timeouts.
50782 (pmap_getport): Use __libc_rpc_getport.
50783 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50784 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50785 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50787 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50792 2010-08-27 Roland McGrath <roland@redhat.com>
50794 * sysdeps/i386/i686/multiarch/Makefile
50795 (CFLAGS-varshift.c): New variable.
50797 2010-08-27 Ulrich Drepper <drepper@redhat.com>
50799 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50800 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50802 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50804 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50806 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50808 * sysdeps/x86_64/strlen.S: Unroll the loop.
50809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50810 strlen-sse2 strlen-sse2-bsf.
50811 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50812 __strlen_no_bsf if bit_Slow_BSF is set.
50813 (__strlen_sse42): Removed.
50814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50815 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50817 2010-08-25 Roland McGrath <roland@redhat.com>
50819 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50820 * sysdeps/x86_64/multiarch/varshift.c: New file.
50821 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50822 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50823 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50824 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50826 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50829 strlen-sse2 strlen-sse2-bsf.
50830 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50831 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50832 (__strlen_sse2): Removed.
50833 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50836 bit_Slow_BSF for Atom.
50837 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50838 (index_Slow_BSF): Define.
50839 (HAS_SLOW_BSF): Define.
50841 2010-08-25 Ulrich Drepper <drepper@redhat.com>
50844 * resolv/res_init.c (__res_vinit): When no server address at all
50845 is given default to loopback.
50847 2010-08-24 Roland McGrath <roland@redhat.com>
50849 * configure.in: Remove config-name.h generation.
50850 * configure: Regenerated.
50851 * config-name.in: File removed.
50852 * scripts/config-uname.sh: New file.
50853 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50854 ($(objdir)config-name.h): New target.
50856 * sunrpc/rpc_parse.h: Avoid nested comment.
50858 2010-08-24 Richard Henderson <rth@redhat.com>
50859 Ulrich Drepper <drepper@redhat.com>
50860 H.J. Lu <hongjiu.lu@intel.com>
50862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50864 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50865 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50866 _mm_alignr_epi8 with _mm_loadu_si128.
50867 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50868 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50869 (__m128i_shift_right): Removed.
50870 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50871 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50872 * sysdeps/x86_64/multiarch/varshift.h: New file.
50873 * sysdeps/x86_64/multiarch/varshift.S: New file.
50875 2010-08-21 Mike Frysinger <vapier@gentoo.org>
50877 * configure.in: Move assembler checks to before sysdep dir checking.
50879 2010-08-20 Petr Baudis <pasky@suse.cz>
50881 * LICENSES: Sync the sunrpc license.
50883 2010-08-19 Ulrich Drepper <drepper@redhat.com>
50885 * sunrpc/auth_des.c: Update copyright notice once again.
50886 * sunrpc/auth_none.c: Likewise.
50887 * sunrpc/auth_unix.c: Likewise.
50888 * sunrpc/authdes_prot.c: Likewise.
50889 * sunrpc/authuxprot.c: Likewise.
50890 * sunrpc/bindrsvprt.c: Likewise.
50891 * sunrpc/clnt_gen.c: Likewise.
50892 * sunrpc/clnt_perr.c: Likewise.
50893 * sunrpc/clnt_raw.c: Likewise.
50894 * sunrpc/clnt_simp.c: Likewise.
50895 * sunrpc/clnt_tcp.c: Likewise.
50896 * sunrpc/clnt_udp.c: Likewise.
50897 * sunrpc/clnt_unix.c: Likewise.
50898 * sunrpc/des_crypt.c: Likewise.
50899 * sunrpc/des_soft.c: Likewise.
50900 * sunrpc/get_myaddr.c: Likewise.
50901 * sunrpc/getrpcport.c: Likewise.
50902 * sunrpc/key_call.c: Likewise.
50903 * sunrpc/key_prot.c: Likewise.
50904 * sunrpc/openchild.c: Likewise.
50905 * sunrpc/pm_getmaps.c: Likewise.
50906 * sunrpc/pm_getport.c: Likewise.
50907 * sunrpc/pmap_clnt.c: Likewise.
50908 * sunrpc/pmap_prot.c: Likewise.
50909 * sunrpc/pmap_prot2.c: Likewise.
50910 * sunrpc/pmap_rmt.c: Likewise.
50911 * sunrpc/rpc/auth.h: Likewise.
50912 * sunrpc/rpc/auth_unix.h: Likewise.
50913 * sunrpc/rpc/clnt.h: Likewise.
50914 * sunrpc/rpc/des_crypt.h: Likewise.
50915 * sunrpc/rpc/key_prot.h: Likewise.
50916 * sunrpc/rpc/netdb.h: Likewise.
50917 * sunrpc/rpc/pmap_clnt.h: Likewise.
50918 * sunrpc/rpc/pmap_prot.h: Likewise.
50919 * sunrpc/rpc/pmap_rmt.h: Likewise.
50920 * sunrpc/rpc/rpc.h: Likewise.
50921 * sunrpc/rpc/rpc_des.h: Likewise.
50922 * sunrpc/rpc/rpc_msg.h: Likewise.
50923 * sunrpc/rpc/svc.h: Likewise.
50924 * sunrpc/rpc/svc_auth.h: Likewise.
50925 * sunrpc/rpc/types.h: Likewise.
50926 * sunrpc/rpc/xdr.h: Likewise.
50927 * sunrpc/rpc_clntout.c: Likewise.
50928 * sunrpc/rpc_cmsg.c: Likewise.
50929 * sunrpc/rpc_common.c: Likewise.
50930 * sunrpc/rpc_cout.c: Likewise.
50931 * sunrpc/rpc_dtable.c: Likewise.
50932 * sunrpc/rpc_hout.c: Likewise.
50933 * sunrpc/rpc_main.c: Likewise.
50934 * sunrpc/rpc_parse.c: Likewise.
50935 * sunrpc/rpc_parse.h: Likewise.
50936 * sunrpc/rpc_prot.c: Likewise.
50937 * sunrpc/rpc_sample.c: Likewise.
50938 * sunrpc/rpc_scan.c: Likewise.
50939 * sunrpc/rpc_scan.h: Likewise.
50940 * sunrpc/rpc_svcout.c: Likewise.
50941 * sunrpc/rpc_tblout.c: Likewise.
50942 * sunrpc/rpc_util.c: Likewise.
50943 * sunrpc/rpc_util.h: Likewise.
50944 * sunrpc/rpcinfo.c: Likewise.
50945 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50946 * sunrpc/rpcsvc/key_prot.x: Likewise.
50947 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50948 * sunrpc/rpcsvc/mount.x: Likewise.
50949 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50950 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50951 * sunrpc/rpcsvc/rex.x: Likewise.
50952 * sunrpc/rpcsvc/rstat.x: Likewise.
50953 * sunrpc/rpcsvc/rusers.x: Likewise.
50954 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50955 * sunrpc/rpcsvc/spray.x: Likewise.
50956 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50957 * sunrpc/rtime.c: Likewise.
50958 * sunrpc/svc.c: Likewise.
50959 * sunrpc/svc_auth.c: Likewise.
50960 * sunrpc/svc_authux.c: Likewise.
50961 * sunrpc/svc_raw.c: Likewise.
50962 * sunrpc/svc_run.c: Likewise.
50963 * sunrpc/svc_simple.c: Likewise.
50964 * sunrpc/svc_tcp.c: Likewise.
50965 * sunrpc/svc_udp.c: Likewise.
50966 * sunrpc/svc_unix.c: Likewise.
50967 * sunrpc/svcauth_des.c: Likewise.
50968 * sunrpc/xcrypt.c: Likewise.
50969 * sunrpc/xdr.c: Likewise.
50970 * sunrpc/xdr_array.c: Likewise.
50971 * sunrpc/xdr_float.c: Likewise.
50972 * sunrpc/xdr_mem.c: Likewise.
50973 * sunrpc/xdr_rec.c: Likewise.
50974 * sunrpc/xdr_ref.c: Likewise.
50975 * sunrpc/xdr_sizeof.c: Likewise.
50976 * sunrpc/xdr_stdio.c: Likewise.
50978 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50981 2010-08-19 Andreas Schwab <schwab@redhat.com>
50983 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50985 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
50987 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50988 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50989 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50990 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50991 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50992 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50993 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50994 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50995 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50996 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50997 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50998 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50999 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51000 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51002 2010-07-26 Anton Blanchard <anton@samba.org>
51004 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51005 * malloc/arena.c (heap_trim): Likewise.
51007 2010-08-16 Ulrich Drepper <drepper@redhat.com>
51009 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51011 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51012 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51014 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51016 * sysdeps/i386/elf/Makefile: New file.
51018 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51020 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51021 from fanotify_init.
51022 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51023 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51025 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51027 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51029 * sysdeps/multiarch/strcmp.S: Likewise.
51031 2010-08-14 Ulrich Drepper <drepper@redhat.com>
51033 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51034 strncase_l-nonascii.
51035 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51036 Add strncase_l-ssse3.
51037 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51038 * sysdeps/x86_64/strcmp.S: Likewise.
51039 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51040 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51041 * sysdeps/x86_64/strncase.S: New file.
51042 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51043 * sysdeps/x86_64/strncase_l.S: New file.
51044 * string/Makefile (strop-tests): Add strncasecmp.
51045 * string/test-strncasecmp.c: New file.
51047 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51050 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51051 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51053 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51055 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51057 2010-08-12 Ulrich Drepper <drepper@redhat.com>
51059 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51060 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51061 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51063 2010-05-01 Alan Modra <amodra@gmail.com>
51065 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51066 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51067 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51068 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51069 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51070 tidying. Don't tail-call __sigjmp_save for static lib.
51071 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51073 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51074 (CALL_MCOUNT): Add eh info, and nop after bl.
51075 (TAIL_CALL_SYSCALL_ERROR): New macro.
51076 (PSEUDO_RET): Use it.
51077 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51078 Correct save location of integer regs and cr.
51079 (_dl_profile_resolve): Correct cr save location. Delete nops
51080 after bl when SHARED. Reduce cfi size a little by better
51081 placement of cfi directives.
51082 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51083 make a stack frame. Instead use parm save area as a temp.
51084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51085 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51087 Don't make a stack frame for parent, use parm save area.
51088 Increase child stack frame to 112 bytes. Don't save unused reg,
51089 and adjust reg usage. Set up cfi on error recovery and
51090 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51092 (__makecontext): Add dummy nop after jump to exit.
51093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51094 Use correct parm save area and cr save, reduce stack frame.
51095 Correct cfi for possible PSEUDO_RET frame setup.
51096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51097 Branch to local label emitted by PSEUDO_RET rather than
51100 2010-08-12 Andreas Schwab <schwab@redhat.com>
51103 * locale/programs/locale.c (print_assignment): New function.
51104 (show_locale_vars): Use it.
51106 2010-08-11 Ulrich Drepper <drepper@redhat.com>
51108 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51110 (struct statfs64): Likewise.
51111 (_STATFS_F_FLAGS): Define.
51112 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51113 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51114 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51115 (ST_VALID): Define locally.
51116 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51117 __statvfs_getflags, use the provided value.
51118 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51119 __ASSUME_STATFS_F_FLAGS.
51121 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51123 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51124 Add sys/fanotify.h.
51125 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51126 fanotify_mask for GLIBC_2.13.
51127 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51128 fanotify_init and fanotify_mark.
51129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51130 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51132 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51134 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51135 prlimit64 for GLIBC_2.13.
51136 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51138 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51141 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51142 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51143 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51144 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51146 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51149 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51150 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51152 * nss/Makefile: Add rules to build and run tst-nss-test1.
51153 * shlib-versions: Add entry for libnss_test1.
51154 * nss/nss_test1.c: New file.
51155 * nss/tst-nss-test1.c: New file.
51157 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51158 (__nss_configure_lookup): Set appropriate entry in
51159 __nss_configure_lookup to true.
51160 * nss/nsswitch.h: Define enum with indeces of databases in
51161 databases and __nss_database_custom arrays. Declare
51162 __nss_database_custom.
51163 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51164 to avoid using nscd when custom rules are installed.
51165 * nss/getXXbyYY_r.c: Likewise.
51166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51168 * nss/nss_files/files-parse.c: Whitespace fixes.
51170 2010-08-09 Ulrich Drepper <drepper@redhat.com>
51173 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51174 * posix/fnmatch_loop.c: Likewise.
51176 2010-07-17 Andi Kleen <ak@linux.intel.com>
51178 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51179 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51180 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51181 * Versions.def [GLIBC_2.13]: Add.
51183 2010-08-06 Ulrich Drepper <drepper@redhat.com>
51185 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51186 Also fail if tpwd after pwuid call is NULL.
51188 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51190 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51191 when converting to ms.
51193 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51195 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51196 EOPNOTSUPP errors with ENOTTY.
51197 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51198 EOPNOTSUPP errors with ENOTTY.
51200 2010-07-31 Ulrich Drepper <drepper@redhat.com>
51202 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51203 Add strcasecmp_l-ssse3.
51204 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51206 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51207 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51208 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51210 2010-07-30 Ulrich Drepper <drepper@redhat.com>
51212 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51214 * string/Makefile (strop-tests): Add strcasecmp.
51215 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51216 strcasecmp_l-nonascii.
51217 (gen-as-const-headers): Add locale-defines.sym.
51218 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51219 * sysdeps/x86_64/strcasecmp.S: New file.
51220 * sysdeps/x86_64/strcasecmp_l.S: New file.
51221 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51222 * sysdeps/x86_64/locale-defines.sym: New file.
51223 * string/test-strcasecmp.c: New file.
51225 * string/test-strcasestr.c: Test both ends of the range of characters.
51226 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51228 2010-07-29 Roland McGrath <roland@redhat.com>
51231 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51233 2010-07-27 Ulrich Drepper <drepper@redhat.com>
51235 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51238 2010-07-27 Andreas Schwab <schwab@redhat.com>
51240 * manual/memory.texi (Malloc Tunable Parameters): Document
51243 2010-07-26 Roland McGrath <roland@redhat.com>
51246 * configure.in (-fgnu89-inline check): Set and substitute
51247 gnu89_inline, not libc_cv_gnu89_inline.
51248 * configure: Regenerated.
51249 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51251 2010-07-26 Ulrich Drepper <drepper@redhat.com>
51253 * string/test-strnlen.c: New file.
51254 * string/Makefile (strop-tests): Add strnlen.
51255 * string/tester.c (test_strnlen): Add a few more test cases.
51256 * string/tst-strlen.c: Better error reporting.
51258 * sysdeps/x86_64/strnlen.S: New file.
51260 2010-07-24 Ulrich Drepper <drepper@redhat.com>
51262 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51263 lower-latency instructions.
51265 2010-07-23 Ulrich Drepper <drepper@redhat.com>
51267 * string/test-strcasestr.c: New file.
51268 * string/test-strstr.c: New file.
51269 * string/Makefile (strop-tests): Add strstr and strcasestr.
51270 * string/str-two-way.h: Don't undefine MAX.
51271 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51273 2010-07-21 Andreas Schwab <schwab@redhat.com>
51275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51276 strcasestr-nonascii.
51277 (CFLAGS-strcasestr-nonascii.c): Define.
51278 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51279 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51280 Remove unused attribute.
51282 2010-07-20 Roland McGrath <roland@redhat.com>
51284 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51285 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51286 ld.so.cache was broken. With it, there is no way to disable dsocaps
51287 like LD_HWCAP_MASK can disable hwcaps.
51289 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51291 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51293 2010-07-16 Ulrich Drepper <drepper@redhat.com>
51295 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51296 call in strcasestr.
51297 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51298 __strcasestr_sse42_nonascii.
51299 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51300 strcasestr-nonascii.c.
51301 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51303 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
51305 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51306 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51307 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51308 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51310 2010-07-09 Ulrich Drepper <drepper@redhat.com>
51312 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51315 2010-07-06 Andreas Schwab <schwab@redhat.com>
51318 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51321 2010-07-06 Ulrich Drepper <drepper@redhat.com>
51323 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51324 _PC_PIPE_BUF using F_GETPIPE_SZ.
51326 2010-07-05 Roland McGrath <roland@redhat.com>
51328 * manual/arith.texi (Rounding Functions): Fix rint description
51329 implicit in round description.
51331 2010-07-02 Ulrich Drepper <drepper@redhat.com>
51333 * elf/Makefile: Fix linking for a few tests to make recent linker
51336 2010-06-30 Andreas Schwab <schwab@redhat.com>
51338 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51339 $(common-objpfx)libc_nonshared.a.
51341 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
51343 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51344 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51345 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51346 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51347 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51348 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51349 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51350 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51365 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51366 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51367 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51368 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51369 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51370 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51371 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51372 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51373 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51374 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51375 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51376 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51392 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51394 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51395 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51396 * string/memmove.c (memmove): Renamed to ...
51397 (MEMMOVE): ...this. Default to memmove.
51398 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51399 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51402 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51403 mempcpy-ssse3-back memmove-ssse3-back.
51404 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51405 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51406 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51407 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51408 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51409 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51410 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51411 * sysdeps/x86_64/multiarch/memmove.c: New file.
51412 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51413 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51414 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51415 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51416 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51417 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51419 (index_Fast_Copy_Backward): Define.
51420 (HAS_ARCH_FEATURE): Define.
51421 (HAS_FAST_REP_STRING): Define.
51422 (HAS_FAST_COPY_BACKWARD): Define.
51424 2010-06-21 Andreas Schwab <schwab@redhat.com>
51426 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51427 Restore proper fallback handling.
51429 2010-06-19 Ulrich Drepper <drepper@redhat.com>
51432 * posix/group_member.c (__group_member): Correct checking loop.
51434 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51435 OOM in getpwuid_r correctly. Return error number when the caller
51436 should return, otherwise -1.
51437 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51438 call returning > 0 value.
51439 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51441 2010-06-07 Andreas Schwab <schwab@redhat.com>
51443 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51444 libc_nonshared.a from targets in modules-names.
51446 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51448 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51451 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
51453 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51454 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51455 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51456 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51458 2010-06-02 Andreas Schwab <schwab@redhat.com>
51460 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51462 2010-06-14 Ulrich Drepper <drepper@redhat.com>
51464 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51466 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51467 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51470 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51471 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51473 2010-06-14 Roland McGrath <roland@redhat.com>
51475 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51477 2010-06-07 Jakub Jelinek <jakub@redhat.com>
51479 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51480 __REDIRECT followed by __THROW.
51481 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51482 * posix/getopt.h (getopt): Likewise.
51484 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51486 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51487 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51488 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51490 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51491 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51493 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
51495 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51497 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51501 Properly check family and model.
51503 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51505 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51507 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
51509 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51511 2010-05-21 Ulrich Drepper <drepper@redhat.com>
51513 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51516 2010-05-19 Andreas Schwab <schwab@redhat.com>
51518 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51521 2010-05-21 Andreas Schwab <schwab@redhat.com>
51523 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51524 and internal_recvmmsg.
51525 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51526 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51527 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51528 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51530 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51531 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51532 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51534 2010-05-20 Andreas Schwab <schwab@redhat.com>
51536 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51538 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
51540 POWER7 optimizations.
51541 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51542 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51544 2010-05-19 Ulrich Drepper <drepper@redhat.com>
51546 * version.h: Update for 2.13 development version.
51548 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
51550 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51551 exceptions. Return 0.
51553 2010-05-07 Roland McGrath <roland@redhat.com>
51555 * elf/ldconfig.c (main): Add a const.
51557 2010-05-06 Ulrich Drepper <drepper@redhat.com>
51559 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51560 (args_options): Add no-idn option.
51561 (ahosts_keys_int): Add idn_flags to ai_flags.
51562 (parse_option): Handle 'i' option to clear idn_flags.
51564 * malloc/malloc.c (_int_free): Possible race in the most recently
51565 added check. Only act on the data if no current modification
51568 See ChangeLog.17 for earlier changes.