1 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3 * include/sys/uio.h (__libc_readv): Remove declaration.
4 (__libc_writev): Likewise.
5 * misc/readv.c (__libc_readv): Rename to __readv.
6 (__readv): Do not define as alias.
7 (readv): Define as alias of __readv.
8 * misc/writev.c (__libc_writev): Rename to __writev.
9 (__writev): Do not define as alias.
10 (writev): Define as alias of __writev.
11 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12 (__readv): Do not define as alias.
13 (readv): Define unconditionally as alias of __readv.
14 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15 (__writev): Do not define as alias.
16 (writev): Define unconditionally as alias of __writev.
17 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19 (writev): Do not define __libc_writev name.
21 2014-10-30 Roland McGrath <roland@hack.frob.com>
23 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24 (convert_charseq): New function, broken out of ...
25 (use_from_charmap): ... here. Call it.
26 (use_to_charmap): Use convert_charseq and free instead of duplicating
27 its code with a variable-length stack struct.
29 2014-10-30 Joseph Myers <joseph@codesourcery.com>
31 * include/fcntl.h (__libc_creat): Remove declaration.
32 * io/creat.c (__libc_creat): Rename to creat.
33 (creat): Do not define as alias.
34 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
35 of creat instead of __libc_creat.
36 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38 (creat): Do not define as alias.
39 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
41 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
43 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
46 2014-10-29 Carlos O'Donell <carlos@redhat.com>
48 * manual/llio.texi: Add comments discussing why write() may be
49 considered MT-unsafe on Linux.
51 2014-10-28 Carlos O'Donell <carlos@redhat.com>
53 * dl-load.c (local_strdup): Remove.
54 (expand_dynamic_string_token): Use __strdup.
55 (decompose_rpath): Likewise.
56 (_dl_map_object): Likewise.
58 2014-10-28 Joseph Myers <joseph@codesourcery.com>
61 * sysdeps/generic/unwind-dw2-fde.c
62 (__register_frame_info_bases_internal): Do not declare.
63 (__register_frame_info_table_bases_internal): Likewise.
64 (__deregister_frame_info_bases_internal): Likewise.
65 (__register_frame_info_bases): Declare and use hidden_proto before
66 definition. Use hidden_def instead of INTDEF.
67 (__register_frame_info_table_bases): Likewise.
68 (__deregister_frame_info_bases): Likewise.
69 (__register_frame_info): Do not use INTUSE.
70 (__register_frame): Likewise.
71 (__register_frame_info_table): Likewise.
72 (__register_frame_table): Likewise.
73 (__deregister_frame_info): Likewise.
74 (__deregister_frame): Likewise.
76 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
78 * sysdeps/unix/sysv/linux/arm/kernel-features.h
79 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
81 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
83 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
86 2014-10-27 Joseph Myers <joseph@codesourcery.com>
89 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
90 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
91 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
92 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
93 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
94 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
95 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
96 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
97 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
98 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
99 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
100 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
101 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
103 (setfsuid): Likewise.
104 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
105 (setfsuid): Likewise.
106 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
107 (setfsuid): Likewise.
108 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
110 (setfsuid): Likewise.
111 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
112 (setfsuid): Likewise.
113 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
115 (setfsuid): Likewise.
117 2014-10-27 Andreas Schwab <schwab@suse.de>
120 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
121 check for Slow_SSE4_2 feature bit.
122 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
123 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
124 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
125 Likewise. Fix check for Fast_Unaligned_Load feature bit.
127 2014-10-24 Roland McGrath <roland@hack.frob.com>
129 * configure.ac: Validate compiler version with a empirical test of
130 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
132 * configure: Regenerated.
134 * inet/htons.c (htons): Prototypify.
135 * inet/htonl.c (htonl): Likewise.
137 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
139 * string/strncat.c (strncat): Improve performance by using strlen.
141 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
143 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
145 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
147 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
148 Call libc_fetestexcept_aarch64.
150 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
152 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
153 Call libc_feholdexcept_aarch64.
155 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
157 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
158 Call get_rounding_mode.
160 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
162 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
165 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
167 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
170 2014-10-24 Joseph Myers <joseph@codesourcery.com>
173 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
174 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
175 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
176 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
177 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
178 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
179 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
180 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
181 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
182 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
183 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
184 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
185 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
186 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
187 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
188 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
189 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
190 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
191 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
192 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
193 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
194 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
195 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
196 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
197 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
198 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
199 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
200 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
201 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
202 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
203 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
204 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
205 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
206 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
207 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
208 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
209 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
210 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
211 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
212 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
213 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
218 (getresgid): Likewise.
219 (getresuid): Likewise.
220 (getgroups): Likewise.
221 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
225 (getresgid): Likewise.
226 (getresuid): Likewise.
227 (getgroups): Likewise.
228 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
232 (getresgid): Likewise.
233 (getresuid): Likewise.
234 (getgroups): Likewise.
235 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
240 (getresgid): Likewise.
241 (getresuid): Likewise.
242 (getgroups): Likewise.
243 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
247 (getresgid): Likewise.
248 (getresuid): Likewise.
249 (getgroups): Likewise.
250 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
255 (getgroups): Likewise.
258 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
259 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
260 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
261 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
262 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
263 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
264 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
265 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
266 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
267 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
268 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
269 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
270 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
272 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
275 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
279 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
282 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
287 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
289 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
292 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
294 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
297 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
299 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
300 Remove unused include.
302 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
304 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
305 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
306 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
307 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
309 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
310 Helge Deller <deller@gmx.de>
313 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
314 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
315 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
317 2014-10-23 Joseph Myers <joseph@codesourcery.com>
320 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
321 Remove macro definition.
322 (__ashrdi3_v_glibc20): Likewise.
323 (__lshrdi3_v_glibc20): Likewise.
324 (__cmpdi2_v_glibc20): Likewise.
325 (__ucmpdi2_v_glibc20): Likewise.
326 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
327 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
328 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
329 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
330 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
331 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
333 2014-10-22 Roland McGrath <roland@hack.frob.com>
335 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
336 old GNU extension [0] syntax.
337 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
338 alloca rather than an array member with variable length.
339 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
340 * nscd/nscd.c (invalidate_db): New function, broken out of ...
341 (parse_opt): ... here. Likewise use alloca there.
342 Validate the -i argument before checking for rootness.
343 (send_shutdown): New function, broken out of ...
344 (parse_opt): ... here.
346 2014-10-22 Roland McGrath <roland@hack.frob.com>
348 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
349 macro to get at the _rt_local_ro field.
350 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
351 ([PIC] case) or _dl_hwcap ([!PIC] case).
352 * sysdeps/arm/setjmp.S: Likewise.
354 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
355 * sysdeps/arm/configure.ac: New check to define it.
356 * sysdeps/arm/configure: Regenerated.
357 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
358 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
359 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
360 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
361 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
362 Use move/movt pair instead of a load.
363 (LDST_GLOBAL): Macro removed.
364 (LDR_GLOBAL): New macro replaces it.
365 (LDR_HIDDEN): New macro.
366 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
367 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
369 * setjmp/tst-setjmp-static.c: New file.
370 * setjmp/Makefile (tests): Add it.
371 (tests-static): New variable.
373 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
376 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
378 2014-10-21 Joseph Myers <joseph@codesourcery.com>
381 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
383 2014-10-21 Roland McGrath <roland@hack.frob.com>
385 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
387 2014-10-20 Roland McGrath <roland@hack.frob.com>
389 * io/fts.c (dirent_not_directory): New function.
390 (fts_build): Call it.
392 2014-10-20 Roland McGrath <roland@hack.frob.com>
394 * nptl/version.c (__nptl_main): Use normal __write rather than
396 (banner): Update copyright years.
398 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
400 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
401 * nptl/pthread_cond_timedwait.c: Likewise.
402 * nptl/pthread_mutex_timedlock.c: Likewise.
403 * nptl/sem_timedwait.c: Likewise.
405 * sysdeps/nptl/bits/libc-lock.h
406 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
407 (__libc_lock_init_recursive): Return void, not 0.
408 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
409 (__libc_rwlock_init): Likewise.
410 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
412 2014-10-20 Torvald Riegel <triegel@redhat.com>
415 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
416 (__pthread_once_slow): ... here.
417 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
418 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
420 2014-10-20 Torvald Riegel <triegel@redhat.com>
423 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
424 __PTHREAD_ONCE_FORK_GEN_INCR): New.
425 * sysdeps/nptl/fork.c (__libc_fork): Use them.
426 * nptl/pthread_once.c (__pthread_once): Likewise.
429 2014-10-20 Joseph Myers <joseph@codesourcery.com>
432 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
434 (writev): Use __libc_writev as strong name.
435 * sysdeps/unix/sysv/linux/readv.c: Remove file.
436 * sysdeps/unix/sysv/linux/writev.c: Likewise.
438 2014-10-17 Roland McGrath <roland@hack.frob.com>
440 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
442 * sysdeps/i386/nptl/tls.h
443 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
444 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
446 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
447 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
448 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
449 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
450 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
451 Call CHECK_THREAD_SYSINFO instead of doing an assert.
453 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
454 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
456 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
458 (__pthread_mutex_init): ... here. Call it.
459 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
460 Conditionalize PI cases on [__NR_futex].
461 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
462 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
463 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
465 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
466 conditional on [SIGSETXID].
467 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
468 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
469 is defined. Likewise for SIGSETXID.
470 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
471 Conditionalize definitions on [SIGSETXID].
472 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
473 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
474 unblocking on [SIGCANCEL].
476 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
477 [__NR_set_robust_list].
479 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
481 * string/strcoll_l.c (get_next_seq): Fix up formatting.
482 (do_compare): Likewise.
484 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
487 * string/strcoll_l.c: Don't include stdio.h.
488 (coll_seq): Remove members idxarr and rulearr.
489 (get_next_seq_cached): Remove function.
490 (get_next_seq): Likewise.
491 (get_next_seq_nocache): Rename to get_next_seq.
492 (do_compare): Remove function.
493 (do_compare_nocache): Rename to do_compare.
494 (STRCOLL): Remove weight and rules cache.
496 2014-10-16 Roland McGrath <roland@hack.frob.com>
498 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
499 * sysdeps/arm/sfp-machine.h: ... to here.
500 * sysdeps/arm/Implies: Remove arm/soft-fp.
502 2014-10-14 Joseph Myers <joseph@codesourcery.com>
504 * conform/data/sys/utsname.h-data (*_t): Allow.
505 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
506 [POSIX] (WEXITED): Do not expect constant.
507 [POSIX] (WSTOPPED): Likewise.
508 [POSIX] (WNOHANG): Likewise.
509 [POSIX] (WNOWAIT): Likewise.
510 [POSIX] (siginfo_t): Do not expect type or elements.
511 [POSIX] (pid_t): Do not expect type.
512 [POSIX] (signal.h): Do not allow header.
513 [POSIX] (sys/resource.h): Likewise.
514 [POSIX] (si_*): Do not allow pattern.
515 [POSIX] (W*): Likewise.
516 [POSIX] (P_*): Likewise.
517 [POSIX] (BUS_*): Likewise.
518 [POSIX] (CLD_*): Likewise.
519 [POSIX] (FPE_*): Likewise.
520 [POSIX] (ILL_*): Likewise.
521 [POSIX] (POLL_*): Likewise.
522 [POSIX] (SEGV_*): Likewise.
523 [POSIX] (SI_*): Likewise.
524 [POSIX] (TRAP_*): Likewise.
525 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
528 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
531 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
532 infinite loop when __recvmsg returns 0.
534 2014-10-10 Joseph Myers <joseph@codesourcery.com>
536 * CANCEL-FCT-WAIVE: Remove file.
537 * CANCEL-FILE-WAIVE: Likewise.
540 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
541 instead of INTVARDEF.
542 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
543 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
544 rtld_hidden_data_def instead of INTVARDEF.
545 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
546 * elf/dl-deps.c (expand_dst): Likewise.
547 * elf/dl-load.c (_dl_dst_count): Likewise.
548 (_dl_dst_substitute): Likewise.
549 (decompose_rpath): Likewise.
550 (_dl_init_paths): Likewise.
551 (open_path): Likewise.
552 (_dl_map_object): Likewise.
553 * elf/rtld.c (dl_main): Likewise.
554 (process_dl_audit): Likewise.
555 (process_envvars): Likewise.
556 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
558 (__libc_enable_secure): Use rtld_hidden_proto.
560 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
563 (add_path): New function broken out of _dl_rtld_di_serinfo.
564 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
566 2014-10-09 Joseph Myers <joseph@codesourcery.com>
568 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
569 parentheses around macro arguments.
570 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
571 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
572 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
573 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
574 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
575 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
576 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
577 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
578 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
579 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
580 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
581 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
582 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
583 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
584 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
585 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
586 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
587 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
588 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
589 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
590 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
591 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
592 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
593 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
594 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
595 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
596 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
597 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
598 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
599 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
600 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
601 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
602 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
603 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
604 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
605 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
607 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
608 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
609 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
610 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
611 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
612 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
613 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
614 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
615 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
616 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
617 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
618 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
619 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
620 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
621 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
622 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
623 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
624 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
625 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
626 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
627 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
628 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
629 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
630 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
631 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
632 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
633 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
634 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
635 (_FP_FRAC_SRS_1): Likewise.
636 (_FP_FRAC_CLZ_1): Likewise.
637 (_FP_MUL_MEAT_1_imm): Likewise.
638 (_FP_MUL_MEAT_1_wide): Likewise.
639 (_FP_MUL_MEAT_1_hard): Likewise.
640 (_FP_SQRT_MEAT_1): Likewise.
641 (_FP_FRAC_ASSEMBLE_1): Likewise.
642 (_FP_FRAC_DISASSEMBLE_1): Likewise.
643 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
644 (__FP_CLZ_2): Likewise.
645 (_FP_MUL_MEAT_2_wide): Likewise.
646 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
647 (_FP_MUL_MEAT_2_gmp): Likewise.
648 (_FP_MUL_MEAT_2_120_240_double): Likewise.
649 (_FP_SQRT_MEAT_2): Likewise.
650 (_FP_FRAC_ASSEMBLE_2): Likewise.
651 (_FP_FRAC_DISASSEMBLE_2): Likewise.
652 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
653 (_FP_FRAC_CLZ_4): Likewise.
654 (_FP_MUL_MEAT_4_wide): Likewise.
655 (_FP_MUL_MEAT_4_gmp): Likewise.
656 (_FP_SQRT_MEAT_4): Likewise.
657 (_FP_FRAC_ASSEMBLE_4): Likewise.
658 (_FP_FRAC_DISASSEMBLE_4): Likewise.
659 * soft-fp/op-common.h (_FP_CMP): Likewise.
660 (_FP_CMP_EQ): Likewise.
661 (_FP_CMP_UNORD): Likewise.
662 (_FP_TO_INT): Likewise.
663 (_FP_FROM_INT): Likewise.
664 [!__FP_CLZ] (__FP_CLZ): Likewise.
665 (_FP_DIV_HELP_imm): Likewise.
666 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
668 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
669 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
670 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
671 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
672 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
673 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
674 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
675 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
676 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
677 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
678 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
679 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
680 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
681 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
682 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
683 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
684 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
685 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
686 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
687 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
688 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
689 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
690 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
691 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
692 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
693 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
694 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
695 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
696 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
697 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
698 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
699 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
700 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
701 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
702 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
703 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
704 (FP_UNPACK_RAW_SP): Likewise.
705 (FP_PACK_RAW_S): Likewise.
706 (FP_PACK_RAW_SP): Likewise.
707 (FP_UNPACK_S): Likewise.
708 (FP_UNPACK_SP): Likewise.
709 (FP_UNPACK_SEMIRAW_S): Likewise.
710 (FP_UNPACK_SEMIRAW_SP): Likewise.
711 (FP_PACK_S): Likewise.
712 (FP_PACK_SP): Likewise.
713 (FP_PACK_SEMIRAW_S): Likewise.
714 (FP_PACK_SEMIRAW_SP): Likewise.
715 (_FP_SQRT_MEAT_S): Likewise.
716 (FP_CMP_S): Likewise.
717 (FP_CMP_EQ_S): Likewise.
718 (FP_CMP_UNORD_S): Likewise.
719 (FP_TO_INT_S): Likewise.
720 (FP_FROM_INT_S): Likewise.
722 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
724 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
725 (FP_EX_INVALID_IMZ): Likewise.
726 (FP_EX_INVALID_IMZ_FMA): Likewise.
727 (FP_EX_INVALID_ISI): Likewise.
728 (FP_EX_INVALID_ZDZ): Likewise.
729 (FP_EX_INVALID_IDI): Likewise.
730 (FP_EX_INVALID_SQRT): Likewise.
731 (FP_EX_INVALID_CVI): Likewise.
732 (FP_EX_INVALID_VC): Likewise.
733 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
734 "invalid" exceptions.
735 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
736 (_FP_ADD_INTERNAL): Likewise.
740 (_FP_CMP_CHECK_NAN): Likewise.
741 (_FP_SQRT): Likewise.
742 (_FP_TO_INT): Likewise.
743 (FP_EXTEND): Likewise.
745 2014-10-09 Allan McRae <allan@archlinux.org>
747 * po/fr.po: Update French translation from translation project.
749 2014-10-09 Joseph Myers <joseph@codesourcery.com>
752 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
754 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
755 (__cxa_atexit): Use libc_hidden_proto.
756 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
759 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
761 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
762 [!_ISOMAC] (__iswspace_l_internal): Likewise.
763 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
764 [!_ISOMAC] (__iswctype_internal): Likewise.
765 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
766 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
768 (fcntl): Remove __fcntl_internal alias.
769 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
770 __connect_internal alias.
771 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
774 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
775 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
777 (_FP_CHECK_FLUSH_ZERO): New macro.
778 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
780 (_FP_CMP_EQ): Likewise.
781 (_FP_TO_INT): Do not set inexact for subnormal arguments if
783 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
784 (FP_TRUNC): Likewise.
786 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
787 treated as invalid conversion, not as normal exponent.
789 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
790 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
791 (_FP_CMP_EQ): Likewise.
792 (_FP_CMP_UNORD): Likewise.
793 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
794 (FP_CMP_EQ_D): Likewise.
795 (FP_CMP_UNORD_D): Likewise.
796 * soft-fp/extended.h (FP_CMP_E): Likewise.
797 (FP_CMP_EQ_E): Likewise.
798 (FP_CMP_UNORD_E): Likewise.
799 * soft-fp/quad.h (FP_CMP_Q): Likewise.
800 (FP_CMP_EQ_Q): Likewise.
801 (FP_CMP_UNORD_Q): Likewise.
802 * soft-fp/single.h (FP_CMP_S): Likewise.
803 (FP_CMP_EQ_S): Likewise.
804 (FP_CMP_UNORD_S): Likewise.
805 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
806 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
807 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
808 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
809 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
810 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
811 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
812 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
813 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
814 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
815 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
816 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
817 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
819 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
821 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
822 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
824 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
826 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
827 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
828 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
829 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
831 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
833 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
834 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
836 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
838 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
839 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
840 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
841 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
844 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
845 a subnormal result, set the underflow exception if trapping on
846 underflow is enabled.
847 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
848 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
849 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
851 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
852 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
853 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
854 * soft-fp/extendxftf2.c (__extendxftf2): Use
855 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
857 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
858 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
859 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
860 FP_HANDLE_EXCEPTIONS.
861 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
862 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
863 FP_HANDLE_EXCEPTIONS.
864 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
865 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
866 FP_HANDLE_EXCEPTIONS.
867 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
868 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
869 FP_HANDLE_EXCEPTIONS.
871 2014-10-08 Joseph Myers <joseph@codesourcery.com>
874 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
875 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
877 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
878 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
880 (__adjtimex): Define using libc_hidden_ver.
881 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
883 (ntp_gettime): Call __adjtimex directly.
884 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
886 (ntp_gettimex): Call __adjtimex directly.
887 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
888 __adjtimex_internal alias.
890 2014-10-08 Roland McGrath <roland@hack.frob.com>
893 * nscd/nscd.c (more_help): Rewrite list of tables collection
894 using xstrdup and asprintf.
896 * nscd/nscd_conf.c: Remove local xstrdup declaration.
898 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
899 Roland McGrath <roland@hack.frob.com>
901 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
902 (do_lookup_unique): ... local function 'enter' here; update callers.
904 2014-10-06 Joseph Myers <joseph@codesourcery.com>
906 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
907 compat_symbol calls on [SHARED].
908 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
909 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
911 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
912 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
913 (oldsetrlimit): Remove.
914 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
916 (lchown): New syscall entry.
917 (oldsetrlimit): Remove.
918 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
919 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
920 (oldsetrlimit): Remove.
921 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
924 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
925 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
926 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
927 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
928 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
929 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
931 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
936 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
938 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
939 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
940 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
941 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
942 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
944 (__old_sem_post): Likewise.
946 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
948 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
949 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
950 HAVE_CLOCK_GETTIME_VSYSCALL macros.
951 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
952 Use INLINE_VSYSCALL macro.
953 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
954 __vdso_clock_gettime.
955 * sysdeps/unix/sysv/linux/tile/init-first.c
956 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
957 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
958 __vdso_clock_gettime.
960 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
961 to set up frame more cleanly.
963 * sysdeps/tile/memcmp.c: New file.
965 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
967 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
968 * sysdeps/tile/tilegx/strcasestr.c: New file.
969 * sysdeps/tile/tilegx/strnlen.c: New file.
970 * sysdeps/tile/tilegx/strstr.c: New file.
972 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
974 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
976 * nptl/tst-setuid3.c: Write errors to stdout.
978 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
981 (preload): New functions broken out of _dl_map_object_deps.
982 (_dl_map_object_deps): Remove a nested function. Update call sites.
984 2014-10-01 Joseph Myers <joseph@codesourcery.com>
987 * sysdeps/unix/sysv/linux/execve.c: Remove file.
988 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
990 2014-10-01 Steve Ellcey <sellcey@mips.com>
992 * sysdeps/mips/strcmp.S: New.
994 2014-09-30 Joseph Myers <joseph@codesourcery.com>
997 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1000 (readlinkat): Likewise.
1001 (renameat): Likewise.
1002 (symlinkat): Likewise.
1003 (unlinkat): Likewise.
1004 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1005 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1006 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1007 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1008 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1009 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1010 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1012 2014-09-30 Will Newton <will.newton@linaro.org>
1014 * math/math.h: Define long double math functions if
1015 _LIBC_TEST is defined.
1016 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1018 * localedata/Makefile: Move assignment to tests-special
1019 into an ifdef testing run-built-tests.
1020 * timezone/Makefile: Likewise.
1022 2014-09-29 Joseph Myers <joseph@codesourcery.com>
1024 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1025 with $(BASH) not $(SHELL).
1027 2014-09-29 Carlos O'Donell <carlos@redhat.com>
1028 Matthew LeGendre <legendre1@llnl.gov>
1031 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1034 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1036 * stdio-common/printf_fp.c
1037 (hack_digit): New function, broken out of ...
1038 (__printf_fp): ... local function here. Update call sites.
1039 hack_digit now takes an additional parameter that is a pointer
1040 to a struct of the referenced locals. Those locals moved inside
1041 the struct and references updated.
1043 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1045 * aclocal.m4: Require autoconf 2.69.
1046 * configure: Regenerated.
1047 * sysdeps/aarch64/configure: Likewise.
1048 * sysdeps/alpha/configure: Likewise.
1049 * sysdeps/arm/armv7/configure: Likewise.
1050 * sysdeps/arm/configure: Likewise.
1051 * sysdeps/ia64/configure: Likewise.
1052 * sysdeps/mach/configure: Likewise.
1053 * sysdeps/mips/configure: Likewise.
1054 * sysdeps/s390/configure: Likewise.
1055 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1058 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1060 * sysdeps/ia64/configure.ac: Likewise.
1062 2014-09-26 Joseph Myers <joseph@codesourcery.com>
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1065 specify symbol version for ld.so. Do not include entry for
1067 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1068 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1069 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1072 * Makeconfig [$(build-shared) = yes]
1073 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1075 [$(build-shared) = yes && $(soversions.mk-done) = t]
1076 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1077 [$(build-shared) = yes && $(soversions.mk-done) = t]
1078 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1080 [$(build-shared) = yes && $(soversions.mk-done) = t]
1081 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1083 [$(build-shared) = yes && $(soversions.mk-done) = t]
1084 (common-generated): Don't append gnu/lib-names.h and
1085 gnu/lib-names.stmp here.
1086 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1087 (lib-names-h-abi): New variable.
1088 [$(build-shared) = yes && $(soversions.mk-done) = t]
1089 (lib-names-stmp-abi): Likewise.
1090 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1091 abi-variants] (before-compile): Append
1092 $(common-objpfx)$(lib-names-h-abi).
1093 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1094 abi-variants] (common-generated): Append gnu/lib-names.h.
1095 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1096 abi-variants] (install-others-nosubdir): Depend on
1097 $(inst_includedir)/$(lib-names-h-abi).
1098 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1099 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1100 [$(build-shared) = yes && $(soversions.mk-done) = t]
1101 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1102 [$(build-shared) = yes && $(soversions.mk-done) = t]
1103 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1104 [$(build-shared) = yes && $(soversions.mk-done) = t]
1105 (common-generated): Append $(lib-names-h-abi) and
1106 $(lib-names-stmp-abi).
1107 * scripts/lib-names.awk: Do not handle multi being set.
1108 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1110 (abi-lp64_be-ld-soname): Likewise.
1111 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1113 (abi-hard-ld-soname): Likewise.
1114 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1115 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1117 (abi-o32_hard-ld-soname): Likewise.
1118 (abi-o32_soft_2008-ld-soname): Likewise.
1119 (abi-o32_hard_2008-ld-soname): Likewise.
1120 (abi-n32_soft-ld-soname): Likewise.
1121 (abi-n32_hard-ld-soname): Likewise.
1122 (abi-n32_soft_2008-ld-soname): Likewise.
1123 (abi-n32_hard_2008-ld-soname): Likewise.
1124 (abi-n64_soft-ld-soname): Likewise.
1125 (abi-n64_hard-ld-soname): Likewise.
1126 (abi-n64_soft_2008-ld-soname): Likewise.
1127 (abi-n64_hard_2008-ld-soname): Likewise.
1128 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1130 (abi-64-v2-ld-soname): Likewise.
1131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1133 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1135 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1137 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1139 (abi-64-ld-soname): Likewise.
1140 (abi-x32-ld-soname): Likewise.
1141 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1143 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1145 2014-09-23 Joseph Myers <joseph@codesourcery.com>
1148 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1149 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1150 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1151 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1152 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1153 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1154 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1155 syscall entry for GLIBC_2.2 symbol version.
1156 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1159 (setrlimit): Likewise.
1160 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1163 2014-09-23 Will Newton <will.newton@linaro.org>
1165 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1166 _LINUX_ARM_SYSDEP_H include guard too.
1167 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1170 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1172 * sysdeps/unix/sysv/linux/eventfd.c:
1173 Make first argument unsigned.
1174 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1175 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1177 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
1179 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1180 * socket/sys/socket.h: Likewise
1181 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1183 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1185 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1187 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
1189 * time/tst-ftime.c: New test.
1190 * time/Makefile (tests): Add tst-ftime.
1192 2014-09-17 Joseph Myers <joseph@codesourcery.com>
1194 * soft-fp/extended.h: Fix comment formatting.
1195 * soft-fp/op-1.h: Likewise.
1196 * soft-fp/op-2.h: Likewise.
1197 * soft-fp/op-4.h: Likewise.
1198 * soft-fp/op-8.h: Likewise.
1199 * soft-fp/op-common.h: Likewise.
1200 * soft-fp/soft-fp.h: Likewise.
1202 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1204 2014-09-16 Joseph Myers <joseph@codesourcery.com>
1207 * Makeconfig (soversions-default-setname): Remove variable.
1208 ($(common-objpfx)soversions.i): Don't pass default_setname to
1210 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1211 oldest_abi to abi-versions.awk.
1212 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1213 * config.make.in (oldest-abi): Remove variable.
1214 * configure.ac (--enable-oldest-abi): Remove configure option.
1215 * configure: Regenerated.
1216 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1218 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1219 * scripts/soversions.awk: Do not handle default_setname variable.
1220 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1222 * sysdeps/mach/hurd/configure: Regenerated.
1223 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1225 * sysdeps/unix/sysv/linux/configure: Regenerated.
1227 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1229 * elf/Makefile (CFLAGS-interp.c): Remove.
1230 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1232 * elf/interp.c: Include generated runtime-linker.h
1234 * Makerules (lib%.so): Don't include $(+interp) in
1236 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1237 * dlfcn/eval.c: Remove file.
1239 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1243 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1247 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1249 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1250 Jakub Jelinek <jakub@redhat.com>
1253 * libio/stdio.h: Check definition of __fortify_function
1254 instead of __extern_always_inline to include bits/stdio2.h.
1255 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1256 check if __extern_always_inline is defined.
1257 [__USE_MISC || __USE_XOPEN]: Likewise.
1258 [__USE_ISOC99] Likewise.
1259 * misc/sys/cdefs.h (__fortify_function): Define only if
1260 __extern_always_inline is defined.
1261 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1262 __extern_always_inline and __extern_inline only for g++-4.3
1263 and newer or a compatible gcc.
1265 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1268 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1269 last change to handle zero prefix length.
1271 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1273 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1276 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1279 2014-09-13 Allan McRae <allan@archlinux.org>
1281 * po/ru.po: Update Russian translation from translation project.
1283 2014-09-12 Roland McGrath <roland@hack.frob.com>
1285 * locale/programs/locale.c (show_locale_vars): Inline local function
1286 into its sole call site. Clean up some style nits.
1287 (print_item): New function, broken out of ...
1288 (show_info): ... local function here. Clean up style nits.
1290 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1292 (set_class_defaults): ... local function set_default here.
1293 Define set_default as a macro locally to pass constant parameters.
1294 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1295 rather than a shared local.
1297 * stdlib/rpmatch.c (try): New function, broken out of ...
1298 (rpmatch): ... local function here. Also, prototypify definition.
1300 2014-09-12 Joseph Myers <joseph@codesourcery.com>
1302 * scripts/soversions.awk: Do not handle configuration names.
1303 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1304 vendor and os variables to soversions.awk.
1305 * configure.ac: Do not modify gnu-* host_os.
1306 * configure: Regenerated
1307 * shlib-versions: Remove first column with configuration names.
1308 * nptl/shlib-versions: Likewise.
1309 * nptl_db/shlib-versions: Likewise.
1310 * sysdeps/hppa/shlib-versions: Likewise.
1311 * sysdeps/m68k/shlib-versions: Likewise.
1312 * sysdeps/mach/hurd/shlib-versions: Likewise.
1313 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1314 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1315 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1316 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1317 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1318 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1319 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1320 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1323 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1324 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1325 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1326 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1327 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1328 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1329 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1330 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1333 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1336 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1338 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1340 * shlib-versions: Remove OS-specific entries. Moved to files in
1342 * sysdeps/mach/hurd/shlib-versions: New file.
1343 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1345 * nptl/shlib-versions: Remove architecture-specific entries.
1346 Moved to files in sysdeps.
1347 * shlib-versions: Likewise.
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1350 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1351 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1352 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1353 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1355 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1356 (UDP_NO_CHECK6_RX): Likewise.
1358 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1360 * sysdeps/posix/sysconf.c (__sysconf): Spell
1361 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1363 2014-08-12 Florian Weimer <fweimer@redhat.com>
1365 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1367 * iconv/Versions (__gconv_transliterate): Export for use from
1369 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1370 (struct __gconv_trans_data, __gconv_trans_fct,
1371 __gconv_trans_context_fct, __gconv_trans_query_fct,
1372 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1374 (struct __gconv_step_data): Remove __trans member.
1375 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1376 longer hidden. Remove unused trans_data argument.
1377 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1378 (__gconv_translit_find): Remove declaration.
1379 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1381 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1382 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1383 trans_data argument. Add hidden definition.
1384 (__gconv_translit_find): Remove.
1385 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1386 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1387 * iconv/skeleton.c: Remove transliteration initialization.
1388 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1389 __gconv_step_data initialization.
1390 * libio/iofwide.c (__libio_translit_): Remove.
1391 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1392 * wcsmbs/btowc.c (__btowc): Likewise.
1393 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1394 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1395 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1396 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1397 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1398 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1399 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1400 * wcsmbs/wctob.c (wctob): Likewise.
1402 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1405 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1406 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1408 * sysdeps/x86/Makefile: Adjust.
1410 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1411 Roland McGrath <roland@hack.frob.com>
1413 * locale/weight.h: Add include guard.
1414 (findidx): Make static rather than auto; take new parameters
1415 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1416 * locale/weightwc.h: Likewise.
1417 * posix/fnmatch_loop.c
1418 (FCT): Change type of EXTRA from int32_t to wint_t.
1419 Don't include either header inside the function.
1420 Call FINDIDX rather than findidx, and pass new arguments.
1421 #undef FINDIDX at the end of the file.
1422 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1423 FINDIDX before including fnmatch_loop.c for the non-wide version.
1424 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1425 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1426 for the wide version.
1427 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1428 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1429 Pass new arguments to findidx.
1430 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1431 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1432 Don't #include it inside the function. Pass new arguments to findidx.
1433 * posix/regex_internal.h
1434 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1435 (re_string_elem_size_at): Don't #include it inside the function.
1436 Pass new arguments to findidx.
1437 * string/strcoll_l.c: #include WEIGHT_H at top level.
1438 (get_next_seq): Don't #include it inside the function.
1439 Pass new arguments to findidx.
1440 (get_next_seq_nocache): Likewise.
1441 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1442 (STRXFRM): Don't #include it inside the function.
1443 Pass new arguments to findidx.
1445 2014-09-11 Florian Weimer <fweimer@redhat.com>
1448 * malloc/malloc.c (unlink): Turn asserts into a call to
1451 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
1454 * libio/wfileops (do_ftell_wide): Free OUT.
1456 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1458 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1460 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1463 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1464 group if the current group is empty.
1466 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1468 * benchtests/bench-memset.c (test_main): Add more test from size
1469 from 32 to 512 bytes.
1470 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1471 Add POWER8 memset object.
1472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1473 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1474 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1476 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1478 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1479 multiarch POWER8 memset optimization.
1480 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1481 POWER8 memset optimization.
1483 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1484 Remove bzero multiarch objects.
1485 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1486 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1487 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1488 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1490 [__bzero]: Redefine to specific name.
1491 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1492 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1493 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1495 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1496 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1498 2014-09-10 Florian Weimer <fweimer@redhat.com>
1500 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1501 warnings into errors.
1503 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1504 __cxa_thread_atexit_impl prototype.
1506 2014-09-09 Steve Ellcey <sellcey@mips.com>
1508 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1509 Fix capitalization of error message.
1511 2014-09-09 Steve Ellcey <sellcey@mips.com>
1513 * sysdeps/mips/preconfigure: Modify ABI tests.
1515 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1517 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1519 2014-09-07 Roland McGrath <roland@hack.frob.com>
1520 Carlos O'Donell <carlos@systemhalted.org>
1522 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1523 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1524 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1525 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1526 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1527 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1528 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1529 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1530 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1531 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1532 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1533 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1534 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1535 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1536 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1537 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1538 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1539 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1540 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1541 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1542 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1543 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1544 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1545 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1546 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1547 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1548 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1549 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1550 Deconditionalize the code that was previously under [RESET_PID].
1551 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1552 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1553 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1554 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1557 2014-09-08 Allan McRae <allan@archlinux.org>
1559 * version.h (RELEASE): Set to "development".
1560 (VERSION): Set to "2.20.90"
1562 2014-09-07 Allan McRae <allan@archlinux.org
1564 * version.h (RELEASE): Set to "stable".
1565 (VERSION): Set to "2.20"
1566 * include/features.h (__GLIBC_MINOR__): Set to 20.
1568 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1571 * po/ko.po: Update Korean translation from translation project.
1573 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1576 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1577 macro for handling signed relocations.
1579 2014-09-03 Florian Weimer <fweimer@redhat.com>
1582 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1583 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1585 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1586 * iconvdata/ibm935.c (BODY): Likewise.
1587 * iconvdata/ibm937.c (BODY): Likewise.
1588 * iconvdata/ibm939.c (BODY): Likewise.
1589 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1591 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1593 * iconvdata/run-iconv-test.sh: New test loop for checking for
1596 2014-09-02 Khem Raj <raj.khem@gmail.com>
1598 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1601 2014-09-01 Allan McRae <allan@archlinux.org>
1603 * po/eo.po: Update Esperanto translation from translation project.
1605 * po/ca.po: Update Catalan translation from translation project.
1607 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1609 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1612 2014-08-27 Mark Wielaard <mjw@redhat.com>
1615 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1616 to call set_thread_area instead of hand written asm.
1617 (__NR_set_thread_area): Removed define.
1618 (TLS_FLAG_WRITABLE): Likewise.
1619 (__ASSUME_SET_THREAD_AREA): Remove check.
1620 (TLS_EBX_ARG): Remove define.
1621 (TLS_LOAD_EBX): Likewise.
1623 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1625 Simplify atomicity of socket creation in bind.
1627 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1628 looking up the name after linking the file.
1630 2014-08-27 Allan McRae <allan@archlinux.org>
1632 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1634 2014-08-26 Florian Weimer <fweimer@redhat.com>
1637 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1638 trans_compare, open_translit, __gconv_translit_find):
1639 Remove module loading code.
1641 2014-08-26 Allan McRae <allan@archlinux.org>
1643 * po/vi.po: Update Vietnamese translation from translation project.
1645 * po/uk.po: Update Ukrainian translation from translation project.
1647 * po/fr.po: Update French translation from translation project.
1649 * po/ru.po: Update Russian translation from translation project.
1651 * po/pl.po: Update Polish translation from translation project.
1653 * po/cs.po: Update Czech translation from translation project.
1655 * po/de.po: Update German translation from translation project.
1657 * po/bg.po: Update Bulgarian translation from translation project.
1659 * po/sv.po: Update Sweedish translation from translation project.
1661 * po/nl.po: Update Dutch translation from translation project.
1663 * po/es.po: Update Spanish translation from translation project.
1665 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1667 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1669 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1670 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1671 (CPPFLAGS-iconvconfig): Likewise.
1672 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1674 * include/libc-symbols.h: Remove unnecessary check for
1676 * nptl/pthreadP.h: Likewise.
1677 * sysdeps/aarch64/setjmp.S: Likewise.
1678 * sysdeps/alpha/setjmp.S: Likewise.
1679 * sysdeps/arm/sysdep.h: Likewise.
1680 * sysdeps/i386/setjmp.S: Likewise.
1681 * sysdeps/m68k/setjmp.c: Likewise.
1682 * sysdeps/posix/getcwd.c: Likewise.
1683 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1684 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1685 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1686 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1687 * sysdeps/sh/sh3/setjmp.S: Likewise.
1688 * sysdeps/sh/sh4/setjmp.S: Likewise.
1689 * sysdeps/unix/alpha/sysdep.h: Likewise.
1690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1691 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1692 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1693 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1696 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1697 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1698 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1699 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1701 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1703 * sysdeps/x86_64/setjmp.S: Likewise.
1705 2014-08-13 Joseph Myers <joseph@codesourcery.com>
1708 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1710 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1711 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1713 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1715 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1718 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1719 and __x86_64__ when disabling x87 inline functions.
1721 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1724 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1725 asm statement with __cpuid_count.
1727 2014-08-12 Mike Frysinger <vapier@gentoo.org>
1729 * configure.ac: Change __ehdr_start code to dereference the struct.
1730 Run readelf on the output to look for relocations.
1731 * configure: Regenerated.
1733 2014-08-12 Joseph Myers <joseph@codesourcery.com>
1736 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1738 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1740 2014-08-12 Roland McGrath <roland@hack.frob.com>
1742 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1744 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1747 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1748 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1750 2014-08-12 Sean Anderson <seanga2@gmail.com>
1752 * malloc/malloc.c: Fix typo in comment.
1754 2014-08-09 Allan McRae <allan@archlinux.org>
1756 * Regenerate libc.po.
1758 2014-08-08 Mike Frysinger <vapier@gentoo.org>
1760 * intl/tst-gettext2.sh: Check every lang file for creation.
1762 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1764 * sysdeps/aarch64/fpu/math_private.h
1765 (libc_feholdsetround_noex_aarch64_ctx): New function.
1767 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1769 * sysdeps/arm/armv6/strcpy.S (strcpy):
1770 Fix performance issue in misaligned cases.
1772 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1774 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1775 Move definition from termios.h.
1776 (struct termio): Likewise.
1777 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1778 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1779 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1780 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1782 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1783 Move definition to ioctl-types.h
1784 (struct termio): Likewise.
1785 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1786 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1787 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1788 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1791 2014-08-05 Richard Henderson <rth@redhat.com>
1793 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1795 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1797 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1798 Use __feraiseexcept.
1799 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1800 Protect libm symbols with IS_IN_libm.
1802 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1804 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1806 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1808 2014-08-04 Will Newton <will.newton@linaro.org>
1810 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1813 2014-08-04 Mike Frysinger <vapier@gentoo.org>
1815 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1816 variants for each function.
1818 2014-08-04 Roland McGrath <roland@hack.frob.com>
1820 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1822 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1823 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1825 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1826 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1827 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1828 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1829 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1830 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1831 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1832 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1833 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1834 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1835 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1836 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1837 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1838 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1839 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1840 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1841 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1842 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1843 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1844 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1845 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1846 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1847 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1848 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1849 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1850 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1851 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1852 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1853 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1854 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1855 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1856 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1857 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1858 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1859 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1860 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1861 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1862 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1863 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1864 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1865 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1866 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1867 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1868 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1869 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1870 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1871 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1872 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1873 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1874 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1875 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1876 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1877 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1879 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1880 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1882 2014-08-04 Roland McGrath <roland@hack.frob.com>
1884 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1885 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1886 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1887 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1888 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1889 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1891 2014-08-04 Roland McGrath <roland@hack.frob.com>
1893 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1894 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1895 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1896 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1898 2014-08-04 Roland McGrath <roland@hack.frob.com>
1900 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1901 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1902 (__libc_vfork): Define function under this name.
1903 (__vfork): Define as an alias.
1904 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1905 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1907 2014-08-04 Roland McGrath <roland@hack.frob.com>
1909 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1910 that was previously under [RESET_PID].
1911 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1913 2014-08-04 Andreas Schwab <schwab@suse.de>
1915 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1917 2014-08-03 Mike Frysinger <vapier@gentoo.org>
1919 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1922 2014-08-01 Roland McGrath <roland@hack.frob.com>
1924 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1926 2014-08-01 Richard Henderon <rth@redhat.com>
1928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1929 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1930 typo in exact zero test.
1931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1932 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1933 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1935 2014-08-01 Roland McGrath <roland@hack.frob.com>
1937 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1938 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1939 * sysdeps/arm/sysdep.h: ... here.
1940 [!__ASSEMBLER__]: Include <stdint.h>.
1942 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1944 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1945 (HAVE_WCTYPE_H): Likewise.
1946 (HAVE_ISWCTYPE): Likewise.
1947 (ENABLE_NLS): Likewise.
1948 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1949 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1951 * posix/regex_internal.c: Check if DEBUG is defined and is
1954 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1955 (HAVE_MBSRTOWCS): Likewise.
1956 * posix/fnmatch.c: Include string.h unconditionally.
1958 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1960 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1963 2014-07-31 Roland McGrath <roland@hack.frob.com>
1965 * sysdeps/generic/safe-fatal.h: New file.
1966 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1967 * nptl/forward.c: Include it.
1968 (__pthread_unwind): Use __safe_fatal as default action, rather
1969 than a bogus use of INTERNAL_SYSCALL that could never work.
1971 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1972 * configure.ac (libc_cv_builtin_trap): New test.
1973 * configure: Regenerated.
1974 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1975 (ABORT_INSTRUCTION): Define using __builtin_trap.
1977 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1978 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1979 * sysdeps/nptl/nptl-signals.h: New file.
1980 * nptl/pthreadP.h: Include <nptl-signals.h>.
1982 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1984 * sysdeps/s390/s390-64/utf16-utf32-z9.c
1985 (ONE_DIRECTION): Define.
1986 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1987 (ONE_DIRECTION): Define.
1988 * sysdeps/s390/s390-64/utf8-utf32-z9.c
1989 (ONE_DIRECTION): Define.
1991 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1993 * sysdeps/s390/Makefile: Delete file.
1994 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1995 * sysdeps/s390/__longjmp.c: Delete file.
1996 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1997 Remove fields __flags and __reserved.
1998 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2000 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2001 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2002 * sysdeps/s390/rtld-setjmp.S: Likewise.
2003 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2004 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2005 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2006 * sysdeps/s390/s390-32/setjmp.S: ... here.
2008 (__sigsetjmp): Remove setting __flags field.
2009 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2010 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2011 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2012 * sysdeps/s390/s390-64/setjmp.S: ... here.
2014 (__sigsetjmp): Remove setting __flags field.
2015 * sysdeps/s390/setjmp.S: Delete file.
2016 * sysdeps/s390/sigjmp.c: Likewise.
2017 * sysdeps/s390/v1-longjmp.c: Likewise.
2018 * sysdeps/s390/v1-setjmp.h: Likewise.
2019 * sysdeps/s390/v1-sigjmp.c: Likewise.
2020 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2021 Remove v1-longjmp_chk.
2022 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2023 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2024 Include debug/longjmp_chk.c and add versioning.
2025 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2026 Include nptl/pt-longjmp.c and add versioning.
2027 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2028 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2029 Include __longjmp.c.
2030 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2032 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2033 (__getcontext): Remove setting __flags field.
2035 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2036 Don't restore upper high grps.
2037 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2039 (__swapcontext): Remove setting uc_flags field.
2040 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2042 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2043 Include __longjmp.c.
2044 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2046 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2047 (__getcontext): Remove setting __flags field.
2049 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2050 (__swapcontext): Remove setting uc_flags field.
2051 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2052 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2053 Remove fields uc_high_gprs and __reserved.
2054 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2055 New file with reverted content.
2056 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2057 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2059 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2062 2014-07-31 Andreas Schwab <schwab@suse.de>
2064 * config.h.in (HAVE_IFUNC): Define to 0.
2065 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2068 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2071 memmove-avx-unaligned, memcpy-avx-unaligned and
2072 mempcpy-avx-unaligned.
2073 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2074 Add tests for AVX memcpy functions.
2075 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2076 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2078 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2079 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2081 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2082 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2084 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2085 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2086 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2088 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2091 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2094 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
2097 * manual/llio.texi: Add section about open file description locks.
2098 * manual/examples/ofdlocks.c: Example of open file description
2100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2101 F_OFD_SETLK, and F_OFD_SETLKW.
2103 2014-07-23 Allan McRae <allan@archlinux.org>
2105 * po/es.po: Update Spanish translation from translation project.
2107 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2109 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2111 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2114 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2115 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2116 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2118 2014-07-17 Joseph Myers <joseph@codesourcery.com>
2121 * math/fesetenv.c (__fesetenv)
2122 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2123 * math/feupdateenv.c (__feupdateenv)
2124 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2126 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2127 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2128 (__ASSUME_SOCKETCALL): Do not define.
2130 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2131 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2132 (__ASSUME_SOCKETCALL): Do not define.
2133 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2134 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2135 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2136 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2137 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2138 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2139 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2140 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2142 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2143 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2144 (__ASSUME_SOCKETCALL): Do not define.
2145 (__ASSUME_IPC64): Define unconditionally.
2146 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2147 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2148 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2149 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2150 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2151 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2152 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2155 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2156 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2157 (__ASSUME_SOCKETCALL): Do not define.
2158 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2159 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2160 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2161 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2162 (__ASSUME_REQUEUE_PI): Define unconditionally.
2163 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2164 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2165 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2166 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2167 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2168 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2170 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2171 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2172 (__ASSUME_SOCKETCALL): Do not define.
2173 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2174 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2175 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2176 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2177 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2178 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2180 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2181 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2182 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2183 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2184 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2185 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2186 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2187 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2188 (__ASSUME_GETCPU_SYSCALL): Likewise.
2190 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2191 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2192 cases for individual architectures.
2193 * sysdeps/gnu/configure: Regenerated.
2194 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2195 LIBC_SLIBDIR_RTLDDIR.
2196 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2197 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2198 LIBC_SLIBDIR_RTLDDIR.
2199 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2201 LIBC_SLIBDIR_RTLDDIR.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2204 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2205 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2207 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2208 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2210 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2211 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2212 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2213 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2215 * sysdeps/aarch64/shlib-versions: Move to ...
2216 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2217 * sysdeps/alpha/shlib-versions: Move to ...
2218 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2219 * sysdeps/arm/shlib-versions: Move to ...
2220 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2221 * sysdeps/hppa/shlib-versions: Move all contents except for
2222 libgcc_s entry to ...
2223 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2225 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2226 * sysdeps/ia64/shlib-versions: Move to ...
2227 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2229 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2230 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2231 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2232 * sysdeps/microblaze/shlib-versions: Move to ...
2233 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2234 * sysdeps/mips/shlib-versions: Move to ...
2235 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2237 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2238 * sysdeps/tile/shlib-versions: Move to ...
2239 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2240 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2242 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2243 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2245 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2247 2014-07-17 Will Newton <will.newton@linaro.org>
2249 * sysdeps/arm/bits/atomic.h
2250 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2251 (__arch_compare_and_exchange_bool_16_int): Likewise.
2252 (__arch_compare_and_exchange_bool_64_int): Likewise.
2254 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2255 into an #else block.
2257 2014-07-16 Roland McGrath <roland@hack.frob.com>
2259 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2260 just Linux configurations. Test empirically that the compiler sets
2261 __ARM_EABI__, rather than using the tuple to decide.
2262 * sysdeps/arm/preconfigure: Regenerated.
2263 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2264 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2265 contents appended ...
2266 * sysdeps/arm/configure.ac: ... here.
2267 * sysdeps/arm/configure: Regenerated.
2269 2014-07-15 Roland McGrath <roland@hack.frob.com>
2271 * nptl/pthread_kill.c: New file.
2272 * nptl/pthread_sigmask.c: New file.
2273 * nptl/pthread_sigqueue.c: New file.
2275 * sysdeps/nptl/lowlevellock.h: New file.
2276 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2277 * sysdeps/nptl/lowlevellock-futex.h: New file.
2279 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2280 Remove dead declarations.
2282 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2284 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2285 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2287 * sysdeps/x86_64/configure.ac: Likewise.
2288 * sysdeps/i386/configure: Regenerated.
2289 * sysdeps/x86_64/configure: Likewise.
2290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2291 memset-avx2 only if config-cflags-avx2 is yes.
2292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2293 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2295 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2296 only if HAVE_AVX2_SUPPORT is defined.
2297 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2299 2014-07-14 Alan Modra <amodra@gmail.com>
2302 * elf/elf.h (DT_PPC64_NUM): Correct value.
2303 * NEWS: Add to fixed bug list.
2305 2014-07-13 Jim Meyering <meyering@fb.com>
2308 regex: don't deref NULL upon heap allocation failure
2309 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2310 failure in one more place.
2311 To trigger the segfault, configure grep -with-included-regex,
2312 build it, and run these commands:
2313 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2315 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2317 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2319 2014-07-11 Richard Henderson <rth@redhat.com>
2321 * sysdeps/aarch64/libm-test-ulps: Update.
2323 2014-07-10 Florian Weimer <fweimer@redhat.com>
2326 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2327 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2328 (__nptl_setxid): Initialize error member. Call
2329 __nptl_setxid_error.
2330 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2331 * nptl/descr.h (struct xid_command): Add error member.
2332 * nptl/tst-setuid3.c: New file.
2333 * nptl/Makefile (tests): Add it.
2335 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2337 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2339 (__lll_trylock): Use __lll_base_trylock.
2340 (__lll_cond_trylock): Likewise.
2342 2014-07-10 Roland McGrath <roland@hack.frob.com>
2344 * nptl/pthread_create.c (start_thread): Use atomic_or and
2345 lll_futex_wake directly rather than lll_robust_dead.
2346 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2347 (lll_robust_dead): Macro removed.
2348 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2349 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2350 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2351 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2352 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2353 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2354 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2355 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2356 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2357 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2358 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2359 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2360 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2361 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2362 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2364 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2365 Use atomic_compare_and_exchange_val_acq directly rather than
2367 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2368 (__lll_robust_trylock, lll_robust_trylock): Removed.
2369 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2370 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2371 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2372 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2373 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2374 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2375 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2376 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2377 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2378 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2379 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2380 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2381 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2382 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2384 2014-07-02 Florian Weimer <fweimer@redhat.com>
2386 * manual/locale.texi (Locale Names): New section documenting
2387 locale name syntax. Adjust menu and node chaining accordingly.
2388 (Choosing Locale): Reference Locale Names, Locale Categories.
2389 Mention setting LC_ALL=C. Reflect that name syntax is now
2391 (Locale Categories): New section title. Reference Locale Names.
2392 LC_ALL is an environment variable, but not a category.
2393 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2394 description, now in Locale Name. Reference that section. Locale
2395 name syntax is now documented.
2397 2014-07-02 Florian Weimer <fweimer@redhat.com>
2400 * locale/findlocale.c (name_present, valid_locale_name): New
2402 (_nl_find_locale): Use the loc_name variable to store name
2403 candidates. Call name_present and valid_locale_name to check and
2404 validate locale names. Return an error if the locale is invalid.
2406 2014-07-02 Florian Weimer <fweimer@redhat.com>
2408 * locale/setlocale.c (setlocale): Use strdup for allocating
2409 composite name copy.
2411 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2413 Sync up with gnulib.
2414 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2415 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2416 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2417 and _GL_ARG_NONNULL.
2418 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2419 [!_LIBC]: Include code for Windows and Cygwin.
2420 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2421 Include prototype for int strerror_r.
2422 [!_LIBC] (is_open): New function.
2423 (flush_stdout): New function.
2424 (print_errno_message): Use it.
2426 (error_at_line): Likewise.
2427 (error_tail) Add function attribute macros. Use
2430 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2432 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2434 * io/ftw.c: Include sys/param.h unconditionally.
2436 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2439 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2441 (freecache): New function to free CACHE on exit.
2443 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2446 2014-07-09 David S. Miller <davem@davemloft.net>
2448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2450 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2451 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2452 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2453 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2454 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2455 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2456 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2457 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2458 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2459 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2460 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2461 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2462 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2464 2014-07-09 Andreas Schwab <schwab@suse.de>
2466 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2468 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2469 (do_test): Likewise.
2471 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2473 2014-07-09 Will Newton <will.newton@linaro.org>
2475 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2476 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2477 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2478 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2479 * sysdeps/hppa/start.S (_start): Likewise.
2481 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2483 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2485 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2488 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2490 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2491 after checking that it is non-NULL.
2493 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2495 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2497 * sysdeps/powerpc/memmove.c: Remove file.
2498 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2499 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2500 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2501 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2502 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2503 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2504 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2505 string memmove instead of removed powerpc one.
2507 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2508 [weak_alias]: Fix compiler warning due trailing data.
2509 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2510 [weak_alias]: Likewise.
2511 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2512 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2514 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2515 (__libc_ifunc_impl_list): Add memmove functions.
2517 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2519 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2521 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2523 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2525 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2527 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2529 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2531 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2533 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2535 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2537 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2539 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2541 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2543 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2545 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2547 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2549 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2551 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2554 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2556 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2557 to avoid alignment traps in non-cacheable memory.
2558 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2562 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2563 file: multiarch power7 memmove.
2564 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2565 multiarch default memmove.
2566 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2567 multiarch memove for powerpc32/power4.
2569 * string/bcopy.c: Use full path to include memmove.c.
2570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2572 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2573 bcopy for powerpc64.
2574 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2575 bcopy for powerpc64.
2576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2577 and memmove implementations.
2578 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2579 optimized multiarch memmove for POWER7/powerpc64.
2580 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2581 default multiarch memmove for powerpc64.
2582 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2583 multiarch for powerpc64.
2584 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2585 for POWER7/powerpc64.
2586 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2587 memmove for POWER7/powerpc64.
2589 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2592 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2593 __ELF_NATIVE_CLASS equal to 64.
2595 2014-07-07 Roland McGrath <roland@hack.frob.com>
2597 * sysdeps/nptl/lowlevellock.h: File removed.
2599 * NEWS: NPTL is no longer an add-on!
2600 * nptl/internaltypes.h: Moved ...
2601 * sysdeps/nptl/internaltypes.h: ... here.
2602 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2603 * sysdeps/nptl/fork.c: Likewise.
2604 * sysdeps/nptl/gai_misc.h: Likewise.
2605 * sysdeps/nptl/librt-cancellation.c: Likewise.
2606 * sysdeps/nptl/jmp-unwind.c: Likewise.
2607 * sysdeps/nptl/setxid.h: Likewise.
2608 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2609 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2610 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2611 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2612 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2613 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2614 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2615 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2616 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2617 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2618 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2619 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2620 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2621 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2622 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2623 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2624 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2625 * nptl/Makeconfig: Moved ...
2626 * sysdeps/nptl/Makeconfig: ... here.
2627 * nptl/configure: File removed.
2628 * nptl/ANNOUNCE: File removed.
2629 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2630 * sysdeps/unix/sysv/linux/configure: Regenerated.
2632 * nptl/Makefile (routines): Add libc_pthread_init,
2633 libc_multiple_threads, register-atfork and unregister-atfork.
2634 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2635 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2636 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2637 pthread-pi-defines.sym, structsem.sym.
2638 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2639 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2640 [$(subdir) = nptl] (tests): Add tst-setgetname.
2641 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2642 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2643 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2644 [!LIBC_SIGACTION]: Remove aliases.
2645 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2646 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2647 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2648 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2649 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2650 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2651 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2652 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2653 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2654 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2655 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2656 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2657 __libc_allocate_rtsig_private.
2658 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2659 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2660 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2661 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2662 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2663 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2664 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2665 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2666 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2667 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2668 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2669 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2670 * nptl/internaltypes.h: ... here.
2671 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2672 * sysdeps/nptl/jmp-unwind.c: ... here.
2673 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2674 * nptl/libc-lowlevellock.c: ... here.
2675 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2676 * nptl/libc_multiple_threads.c: ... here.
2677 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2678 * nptl/libc_pthread_init.c: ... here.
2679 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2680 * nptl/lowlevelbarrier.sym: ... here.
2681 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2682 * nptl/lowlevelcond.sym: ... here.
2683 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2684 * nptl/lowlevellock.c: ... here.
2685 * nptl/lowlevellock.h: Moved ...
2686 * sysdeps/nptl/lowlevellock.h: ... here.
2687 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2688 * nptl/lowlevelrobustlock.c: ... here.
2689 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2690 * nptl/lowlevelrobustlock.sym: ... here.
2691 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2692 * nptl/lowlevelrwlock.sym: ... here.
2693 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2694 * nptl/pt-fork.c: ... here.
2695 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2696 * nptl/pthread-pi-defines.sym: ... here.
2697 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2698 * nptl/pthread_attr_getaffinity.c: ... here.
2699 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2700 * nptl/pthread_attr_setaffinity.c: ... here.
2701 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2702 * nptl/pthread_mutex_cond_lock.c: ... here.
2703 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2705 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2706 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2707 * nptl/pthread_once.c: ... here, replacing old file.
2708 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2709 * nptl/pthread_yield.c: ... here.
2710 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2711 * nptl/register-atfork.c: ... here.
2712 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2713 * nptl/sem_post.c: ... here.
2714 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2715 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2716 * nptl/sem_timedwait.c: ... here.
2717 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2718 * nptl/sem_trywait.c: ... here.
2719 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2720 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2721 * nptl/sem_wait.c: ... here.
2722 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2723 * nptl/structsem.sym: ... here.
2724 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2725 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2726 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2727 * nptl/unregister-atfork.c: ... here.
2728 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2729 * nptl/unwindbuf.sym: ... here.
2730 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2731 * sysdeps/nptl/fork.c: ... here.
2732 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2733 * sysdeps/nptl/fork.h: ... here.
2734 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2735 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2736 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2737 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2738 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2739 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2740 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2741 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2742 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2743 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2744 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2745 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2746 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2747 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2748 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2749 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2750 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2751 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2752 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2753 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2754 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2755 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2756 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2757 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2758 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2759 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2760 * sysdeps/unix/sysv/linux/raise.c: ... here.
2761 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2762 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2763 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2764 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2765 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2766 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2767 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2768 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2769 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2770 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2771 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2772 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2773 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2774 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2775 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2777 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2779 * sysdeps/generic/memcopy.h: Add comment for
2780 MEMCPY_OK_FOR_FWD_MEMMOVE.
2782 2014-07-04 Will Newton <will.newton@linaro.org>
2784 * string/memchr.c: Merge from gnulib.
2785 [_LIBC]: Remove conditionals.
2786 (__ptr_t): Remove define.
2787 (LONG_MAX_32_BITS): Likewise.
2788 (LONG_MAX): Likewise.
2789 (MEMCHR): Use ANSI prototype and optimize algorithm.
2791 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2793 2014-07-03 Roland McGrath <roland@hack.frob.com>
2795 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2796 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2798 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2799 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2800 in a bare environment with no <stdlib.h> installed.
2801 * sysdeps/nptl/configure: Regenerated.
2803 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2805 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2806 AC_EGREP_CPP for kernel header checks, so they only succeed if
2807 including <linux/version.h> actually works right.
2808 * sysdeps/unix/sysv/linux/configure: Regenerated.
2810 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2811 value so it's not diagnosed as unused.
2813 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2814 thing) with "ifeq ($(subdir),rt)".
2816 2014-07-03 Richard Henderson <rth@redhat.com>
2818 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2819 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2820 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2822 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2823 (math_force_eval): New.
2825 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2826 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2828 * sysdeps/alpha/fpu/s_round.c: Remove file.
2829 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2831 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2832 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2833 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2834 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2835 (_dl_start, print_statistics): Likewise.
2836 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2837 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2839 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2840 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2841 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2842 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2843 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2844 (HP_SMALL_TIMING_AVAIL): Define.
2845 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2846 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2847 (HP_SMALL_TIMING_AVAIL): Define.
2848 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2849 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2851 * sysdeps/aarch64/hp-timing.h: New file.
2853 * sysdeps/generic/hp-timing.h: Remove dead comment.
2854 * sysdeps/generic/hp-timing-common.h: New file.
2855 * sysdeps/alpha/hp-timing.h: Include it.
2856 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2857 * sysdeps/i386/i686/hp-timing.h: Likewise.
2858 * sysdeps/ia64/hp-timing.h: Likewise.
2859 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2860 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2861 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2862 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2863 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2864 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2867 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2868 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2869 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2870 * elf/rtld.c (_dl_start_final): Likewise.
2871 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2872 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2873 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2874 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2875 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2876 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2877 (HP_TIMING_DIFF_INIT): Remove.
2878 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2879 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2880 (HP_TIMING_DIFF_INIT): Remove.
2881 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2882 * sysdeps/i386/i686/hp-timing.c: Remove file.
2883 * sysdeps/x86_64/hp-timing.c: Remove file.
2884 * sysdeps/ia64/hp-timing.c: Remove file.
2885 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2886 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2887 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2888 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2890 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2891 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2892 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2893 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2894 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2895 (HP_TIMING_ACCUM): Remove.
2896 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2897 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2898 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2900 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2901 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2902 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2903 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2904 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2905 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2906 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2907 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2909 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2911 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2913 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2915 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2917 Sync up with gettext.
2918 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2919 [_MSC_VER]: Include malloc.h
2920 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2921 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2922 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2923 TEMP_FAILURE_RETRY. Cast return of alloca.
2924 [!_LIBC] Call gl_rwlock_init.
2925 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2927 2014-07-02 Roland McGrath <roland@hack.frob.com>
2929 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2930 before checking its value.
2932 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2934 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2936 * debug/memcpy_chk.c: Don't include pagecopy.h.
2937 * debug/mempcpy_chk.c: Likewise.
2938 * string/memcpy.c: Likewise.
2939 * string/memmove.c: Likewise.
2940 * sysdeps/powerpc/memmove.c: Likewise.
2941 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
2942 definition of PAGE_COPY_FWD_MAYBE here...
2943 * sysdeps/generic/pagecopy.h: ... from here.
2944 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2946 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2947 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2949 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2953 (__libc_ifunc_impl_list): Likewise.
2954 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2955 multiarch strcat for PPC64.
2956 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2957 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2959 2014-07-02 Roland McGrath <roland@hack.frob.com>
2961 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2963 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2965 * intl/loadmsgcat.c: Remove declaration of
2966 get_sysdep_segment_value.
2967 (get_sysdep_segment_value): Use ISO C style.
2968 (_nl_load_domain): Use ISO C style. Get rid of redundant
2969 semicolon. Fix typo and formatting in comment.
2970 (_nl_unload_domain): Use ISO C style.
2972 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2974 2014-07-02 Will Newton <will.newton@linaro.org>
2976 * malloc/obstack.c: Merge from gnulib master.
2977 [HAVE_CONFIG_H]: Remove conditional code.
2978 [!_LIBC]: Include config.h.
2979 [!ELIDE_CODE]: Don't include inttypes.h, include
2980 stdint.h unconditionally.
2981 (print_and_abort): Mark as _Noreturn.
2982 (_obstack_allocated_p): Mark as __attribute_pure__.
2983 (obstack_free): Rename to __obstack_free.
2984 [!__attribute__]: Remove conditional code.
2985 * malloc/obstack.h: Merge from gnulib master.
2986 [__cplusplus]: Move conditional down.
2987 [!__attribute_pure__]: Define __attribute_pure__ here
2988 if it is not already defined.
2989 (_obstack_memory_used): Mark as __attribute_pure__.
2990 [!__obstack_free]: Define as obstack_free.
2991 [__GNUC__]: Remove check for ancient NeXT gcc.
2993 2014-07-02 Will Newton <will.newton@linaro.org>
2994 Paul Eggert <eggert@cs.ucla.edu>
2996 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2998 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3000 * resolv/gethnamaddr.c: Add comment warning that the file is
3003 2014-07-01 Carlos O'Donell <carlos@redhat.com>
3005 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3008 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3009 entry for aio_cancel and aio_cancel64.
3010 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3011 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3012 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3013 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3014 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3015 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3016 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3017 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3018 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3019 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3020 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3021 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3022 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3024 2014-07-01 Roland McGrath <roland@hack.frob.com>
3026 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3027 * nptl/pthread_mutex_lock.c: Likewise.
3028 * nptl/pthread_mutex_timedlock.c: Likewise.
3029 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3031 2014-07-01 Richard henderson <rth@redhat.com>
3033 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3034 (__isnan, __isnanl): Remove.
3035 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3037 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3039 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3041 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3043 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3045 * resolv/nss_dns/dns-host.c (getanswer_r)
3046 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3048 2014-07-01 Joseph Myers <joseph@codesourcery.com>
3050 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3051 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3053 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3054 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3056 2014-07-01 Roland McGrath <roland@hack.frob.com>
3058 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3059 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3061 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3062 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3064 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3065 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3067 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3068 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3070 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3071 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3072 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3073 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3075 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3076 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3077 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3078 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3079 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3081 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3083 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3084 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3085 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3086 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3087 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3088 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3089 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3090 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3091 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3092 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3093 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3094 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3095 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3096 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3097 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3098 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3099 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3100 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3101 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3102 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3104 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3105 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3106 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3107 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3108 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3109 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3110 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3111 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3113 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3115 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3116 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3117 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3120 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3124 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3126 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3127 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3129 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3131 * sysdeps/arm/libm-test-ulps: Regenerated.
3133 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3134 Roland McGrath <roland@hack.frob.com>
3136 * test-skeleton.c (signal_handler): Kill the whole process group
3137 before killing the child individually.
3138 (main): Report any failure on `setpgid'.
3140 2014-06-30 Roland McGrath <roland@hack.frob.com>
3142 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3143 from _TLS_H to _ARM_NPTL_TLS_H.
3144 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3145 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3147 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3150 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3151 (__expm1l): Return argument unchanged when small but not
3154 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3156 (_FP_UNPACK_RAW_1_P): Likewise.
3157 (_FP_PACK_RAW_1): Likewise.
3158 (_FP_PACK_RAW_1_P): Likewise.
3159 (_FP_MUL_MEAT_1_wide): Likewise.
3160 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3161 (_FP_MUL_MEAT_1_hard): Likewise.
3162 (_FP_DIV_MEAT_1_imm): Likewise.
3163 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3164 (_FP_DIV_MEAT_1_udiv): Likewise.
3165 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3166 (_FP_UNPACK_RAW_2): Likewise.
3167 (_FP_UNPACK_RAW_2_P): Likewise.
3168 (_FP_PACK_RAW_2): Likewise.
3169 (_FP_PACK_RAW_2_P): Likewise.
3170 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3171 (_FP_MUL_MEAT_2_wide): Likewise.
3172 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3173 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3174 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3175 (_FP_MUL_MEAT_2_gmp): Likewise.
3176 (_FP_DIV_MEAT_2_udiv): Likewise.
3177 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3178 (_FP_FRAC_SRL_4): Likewise.
3179 (_FP_FRAC_SRST_4): Likewise.
3180 (_FP_FRAC_SRS_4): Likewise.
3181 (_FP_UNPACK_RAW_4): Likewise.
3182 (_FP_UNPACK_RAW_4_P): Likewise.
3183 (_FP_PACK_RAW_4): Likewise.
3184 (_FP_PACK_RAW_4_P): Likewise.
3185 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3186 (_FP_MUL_MEAT_4_wide): Likewise.
3187 (_FP_MUL_MEAT_4_gmp): Likewise.
3188 (umul_ppppmnnn): Likewise.
3189 (_FP_DIV_MEAT_4_udiv): Likewise.
3190 (__FP_FRAC_ADD_4): Likewise.
3191 (__FP_FRAC_SUB_3): Likewise.
3192 (__FP_FRAC_SUB_4): Likewise.
3193 (__FP_FRAC_DEC_3): Likewise.
3194 (__FP_FRAC_DEC_4): Likewise.
3195 (__FP_FRAC_ADDI_4): Likewise.
3196 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3197 (_FP_FRAC_SRL_8): Likewise.
3198 (_FP_FRAC_SRS_8): Likewise.
3200 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3202 (FP_UNPACK_RAW_EP): Likewise.
3203 (FP_PACK_RAW_E): Likewise.
3204 (FP_PACK_RAW_EP): Likewise.
3205 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3206 (_FP_ISSIGNAN): Likewise.
3207 (_FP_ADD_INTERNAL): Likewise.
3208 (_FP_FMA): Likewise.
3209 (_FP_CMP): Likewise.
3210 (_FP_SQRT): Likewise.
3211 (_FP_TO_INT): Likewise.
3212 (_FP_FROM_INT): Likewise.
3213 (FP_EXTEND): Likewise.
3214 (_FP_DIV_MEAT_N_loop): Likewise.
3216 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3218 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3221 2014-06-29 Joseph Myers <joseph@codesourcery.com>
3224 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3225 result with correct sign in case of exponents that produce
3226 overflow except for X very close to 1.
3228 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3230 mktime: merge #if/#ifdef usage from glibc
3231 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3232 as that works with both Glibc's and Gnulib's style.
3233 See thread starting at Siddhesh Poyarekar's bug report at:
3234 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3236 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3238 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3239 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3240 * sysdeps/tile/tilegx/memmove.c: Remove file.
3242 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3244 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3245 abi-name definition.
3246 * scripts/soversions.awk: Do not handle or generate ABI lines.
3247 * shlib-versions: Remove ABI entries.
3248 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3249 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3251 2014-06-27 Roland McGrath <roland@hack.frob.com>
3253 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3254 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3255 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3256 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3257 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3258 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3259 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3261 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3263 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3264 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3265 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3266 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3267 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3268 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3269 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3270 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3271 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3272 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3273 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3274 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3275 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3277 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3278 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3279 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3280 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3281 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3282 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3284 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3285 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3287 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3288 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3289 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3290 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3292 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3293 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3294 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3295 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3296 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3297 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3298 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3299 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3301 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3302 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3303 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3304 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3306 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3307 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3309 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3310 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3311 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3312 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3314 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3316 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3317 Identical file removed.
3318 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3320 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3321 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3322 Identical file removed.
3323 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3324 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3325 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3327 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3328 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3329 Identical file removed.
3330 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3331 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3332 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3333 Identical file removed.
3334 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3335 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3336 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3337 Identical file removed.
3338 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3339 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3340 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3341 Identical file removed.
3342 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3344 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3345 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3346 Identical file removed.
3347 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3349 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3350 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3351 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3352 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3353 Identical file removed.
3354 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3356 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3358 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3359 Identical file removed.
3360 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3362 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3363 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3364 Identical file removed.
3365 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3367 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3368 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3369 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3370 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3371 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3372 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3374 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3375 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3376 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3378 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3379 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3380 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3381 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3382 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3384 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
3387 * nscd/nscd.c (monitor_child): Return exit status of child
3388 instead of return value from wait syscall.
3390 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3392 * configure.ac (libc_commonpagesize): Remove variable.
3393 (libc_relro_required): Likewise.
3394 (libc_cv_z_relro): Remove configure test.
3395 * configure: Regenerated.
3396 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3398 (libc_relro_required): Likewise.
3399 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3400 (libc_relro_required): Likewise.
3401 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3402 (libc_relro_required): Likewise.
3403 * sysdeps/arm/preconfigure: Regenerated.
3404 * sysdeps/ia64/preconfigure: Remove file.
3405 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3407 (libc_relro_required): Likewise.
3411 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3412 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3413 recompute overflowing results in original rounding mode.
3414 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3415 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3416 recompute overflowing results in original rounding mode.
3417 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3418 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3419 recompute overflowing results in original rounding mode.
3420 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3421 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3422 recompute overflowing results in original rounding mode.
3423 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3424 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3425 recompute overflowing results in original rounding mode.
3426 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3427 (libc_feholdsetround_ctx): New macro.
3428 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3429 * sysdeps/i386/fpu/libm-test-ulps: Update.
3430 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3432 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3434 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3435 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3436 corresponding .cpsetup call.
3438 2014-06-26 Roland McGrath <roland@hack.frob.com>
3440 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3441 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3442 * sysdeps/arm/Makefile [$(subdir) = csu]
3443 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3444 (static-only-routines): Add aeabi_read_tp here.
3445 (shared-only-routines): Add libc-aeabi_read_tp here.
3446 (CFLAGS-libc-start.c): Add -fexceptions here.
3447 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3448 (sysdep_routines, static-only-routines, shared-only-routines):
3449 Don't add to these here.
3450 (CFLAGS-libc-start.c): Likewise.
3452 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3453 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3454 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3455 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3456 * sysdeps/arm/Makefile [$(subdir) = rt]
3457 (librt-sysdep_routines, librt-shared-only-routines):
3458 Append rt-aeabi_unwind_cpp_pr1 here.
3459 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3460 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3461 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3462 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3463 Append nptl-aeabi_unwind_cpp_pr1 here.
3464 (tests): Filter out tst-cleanupx4 here.
3465 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3466 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3467 Don't do those here.
3469 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3471 * scripts/list-sources.sh: Do not handle ports specially.
3473 2014-06-26 Roland McGrath <roland@hack.frob.com>
3475 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3476 * sysdeps/arm/feupdateenv.c: Likewise.
3478 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3480 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3482 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3483 trailing whitespace removed.
3484 * scripts/config.guess: Update to version 2014-03-23.
3485 * scripts/config.sub: Update to version 2014-05-01
3486 * scripts/install-sh: Update to version 2013-12-25.23.
3487 * scripts/move-if-change: Update from gnulib.
3489 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3491 * debug/memmove_chk.c: Remove pagecopy.h include.
3493 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3495 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3496 identical to gnulib mktime.
3498 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3500 * configure.ac: Do not test for machine being rs6000. Do not test
3502 * configure: Regenerated.
3504 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3506 * configure: Regenerated.
3507 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3508 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3509 Remove configure test.
3510 * sysdeps/arm/configure: Regenerated.
3511 * sysdeps/nptl/configure.ac: Do not check
3512 libc_cv_asm_cfi_directives.
3513 * sysdeps/nptl/configure: Regenerated.
3514 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3515 * sysdeps/x86_64/nptl/configure: Remove generated file.
3516 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3518 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3520 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3522 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3523 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3524 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3527 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3528 instead of whether it is defined.
3529 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3530 * sysdeps/hppa/dl-machine.h: Likewise.
3531 * sysdeps/ia64/dl-machine.h: Likewise.
3532 * sysdeps/m68k/dl-machine.h: Likewise.
3533 * sysdeps/microblaze/dl-machine.h: Likewise.
3534 * sysdeps/mips/dl-machine.: Likewise.
3535 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3536 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3537 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3538 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3539 * sysdeps/sh/dl-machine.h: Likewise.
3540 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3541 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3542 * sysdeps/tile/dl-machine.h: Likewise.
3543 * sysdeps/x86_64/dl-machine.h: Likewise.
3545 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3547 (verify_persistent_db): Likewise.
3549 2014-06-26 Roland McGrath <roland@hack.frob.com>
3551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3552 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3554 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3557 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3560 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3562 Identical file removed.
3563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3564 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3566 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3568 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3570 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3572 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3575 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3577 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3579 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3582 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3586 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3588 Identical file removed.
3589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3590 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3592 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3595 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3598 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3600 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3602 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3604 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3606 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3609 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3612 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3614 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3617 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3619 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3621 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3623 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3624 * sysdeps/unix/sysv/linux/s390/Versions
3625 (libpthread: GLIBC_2.19): New version set.
3626 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3627 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3628 (librt: GLIBC_2.3.3): New version set.
3629 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3630 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3631 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3632 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3633 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3634 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3635 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3636 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3637 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3638 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3639 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3640 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3641 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3642 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3643 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3644 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3645 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3646 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3647 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3648 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3649 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3650 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3651 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3652 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3653 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3654 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3655 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3656 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3657 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3658 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3659 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3660 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3661 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3662 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3663 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3664 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3665 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3666 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3667 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3668 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3669 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3670 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3671 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3672 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3673 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3675 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3676 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3677 (__libc_vfork): Define the function under this name.
3678 [!NOT_IN_libc] (__vfork): Make this an alias.
3679 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3680 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3681 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3682 (__libc_vfork): Define the function under this name.
3683 [!NOT_IN_libc] (__vfork): Make this an alias.
3684 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3685 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3686 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3687 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3688 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3689 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3691 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3692 code that was previously under [RESET_PID].
3693 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3694 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3695 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3697 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3698 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3699 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3700 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3701 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3702 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3703 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3704 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3705 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3706 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3707 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3709 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3710 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3711 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3712 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3713 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3714 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3715 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3716 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3717 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3718 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3719 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3720 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3721 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3722 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3723 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3724 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3725 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3726 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3727 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3728 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3729 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3730 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3731 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3732 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3733 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3734 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3735 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3736 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3737 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3739 2014-06-25 Roland McGrath <roland@hack.frob.com>
3741 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3742 that was previously under [RESET_PID].
3743 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3745 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3747 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3748 not undefine and redefine.
3749 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3750 [O_CLOEXEC]: Make code unconditional.
3751 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3752 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3753 <kernel-features.h>.
3754 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3755 conditional variable definition.
3756 (shm_open) [O_CLOEXEC]: Make code unconditional.
3757 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3760 * configure.ac (USE_REGPARMS): Don't define here.
3761 * configure: Regenerated.
3762 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3763 * sysdeps/i386/configure: Regenerated.
3765 * nptl/createthread.c: Don't include kernel-features.h.
3766 * nptl/pthread_cancel.c: Likewise.
3767 * nptl/pthread_condattr_setclock.c: Likewise.
3768 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3769 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3770 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3771 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3772 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3773 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3774 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3775 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3776 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3777 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3778 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3779 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3780 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3781 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3782 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3783 * nscd/gai.c: Likewise.
3784 * nss/nss_db/db-open.c: Likewise.
3785 * sysdeps/generic/ldsodefs.h: Likewise.
3786 * sysdeps/sh/nptl/tls.h: Likewise.
3787 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3788 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3789 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3790 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3791 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3792 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3793 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3794 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3795 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3796 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3797 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3798 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3799 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3800 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3801 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3802 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3803 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3804 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3805 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3806 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3807 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3808 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3809 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3810 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3811 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3812 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3813 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3814 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3815 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3816 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3817 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3818 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3819 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3820 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3821 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3822 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3823 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3824 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3825 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3826 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3827 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3828 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3829 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3830 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3831 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3832 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3833 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3834 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3835 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3836 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3837 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3838 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3839 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3840 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3841 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3842 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3843 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3844 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3867 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3868 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3869 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3870 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3871 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3872 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3873 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3874 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3875 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3876 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3877 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3878 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3879 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3880 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3881 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3882 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3883 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3884 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3885 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3886 * sysdeps/unix/sysv/linux/system.c: Likewise.
3887 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3888 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3889 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3890 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3891 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3892 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3893 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3895 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3896 * configure: Regenerated.
3897 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3899 * configure.ac (base_machine): Do not set specially for particular
3901 * configure: Regenerated.
3902 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3903 settings from configure.ac.
3904 * sysdeps/i386/preconfigure: New file.
3905 * sysdeps/s390/preconfigure: Likewise.
3906 * sysdeps/sh/preconfigure: Likewise.
3907 * sysdeps/sparc/preconfigure: Likewise.
3909 2014-06-25 Roland McGrath <roland@hack.frob.com>
3911 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3912 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3913 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3914 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3915 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3916 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3917 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3918 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3919 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3920 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3921 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3922 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3923 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3924 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3925 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3926 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3927 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3928 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3929 * sysdeps/sparc/sparc64/Makefile: ... appended here.
3931 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3932 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3933 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3934 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3935 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3936 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3937 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3938 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3939 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3940 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3941 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3942 * sysdeps/sparc/sparc32/sem_post.c: ... here.
3943 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3944 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3945 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3946 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3947 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3948 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3949 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3950 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3951 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3952 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3953 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3954 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3955 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3956 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3957 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3958 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3959 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3960 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3961 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3962 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3963 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3964 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3965 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3966 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3967 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3968 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3971 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3973 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3976 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3979 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3981 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3984 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3986 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3988 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3990 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3993 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3996 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3998 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4001 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4003 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4005 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4007 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4009 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4012 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4015 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4017 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4020 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4022 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4024 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4026 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4027 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4029 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4032 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4034 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4037 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4039 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4041 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4043 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4045 * timezone/checktab.awk: Update from tzcode 2014e.
4046 * timezone/private.h: Likewise.
4047 * timezone/tzfile.h: Likewise.
4048 * timezone/zdump.c: Likewise.
4049 * timezone/zic.c: Likewise.
4051 * sysdeps/unix/sysv/linux/kernel-features.h
4052 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4053 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4054 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4055 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4056 Remove conditional code.
4058 2014-06-25 Will Newton <will.newton@linaro.org>
4060 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4061 (_dl_arm_cap_flags): Add HWCAP2 values.
4062 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4063 (_DL_HWCAP_COUNT): Increase to 37.
4064 (_DL_HWCAP_LAST): New define.
4065 (_DL_HWCAP2_LAST): New define.
4066 (_dl_procinfo): Add support for printing
4068 (_dl_string_hwcap): Use _dl_hwcap_string.
4070 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4074 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4076 * README: Do not mention ports directory.
4078 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4080 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4081 <kernel-features.h>.
4082 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4083 conditional variable definition.
4084 (__futimes): Update comment.
4085 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4086 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4089 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4090 arguments close to 0.
4091 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4093 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4095 * math/auto-libm-test-in: Add more tests of exp10.
4096 * math/auto-libm-test-out: Regenerated.
4097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4099 * sysdeps/unix/sysv/linux/kernel-features.h
4100 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4101 * sysdeps/unix/sysv/linux/readv.c: Do not include
4102 <kernel-features.h>.
4103 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4104 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4105 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4107 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4109 * sysdeps/unix/sysv/linux/writev.c: Do not include
4110 <kernel-features.h>.
4111 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4112 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4113 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4115 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4118 2014-06-25 Will Newton <will.newton@linaro.org>
4120 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4121 comment changes throughout the file. Remove checks
4122 for HAVE_*_H definitions that are not required.
4123 (__gen_tempname): Call abort if an unknown kind value is
4126 2014-06-25 Andreas Schwab <schwab@suse.de>
4129 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4130 scalbln, scalblnf, scalblnl in libc.
4132 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4135 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4136 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4137 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4139 2014-06-24 Roland McGrath <roland@hack.frob.com>
4141 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4142 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4143 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4144 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4146 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4147 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4149 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4150 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4151 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4152 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4153 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4154 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4155 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4156 * sysdeps/x86/bits/semaphore.h: ... here.
4157 * sysdeps/x86/nptl/elide.h: Moved ...
4158 * sysdeps/x86/elide.h: ... here.
4159 * sysdeps/x86_64/nptl/Implies: File removed.
4160 * sysdeps/i386/nptl/Implies: File removed.
4162 2014-06-24 Joseph Myers <joseph@codesourcery.com>
4165 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4166 return the argument for normal arguments with exponent below -64.
4167 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4169 * math/auto-libm-test-in: Add another test of expm1.
4170 * math/auto-libm-test-out: Regenerated.
4173 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4174 calling __erfcl for arguments at least 16.
4175 * math/auto-libm-test-in: Add more tests of erf.
4176 * math/auto-libm-test-out: Regenerated.
4178 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4179 individual architectures.
4180 * sysdeps/unix/sysv/linux/configure: Regenerated.
4181 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4182 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4183 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4184 (ldd_rewrite_script): Define variable.
4185 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4190 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4191 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4192 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4193 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4194 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4195 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4196 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4197 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4199 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4202 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4203 Rename member __data.d to __data.__elision_data.
4205 2014-06-24 Wilco <wdijkstr@arm.com>
4207 * NEWS: Add 16918 to fixed bug list.
4209 2014-06-24 Wilco <wdijkstr@arm.com>
4211 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4213 2014-06-24 Wilco <wdijkstr@arm.com>
4215 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4216 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4217 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4218 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4219 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4220 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4221 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4224 2014-06-24 Wilco <wdijkstr@arm.com>
4226 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4228 2014-06-24 Wilco <wdijkstr@arm.com>
4230 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4231 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4232 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4233 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4235 2014-06-24 Wilco <wdijkstr@arm.com>
4238 * sysdeps/arm/feupdateenv.c (feupdateenv):
4239 Rewrite to reduce FPSCR accesses and fix return value.
4241 2014-06-24 Wilco <wdijkstr@arm.com>
4243 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4244 Optimize to avoid unnecessary FPSCR writes.
4245 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4246 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4247 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4248 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4250 2014-06-24 Wilco <wdijkstr@arm.com>
4252 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4253 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4254 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4255 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4256 Call libc_fetestexcept_vfp.
4257 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4258 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4259 __SOFTFP__ ifdef so that they can be built for softfp.
4261 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4263 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4264 argument type signed char.
4266 * Makerules (check-abi): Dump diff of symlist if the test
4269 2014-06-23 Roland McGrath <roland@hack.frob.com>
4271 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4274 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4275 Remove unused variable ST.
4277 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4281 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4282 small arguments before calling __expm1.
4283 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4284 small arguments before calling __expm1f.
4285 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4286 small arguments before calling __expm1l.
4287 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4289 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4290 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4291 spurious underflow for some cosh tests.
4292 * math/auto-libm-test-out: Regenerated.
4293 * sysdeps/i386/fpu/libm-test-ulps: Update.
4296 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4297 (__ieee754_y1): Set errno if return value overflows.
4298 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4299 (__ieee754_y1f): Set errno if return value overflows.
4300 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4301 (__ieee754_y1l): Set errno if return value overflows.
4302 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4303 (__ieee754_y1l): Set errno if return value overflows.
4304 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4305 * math/auto-libm-test-out: Regenerated.
4307 * math/gen-auto-libm-tests.c: Document use of
4308 ignore-zero-inf-sign.
4309 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4310 (input_flags): Add ignore-zero-inf-sign.
4311 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4312 * math/gen-libm-test.pl (generate_testfile): Handle
4313 ignore-zero-inf-sign.
4314 * math/auto-libm-test-in: Mark some cpow tests with
4315 ignore-zero-inf-sign and some with xfail-rounding.
4316 * math/auto-libm-test-out: Regenerated.
4317 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4318 * sysdeps/i386/fpu/libm-test-ulps: Update.
4319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4322 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4323 overflowing or underflowing operations take place with sign of
4325 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4326 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4327 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4328 (__ieee754_pow): Recompute overflowing and underflowing results in
4329 original rounding mode.
4330 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4331 (__powl_helper): Allow negative argument X and scale negated value
4332 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4333 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4334 overflowing or underflowing operations take place with sign of
4336 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4338 * math/auto-libm-test-in: Add more tests of pow.
4339 * math/auto-libm-test-out: Regenerated.
4340 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4341 (pow_tonearest_test_data): Remove.
4342 (pow_test_tonearest): Likewise.
4343 (pow_towardzero_test_data): Likewise.
4344 (pow_test_towardzero): Likewise.
4345 (pow_downward_test_data): Likewise.
4346 (pow_test_downward): Likewise.
4347 (pow_upward_test_data): Likewise.
4348 (pow_test_upward): Likewise.
4349 (main): Don't call removed functions.
4350 * sysdeps/i386/fpu/libm-test-ulps: Update.
4351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4353 2014-06-23 Roland McGrath <roland@hack.frob.com>
4355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4529 2014-06-23 Will Newton <will.newton@linaro.org>
4530 Wilco <wdijkstr@arm.com>
4532 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4533 implementation. Include get-rounding-mode.h.
4534 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4535 [!libc_feholdsetround_noex_ctx]: Define
4536 libc_feholdsetround_noex_ctx.
4537 [!libc_feholdsetround_noexf_ctx]: Define
4538 libc_feholdsetround_noexf_ctx.
4539 [!libc_feholdsetround_noexl_ctx]: Define
4540 libc_feholdsetround_noexl_ctx.
4541 (libc_feholdsetround_ctx): New function.
4542 (libc_feresetround_ctx): New function.
4543 (libc_feholdsetround_noex_ctx): New function.
4544 (libc_feresetround_noex_ctx): New function.
4546 2014-06-23 Roland McGrath <roland@hack.frob.com>
4548 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4549 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4550 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4551 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4552 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4553 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4555 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4556 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4557 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4558 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4559 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4560 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4561 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4562 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4563 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4564 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4565 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4567 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4569 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4570 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4571 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4572 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4575 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4576 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4577 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4578 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4579 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4580 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4581 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4582 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4584 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4585 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4587 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4588 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4589 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4590 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4592 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4593 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4594 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4595 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4596 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4597 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4598 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4599 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4600 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4601 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4603 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4605 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4606 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4607 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4608 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4609 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4610 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4611 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4612 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4613 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4614 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4615 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4616 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4617 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4619 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4620 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4621 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4623 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4626 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4627 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4628 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4629 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4630 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4632 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4633 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4634 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4635 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4636 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4637 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4638 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4639 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4640 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4641 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4642 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4643 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4644 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4645 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4646 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4647 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4648 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4649 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4650 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4651 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4652 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4653 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4654 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4655 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4656 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4657 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4658 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4659 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4661 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4663 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4664 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4665 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4666 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4667 (IPV6_PMTUDISC_INTERFACE): Likewise.
4668 (IPV6_PMTUDISC_OMIT): Likewise.
4670 2014-06-23 Andreas Schwab <schwab@suse.de>
4672 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4673 Remove unused errout label.
4675 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4677 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4678 macro: hardware supports Vector Crypto instructions.
4680 2014-06-23 Will Newton <will.newton@linaro.org>
4682 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4683 rather than __builtin_expect.
4685 * elf/dl-lookup.c (undefined_msg): Remove variable.
4686 (_dl_lookup_symbol_x): Replace undefined_msg with string
4689 * elf/dl-lookup.c (do_lookup_unique): New function.
4690 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4691 to a separate function.
4693 2014-06-23 Andreas Schwab <schwab@suse.de>
4696 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4697 before reading the next line.
4699 2014-06-23 Will Newton <will.newton@linaro.org>
4701 * test-skeleton.c (signal_handler): Use printf and %m
4702 rather than perror. Use printf rather than fprintf to
4703 stderr. Use puts rather than fputs to stderr.
4706 2014-06-22 Ludovic Courtès <ludo@gnu.org>
4708 * nscd/nscd.c (thread_info_t): Remove typedef.
4709 (thread_info): Remove variable.
4711 2014-06-21 Allan McRae <allan@archlinux.org>
4713 * NEWS: Mention CVE-2014-4043.
4715 2014-06-20 Roland McGrath <roland@hack.frob.com>
4717 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4718 * nptl/smp.h: ... here.
4720 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4722 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4723 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4724 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4725 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4727 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4728 * nptl/stack-aliasing.h: New file.
4729 * sysdeps/i386/i686/stack-aliasing.h: New file.
4730 * sysdeps/i386/i686/nptl/Makefile: File removed.
4731 * sysdeps/x86_64/stack-aliasing.h: New file.
4732 * sysdeps/x86_64/nptl/Makefile
4733 (CFLAGS-pthread_create.c): Variable removed.
4735 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4736 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4738 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4739 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4742 2014-06-21 Joseph Myers <joseph@codesourcery.com>
4744 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4745 (__ASSUME_SIGFRAME_V2): Remove macro.
4746 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4747 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4748 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4749 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4750 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4751 Declare as function. Remove conditional macro definitions.
4752 (__default_rt_sa_restorer): Likewise.
4753 (__default_sa_restorer_v1): Remove declaration.
4754 (__default_sa_restorer_v2): Likewise.
4755 (__default_rt_sa_restorer_v1): Likewise.
4756 (__default_rt_sa_restorer_v2): Likewise.
4757 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4758 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4759 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4761 2014-06-20 Roland McGrath <roland@hack.frob.com>
4763 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4764 (libpthread-routines): Add sysdep.
4765 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4766 * sysdeps/unix/sysv/linux/sparc/Versions
4767 (libpthread: GLIBC_2.3.3): New version set.
4768 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4769 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4770 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4771 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4772 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4773 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4775 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4776 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4777 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4778 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4779 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4780 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4781 * sysdeps/sparc/nptl/sem_init.c: ... here.
4782 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4783 * sysdeps/sparc/nptl/sem_post.c: ... here.
4784 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4785 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4786 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4787 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4788 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4789 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4790 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4791 (libpthread-routines): Add cpu_relax.
4792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4794 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4795 (librt: GLIBC_2.3.3): New version set.
4796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4797 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4798 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4799 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4801 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4802 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4805 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4807 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4809 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4811 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4813 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4816 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4820 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4824 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4828 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4832 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4836 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4839 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4841 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4843 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4844 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4845 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4847 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4850 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4852 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4854 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4856 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4858 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4859 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4860 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4861 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4862 * nscd/nscd.c: Likewise.
4863 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4864 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4865 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4866 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4868 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4869 <kernel-features.h>.
4870 (init_mq_netlink): Remove conditional have_sock_cloexec
4871 definitions. Remove code conditional on have_sock_cloexec < 0.
4872 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4873 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4874 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4875 <kernel-features.h>.
4876 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4877 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4879 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4881 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4882 Add tests for memset_chk and memset.
4884 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4887 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4890 * elf/tst-dl-iter-static.c: New file.
4891 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4893 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4896 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4898 * sysdeps/unix/sysv/linux/kernel-features.h
4899 (__ASSUME_F_GETOWN_EX): Remove macro.
4900 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4901 <kernel-features.h>.
4902 (miss_F_GETOWN_EX): Remove variable or macro.
4903 (do_fcntl): Do not check miss_F_GETOWN_EX.
4904 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4906 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4908 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4909 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4910 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4912 * sysdeps/unix/sysv/linux/kernel-features.h
4913 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4914 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4915 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4916 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4918 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4921 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4922 Fix calculation of the symbol's value.
4923 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4924 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4925 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4926 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4927 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4928 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4929 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4930 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4931 (modules-names): Add `tst-armtlsdescmod',
4932 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4933 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4934 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4935 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4936 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4937 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4938 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4939 ($(objpfx)tst-armtlsdescloc): New dependency.
4940 ($(objpfx)tst-armtlsdescextnow): Likewise.
4941 ($(objpfx)tst-armtlsdescextlazy): Likewise.
4942 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4944 * sysdeps/arm/configure: Regenerate.
4946 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4948 * include/fcntl.h (__atfct_seterrno): Remove prototype.
4949 (__atfct_seterrno_2): Likewise.
4950 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4951 <kernel-features.h>.
4952 (__ASSUME_ATFCTS): Do not undefine and redefine.
4953 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4954 (__have_atfcts): Remove conditional definition.
4955 (__fxstatat([__NR_fstatat64]: Make code unconditional.
4956 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4957 unreachable if [__ASSUME_ATFCTS].
4958 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4959 not undefine and redefine.
4960 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4961 <kernel-features.h>.
4962 (faccessat) [__NR_faccessat]: Make code unconditional.
4963 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4964 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4965 <kernel-features.h>.
4966 (fchmodat) [__NR_fchmodat]: Make code unconditional.
4967 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4968 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4969 <kernel-features.h>.
4970 (fchownat) [__NR_fchownat]: Make code unconditional.
4971 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4972 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4973 <kernel-features.h>.
4974 (futimesat) [__NR_futimesat]: Make code unconditional.
4975 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4976 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4977 <kernel-features.h>.
4978 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4979 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4980 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4981 <kernel-features.h>.
4982 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4983 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4984 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4985 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4986 <kernel-features.h>.
4987 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4988 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4989 * sysdeps/unix/sysv/linux/linkat.c: Do not include
4990 <kernel-features.h>.
4991 (linkat) [__NR_linkat]: Make code unconditional.
4992 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4993 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4994 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4995 <kernel-features.h>.
4996 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4997 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4998 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4999 <kernel-features.h>.
5000 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5001 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5002 * sysdeps/unix/sysv/linux/openat.c: Do not include
5003 <kernel-features.h>.
5004 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5005 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5006 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5007 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5008 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5009 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5010 <kernel-features.h>.
5011 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5012 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5013 result of INLINE_SYSCALL directly, not via int variable.
5014 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5015 <kernel-features.h>.
5016 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5017 (renameat) [__NR_renameat]: Make code unconditional.
5018 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5019 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5020 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5021 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5022 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5023 (__ASSUME_ATFCTS): Do not undefine and redefine.
5024 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5025 <kernel-features.h>.
5026 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5027 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5028 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5029 <kernel-features.h>.
5030 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5031 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5032 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5033 (__ASSUME_ATFCTS): Do not undefine and redefine.
5034 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5035 <kernel-features.h>.
5036 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5037 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5038 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5039 <kernel-features.h>.
5040 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5041 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5043 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5045 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5047 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5050 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5051 constructed tree before returning error.
5052 * posix/bug-regexp36.c: Expand test case.
5054 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5057 * math/libm-test.inc (scalbln_test_date):
5058 Add errno expectations.
5059 * math/w_scalblnf.c: New File.
5060 Add wrapper which checks for setting errno to ERANGE.
5061 Add weak_alias for corresponding scalbln function.
5062 * math/w_scalbln.c: Likewise.
5063 * math/w_scalblnl.c: Likewise.
5064 * math/Makefile (libm-calls): Add w_scalbln.
5065 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5066 Remove weak_alias for corresponding scalbln function.
5067 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5069 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5070 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5071 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5072 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5073 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5074 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5075 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5076 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5077 Remove long_double_symbol for scalblnl function in libm, libc.
5078 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5079 Add wrapper which checks for setting errno to ERANGE.
5080 Add long_double_symbol for scalblnl function in libm, libc.
5081 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5082 Remove long_double_symbol for scalblnl in libm.
5083 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5084 Add wrapper which checks for setting errno to ERANGE.
5085 Add long_double_symbol for scalblnl function in libm.
5086 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5087 Do not use wrapper because of own implementation.
5089 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5091 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5092 3 bytes for __pad1 for x32.
5093 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5095 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5096 H.J. Lu <hongjiu.lu@intel.com>
5098 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5099 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5100 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5101 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5102 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5104 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5107 * posix/regcomp.c (parse_expression): Deallocate partially
5108 constructed tree before returning error.
5109 * posix/Makefile.c (tests): Add bug-regex36.
5110 (generated): Add bug-regex36.mtrace.
5111 (tests-special): Add $(objpfx)bug-regex36-mem.out
5112 (bug-regex36-ENV): New variable.
5113 ($(objpfx)bug-regex36-mem.out): New rule.
5114 * posix/bug-regex36.c: New file.
5116 2014-06-19 Will Newton <will.newton@linaro.org>
5118 * malloc/malloc.c (systrim): If extra is zero then return
5121 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5123 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5125 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
5127 * sysdeps/aarch64/strchr.S: New file.
5129 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5132 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5133 from arguments -2 or below.
5134 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5135 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5137 2014-06-18 Andreas Schwab <schwab@suse.de>
5140 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5141 of a bracket expr not to run off the end of the string.
5142 * posix/Makefile (tests): Add tst-fnmatch3.
5143 * posix/tst-fnmatch3.c: New file.
5145 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5147 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5148 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5149 [$(cross-compiling) = no]: Likewise.
5150 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5151 [$(cross-compiling) = no]: Likewise.
5153 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5156 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5157 double, adjusted for any remainder from the high double.
5158 * math/libm-test.inc (nearbyint): Add tests.
5161 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5163 * nptl/sysdeps/powerpc/Makefile: Moved ...
5164 * sysdeps/powerpc/nptl/Makefile: ... here.
5165 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5166 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5167 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5168 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5169 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5170 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5171 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5172 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5173 * nptl/sysdeps/powerpc/tls.h: Moved ...
5174 * sysdeps/powerpc/nptl/tls.h: ... here.
5176 2014-06-16 Joseph Myers <joseph@codesourcery.com>
5179 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5180 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5181 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5182 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5183 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5184 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5185 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5186 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5187 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5189 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5191 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5193 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5195 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5198 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5201 2014-06-16 Florian Weimer <fweimer@redhat.com>
5204 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5205 non-executed part of the test.
5207 2014-06-16 Andreas Schwab <schwab@suse.de>
5209 * string/bits/string2.h (strdup, strndup): Update feature guard.
5211 2014-06-14 David S. Miller <davem@davemloft.net>
5213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5215 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5217 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5218 that was previously under [RESET_PID].
5219 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5221 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5222 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5223 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5224 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5225 (__libc_vfork): New strong alias.
5226 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5228 2014-06-14 Andi Kleen <ak@linux.intel.com>
5230 * sysdeps/generic/elide.h: New file.
5232 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5234 * Makefile (installed-headers): Adjust path of pthread.h header.
5236 2014-06-13 Roland McGrath <roland@hack.frob.com>
5238 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5239 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5240 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5241 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5243 * nptl/sysdeps/s390/Makefile: Moved ...
5244 * sysdeps/s390/nptl/Makefile: ... here.
5245 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5246 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5247 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5248 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5249 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5250 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5251 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5252 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5253 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5254 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5255 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5256 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5257 * nptl/sysdeps/s390/tls.h: Moved ...
5258 * sysdeps/s390/nptl/tls.h: ... here.
5260 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5261 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5263 2014-06-13 David S. Miller <davem@davemloft.net>
5265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5268 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5272 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5273 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5274 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5275 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5276 Remove RESET_PID cpp guards.
5277 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5278 Remove RESET_PID cpp guards.
5279 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5281 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5283 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5286 2014-06-13 Andi Kleen <ak@linux.intel.com>
5288 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5289 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5290 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5291 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5292 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5293 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5294 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5295 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5296 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5297 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5298 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5299 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5300 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5301 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5302 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5303 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5304 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5305 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5306 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5307 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5309 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5310 (pthread_rwlock_rdlock): Add elision.
5311 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5312 (pthread_rwlock_wrlock): Add elision.
5313 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5314 (pthread_rwlock_trywrlock): Add elision.
5315 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5316 (pthread_rwlock_tryrdlock): Add elision.
5317 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5318 (pthread_rwlock_tryrdlock): Add elision unlock.
5319 * nptl/sysdeps/pthread/pthread.h:
5320 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5321 (PTHREAD_RWLOCK_INITIALIZER,
5322 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5323 Handle new elision field.
5324 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5325 * sysdeps/arm/nptl/bits/pthreadtypes.h
5326 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5327 * sysdeps/sh/nptl/bits/pthreadtypes.h
5328 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5329 * sysdeps/tile/nptl/bits/pthreadtypes.h
5330 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5331 * sysdeps/a/nptl/bits/pthreadtypes.h
5332 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5333 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5334 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5335 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5336 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5337 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5338 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5339 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5340 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5341 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5342 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5343 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5344 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5345 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5346 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5347 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5348 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5349 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5350 (elision_init): Set try_xbegin to zero when no RTM.
5351 * sysdeps/x86/nptl/bits/pthreadtypes.h
5352 (pthread_rwlock_t): Change __pad1 to __rwelision.
5353 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5355 2014-06-13 Andi Kleen <ak@linux.intel.com>
5357 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5358 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5359 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5360 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5362 2014-06-13 Meador Inge <meadori@codesourcery.com>
5365 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5366 that the cached result has been set before returning it.
5368 2014-06-12 Roland McGrath <roland@hack.frob.com>
5370 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5371 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5372 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5373 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5374 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5375 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5377 * nptl/sysdeps/sparc/Makefile: Moved ...
5378 * sysdeps/sparc/nptl/Makefile: ... here.
5379 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5380 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5381 * nptl/sysdeps/sparc/tls.h: Moved ...
5382 * sysdeps/sparc/nptl/tls.h: ... here.
5383 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5384 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5385 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5386 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5387 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5388 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5389 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5390 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5391 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5392 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5393 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5394 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5395 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5396 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5397 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5398 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5399 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5400 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5402 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5403 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5405 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5406 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5408 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5409 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5412 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5414 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5415 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5417 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5418 (struct list_links): Type removed.
5419 (struct thread_node, struct timer_node): Replace struct list_links
5420 with struct list_head.
5421 (list_unlink_ip): Likewise.
5422 * sysdeps/pthread/timer_routines.c
5423 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5424 (list_append, list_insbefore): Likewise.
5425 (list_init): Function removed.
5426 (thread_init, init_module): Use INIT_LIST_HEAD instead.
5427 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5428 * sysdeps/pthread/Makefile: ... here, new file.
5430 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5431 * sysdeps/nptl/Implies: ... here.
5432 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5433 * nptl/sysdeps/pthread/list.h: Moved ...
5434 * include/list.h: ... here.
5435 * nptl/sysdeps/pthread/createthread.c: Moved ...
5436 * nptl/createthread.c: ... here.
5437 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5438 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5439 * nptl/pt-longjmp.c: ... here.
5440 * nptl/sysdeps/pthread/Makefile: Moved ...
5441 * sysdeps/nptl/Makefile: ... here.
5442 * nptl/sysdeps/pthread/Subdirs: Moved ...
5443 * sysdeps/nptl/Subdirs: ... here.
5444 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5445 * sysdeps/nptl/aio_misc.h: ... here.
5446 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5447 * sysdeps/nptl/bits/libc-lock.h: ... here.
5448 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5449 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5450 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5451 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5452 * nptl/sysdeps/pthread/configure: Moved ...
5453 * sysdeps/nptl/configure: ... here.
5454 * nptl/sysdeps/pthread/configure.ac: Moved ...
5455 * sysdeps/nptl/configure.ac: ... here.
5456 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5457 * sysdeps/nptl/gai_misc.h: ... here.
5458 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5459 * sysdeps/nptl/librt-cancellation.c: ... here.
5460 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5461 * sysdeps/nptl/malloc-machine.h: ... here.
5462 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5463 * sysdeps/nptl/pthread-functions.h: ... here.
5464 * nptl/sysdeps/pthread/pthread.h: Moved ...
5465 * sysdeps/nptl/pthread.h: ... here.
5466 * nptl/sysdeps/pthread/setxid.h: Moved ...
5467 * sysdeps/nptl/setxid.h: ... here.
5468 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5469 * sysdeps/nptl/sigfillset.c: ... here.
5470 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5471 * sysdeps/nptl/tcb-offsets.h: ... here.
5472 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5473 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5474 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5475 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5476 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5477 * sysdeps/pthread/allocalim.h: ... here.
5478 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5479 * sysdeps/pthread/bits/sigthread.h: ... here.
5480 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5481 * sysdeps/pthread/flockfile.c: ... here.
5482 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5483 * sysdeps/pthread/ftrylockfile.c: ... here.
5484 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5485 * sysdeps/pthread/funlockfile.c: ... here.
5486 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5487 * sysdeps/pthread/posix-timer.h: ... here.
5488 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5489 * sysdeps/pthread/timer_create.c: ... here.
5490 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5491 * sysdeps/pthread/timer_delete.c: ... here.
5492 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5493 * sysdeps/pthread/timer_getoverr.c: ... here.
5494 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5495 * sysdeps/pthread/timer_gettime.c: ... here.
5496 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5497 * sysdeps/pthread/timer_routines.c: ... here.
5498 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5499 * sysdeps/pthread/timer_settime.c: ... here.
5500 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5501 * sysdeps/pthread/tst-timer.c: ... here.
5502 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5503 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5505 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5506 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5508 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5509 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5510 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5511 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5512 Update #include target.
5513 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5514 * sysdeps/i386/i686/nptl/Makefile: ... here.
5515 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5516 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5517 Update #include target.
5518 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5519 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5520 * nptl/sysdeps/i386/Makefile: Moved ...
5521 * sysdeps/i386/nptl/Makefile: ... here.
5522 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5523 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5524 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5525 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5526 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5527 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5528 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5529 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5530 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5531 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5532 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5533 * nptl/sysdeps/i386/tls.h: Moved ...
5534 * sysdeps/i386/nptl/tls.h: ... here.
5536 * sysdeps/sh/Makefile [$(subdir) = csu]
5537 (gen-as-const-headers): Add tcb-offsets.sym.
5538 * nptl/sysdeps/sh/Makefile: File removed.
5539 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5540 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5541 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5542 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5543 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5544 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5545 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5546 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5547 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5548 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5549 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5550 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5551 * nptl/sysdeps/sh/tls.h: Moved ...
5552 * sysdeps/sh/nptl/tls.h: ... here.
5553 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5554 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5555 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5556 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5557 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5558 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5559 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5560 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5561 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5562 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5563 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5564 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5565 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5566 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5567 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5568 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5569 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5570 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5571 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5572 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5573 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5574 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5575 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5576 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5577 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5579 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5580 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5582 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5583 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5584 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5585 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5586 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5587 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5588 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5589 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5590 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5591 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5592 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5593 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5594 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5595 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5596 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5597 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5598 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5599 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5600 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5602 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5604 * posix/spawn_faction_addopen.c: Include string.h.
5606 2014-06-11 Roland McGrath <roland@hack.frob.com>
5608 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5609 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5610 * nptl/sysdeps/x86_64/Makefile: Moved ...
5611 * sysdeps/x86_64/nptl/Makefile: ... here.
5612 * nptl/sysdeps/x86_64/configure: Moved ...
5613 * sysdeps/x86_64/nptl/configure: ... here.
5614 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5615 * sysdeps/x86_64/nptl/configure.ac: ... here.
5616 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5617 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5618 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5619 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5620 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5621 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5622 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5623 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5624 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5625 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5626 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5627 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5628 * nptl/sysdeps/x86_64/tls.h: Moved ...
5629 * sysdeps/x86_64/nptl/tls.h: ... here.
5630 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5631 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5632 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5633 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5635 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5637 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5641 2014-06-11 Joseph Myers <joseph@codesourcery.com>
5643 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5645 [POSIX] (off_t): Likewise.
5646 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5647 [POSIX] (S_ISBLK): Require macro.
5648 [POSIX] (S_ISCHR): Likewise.
5649 [POSIX] (S_ISDIR): Likewise.
5650 [POSIX] (S_ISFIFO): Likewise.
5651 [POSIX] (S_ISREG): Likewise.
5652 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5654 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5656 [POSIX] (time_t): Likewise.
5657 [POSIX] (timer_t): Likewise.
5659 2014-06-11 Florian Weimer <fweimer@redhat.com>
5662 * posix/spawn_int.h (struct __spawn_action): Make the path string
5663 non-const to support deallocation.
5664 * posix/spawn_faction_addopen.c
5665 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5666 * posix/spawn_faction_destroy.c
5667 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5668 path in all spawn_do_open actions.
5669 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5670 posix_spawn_file_actions_addopen.
5672 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5674 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5675 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5676 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5677 conditional code always true.
5678 (__libc_vfork): New alias.
5680 2014-06-11 Roland McGrath <roland@hack.frob.com>
5682 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5683 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5685 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5687 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5688 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5690 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5691 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5693 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5694 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5696 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5698 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5699 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5700 multiarch strcmp for PPC64.
5701 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5702 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5704 multiarch optimizations.
5705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5706 (__libc_ifunc_impl_list): Likewise.
5708 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5710 * benchtests/scripts/validate_benchout.py: New script.
5711 * benchtests/Makefile (bench-func): Call it.
5712 * benchtests/scripts/benchout.schema.json: New file.
5714 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5716 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5717 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5718 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5719 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5720 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5721 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5722 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5723 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5724 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5725 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5726 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5727 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5728 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5729 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5730 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5731 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5835 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5836 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5837 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5838 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5839 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5841 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5843 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5846 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5847 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5848 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5850 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5851 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5852 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5853 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5854 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5855 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5857 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5858 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5860 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5861 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5862 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5863 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5865 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5866 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5867 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5868 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5869 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5870 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5871 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5873 2014-06-10 Wilco <wdijkstr@arm.com>
5875 * math/test-fenv-return.c: New file.
5876 * math/Makefile: Add new test test-fenv-return.
5878 2014-06-10 Joseph Myers <joseph@codesourcery.com>
5881 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5883 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5884 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5885 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5886 0.0L for an argument of 1.0L.
5887 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5889 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5890 value when x - 1 is zero.
5891 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5892 * sysdeps/i386/fpu/libm-test-ulps: Update.
5893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5895 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5898 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5900 2014-06-09 Roland McGrath <roland@hack.frob.com>
5902 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5903 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5905 2014-06-09 Roland McGrath <roland@hack.frob.com>
5907 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5908 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5910 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5911 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5913 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5914 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5916 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5917 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5919 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5920 if not already defined.
5921 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5922 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5923 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5924 (TLS_INIT_TP): Use it.
5925 (TLS_DEFINE_INIT_TP): New macro.
5926 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5928 2014-06-09 Joseph Myers <joseph@codesourcery.com>
5930 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5932 [POSIX] (IXANY): Likewise.
5933 [POSIX] (OLCUC): Likewise.
5934 [POSIX || POSIX2008] (CBAUD): Do not allow.
5935 [POSIX || POSIX2008] (DEFECHO): Likewise.
5936 [POSIX || POSIX2008] (ECHOCTL): Likewise.
5937 [POSIX || POSIX2008] (ECHOKE): Likewise.
5938 [POSIX || POSIX2008] (ECHOPRT): Likewise.
5939 [POSIX || POSIX2008] (EXTA): Likewise.
5940 [POSIX || POSIX2008] (EXTB): Likewise.
5941 [POSIX || POSIX2008] (FLUSHO): Likewise.
5942 [POSIX || POSIX2008] (LOBLK): Likewise.
5943 [POSIX || POSIX2008] (PENDIN): Likewise.
5944 [POSIX || POSIX2008] (SWTCH): Likewise.
5945 [POSIX || POSIX2008] (VDISCARD): Likewise.
5946 [POSIX || POSIX2008] (VDSUSP): Likewise.
5947 [POSIX || POSIX2008] (VLNEXT): Likewise.
5948 [POSIX || POSIX2008] (VREPRINT): Likewise.
5949 [POSIX || POSIX2008] (VSTATUS): Likewise.
5950 [POSIX || POSIX2008] (VWERASE): Likewise.
5951 (B*): Change to B[0123456789]*.
5952 * conform/data/time.h-data [POSIX || UNIX98]
5953 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5954 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5955 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5956 [POSIX] (tm_*): Do not allow.
5958 2014-06-07 Joseph Myers <joseph@codesourcery.com>
5960 * Makefile (install): Don't set LANGUAGE.
5961 * Makefile.in (install): Likewise.
5962 * assert/Makefile (test-assert-ENV): Remove variable.
5963 (test-assert-perr-ENV): Likewise.
5964 * elf/Makefile (neededtest4-ENV): Likewise.
5965 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5966 [$(cross-compiling) = no]: Don't set LANGUAGE.
5967 * io/ftwtest-sh (LANG): Remove variable.
5968 * libio/Makefile (tst-widetext-ENV): Likewise.
5969 * manual/install.texi (Running make install): Don't refer to
5970 environment settings for make install.
5971 * INSTALL: Regenerated.
5972 * nptl/tst-tls6.sh: Don't set LANG.
5973 * posix/globtest.sh (LANG): Remove variable.
5974 * string/Makefile (tester-ENV): Likewise.
5975 (inl-tester-ENV): Likewise.
5976 (noinl-tester-ENV): Likewise.
5977 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5978 [$(cross-compiling) = no]: Don't set LANGUAGE.
5979 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5980 without explicit environment settings.
5982 2014-06-06 Roland McGrath <roland@hack.frob.com>
5984 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5985 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5986 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5987 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5989 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
5991 * crypt/crypt-private.h [DOS]: Add some includes taken from the
5992 other files in the crypt directory.
5993 * crypt/crypt.c: Remove duplicate includes.
5994 * crypt/crypt-entry.c: Likewise.
5995 * crypt/crypt_util.c: Likewise.
5997 2014-06-06 Joseph Myers <joseph@codesourcery.com>
5999 * Makeconfig (run-program-env): New variable.
6000 (run-program-prefix-before-env): Likewise.
6001 (run-program-prefix-after-env): Likewise.
6002 (run-program-prefix): Define in terms of new variables.
6003 (built-program-cmd-before-env): New variable.
6004 (built-program-cmd-after-env): Likewise.
6005 (built-program-cmd): Define in terms of new variables.
6006 (test-program-prefix-before-env): New variable.
6007 (test-program-prefix-after-env): Likewise.
6008 (test-program-prefix): Define in terms of new variables.
6009 (test-program-cmd-before-env): New variable.
6010 (test-program-cmd-after-env): Likewise.
6011 (test-program-cmd): Define in terms of new variables.
6012 * Rules (make-test-out): Use $(run-program-env).
6013 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6014 (help): Do not mention environment variables. Mention
6015 --timeoutfactor option.
6016 (timeoutfactor): New variable.
6017 (blacklist_exports): Remove function.
6018 (exports): Remove variable.
6019 (command): Do not include ${exports}.
6020 * manual/install.texi (Configuring and compiling): Do not mention
6021 test wrappers preserving environment variables. Mention that last
6022 assignment to a variable must take precedence.
6023 * INSTALL: Regenerated.
6024 * benchtests/Makefile (run-bench): Use $(run-program-env).
6025 * catgets/Makefile ($(objpfx)test1.cat): Use
6026 $(built-program-cmd-before-env), $(run-program-env) and
6027 $(built-program-cmd-after-env).
6028 ($(objpfx)test2.cat): Do not specify environment variables
6030 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6031 $(run-program-env) and $(built-program-cmd-after-env).
6032 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6033 $(run-program-env) and $(test-program-cmd-after-env).
6034 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6036 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6037 run_program_env and test_program_cmd_after_env arguments.
6038 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6039 * elf/tst-pathopt.sh: Use run_program_env argument.
6040 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6041 $(test-wrapper-env) and $(run-program-env).
6042 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6043 run_program_env arguments.
6044 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6045 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6046 $(test-program-prefix-before-env), $(run-program-env) and
6047 $(test-program-prefix-after-env).
6048 ($(objpfx)tst-gettext2.out): Likewise.
6049 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6050 run_program_env and test_program_prefix_after_env arguments.
6051 * intl/tst-gettext2.sh: Likewise.
6052 * intl/tst-gettext4.sh: Do not set environment variables
6054 * intl/tst-gettext6.sh: Likewise.
6055 * intl/tst-translit.sh: Likewise.
6056 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6057 $(test-program-prefix-before-env), $(run-program-env) and
6058 $(test-program-prefix-after-env).
6059 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6060 run_program_env and test_program_prefix_after_env arguments.
6061 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6062 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6063 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6064 explicitly with each use of ${test_wrapper_env}.
6065 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6066 $(test-program-prefix-before-env), $(run-program-env) and
6067 $(test-program-prefix-after-env).
6068 * posix/tst-getconf.sh: Do not set environment variables
6070 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6071 run_program_env and test_program_prefix_after_env arguments.
6072 * stdio-common/tst-printf.sh: Do not set environment variables
6074 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6075 $(test-program-prefix-before-env), $(run-program-env) and
6076 $(test-program-prefix-after-env).
6077 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6078 run_program_env and test_program_prefix_after_env arguments.
6079 Split $test calls into $test_pre and $test.
6080 * timezone/Makefile (build-testdata): Use
6081 $(built-program-cmd-before-env), $(run-program-env) and
6082 $(built-program-cmd-after-env).
6084 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6086 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6087 strlen for non SHARED builds.
6089 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6091 * nptl/allocatestack.c (check_list): Inlined function...
6092 (__reclaim_stacks): ... here.
6094 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6097 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6100 2014-06-05 Joseph Myers <joseph@codesourcery.com>
6102 * Rules (make-test-out): Include
6103 LOCPATH=$(common-objpfx)localedata in default environment.
6104 * debug/Makefile (tst-chk1-ENV): Remove variable.
6105 (tst-chk2-ENV): Likewise.
6106 (tst-chk3-ENV): Likewise.
6107 (tst-chk4-ENV): Likewise.
6108 (tst-chk5-ENV): Likewise.
6109 (tst-chk6-ENV): Likewise.
6110 (tst-lfschk1-ENV): Likewise.
6111 (tst-lfschk2-ENV): Likewise.
6112 (tst-lfschk3-ENV): Likewise.
6113 (tst-lfschk4-ENV): Likewise.
6114 (tst-lfschk5-ENV): Likewise.
6115 (tst-lfschk6-ENV): Likewise.
6116 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6117 (tst-iconv7-ENV): Likewise.
6118 * intl/Makefile (LOCPATH-ENV): Likewise.
6119 (tst-codeset-ENV): Likewise.
6120 (tst-gettext3-ENV): Likewise.
6121 (tst-gettext5-ENV): Likewise.
6122 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6123 (tst-fopenloc-ENV): Likewise.
6124 (tst-fgetws-ENV): Remove variable.
6125 (tst-ungetwc1-ENV): Likewise.
6126 (tst-ungetwc2-ENV): Likewise.
6127 (bug-ungetwc2-ENV): Likewise.
6128 (tst-swscanf-ENV): Likewise.
6129 (bug-ftell-ENV): Likewise.
6130 (tst-fgetwc-ENV): Likewise.
6131 (tst-fseek-ENV): Likewise.
6132 (tst-ftell-partial-wide-ENV): Likewise.
6133 (tst-ftell-active-handler-ENV): Likewise.
6134 (tst-ftell-append-ENV): Likewise.
6135 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6136 (tst-regexloc-ENV): Likewise.
6137 (bug-regex1-ENV): Likewise.
6138 (tst-regex-ENV): Likewise.
6139 (tst-regex2-ENV): Likewise.
6140 (bug-regex5-ENV): Likewise.
6141 (bug-regex6-ENV): Likewise.
6142 (bug-regex17-ENV): Likewise.
6143 (bug-regex18-ENV): Likewise.
6144 (bug-regex19-ENV): Likewise.
6145 (bug-regex20-ENV): Likewise.
6146 (bug-regex22-ENV): Likewise.
6147 (bug-regex23-ENV): Likewise.
6148 (bug-regex25-ENV): Likewise.
6149 (bug-regex26-ENV): Likewise.
6150 (bug-regex30-ENV): Likewise.
6151 (bug-regex32-ENV): Likewise.
6152 (bug-regex33-ENV): Likewise.
6153 (bug-regex34-ENV): Likewise.
6154 (bug-regex35-ENV): Likewise.
6155 (tst-rxspencer-ENV): Likewise.
6156 (tst-rxspencer-no-utf8-ENV): Likewise.
6157 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6158 (tst-sscanf-ENV): Likewise.
6159 (tst-swprintf-ENV): Likewise.
6160 (tst-swscanf-ENV): Likewise.
6161 (test-vfprintf-ENV): Likewise.
6162 (scanf13-ENV): Likewise.
6163 (bug14-ENV): Likewise.
6164 (tst-grouping-ENV): Likewise.
6165 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6166 (tst-strtod3-ENV): Likewise.
6167 (tst-strtod4-ENV): Likewise.
6168 (tst-strtod5-ENV): Likewise.
6169 (testmb2-ENV): Likewise./
6170 * string/Makefile (tst-strxfrm-ENV): Likewise.
6171 (tst-strxfrm2-ENV): Likewise.
6172 (bug-strcoll1-ENV): Likewise.
6173 (test-strcasecmp-ENV): Likewise.
6174 (test-strncasecmp-ENV): Likewise.
6175 * time/Makefile (tst-strptime-ENV): Likewise.
6176 (tst-ftime_l-ENV): Likewise.
6177 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6178 (tst-mbrtowc-ENV): Likewise.
6179 (tst-wcrtomb-ENV): Likewise.
6180 (tst-mbrtowc2-ENV): Likewise.
6181 (tst-c16c32-1-ENV): Likewise.
6182 (tst-mbsnrtowcs-ENV): Likewise.
6184 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6186 * manual/resource.texi (How to get information about the memory
6187 subsystem?): Fix typo.
6188 Reported by Peon de la Parra Ivan <peon@keba.com>
6190 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6193 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6194 (pthread_spin_lock): Branch out of spin loop to proper location.
6195 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6196 (pthread_spin_lock): Likewise.
6198 * nptl/tst-spin4.c: New test.
6199 * nptl/Makefile (tests): Add tst-spin4.
6201 2014-06-03 Andreas Schwab <schwab@suse.de>
6204 * resolv/res_send.c (send_dg): Reload file descriptor after
6207 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6209 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6211 2014-06-03 Richard Henderson <rth@redhat.com>
6213 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6214 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6215 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6216 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6217 in the SAVE_PID block.
6218 (__libc_vfork): New alias.
6219 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6221 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6222 child in registers, not on the stack. Remove RESET_PID conditionals.
6223 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6225 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6227 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6229 2014-06-03 Wilco <wdijkstr@arm.com>
6231 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6232 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6233 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6234 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6235 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6238 2014-06-03 Wilco <wdijkstr@arm.com>
6240 * sysdeps/aarch64/fpu/math_private.h
6241 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6242 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6243 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6244 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6247 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6249 * crypt/crypt-private.h: Include ufc-crypt.h.
6250 (__b64_from_24bit): Declare extern.
6251 * crypt/crypt_util.c(__b64_from_24bit): New function.
6252 (b64t): New static const variable.
6253 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6254 (b64t): Remove variable.
6255 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6256 * crypt/sha256-crypt.c: Include crypt-private.h.
6257 (b64t): Remove variable.
6258 (__sha256_crypt_r): Remove b64_from_24bit and replace
6259 with __b64_from_24bit.
6260 * crypt/sha512-crypt.c: Likewise.
6262 2014-06-02 Roland McGrath <roland@hack.frob.com>
6264 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6265 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6266 Label the code __libc_vfork rather than __vfork.
6267 [!NOT_IN_libc] (vfork): Define as weak alias.
6268 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6269 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6270 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6272 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6274 * malloc/malloc.c (malloc_info): Fix format specifier for
6277 2014-06-02 Wilco <wdijkstr@arm.com>
6279 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6282 2014-06-02 Wilco <wdijkstr@arm.com>
6285 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6286 Rewrite to reduce FPCR/FPSR accesses.
6288 2014-06-01 David S. Miller <davem@davemloft.net>
6290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6292 2014-05-31 David S. Miller <davem@davemloft.net>
6294 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6295 to occur in round to nearest mode when |x| >= 2.0
6297 2014-05-30 Richard Henderson <rth@twiddle.net>
6299 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6300 (PSEUDO_RET_NOERRNO): Remove.
6301 (ret): Don't redefine.
6302 (ret_NOERRNO): Define in terms of ret.
6303 (ret_ERRVAL): Likewise.
6305 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6306 use of PSEUDO_RET; perform the error check directly.
6308 2014-05-30 Marko Myllynen <myllynen@redhat.com>
6310 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6313 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6315 * malloc/malloc (malloc_info): Fix formatting.
6317 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6318 Roland McGrath <roland@hack.frob.com>
6320 * malloc/malloc (malloc_info): Also print mmapped statistics.
6322 2014-05-30 Roland McGrath <roland@hack.frob.com>
6324 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6325 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6327 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
6329 * malloc/malloc.c (malloc_info): Inline mi_arena.
6331 2014-05-29 Richard Henderson <rth@twiddle.net>
6333 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6334 Remove comma before expanding ASM_ARGS_##nr.
6335 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6336 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6338 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6339 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6340 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6341 (ASM_ARGS_1): Add leading comma.
6343 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6344 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6345 to __errno_location.
6346 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6347 Remove the expected plt for __errno_location.
6349 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6350 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6353 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6354 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6355 it and break it down.
6356 (DOCARGS_0, DOCARGS_1): Do nothing.
6357 (DOCARGS_2): Update to store into the new stack frame.
6358 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6359 (UNDOCARGS_1): Update to restore from the new stack frame.
6360 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6361 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6363 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6364 (SINGLE_THREAD_P): New parameter for result regno.
6365 (PSEUDO): Update to match; use cbz instead of beq.
6367 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6368 Use ENTRY to define the _nocancel entry point. Share the syscall
6369 and syscall error check paths with the cancel path.
6372 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6373 whitespace; tabs before and after asm mnemonics.
6375 2014-05-29 Eric Wong <normalperson@yhbt.net>
6378 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6379 Call fstat64 or stat64 internally, depending on arguments passed.
6380 Replace stat buffer argument with file descriptor argument.
6381 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6382 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6383 Pass fd to __internal_statvfs instead of calling fstat64.
6384 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6385 Pass fd to __internal_statvfs64 instead of calling fstat64.
6386 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6387 Pass -1 to __internal_statvfs instead of calling stat64.
6388 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6389 Pass -1 to __internal_statvfs64 instead of calling stat64.
6391 2014-05-28 Roland McGrath <roland@hack.frob.com>
6393 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6394 that was previously under [RESET_PID].
6395 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6397 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6398 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6400 2014-05-27 Roland McGrath <roland@hack.frob.com>
6402 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6404 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6405 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6407 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
6409 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6411 2014-05-27 Andreas Schwab <schwab@suse.de>
6413 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6415 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6416 * elf/rtld.c (init_tls, dl_main): Likewise.
6417 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6418 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6419 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6420 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6421 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6422 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6423 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6424 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6425 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6426 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6427 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6428 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6429 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6430 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6431 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6432 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6433 * sysdeps/generic/tls.h: Update description.
6435 2014-05-27 Will Newton <will.newton@linaro.org>
6438 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6439 and restore r2 rather than just restoring.
6441 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6444 * libio/tst-ftell-append.c: New test case.
6445 * libio/Makefile (tests): Add test case.
6446 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6448 * libio/wfileops.c (do_ftell_wide): Likewise.
6450 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6454 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6458 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6459 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6460 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6461 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6462 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6463 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6467 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6470 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6471 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6472 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6473 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6474 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6476 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6477 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6479 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6481 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6483 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6484 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6485 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6487 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6488 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6489 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6490 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6492 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6495 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6498 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6501 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6505 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6508 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6513 conditional [RESET_PID].
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6515 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6517 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6522 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6523 (__libc_vfork): New strong alias.
6524 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6531 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6532 (__libc_vfork): New strong alias.
6533 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6538 2014-05-26 Carlos O'Donell <carlos@redhat.com>
6540 * malloc/malloc.c (mi_arena): New function.
6541 (malloc_info): Remove nested function mi_arena. Call non-nosted
6544 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6546 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6548 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6549 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6550 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6551 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6552 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6553 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6554 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6556 2014-05-26 Andreas Schwab <schwab@suse.de>
6559 * locale/programs/repertoire.c (repertoire_read): Add slash
6560 between I18NPATH element and file name.
6561 * locale/programs/locfile.c (locfile_read): Likewise.
6563 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6565 * nptl/pthread_mutexattr_settype.c
6566 (__pthread_mutexattr_settype):
6567 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6569 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6571 * nptl/tst-mutex5 (do_test):
6572 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6574 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6576 * benchtests/README: Document 'init' directive.
6577 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6579 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6580 (parse_file): Recognize 'init' directive.
6582 2014-05-26 Kyle McMartin <kyle@redhat.com>
6585 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6586 alignment of struct pthread.
6588 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6591 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6592 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6593 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6594 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6596 2014-05-25 Richard Henderson <rth@twiddle.net>
6598 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6599 (SINGLE_THREAD_P_PIC): Remove.
6600 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6601 (SINGLE_THREAD_P_PIC): Remove.
6603 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6604 branch to syscall error ...
6606 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6607 from __local_syscall_error to .Lsyscall_error.
6608 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6609 (SYSCALL_ERROR): Update label name.
6611 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6612 Do not use DOARGS/UNDOARGS.
6613 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6614 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6615 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6616 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6617 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6619 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6622 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6623 define if !NOT_IN_libc.
6624 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6625 define with non-default symbol versions.
6627 2014-05-23 Richard Henderson <rth@twiddle.net>
6629 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6630 (vfork, __vfork): Define via compat_symbol.
6632 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6633 [!HAVE_IFUNC] (vfork_compat): Remove.
6634 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6636 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6639 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6640 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6643 2014-05-23 Richard Henderson <rth@twiddle.net>
6645 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6646 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6647 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6648 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6650 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6651 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6652 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6653 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6654 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6655 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6656 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6657 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6658 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6659 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6660 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6661 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6662 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6663 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6664 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6665 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6666 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6667 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6668 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6669 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6670 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6671 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6672 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6673 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6674 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6675 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6676 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6677 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6678 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6679 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6680 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6681 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6682 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6683 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6684 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6685 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6686 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6687 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6688 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6689 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6690 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6691 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6692 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6693 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6694 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6695 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6696 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6697 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6698 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6699 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6700 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6701 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6702 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6703 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6704 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6705 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6707 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6708 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6709 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6710 before exiting on error.
6711 (__libc_vfork): New strong alias.
6712 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6713 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6715 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6716 that was previously under [RESET_PID].
6717 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6719 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6721 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6724 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6725 value when x - 1 is zero.
6726 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6727 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6728 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6729 0.0L for an argument of 1.0L.
6730 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6732 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6733 value when x - 1 is zero.
6734 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6735 * sysdeps/i386/fpu/libm-test-ulps: Update.
6736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6738 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6740 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6741 alphasort and versionsort.
6743 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6745 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6747 [copysignf]: Likewise.
6749 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6751 * crypt/md5-crypt.c: Fix formatting.
6753 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6755 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6756 (b64_from_24bit): New function.
6758 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6760 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6761 libc_hidden_builtin_def to ifunc.
6762 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6763 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6765 2014-05-21 Roland McGrath <roland@hack.frob.com>
6767 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6768 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6770 2014-05-21 Joseph Myers <joseph@codesourcery.com>
6772 * nscd/Depend (linuxthreads): Remove.
6774 * resolv/Depend (linuxthreads): Remove.
6775 * rt/Depend (linuxthreads): Remove.
6777 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6778 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6779 $(common-objpfx)elf/.
6780 (link-libc-before-gnulib): Likewise.
6781 (elfobjdir): Remove variable.
6782 * Makefile (install): Use $(elf-objpfx) instead of
6783 $(common-objpfx)elf/.
6784 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6786 (link-libc-deps): Likewise.
6787 ($(common-objpfx)libc.so): Likewise.
6788 ($(common-objpfx)linkobj/libc.so): Likewise.
6789 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6790 instead of $(common-objpfx)elf/.
6791 (symbolic-link-list): Likewise.
6792 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6793 [$(cross-compiling) = no]: Likewise.
6794 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6796 (static-gnulib-arch): Likewise.
6797 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6798 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6799 $(common-objpfx)elf/.
6801 2014-05-21 Richard Henderson <rth@redhat.com>
6803 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6804 (SINGLE_THREAD_P): Use the correct width load. Fold
6805 into the ldr offset.
6807 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6808 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6810 2014-05-20 Joseph Myers <joseph@codesourcery.com>
6812 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6813 (libgcc_s_resume): Use __attribute_used__.
6814 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6817 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6819 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6820 optimization when used with float constants.
6822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6824 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6827 * locale/nl_langinfo_l.c: Make direct reference to every
6828 _nl_current_CATEGORY symbol.
6829 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6830 (tests-static): Add tst-langinfo-static.
6831 (tests-special): Add tst-langinfo-static.out.
6832 ($(objpfx)tst-langinfo.out): Redirect output.
6833 ($(objpfx)tst-langinfo-static.out): New.
6834 * localedata/tst-langinfo.sh: Send output to stdout.
6835 * localedata/tst-langinfo-static.c: New file.
6838 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6839 when the shift amount is modulo the limb size.
6841 2014-05-20 Richard Henderson <rth@redhat.com>
6844 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6845 Change type of sa_flags from unsigned int to int.
6848 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6850 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6852 2014-05-20 Will Newton <will.newton@linaro.org>
6854 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6855 Test the return value of the system call in the nocancel case.
6857 2014-05-20 Will Newton <will.newton@linaro.org>
6858 Yvan Roux <yvan.roux@linaro.org>
6860 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6861 #include of asm/ptrace.h.
6862 (PTRACE_GET_THREAD_AREA): Remove #undef.
6863 (PTRACE_GETHBPREGS): Likewise.
6864 (PTRACE_SETHBPREGS): Likewise.
6865 (struct user_regs_struct): New structure.
6866 (struct user_fpsimd_struct): New structure.
6867 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6868 #include of asm/ptrace.h and second #include of sys/user.h.
6869 (PTRACE_GET_THREAD_AREA): Remove #undef.
6870 (PTRACE_GETHBPREGS): Likewise.
6871 (PTRACE_SETHBPREGS): Likewise.
6872 (ELF_NGREG): Use new struct user_regs_struct.
6873 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6875 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6877 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6878 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6880 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6883 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6884 membar to avoid block loads/stores to overlap previous stores.
6886 2014-05-17 Richard Henderson <rth@redhat.com>
6888 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6889 Create the __##syscall_name##_nocancel entry point.
6890 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6891 Remove; let the sysdep-cancel.h code create it.
6893 2014-05-17 David S. Miller <davem@davemloft.net>
6895 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6896 Protect with __USE_GNU.
6897 (TIOCSET_TEMPT): Likewise.
6898 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6899 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6900 these are already provided in bits/ioctl-types.h
6902 2014-05-16 Roland McGrath <roland@hack.frob.com>
6904 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6905 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6907 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6908 Use wait4 regardless of [__NR_waitpid].
6910 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6913 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6914 (_FP_NANSIGN_Q): Set the quiet bit.
6916 2014-05-16 Joseph Myers <joseph@codesourcery.com>
6918 * benchtests/Makefile
6919 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6920 not $(common-objpfx)math/libm.so.
6921 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6922 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6923 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6924 $(common-objpfx)dlfcn/libdl.so.
6925 ($(objpfx)tst-audit8): Depend on $(libm), not
6926 $(common-objpfx)math/libm.so.
6927 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6928 not $(common-objpfx)dlfcn/libdl.so.
6930 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6931 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
6932 [$(build-shared) = yes].
6933 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6934 $(common-objpfx)nptl/libpthread.so.
6935 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6936 $(common-objpfx)math/libm.so$(libm.so-version) or
6937 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6938 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6939 $(common-objpfx)dlfcn/libdl.so.
6940 * setjmp/Makefile (link-libm): Remove variable.
6941 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6942 * stdio-common/Makefile (link-libm): Remove variable.
6943 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6944 * stdlib/Makefile (link-libm): Remove variable.
6945 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6946 ($(objpfx)tst-strtod-round): Likewise.
6947 ($(objpfx)tst-tininess): Likewise.
6948 ($(objpfx)tst-strtod-underflow): Likewise.
6949 ($(objpfx)tst-strtod6): Likewise.
6950 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6951 $(libdl), not $(common-objpfx)nptl/libpthread.so and
6952 $(common-objpfx)dlfcn/libdl.so.
6954 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6956 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6957 BSD terminal modes definitions.
6959 2014-05-16 Roland McGrath <roland@hack.frob.com>
6961 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6962 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6964 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6965 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6966 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6967 Don't do #include_next.
6968 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6969 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6970 Don't do #include_next.
6971 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6972 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6973 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6974 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6976 2014-05-16 Allan McRae <allan@archlinux.org>
6978 * po/sv.po: Update Swedish translation from translation project.
6980 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6983 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
6986 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6987 errno if the TIOCGPTN ioctl fails with an error different than
6989 * login/tst-ptsname.c: New file.
6990 * login/Makefile (tests): Add tst-ptsname.
6993 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6996 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7000 herrno to return EAI_AGAIN.
7002 2014-05-14 Roland McGrath <roland@hack.frob.com>
7004 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7005 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7006 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7007 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7008 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7009 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7010 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7011 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7012 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7013 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7014 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7015 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7016 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7017 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7018 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7019 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7020 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7021 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7022 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7023 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7024 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7025 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7026 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7027 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7028 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7029 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7030 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7031 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7032 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7033 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7035 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7037 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7040 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7042 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7044 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7046 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7048 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7050 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7052 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7054 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7056 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7058 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7060 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7062 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7064 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7066 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7069 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7071 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7073 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7075 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7077 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7079 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7081 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7083 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7085 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7087 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7090 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7092 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7094 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7095 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7096 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7097 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7098 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7099 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7100 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7101 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7102 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7103 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7104 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7105 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7106 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7107 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7108 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7109 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7110 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7111 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7112 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7113 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7114 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7115 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7116 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7117 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7118 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7119 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7120 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7121 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7122 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7123 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7124 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7126 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7127 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7129 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7130 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7131 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7132 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7133 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7134 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7136 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7137 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7139 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7140 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7142 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7143 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7145 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7146 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7147 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7148 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7150 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7151 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7152 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7153 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7154 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7155 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7156 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7157 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7159 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7160 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7162 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7164 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7165 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7166 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7167 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7168 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7170 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7172 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7174 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7175 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7176 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7177 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7178 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7179 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7181 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7182 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7184 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7185 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7187 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7188 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7190 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7191 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7192 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7193 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7195 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7196 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7197 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7198 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7199 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7200 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7201 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7202 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7204 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7205 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7207 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7209 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7210 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7211 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7212 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7213 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7215 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7217 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7219 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7220 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7221 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7222 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7223 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7224 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7225 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7226 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7227 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7228 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7230 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7231 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7233 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7234 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7236 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7237 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7239 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7240 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7241 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7242 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7243 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7244 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7246 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7247 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7248 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7249 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7250 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7251 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7252 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7253 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7255 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7256 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7258 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7260 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7261 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7262 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7263 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7264 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7266 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7268 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7270 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7271 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7272 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7273 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7274 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7275 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7276 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7277 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7278 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7279 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7280 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7282 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7283 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7285 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7286 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7288 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7289 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7290 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7291 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7292 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7293 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7294 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7295 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7296 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7297 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7298 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7299 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7300 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7301 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7302 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7303 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7304 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7305 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7307 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7308 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7309 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7310 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7312 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7313 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7314 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7315 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7316 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7317 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7318 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7319 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7321 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7322 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7324 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7325 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7326 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7327 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7328 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7329 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7330 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7331 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7332 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7333 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7334 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7335 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7336 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7337 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7338 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7339 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7340 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7342 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7343 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7344 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7345 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7346 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7348 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7349 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7350 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7351 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7352 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7353 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7354 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7355 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7356 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7357 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7359 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7360 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7362 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7363 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7364 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7365 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7366 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7367 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7368 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7369 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7370 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7371 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7372 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7373 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7374 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7375 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7376 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7378 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7380 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7384 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7386 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7388 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7396 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7397 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7398 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7399 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7400 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7401 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7402 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7403 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7404 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7405 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7406 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7407 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7408 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7409 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7410 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
7412 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7413 that was previously under [RESET_PID].
7414 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7415 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7416 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7418 * sysdeps/i386/nptl/Implies: New file.
7419 * sysdeps/x86_64/nptl/Implies: New file.
7420 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7421 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7422 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7423 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7425 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7426 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7427 (__libc_vfork): New strong alias.
7428 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7429 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7431 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7432 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7433 (__libc_vfork): New strong alias.
7434 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7435 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7437 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7438 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7439 (__libc_vfork): New strong alias.
7440 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7441 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7442 * nptl/pt-vfork.c: New file.
7443 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7444 (libpthread: GLIBC_2.20): New version set (empty).
7446 2014-05-14 Will Newton <will.newton@linaro.org>
7448 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7451 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7454 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7455 arguments with exponent 65 or above.
7456 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7457 arguments 0x1p113L or above.
7458 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7459 to arguments 0x1p107L or above.
7460 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7461 positive arguments with exponent 65 or above.
7462 * math/auto-libm-test-in: Add more tests of log1p.
7463 * math/auto-libm-test-out: Regenerated.
7466 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7467 non-finite arguments is +0.
7468 * math/s_cacosf.c (__cacosf): Likewise.
7469 * math/s_cacosl.c (__cacosl): Likewise.
7470 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7471 * sysdeps/i386/fpu/libm-test-ulps: Update.
7472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7475 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7477 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7478 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7479 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7480 for explicit high bit of mantissa when testing for argument equal
7482 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7483 * sysdeps/i386/fpu/libm-test-ulps: Update.
7484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7487 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7488 (__erf): Scale by 16 instead of 8 in potentially underflowing
7489 case. Ensure exception if result actually underflows.
7490 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7491 (__erff): Scale by 16 instead of 8 in potentially underflowing
7492 case. Ensure exception if result actually underflows.
7493 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7494 (efx8): Remove variable.
7495 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7496 case. Ensure exception if result actually underflows.
7497 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7498 (efx8): Remove variable.
7499 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7500 case. Ensure exception if result actually underflows.
7501 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7502 (efx8): Remove variable.
7503 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7504 case. Ensure exception if result actually underflows.
7505 * math/auto-libm-test-in: Add more tests of erf.
7506 * math/auto-libm-test-out: Regenerated.
7508 2014-05-14 Andreas Schwab <schwab@suse.de>
7510 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7511 Remove code conditionalized on USE___THREAD.
7513 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7514 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7517 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7519 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7520 Define unconditionally.
7521 (__ASSUME_O_CLOEXEC): Likewise.
7522 (__ASSUME_SOCK_CLOEXEC): Likewise.
7523 (__ASSUME_IN_NONBLOCK): Likewise.
7524 (__ASSUME_PIPE2): Likewise.
7525 (__ASSUME_EVENTFD2): Likewise.
7526 (__ASSUME_SIGNALFD4): Likewise.
7527 (__ASSUME_DUP3): Likewise.
7528 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7529 (__ASSUME_DUP3): Do not define.
7530 (__ASSUME_EVENTFD2): Likewise.
7531 (__ASSUME_IN_NONBLOCK): Likewise.
7532 (__ASSUME_O_CLOEXEC): Likewise.
7533 (__ASSUME_PIPE2): Likewise.
7534 (__ASSUME_SIGNALFD4): Likewise.
7535 (__ASSUME_SOCK_CLOEXEC): Likewise.
7536 (__ASSUME_UTIMES): Undefine.
7537 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7538 (__ASSUME_UTIMES): Do not define.
7539 (__ASSUME_O_CLOEXEC): Likewise.
7540 (__ASSUME_SOCK_CLOEXEC): Likewise.
7541 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7542 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7544 (__ASSUME_PIPE2): Likewise.
7545 (__ASSUME_EVENTFD2): Likewise.
7546 (__ASSUME_SIGNALFD4): Likewise.
7547 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7548 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7550 (__ASSUME_EVENTFD2): Likewise.
7551 (__ASSUME_SIGNALFD4): Likewise.
7552 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7553 (__ASSUME_32BITUIDS): Likewise.
7554 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7555 (__ASSUME_IPC64): Likewise.
7556 (__ASSUME_ST_INO_64_BIT): Likewise.
7557 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7558 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7559 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7560 (__ASSUME_UTIMES): Do not define.
7561 (__ASSUME_PSELECT): Likewise.
7562 (__ASSUME_PPOLL): Likewise.
7563 (__ASSUME_O_CLOEXEC): Likewise.
7564 (__ASSUME_SOCK_CLOEXEC): Likewise.
7565 (__ASSUME_IN_NONBLOCK): Likewise.
7566 (__ASSUME_PIPE2): Likewise.
7567 (__ASSUME_EVENTFD2): Likewise.
7568 (__ASSUME_SIGNALFD4): Likewise.
7569 (__ASSUME_DUP3): Likewise.
7570 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7571 (__ASSUME_UTIMES): Likewise.
7572 (__ASSUME_O_CLOEXEC): Likewise.
7573 (__ASSUME_SOCK_CLOEXEC): Likewise.
7574 (__ASSUME_IN_NONBLOCK): Likewise.
7575 (__ASSUME_PIPE2): Likewise.
7576 (__ASSUME_EVENTFD2): Likewise.
7577 (__ASSUME_SIGNALFD4): Likewise.
7578 (__ASSUME_DUP3): Likewise.
7579 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7580 (__ASSUME_UTIMES): Likewise.
7581 (__ASSUME_O_CLOEXEC): Likewise.
7582 (__ASSUME_SOCK_CLOEXEC): Likewise.
7583 (__ASSUME_IN_NONBLOCK): Likewise.
7584 (__ASSUME_PIPE2): Likewise.
7585 (__ASSUME_EVENTFD2): Likewise.
7586 (__ASSUME_SIGNALFD4): Likewise.
7587 (__ASSUME_DUP3): Likewise.
7588 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7590 (__ASSUME_UTIMES): Likewise.
7591 (__ASSUME_EVENTFD2): Likewise.
7592 (__ASSUME_SIGNALFD4): Likewise.
7593 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7594 (__ASSUME_O_CLOEXEC): Likewise.
7595 (__ASSUME_SOCK_CLOEXEC): Likewise.
7596 (__ASSUME_IN_NONBLOCK): Likewise.
7597 (__ASSUME_PIPE2): Likewise.
7598 (__ASSUME_EVENTFD2): Likewise.
7599 (__ASSUME_SIGNALFD4): Likewise.
7600 (__ASSUME_DUP3): Likewise.
7601 (__ASSUME_UTIMES): Undefine.
7603 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7604 feclearexcept. Remove symbol versioning code.
7605 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7606 symbol versioning code.
7607 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7608 symbol versioning code.
7609 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7610 feupdateenv. Remove symbol versioning code.
7611 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7612 fegetexceptflag. Remove symbol versioning code.
7613 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7614 fesetexceptflag. Remove symbol versioning code.
7615 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7616 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7617 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7618 (__posix_fadvise64_l32): Remove prototype.
7619 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7622 2014-05-13 Roland McGrath <roland@hack.frob.com>
7624 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7625 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7626 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7627 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7629 2014-05-13 Sami Kerola <kerolasa@iki.fi>
7631 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7632 current working directory
7634 2014-05-13 Roland McGrath <roland@hack.frob.com>
7636 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7637 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7638 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7639 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7640 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7641 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7642 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7643 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7644 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7645 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7646 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7647 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7648 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7649 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7650 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7651 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7652 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7653 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7654 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7655 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7656 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7657 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7658 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7659 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7660 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7661 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7662 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7663 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7664 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7665 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7666 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7667 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7668 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7669 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7670 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7671 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7672 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7673 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7674 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7675 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7676 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7677 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7679 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7680 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7682 * sysdeps/unix/sysv/linux/arm/Makefile
7683 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7684 Add rt-aeabi_unwind_cpp_pr1.
7685 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7686 Add nptl-aeabi_unwind_cpp_pr1.
7687 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7688 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7689 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7690 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7691 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7692 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7694 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7695 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7696 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7697 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7699 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7700 Deconditionalize the code that was previously under [RESET_PID].
7701 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7703 * sysdeps/generic/exit-thread.h: New file.
7704 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7705 * include/unistd.h (__exit_thread): Remove declaration.
7706 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7707 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7708 * csu/libc-start.c: Include <exit-thread.h>.
7709 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7710 * nptl/pthread_create.c: Include <exit-thread.h>.
7711 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7712 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7713 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7714 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7715 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7716 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7717 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7718 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7719 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7720 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7721 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7722 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7723 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7724 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7725 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7726 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7727 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7729 2014-05-13 Andreas Schwab <schwab@suse.de>
7731 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7733 2014-05-12 Joseph Myers <joseph@codesourcery.com>
7735 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7736 (__ASSUME_UTIMES): Do not condition on kernel version.
7737 (__ASSUME_PSELECT): Define unconditionally.
7738 (__ASSUME_PPOLL): Likewise.
7739 (__ASSUME_ATFCTS): Likewise.
7740 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7741 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7742 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7743 (__ASSUME_UTIMENSAT): Define unconditionally.
7744 (__ASSUME_PRIVATE_FUTEX): Likewise.
7745 (__ASSUME_FALLOCATE): Likewise.
7746 (__ASSUME_O_CLOEXEC): Likewise.
7747 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7748 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7749 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7750 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7751 (__ASSUME_IN_NONBLOCK): Likewise.
7752 (__ASSUME_PIPE2): Likewise.
7753 (__ASSUME_EVENTFD2): Likewise.
7754 (__ASSUME_SIGNALFD4): Likewise.
7755 (__ASSUME_DUP3): Likewise.
7756 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7757 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7758 (__ASSUME_AT_RANDOM): Likewise.
7759 (__ASSUME_PREADV): Likewise.
7760 (__ASSUME_PWRITEV): Likewise.
7761 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7762 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7763 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7764 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7765 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7766 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7767 (__ASSUME_O_CLOEXEC): Define unconditionally.
7768 (__ASSUME_PSELECT): Do not undefine conditionally.
7769 (__ASSUME_PPOLL): Likewise.
7770 (__ASSUME_ATFCTS): Likewise.
7771 (__ASSUME_SET_ROBUST_LIST): Likewise.
7772 (__ASSUME_UTIMENSAT): Likewise.
7773 (__ASSUME_FDATASYNC): Define unconditionally.
7774 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7775 (__ASSUME_SIGFRAME_V2): Likewise.
7776 )__ASSUME_EVENTFD2): Likewise.
7777 (__ASSUME_SIGNALFD4): Likewise.
7778 (__ASSUME_PSELECT): Do not undefine conditionally.
7779 (__ASSUME_PPOLL): Likewise.
7780 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7781 (__ASSUME_PSELECT): Define unconditionally.
7782 (__ASSUME_PPOLL): Likewise.
7783 (__ASSUME_O_CLOEXEC): Likewise.
7784 (__ASSUME_SOCK_CLOEXEC): Likewise.
7785 (__ASSUME_IN_NONBLOCK): Likewise.
7786 (__ASSUME_PIPE2): Likewise.
7787 (__ASSUME_EVENTFD2): Likewise.
7788 (__ASSUME_SIGNALFD4): Likewise.
7789 (__ASSUME_DUP3): Likewise.
7790 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7791 (__ASSUME_O_CLOEXEC): Likewise.
7792 (__ASSUME_SOCK_CLOEXEC): Likewise.
7793 (__ASSUME_IN_NONBLOCK): Likewise.
7794 (__ASSUME_PIPE2): Likewise.
7795 (__ASSUME_EVENTFD2): Likewise.
7796 (__ASSUME_SIGNALFD4): Likewise.
7797 (__ASSUME_DUP3): Likewise.
7798 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7799 (__ASSUME_EVENTFD2): Likewise.
7800 (__ASSUME_SIGNALFD4): Likewise.
7801 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7803 2014-05-12 Andreas Schwab <schwab@suse.de>
7806 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7807 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7808 than maximum RPC packet size.
7809 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7810 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7811 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7812 (_nss_nis_getservbyport_r): Likewise.
7814 2014-05-12 Will Newton <will.newton@linaro.org>
7816 * malloc/Makefile (tests): Add tst-mallopt.
7817 * malloc/tst-mallopt.c: New file.
7819 2014-05-09 Roland McGrath <roland@hack.frob.com>
7821 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7822 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7824 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7826 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7827 (tst-tlsmod6.so): Likewise.
7829 2014-05-09 Roland McGrath <roland@hack.frob.com>
7831 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7833 2014-05-09 Joseph Myers <joseph@codesourcery.com>
7836 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7837 and <dl-procinfo.h>.
7838 (__fegetenv): Save SSE state in envp->__eip if supported.
7839 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7840 envp->__eip if supported.
7841 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7842 and <dl-procinfo.h>.
7843 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7844 __data_offset and __data_selector in environment to 0. Set SSE
7846 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7848 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7850 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7852 2014-05-09 Will Newton <will.newton@linaro.org>
7854 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7855 and libc_relro_required for ARM.
7856 * sysdeps/arm/preconfigure: Regenerate.
7858 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7859 Stefan Liebler <stli@linux.vnet.ibm.com>
7861 * config.make.in (enable-lock-elision): New Makefile variable.
7862 * configure.ac: Likewise.
7863 * configure: Regenerate.
7864 * sysdeps/s390/configure.ac:
7865 Add check for gcc transactions support.
7866 * sysdeps/s390/configure: Regenerate.
7867 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7868 Build elision files if enabled.
7869 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7870 Add lock elision support for s390.
7871 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7872 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7873 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7874 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7875 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7876 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7877 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7883 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7885 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7886 (__lll_timedlock_elision, __lll_lock_elision)
7887 (__lll_unlock_elision, __lll_trylock_elision)
7888 (lll_timedlock_elision, lll_lock_elision)
7889 (lll_unlock_elision, lll_trylock_elision): Add.
7890 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7891 (pthread_mutex_t): Add lock elision support for s390.
7893 2014-05-14 Wilco <wdijkstr@arm.com>
7895 * sysdeps/arm/fclrexcpt.c: Cleanup.
7896 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7897 * sysdeps/arm/feenablxcpt.c: Cleanup.
7898 * sysdeps/arm/fegetenv.c: Cleanup.
7899 * sysdeps/arm/fegetexcept.c: Cleanup.
7900 * sysdeps/arm/fegetround.c: Cleanup.
7901 * sysdeps/arm/feholdexcpt.c: Cleanup.
7902 * sysdeps/arm/fesetenv.c: Cleanup.
7903 * sysdeps/arm/fesetround.c: Cleanup.
7904 * sysdeps/arm/feupdateenv.c: Cleanup.
7905 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7906 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7907 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7908 * sysdeps/arm/ftestexcept.c: Cleanup.
7909 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7910 * sysdeps/arm/setfpucw.c: Cleanup.
7912 2014-05-09 Will Newton <will.newton@linaro.org>
7914 * sysdeps/arm/armv7/strcmp.S: New file.
7915 * NEWS: Mention addition of ARMv7 optimized strcmp.
7917 2014-05-08 Roland McGrath <roland@hack.frob.com>
7919 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7920 look for %.ac rather than %.in.
7922 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7923 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7924 * sysdeps/mach/hurd/configure: Regenerated.
7925 * sysdeps/unix/sysv/linux/configure: Regenerated.
7927 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7929 2014-05-07 Steve Ellcey <sellcey@mips.com>
7932 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7936 2014-05-07 Andreas Schwab <schwab@suse.de>
7938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7939 when skipping over non-matching result from nscd.
7941 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
7944 * nptl/sockperf.c (client): Check socket return value.
7947 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7948 nscd security class.
7950 2014-05-06 Roland McGrath <roland@hack.frob.com>
7952 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7953 * sysdeps/arm/unwind.h: ... here.
7955 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
7958 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7961 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7963 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7964 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7965 multiarch strncpy for PPC64.
7966 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7967 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7969 multiarch optimizations.
7970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7971 (__libc_ifunc_impl_list): Likewise.
7972 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7973 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7974 multiarch stpncpy for PPC64.
7975 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7976 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7978 2014-05-06 Andreas Schwab <schwab@suse.de>
7981 * gmon/mcount.c (_MCOUNT_DECL): Use
7982 atomic_compare_and_exchange_bool_acq instead of
7983 catomic_compare_and_exchange_bool_acq.
7985 2014-05-05 Roland McGrath <roland@hack.frob.com>
7987 * elf/Makefile (others, install-bin): Remove pldd.
7988 (pldd-modules): Variable removed.
7989 ($(objpfx)pldd): Target removed.
7990 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7991 (others, install-bin): Append pldd here.
7992 ($(objpfx)pldd): New target.
7994 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7995 to 0, so the first #if test emitted later doesn't see it undefined.
7996 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7997 * sysdeps/gnu/errlist.c: Regenerated.
7999 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8001 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8002 [libc_hidden_builtin_def]: Define to empty value.
8003 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8004 [libc_hidden_builtin_def]: Likewise.
8005 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8006 [libc_hidden_builtin_def]: Likewise.
8007 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8008 [libc_hidden_builtin_def]: Likewise.
8009 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8010 __redirect_memcpy and define ifunc as default hidden symbol.
8011 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8012 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8014 2014-05-04 Adam Conrad <adconrad@0c3.net>
8016 * locale/iso-4217.def: Reintroduce XDR currency.
8018 2014-05-04 Allan McRae <allan@archlinux.org>
8020 * po/eo.po: Update Esperanto translation from translation project.
8022 2014-05-02 Carlos O'Donell <carlos@redhat.com>
8024 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8025 and FEATURE_INDEX_MAX to 1.
8026 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8028 2014-05-01 Steve Ellcey <sellcey@mips.com>
8030 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8031 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8032 * iconvdata/big5.c (ONE_DIRECTION): Define.
8033 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8034 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8035 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8036 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8037 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8038 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8039 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8040 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8041 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8042 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8043 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8044 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8045 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8046 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8047 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8048 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8049 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8050 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8051 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8052 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8053 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8054 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8055 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8056 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8057 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8058 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8059 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8060 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8061 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8062 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8063 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8064 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8065 * iconvdata/johab.c (ONE_DIRECTION): Define.
8066 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8067 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8068 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8069 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8070 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8071 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8072 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8073 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8074 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8075 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8077 2014-05-01 Roland McGrath <roland@hack.frob.com>
8079 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8080 (_IO_JUMPS_OFFSET): Define to 0.
8082 * nptl/sysdeps/pthread/bits/libc-lock.h
8083 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8084 (__libc_lock_define_initialized_recursive): Always define using
8085 initializer. Modern compilers treat uninitialized (implicit zero) and
8086 explicit zero initializers the same (i.e. put the datum in bss).
8088 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8090 * nscd/nscd-client.h: Include <string.h>.
8092 2014-05-01 David S. Miller <davem@davemloft.net>
8095 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8096 multiple zero bytes exist at the end of a string.
8097 Reported by Aurelien Jarno <aurelien@aurel32.net>
8099 * string/test-strcmp.c (check): Add explicit test for situations where
8100 there are multiple zero bytes after the first.
8102 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8105 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8106 when compiling wprintf.
8107 * stdio-common/tstdiomisc.c (t3): New function.
8110 2014-05-01 Steve Ellcey <sellcey@mips.com>
8112 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8113 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8114 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8115 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8117 2014-05-01 Steve Ellcey <sellcey@mips.com>
8119 * stdlib/longlong.h: Updated from GCC.
8121 2014-05-01 Will Newton <will.newton@linaro.org>
8122 Bernard Ogden <bernie.ogden@linaro.org>
8124 * NEWS: Update fixed bug list.
8127 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8129 2014-04-30 David S. Miller <davem@davemloft.net>
8131 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8132 (libc_feholdexcept_setround_sparc_ctx): New function.
8133 (libc_fesetenv_sparc_ctx): Likewise.
8134 (libc_feupdateenv_sparc_ctx): Likewise.
8135 (libc_feholdsetround_sparc_ctx): Likewise.
8136 (libc_feholdexcept_setround_ctx): Define.
8137 (libc_feholdexcept_setroundf_ctx): Likewise.
8138 (libc_feholdexcept_setroundl_ctx): Likewise.
8139 (libc_fesetenv_ctx): Likewise.
8140 (libc_fesetenvf_ctx): Likewise.
8141 (libc_fesetenvl_ctx): Likewise.
8142 (libc_feupdateenv_ctx): Likewise.
8143 (libc_feupdateenvf_ctx): Likewise.
8144 (libc_feupdateenvl_ctx): Likewise.
8145 (libc_feresetround_ctx): Likewise.
8146 (libc_feresetroundf_ctx): Likewise.
8147 (libc_feresetroundl_ctx): Likewise.
8148 (libc_feholdsetround_ctx): Likewise.
8149 (libc_feholdsetroundf_ctx): Likewise.
8150 (libc_feholdsetroundl_ctx): Likewise.
8152 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8153 with __USE_GNU instead of XOPEN cpp guards.
8155 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8158 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8159 with XOPEN cpp guards.
8161 2014-04-30 Julian Brown <julian@codesourcery.com>
8164 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8167 2014-04-30 Joseph Myers <joseph@codesourcery.com>
8170 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8172 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8173 * sysdeps/unix/sysv/linux/configure: Regenerated.
8174 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8175 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8176 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8177 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8178 * README: Update reference to required Linux kernel version.
8179 * manual/install.texi (Linux): Update reference to required Linux
8180 kernel headers version.
8181 * INSTALL: Regenerated.
8183 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8185 [POSIX] (limits.h): Likewise.
8186 [POSIX] (math.h): Likewise.
8187 [POSIX] (sys/wait.h): Likewise.
8188 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8190 [POSIX] (stddef.h): Do not allow header inclusion.
8192 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8194 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8196 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8198 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8199 Return immediately after lll_futex_wake.
8201 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8204 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8206 (datahead_init_pos): Call datahead_init_common early.
8207 (datahead_init_neg): Likewise.
8209 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8210 datahead_init_neg): New functions.
8211 * nscd/aicache.c (addhstaiX): Use them.
8212 * nscd/grpcache.c (cache_addgr): Likewise.
8213 * nscd/hstcache.c (cache_addhst): Likewise.
8214 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8215 * nscd/netgroupcache.c (do_notfound): Likewise.
8216 (addgetnetgrentX): Likewise.
8217 (addinnetgrX): Likewise.
8218 * nscd/pwdcache.c (cache_addpw): Likewise.
8219 * nscd/servicescache.c (cache_addserv): Likewise.
8221 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8222 Atsushi Onoe <atsushi@onoe.org>
8227 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8228 one response is valid.
8229 * resolv/res_send.c (send_dg): Check for validity of other
8230 response if the current response is a referral.
8232 2014-04-29 Steve Ellcey <sellcey@mips.com>
8234 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8236 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8239 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8240 Always divide by positive zero when computing -Inf result.
8241 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8242 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8244 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8246 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8247 FPSCR if value do not change.
8248 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8249 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8250 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8251 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8252 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8253 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8256 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8258 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8259 * sysdeps/unix/sysv/linux/hppa: Move directory from
8260 ports/systeps/unix/sysv/linux/hppa.
8261 * README: Update listing for hppa-*-linux-gnu.
8263 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
8266 * manual/stdio.texi (Hook functions): Fix types of stream hook
8269 * socket/sys/socket.h: Fix typo in comment.
8271 2014-04-28 Wilco <wdijkstr@arm.com>
8273 * sysdeps/arm/fenv_private.h: New file.
8274 * sysdeps/arm/math_private.h: New file.
8275 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8277 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8279 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8281 (La_x86_64_retval): Likewise.
8283 2014-04-24 Ian Bolton <ian.bolton@arm.com>
8285 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8286 fpsr if value didn't change.
8287 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8288 to fpcr if value didn't change.
8289 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8290 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8291 fpsr or fpcr if value didn't change.
8292 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8293 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8294 fpcr if value didn't change.
8295 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8296 to fpsr if value didn't change.
8298 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8300 * nptl/tst-sem3.c: Use test-skeleton.c
8301 (main): Rename to do_test. Use return instead of
8303 * nptl/tst-sem4.c: Use test-skeleton.c
8304 (main): Rename to do_test.
8306 2014-04-22 David S. Miller <davem@davemloft.net>
8308 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8309 (struct sigaction): New struct member __glibc_reserved0, change
8310 type of sa_flags to int.
8312 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8314 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8315 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8317 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8319 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8320 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8322 2014-04-22 Will Newton <will.newton@linaro.org>
8323 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8325 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8326 (__longjmp): Add longjmp and longjmp_target SystemTap
8328 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8329 (__sigsetjmp): Add setjmp SystemTap probe.
8331 2014-04-17 Carlos O'Donell <carlos@redhat.com>
8333 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8336 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8338 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8340 * sysdeps/powerpc/fpu/fenv_private.h
8341 (libc_feholdexcept_setroundl_ctx): Define to
8342 libc_feholdexcept_setround_ppc_ctx.
8343 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8344 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8345 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8346 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8348 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8350 * sysdeps/aarch64/math-tests.h: New file.
8352 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8354 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8357 Check and set bit_AVX2_Usable.
8358 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8360 (bit_AVX2): Likewise.
8361 (index_AVX2_Usable): Likewise.
8362 (CPUID_AVX2): Likewise.
8363 (HAS_AVX2): Likewise.
8365 2014-04-17 Will Newton <will.newton@linaro.org>
8367 * manual/setjmp.texi (System V contexts): Add note that
8368 calling setcontext on a context created by a call to a
8369 signal handler is undefined. Update text to note that
8370 setcontext from a signal handler is possible but not
8374 * stdlib/tst-setcontext.c: Include signal.h.
8375 (main): Check that the signal stack before and
8376 after swapcontext is the same.
8378 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8379 Re-implement to restore registers in user code and avoid
8380 rt_sigreturn system call.
8382 2014-04-17 Wilco <wdijkstr@arm.com>
8384 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8385 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8386 * math/test-fenv.c: Skip exception trap tests on targets which only
8387 support non-stop mode.
8389 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8390 Wilco Dijkstra <wilco.dijkstra@arm.com>
8392 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8393 (libc_feholdsetround_aarch64_ctx)
8394 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8395 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8396 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8397 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8398 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8399 (libc_feresetround_noexl_ctx): Define.
8401 2014-04-16 Richard Henderson <rth@redhat.com>
8403 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8405 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8408 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8409 const from the non-libc, non-ldso copy.
8411 * sysdeps/alpha/libm-test-ulps: Regenerate.
8413 2014-04-16 Ian Bolton <ian.bolton@arm.com>
8414 Wilco Dijkstra <wilco.dijkstra@arm.com>
8416 * sysdeps/aarch64/fpu/math_private.h: New file.
8418 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8420 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8422 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8425 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8426 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8428 Intel MPX bound registers before _dl_profile_fixup.
8429 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8430 registers after _dl_profile_fixup. Save and restore bound
8431 registers bnd0/bnd1 when calling _dl_call_pltexit.
8432 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8433 (LR_BND_OFFSET): Likewise.
8434 (LRV_BND0_OFFSET): Likewise.
8435 (LRV_BND1_OFFSET): Likewise.
8437 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8439 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8441 * sysdeps/mach/hurd/i386/tls.h: ... here.
8442 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8443 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8446 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8448 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8450 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8452 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8454 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8457 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8458 * sysdeps/s390/configure: Regenerate.
8461 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8462 Set round-to-nearest internally to reduce error accumulation.
8464 2014-04-16 Alan Modra <amodra@gmail.com>
8468 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8469 * math/libm-test.inc (frexp_test_data): Add tests.
8470 * NEWS: Update fixed bug list.
8472 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8474 * benchtests/Makefile: Depend on libraries in build directory.
8475 (bench-math): Separate out math tests.
8476 (bench-pthread): Separate out pthread tests.
8477 (bench): Include math and pthread tests.
8479 2014-04-14 Carlos O'Donell <carlos@redhat.com>
8482 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8483 _dl_debug_initialize.
8485 * configure.ac: Remove SELinux header check.
8486 * configure: Regenerate.
8487 * nscd/selinux.c (perms): Array of const char* to permission names.
8488 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8489 default policy. Call string_to_security_class and string_to_av_perm to
8490 translate strings. Enforce default policy and call avs_has_perm with
8491 results of translated strings.
8493 2014-04-13 David S. Miller <davem@davemloft.net>
8495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8497 2014-04-12 Allan McRae <allan@archlinux.org>
8500 * manual/string.texi (Collation Functions): Fix qsort argument
8502 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8504 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8506 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8507 Make the test a no-op if there are no exceptions defined.
8509 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8511 * elf/Makefile (tests): make tst-dlopen-aout conditional on
8512 enable-hardcoded-path-in-tests
8514 2014-04-11 Will Newton <will.newton@linaro.org>
8516 * benchtests/Makefile (extra-objs): Add json-lib.o.
8517 (bench-func): Tidy up JSON output.
8518 * benchtests/bench-skeleton.c: Include json-lib.h.
8519 (main): Use JSON library functions to do output of
8521 * benchtests/bench-timing-type.c (main): Output the
8522 timing type simply, leaving formatting to the user.
8523 * benchtests/json-lib.c: New file.
8524 * benchtests/json-lib.h: Likewise.
8526 2014-04-11 Torvald Riegel <triegel@redhat.com>
8529 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8530 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8531 memory barriers. Add comments.
8532 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8533 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8534 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8535 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8536 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8537 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8539 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8541 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8542 * sysdeps/s390/s390-64/configure.ac: ... this ...
8543 * sysdeps/s390/configure.ac: ... to here.
8544 * sysdeps/s390/s390-32/configure: Delete file.
8545 * sysdeps/s390/s390-64/configure: Delete file.
8546 * sysdeps/s390/configure: Regenerate.
8548 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8550 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8552 2014-04-11 Will Newton <will.newton@linaro.org>
8554 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8555 to zero if it is not defined elsewhere. (mtrim): Test
8556 the value of MALLOC_DEBUG with #if rather than #ifdef.
8558 2014-04-10 Torvald Riegel <triegel@redhat.com>
8560 * benchtests/pthread_once-inputs: New file.
8561 * benchtests/pthread_once-source.c: New file.
8562 * benchtests/README: Update documentation.
8564 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8565 H.J. Lu <hongjiu.lu@intel.com>
8568 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8569 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8570 * sysdeps/x86_64/configure: Regenerated.
8571 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8573 (REGISTER_SAVE_RAX): Likewise.
8574 (REGISTER_SAVE_RCX): Likewise.
8575 (REGISTER_SAVE_RDX): Likewise.
8576 (REGISTER_SAVE_RSI): Likewise.
8577 (REGISTER_SAVE_RDI): Likewise.
8578 (REGISTER_SAVE_R8): Likewise.
8579 (REGISTER_SAVE_R9): Likewise.
8580 (REGISTER_SAVE_BND0): Likewise.
8581 (REGISTER_SAVE_BND1): Likewise.
8582 (REGISTER_SAVE_BND2): Likewise.
8583 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8584 bound registers when calling _dl_fixup.
8586 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8588 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8589 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8591 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8592 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8593 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8594 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8595 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8596 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8597 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8599 2014-04-09 Peter Brett <peter@peter-b.co.uk>
8602 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8603 pathconf(_PC_NAME_MAX).
8605 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8607 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8609 (__PTHREAD_SPINS): Move definition to ...
8610 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8611 (__PTHREAD_SPINS): ... here.
8612 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8613 (__PTHREAD_SPIN): Likewise.
8614 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8615 (__PTHREAD_SPIN): Likewise.
8616 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8617 (__PTHREAD_SPIN): Likewise.
8618 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8619 (__PTHREAD_SPIN): Likewise.
8620 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8621 (__PTHREAD_SPIN): Likewise.
8622 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8623 (__PTHREAD_SPIN): Likewise.
8624 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8625 (__PTHREAD_SPIN): Likewise.
8626 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8627 (__PTHREAD_SPIN): Likewise.
8628 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8629 (__PTHREAD_SPIN): Likewise.
8630 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8631 (__PTHREAD_SPIN): Likewise.
8632 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8633 (__PTHREAD_SPIN): Likewise.
8634 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8635 (__PTHREAD_SPIN): Likewise.
8637 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8638 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8639 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8640 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8642 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8643 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8644 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8645 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8647 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8648 strlen symbol for non multi-arch builds.
8649 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8650 missing hidden_def and weak_alias.
8652 2014-04-08 Carlos O'Donell <carlos@redhat.com>
8654 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8656 2014-04-07 Will Newton <will.newton@linaro.org>
8658 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8659 and contents. [!_LIBC] Remove #ifndef and contents.
8660 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8661 * string/memccpy.c (__memccpy): Use ANSI prototype.
8662 * string/memfrob.c (memfrob): Likewise.
8663 * string/strcoll.c (STRCOLL): Likewise.
8664 * string/strlen.c (strlen): Likewise.
8665 * string/strtok.c (STRTOK): Likewise.
8666 * string/strcat.c: Remove unused #include of memcopy.h.
8667 (strcat): Use ANSI prototype.
8668 * string/strchr.c: Remove unused #include of memcopy.h.
8669 (strchr): Use ANSI prototype.
8670 * string/strcmp.c: Remove unused #include of memcopy.h.
8671 (strcmp): Use ANSI prototype.
8672 * string/strcpy.c: Remove unused #include of memcopy.h.
8673 (strcpy): Use ANSI prototype.
8675 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8677 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8678 * config.make.in (config-extra-cppflags): Set it from
8679 libc_extra_cppflags.
8680 * configure.ac (libc_extra_cflags): Make it accumulate over
8681 configure fragments.
8682 (libc_extra_cppflags): New flag.
8683 * configure. Regenerate.
8684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8685 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8686 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
8687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8690 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8691 result for FE_DOWNWARD rounding mode.
8692 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8696 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8698 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8699 in function argument name.
8701 2014-04-03 David Svoboda <svoboda@cert.org>
8704 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8707 2014-04-03 Roland McGrath <roland@hack.frob.com>
8709 * elf/dl-unmap-segments.h: New file.
8710 * sysdeps/generic/ldsodefs.h
8711 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8712 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8713 * elf/dl-fptr.c: Likewise.
8714 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8715 * sysdeps/aarch64/tlsdesc.c: Likewise.
8716 * sysdeps/arm/tlsdesc.c: Likewise.
8717 * sysdeps/i386/tlsdesc.c: Likewise.
8718 * sysdeps/tile/dl-runtime.c: Likewise.
8719 * sysdeps/x86_64/tlsdesc.c: Likewise.
8720 * elf/dl-load.h: New file.
8721 * elf/dl-load.c: Include it.
8722 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8723 Macros moved to dl-load.h.
8724 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8725 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8726 Use _dl_unmap_segments in place of __munmap.
8727 Break out segment-mapping loop into ...
8728 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8730 2014-04-03 Will Newton <will.newton@linaro.org>
8732 * elf/dl-lookup.c (do_lookup_x): Remove comment
8733 referring to nested function and move variable
8734 declarations down to before first use.
8736 2014-04-02 Joseph Myers <joseph@codesourcery.com>
8740 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8742 * math/s_catanf.c (__catanf): Likewise.
8743 * math/s_catanh.c (__catanh): Likewise.
8744 * math/s_catanhf.c (__catanhf): Likewise.
8745 * math/s_catanhl.c (__catanhl): Likewise.
8746 * math/s_catanl.c (__catanl): Likewise.
8747 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8748 by positive zero when computing -Inf result.
8749 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8750 (catanh_test): Likewise.
8751 * sysdeps/i386/fpu/libm-test-ulps: Update.
8752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8755 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8756 instead of using underflowing value in computing result.
8757 * math/s_clog10.c (__clog10): Likewise.
8758 * math/s_clog10f.c (__clog10f): Likewise.
8759 * math/s_clog10l.c (__clog10l): Likewise.
8760 * math/s_clogf.c (__clogf): Likewise.
8761 * math/s_clogl.c (__clogl): Likewise.
8762 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8763 (clog10_test): Likewise.
8764 * sysdeps/i386/fpu/libm-test-ulps: Update.
8765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8767 2014-04-02 Alan Modra <amodra@gmail.com>
8770 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8771 output when value is near a power of two. Use int64_t for lx and
8772 remove casts. Use decimal rather than hex exponent constants.
8773 Don't use long double multiplication when double will suffice.
8774 * math/libm-test.inc (nextafter_test_data): Add tests.
8775 * NEWS: Add 16739 and 16786 to bug list.
8777 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8779 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8781 2014-04-01 Will Newton <will.newton@linaro.org>
8783 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8784 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8786 2014-04-01 Florian Weimer <fweimer@redhat.com>
8789 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8790 * nptl/tst-setuid2.c: New file.
8791 * nptl/Makefile (xtests): Add tst-setuid2.
8793 2014-04-01 Alan Modra <amodra@gmail.com>
8796 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8798 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8802 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8803 set errno as appropriate.
8804 * math/w_scalbf.c (__scalbf): Likewise.
8805 * math/w_scalbl.c (__scalbl): Likewise.
8806 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8807 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8808 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8812 * math/w_atan2.c: Include <errno.h>.
8813 (__atan2): Set errno for result underflowing to zero.
8814 * math/w_atan2f.c: Include <errno.h>.
8815 (__atan2f): Set errno for result underflowing to zero.
8816 * math/w_atan2l.c: Include <errno.h>.
8817 (__atan2l): Set errno for result underflowing to zero.
8818 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8820 * math/auto-libm-test-out: Regenerated.
8822 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8824 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8825 Encode instruction correctly in little endian.
8826 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8828 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8830 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8832 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8835 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8838 * sysdeps/unix/sysv/linux/kernel-features.h
8839 [__sparc__ && !__arch64__ && !__sparc_v9__]
8840 (__ASSUME_SET_ROBUST_LIST): Do not define.
8841 [__sparc__ && !__arch64__ && !__sparc_v9__]
8842 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8843 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8845 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8846 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8847 (__ASSUME_REQUEUE_PI): Likewise.
8848 (__ASSUME_SET_ROBUST_LIST): Likewise.
8849 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8850 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8852 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8853 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8855 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8857 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8859 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8860 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8862 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8863 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8867 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8868 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8869 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8871 2014-03-31 Will Newton <will.newton@linaro.org>
8873 * benchtests/Makefile (bench): Add ffs and ffsll to list
8875 * benchtests/ffs-inputs: New file.
8876 * benchtests/ffsll-inputs: Likewise.
8878 2014-03-29 Joseph Myers <joseph@codesourcery.com>
8881 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8882 too large before casting to int.
8883 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8884 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8885 * math/libm-test.inc (scalb_test_data): Add more tests.
8887 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8889 * benchtests/Makefile (DETAILED_OPT): New make option.
8890 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8892 * benchtests/bench-skeleton.c: Include stdbool.h.
8893 (main): Store and print timings per input.
8894 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8895 member to each argument value.
8896 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8897 (_print_arg_data): Initialize per-input timing to 0.
8899 * benchtests/Makefile (timing-type): New binary.
8900 (bench-clean): Also remove bench-timing-type.
8901 (bench): New target for timing-type.
8902 (bench-func): Print output in JSON format.
8903 * benchtests/bench-skeleton.c (main): Print output in JSON
8905 * benchtests/bench-timing-type.c: New file.
8906 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8907 (TIMING_PRINT_STATS): Remove.
8908 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8911 * benchtests/bench-modf.c: Remove.
8912 * benchtests/modf-inputs: New inputs file.
8914 2014-03-28 Joseph Myers <joseph@codesourcery.com>
8917 * math/s_clog10.c (M_PI_LOG10E): New macro.
8918 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8919 imaginary parts are 0.
8920 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8921 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8922 imaginary parts are 0.
8923 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8924 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8925 imaginary parts are 0.
8926 * math/libm-test.inc (clog10_test_data): Update expected results
8927 for when real and imaginary parts are 0.
8929 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
8931 * elf/dl-load.c: Finish conversion of __builtin_expect into
8934 2014-03-27 Joseph Myers <joseph@codesourcery.com>
8937 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8938 1+x for argument with exponent below -67.
8939 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8941 * math/auto-libm-test-in: Add more tests of exp.
8942 * math/auto-libm-test-out: Regenerated.
8944 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8947 * inet/getnetgrent_r.c (get_nonempty_val): New function.
8948 (nscd_getnetgrent): Use it.
8951 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8954 2014-03-27 Andi Kleen <ak@linux.intel.com>
8956 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8957 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8958 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8959 (lll_robust_unlock): Remove out of line section. Use cfi
8961 (LLL_STUB_UNWIND_INFO*): Remove.
8962 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8963 (lll_robust_lock, lll_cond_lock, lll_timedlock)
8964 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8965 (lll_robust_unlock): Remove out of line section. Use cfi
8967 (LLL_STUB_UNWIND_INFO*): Remove.
8969 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8972 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8975 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
8977 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8979 2014-03-26 Joseph Myers <joseph@codesourcery.com>
8982 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8984 * math/test-fenv-preserve.c: New file.
8985 * math/Makefile (tests): Add test-fenv-preserve.
8987 2014-03-26 Will Newton <will.newton@linaro.org>
8989 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8991 2014-03-25 Roland McGrath <roland@hack.frob.com>
8993 * scripts/versionlist.awk: Partition the version sets and emit all
8994 GLIBC_* (sorted) before all others (sorted).
8996 2014-03-25 Joseph Myers <joseph@codesourcery.com>
8998 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8999 GLIBC_2.2.5 version.
9001 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9003 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9006 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9011 2014-03-25 Andreas Schwab <schwab@suse.de>
9013 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9014 label to be used after in6ailist is initialized.
9016 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9018 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9019 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9021 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9025 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9027 (fp_formats): Update initializers.
9028 (init_fp_formats): Initialize new field.
9029 (output_for_one_input_case): Allow underflow for results up to
9031 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9032 * math/auto-libm-test-in: Don't mark some underflows from asin and
9034 * math/auto-libm-test-out: Regenerated.
9035 * sysdeps/i386/fpu/libm-test-ulps: Update.
9036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9038 2014-03-25 Andreas Schwab <schwab@suse.de>
9040 * libio/Makefile (tst-ftell-partial-wide-ENV)
9041 (tst-ftell-active-handler-ENV): Define.
9043 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9045 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9047 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9049 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9051 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9053 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9054 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9055 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9057 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9060 * elf/dl-load.c (open_verify): Add mode parameter.
9061 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9062 (open_path): Change from boolean 'secure' to complete flag 'mode'
9063 (_dl_map_object): Adjust.
9064 * elf/Makefile (tests): Add tst-dlopen-aout.
9065 * elf/tst-dlopen-aout.c: New test.
9067 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9070 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9071 (struct stat): Rename member pad0 to __glibc_reserved0.
9074 * sysdeps/s390/s390-32/bits/wordsize.h
9075 (__WORDSIZE32_SIZE_ULONG): New define.
9076 * sysdeps/s390/s390-64/bits/wordsize.h
9077 (__WORDSIZE32_SIZE_ULONG): Likewise.
9078 * sysdeps/generic/stdint.h (SIZE_MAX):
9079 Define as UL if __WORDSIZE32_SIZE_ULONG.
9082 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9083 (__glibc_reserved0): New variable.
9084 (sa_flags): Change type to int.
9086 * posix/Makefile (before-compile): Use += before-compile instead
9089 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9090 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9092 2014-03-20 Andreas Schwab <schwab@suse.de>
9095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9096 non-matching result from nscd.
9098 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9100 * scripts/bench.py: Moved to ...
9101 * benchtests/scripts/bench.py: ... here.
9102 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9104 2014-03-24 Andreas Schwab <schwab@suse.de>
9107 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9108 alloca_account and account alloca use for struct in6ailist.
9110 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9113 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9114 rounding mode to recompute results that overflow to infinity or
9116 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9118 * math/auto-libm-test-out: Regenerated.
9119 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9120 (ccosh_test): Likewise.
9121 (csin_test_data): Use plus_oflow.
9122 (csin_test): Use ALL_RM_TEST.
9123 (csinh_test_data): Use plus_oflow.
9124 (csinh_test): Use ALL_RM_TEST.
9125 * sysdeps/i386/fpu/libm-test-ulps: Update.
9126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9128 2014-03-21 Joseph Myers <joseph@codesourcery.com>
9130 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9131 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9132 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9135 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9137 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9138 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9139 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9140 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9142 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9143 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9145 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9146 * sysdeps/i386/fpu/libm-test-ulps: Update.
9147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9149 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9151 * scripts/bench.pl: Remove file.
9152 * scripts/bench.py: New benchmark script.
9153 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9154 * benchtests/README: Mention python dependency.
9155 * scripts/pylintrc: New file.
9156 * scripts/pylint: New file.
9158 * bits/mathdef.h: Use #ifdef instead of #if.
9159 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9160 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9161 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9162 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9163 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9164 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9166 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9167 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9169 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9171 and strpbrk-ppc64 objects.
9172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9173 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9174 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9175 multiarch strpbrk for POWER7.
9176 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9177 multiarch strpbrk for PPC64.
9178 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9180 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9183 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9185 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9186 (atan_test): Likewise.
9187 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9188 (atanh_test): Use ALL_RM_TEST.
9189 (atan2_test_data): Likewise.
9190 (cabs_test): Likewise.
9191 (cacosh_test): Likewise.
9192 (carg_test): Likewise.
9193 (casin_test): Likewise.
9194 (casinh_test): Likewise.
9195 (cbrt_test): Likewise.
9196 (csqrt_test): Likewise.
9197 (erf_test): Likewise.
9198 (erfc_test): Likewise.
9199 (pow10_test): Likewise.
9200 (exp2_test): Likewise.
9201 (hypot_test): Likewise.
9202 (j0_test): Likewise.
9203 (j1_test): Likewise.
9204 (lgamma_test): Likewise.
9205 (gamma_test): Likewise.
9206 (sincos_test): Likewise.
9207 (tanh_test): Likewise.
9208 (y0_test): Likewise.
9209 (y1_test): Likewise.
9210 * sysdeps/i386/fpu/libm-test-ulps: Update.
9211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9213 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9215 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9217 and strcspn-ppc64 objects.
9218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9219 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9220 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9221 multiarch strcspn for POWER7.
9222 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9223 multiarch strcspn for PPC64.
9224 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9226 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9229 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9231 * math/gen-libm-test.pl (generate_testfile): Expect only function
9232 name as argument to AUTO_TESTS_* and pass results for all rounding
9233 modes to parse_args.
9234 (parse_auto_input): Separate inputs of automatic tests from
9235 outputs before storing in %auto_tests.
9236 * math/libm-test.inc (acos_test_data): Update call to
9238 (acos_test): Use ALL_RM_TEST.
9239 (acos_tonearest_test_data): Remove.
9240 (acos_test_tonearest): Likewise.
9241 (acos_towardzero_test_data): Likewise.
9242 (acos_test_towardzero): Likewise.
9243 (acos_downward_test_data): Likewise.
9244 (acos_test_downward): Likewise.
9245 (acos_upward_test_data): Likewise.
9246 (acos_test_upward): Likewise.
9247 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9248 (asin_test_data): Likewise.
9249 (asin_test): Use ALL_RM_TEST.
9250 (asin_tonearest_test_data): Remove.
9251 (asin_test_tonearest): Likewise.
9252 (asin_towardzero_test_data): Likewise.
9253 (asin_test_towardzero): Likewise.
9254 (asin_downward_test_data): Likewise.
9255 (asin_test_downward): Likewise.
9256 (asin_upward_test_data): Likewise.
9257 (asin_test_upward): Likewise.
9258 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9259 (atan_test_data): Likewise.
9260 (atanh_test_data): Likewise.
9261 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9262 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9263 (carg_test_data): Likewise.
9264 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9265 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9266 (ccosh_test_data): Likewise.
9267 (cexp_test_data): Likewise.
9268 (clog_test_data): Likewise.
9269 (clog10_test_data): Likewise.
9270 (cos_test_data): Update call to AUTO_TESTS_f_f.
9271 (cos_test): Use ALL_RM_TEST.
9272 (cos_tonearest_test_data): Remove.
9273 (cos_test_tonearest): Likewise.
9274 (cos_towardzero_test_data): Likewise.
9275 (cos_test_towardzero): Likewise.
9276 (cos_downward_test_data): Likewise.
9277 (cos_test_downward): Likewise.
9278 (cos_upward_test_data): Likewise.
9279 (cos_test_upward): Likewise.
9280 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9281 (cosh_test): Use ALL_RM_TEST.
9282 (cosh_tonearest_test_data): Remove.
9283 (cosh_test_tonearest): Likewise.
9284 (cosh_towardzero_test_data): Likewise.
9285 (cosh_test_towardzero): Likewise.
9286 (cosh_downward_test_data): Likewise.
9287 (cosh_test_downward): Likewise.
9288 (cosh_upward_test_data): Likewise.
9289 (cosh_test_upward): Likewise.
9290 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9291 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9292 (ctan_test_data): Likewise.
9293 (ctan_test): Use ALL_RM_TEST.
9294 (ctan_tonearest_test_data): Remove.
9295 (ctan_test_tonearest): Likewise.
9296 (ctan_towardzero_test_data): Likewise.
9297 (ctan_test_towardzero): Likewise.
9298 (ctan_downward_test_data): Likewise.
9299 (ctan_test_downward): Likewise.
9300 (ctan_upward_test_data): Likewise.
9301 (ctan_test_upward): Likewise.
9302 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9303 (ctanh_test): Use ALL_RM_TEST.
9304 (ctanh_tonearest_test_data): Remove.
9305 (ctanh_test_tonearest): Likewise.
9306 (ctanh_towardzero_test_data): Likewise.
9307 (ctanh_test_towardzero): Likewise.
9308 (ctanh_downward_test_data): Likewise.
9309 (ctanh_test_downward): Likewise.
9310 (ctanh_upward_test_data): Likewise.
9311 (ctanh_test_upward): Likewise.
9312 (erf_test_data): Update call to AUTO_TESTS_f_f.
9313 (erfc_test_data): Likewise.
9314 (exp_test_data): Likewise.
9315 (exp_test): Use ALL_RM_TEST.
9316 (exp_tonearest_test_data): Remove.
9317 (exp_test_tonearest): Likewise.
9318 (exp_towardzero_test_data): Likewise.
9319 (exp_test_towardzero): Likewise.
9320 (exp_downward_test_data): Likewise.
9321 (exp_test_downward): Likewise.
9322 (exp_upward_test_data): Likewise.
9323 (exp_test_upward): Likewise.
9324 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9325 (exp10_test): Use ALL_RM_TEST.
9326 (exp10_tonearest_test_data): Remove.
9327 (exp10_test_tonearest): Likewise.
9328 (exp10_towardzero_test_data): Likewise.
9329 (exp10_test_towardzero): Likewise.
9330 (exp10_downward_test_data): Likewise.
9331 (exp10_test_downward): Likewise.
9332 (exp10_upward_test_data): Likewise.
9333 (exp10_test_upward): Likewise.
9334 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9335 (expm1_test_data): Likewise.
9336 (expm1_test): Use ALL_RM_TEST.
9337 (expm1_tonearest_test_data): Remove.
9338 (expm1_test_tonearest): Likewise.
9339 (expm1_towardzero_test_data): Likewise.
9340 (expm1_test_towardzero): Likewise.
9341 (expm1_downward_test_data): Likewise.
9342 (expm1_test_downward): Likewise.
9343 (expm1_upward_test_data): Likewise.
9344 (expm1_test_upward): Likewise.
9345 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9346 (fma_test): Use ALL_RM_TEST.
9347 (fma_towardzero_test_data): Remove.
9348 (fma_test_towardzero): Likewise.
9349 (fma_downward_test_data): Likewise.
9350 (fma_test_downward): Likewise.
9351 (fma_upward_test_data): Likewise.
9352 (fma_test_upward): Likewise.
9353 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9354 (j0_test_data): Update call to AUTO_TESTS_f_f.
9355 (j1_test_data): Likewise.
9356 (jn_test_data): Update call to AUTO_TESTS_if_f.
9357 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9358 (log_test_data): Update call to AUTO_TESTS_f_f.
9359 (log10_test_data): Likewise.
9360 (log1p_test_data): Likewise.
9361 (log2_test_data): Likewise.
9362 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9363 (pow_tonearest_test_data): Likewise.
9364 (sin_test_data): Update call to AUTO_TESTS_f_f.
9365 (sin_test): Use ALL_RM_TEST.
9366 (sin_tonearest_test_data): Remove.
9367 (sin_test_tonearest): Likewise.
9368 (sin_towardzero_test_data): Likewise.
9369 (sin_test_towardzero): Likewise.
9370 (sin_downward_test_data): Likewise.
9371 (sin_test_downward): Likewise.
9372 (sin_upward_test_data): Likewise.
9373 (sin_test_upward): Likewise.
9374 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9375 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9376 (sinh_test): Use ALL_RM_TEST.
9377 (sinh_tonearest_test_data): Remove.
9378 (sinh_test_tonearest): Likewise.
9379 (sinh_towardzero_test_data): Likewise.
9380 (sinh_test_towardzero): Likewise.
9381 (sinh_downward_test_data): Likewise.
9382 (sinh_test_downward): Likewise.
9383 (sinh_upward_test_data): Likewise.
9384 (sinh_test_upward): Likewise.
9385 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9386 (sqrt_test): Use ALL_RM_TEST.
9387 (sqrt_tonearest_test_data): Remove.
9388 (sqrt_test_tonearest): Likewise.
9389 (sqrt_towardzero_test_data): Likewise.
9390 (sqrt_test_towardzero): Likewise.
9391 (sqrt_downward_test_data): Likewise.
9392 (sqrt_test_downward): Likewise.
9393 (sqrt_upward_test_data): Likewise.
9394 (sqrt_test_upward): Likewise.
9395 (tan_test_data): Update call to AUTO_TESTS_f_f.
9396 (tan_test): Use ALL_RM_TEST.
9397 (tan_tonearest_test_data): Remove.
9398 (tan_test_tonearest): Likewise.
9399 (tan_towardzero_test_data): Likewise.
9400 (tan_test_towardzero): Likewise.
9401 (tan_downward_test_data): Likewise.
9402 (tan_test_downward): Likewise.
9403 (tan_upward_test_data): Likewise.
9404 (tan_test_upward): Likewise.
9405 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9406 (tgamma_test_data): Likewise.
9407 (y0_test_data): Likewise.
9408 (y1_test_data): Likewise.
9409 (yn_test_data): Update call to AUTO_TESTS_if_f.
9410 (main): Do not call removed functions.
9412 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9414 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9415 (ldexp_test_data): Remove.
9416 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9418 (scalb_test): Use ALL_RM_TEST.
9420 2014-03-19 Andreas Schwab <schwab@suse.de>
9422 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9424 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9427 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9428 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9429 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9430 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9431 (__ASSUME_PREADV): Undefine.
9432 (__ASSUME_PWRITEV): Likewise.
9434 2014-03-18 Roland McGrath <roland@hack.frob.com>
9436 * bits/mman-linux.h: Add comment about non-Linux use.
9437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9438 bits/mman-linux.h resting place.
9440 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9441 * bits/mman-linux.h: ... here.
9443 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9445 * conform/conformtest.pl: Add standard definition when calling C
9446 preprocessor on data files.
9447 (checknamespace): Remove unused variable.
9449 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9451 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9452 minus_oflow, plus_uflow and minus_uflow in expected results.
9453 * math/libm-test.inc (scalbn_test_data): Add more tests of
9454 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9456 (scalbn_test): Use ALL_RM_TEST.
9457 (scalbln_test_data): Add more tests of negative arguments. Use
9458 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9459 (scalbln_test): Use ALL_RM_TEST.
9461 2014-03-18 Roland McGrath <roland@hack.frob.com>
9463 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9465 2014-03-18 Will Newton <will.newton@linaro.org>
9467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9470 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9472 * Makerules [!subdir] (check-abi): Exit with error status if a
9475 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9477 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9478 for rint. Include results for all rounding modes.
9479 (nearbyint_test): Use ALL_RM_TEST.
9480 (rint_test_data): Include all tests used for nearbyint.
9482 2014-03-17 Will Newton <will.newton@linaro.org>
9484 * nptl/sysdeps/pthread/pthread.h: Revert previous
9487 * sysdeps/generic/ldsodefs.h: Revert previous
9490 * libio/genops.c: Revert previous change.
9491 * libio/libioP.h: Likewise.
9492 * stdio-common/vfprintf.c: Likewise.
9494 * sysdeps/generic/math_private.h: Revert previous
9497 * sysdeps/generic/math_private.h: Check whether
9498 HAVE_RM_CTX is defined with #ifdef rather
9501 * argp/argp-fmtstream.h: Check whether
9502 __STRICT_ANSI__ is defined with #ifdef rather
9504 * argp/argp.h: Likewise.
9506 * libio/genops.c: Check whether
9507 _IO_JUMPS_OFFSET is defined with #ifdef rather
9509 * libio/libioP.h: Likewise.
9510 * stdio-common/vfprintf.c: Likewise.
9512 * sysdeps/generic/ldsodefs.h: Check whether
9513 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9516 * nptl/sysdeps/pthread/pthread.h: Check
9517 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9520 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9522 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9524 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9528 * libio/fileops.c (_IO_file_open): Seek to end of file but
9529 don't cache the offset.
9530 (get_file_offset): Remove function.
9531 (do_ftell): Use cached offset when available.
9532 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9533 don't cache the offset.
9534 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9536 (do_one_test): Call it.
9537 (do_ftell_test): Fix up expected old offset for a+ mode.
9538 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9541 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9542 up test status with function return status.
9543 (do_write_test): Likewise.
9544 (do_append_test): Likewise.
9546 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9547 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9550 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9552 * math/gen-libm-test.pl (parse_args): Handle results specified for
9553 each rounding mode separately.
9554 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9555 tests and results from lrint_tonearest_test_data,
9556 lrint_towardzero_test_data, lrint_downward_test_data and
9557 lrint_upward_test_data.
9558 (lrint_test): Use ALL_RM_TEST.
9559 (lrint_tonearest_test_data): Remove.
9560 (lrint_test_tonearest): Likewise.
9561 (lrint_towardzero_test_data): Likewise.
9562 (lrint_test_towardzero): Likewise.
9563 (lrint_downward_test_data): Likewise.
9564 (lrint_test_downward): Likewise.
9565 (lrint_upward_test_data): Likewise.
9566 (lrint_test_upward): Likewise.
9567 (llrint_test_data): Merge in per-rounding-mode tests and results
9568 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9569 llrint_downward_test_data and llrint_upward_test_data.
9570 (llrint_test): Use ALL_RM_TEST.
9571 (llrint_tonearest_test_data): Remove.
9572 (llrint_test_tonearest): Likewise.
9573 (llrint_towardzero_test_data): Likewise.
9574 (llrint_test_towardzero): Likewise.
9575 (llrint_downward_test_data): Likewise.
9576 (llrint_test_downward): Likewise.
9577 (llrint_upward_test_data): Likewise.
9578 (llrint_test_upward): Likewise.
9579 (rint_test_data): Merge in per-rounding-mode tests and results
9580 from rint_tonearest_test_data, rint_towardzero_test_data,
9581 rint_downward_test_data and rint_upward_test_data. Add
9582 per-rounding-mode results for tests not in those arrays.
9583 (rint_test): Use ALL_RM_TEST.
9584 (rint_tonearest_test_data): Remove.
9585 (rint_test_tonearest): Likewise.
9586 (rint_towardzero_test_data): Likewise.
9587 (rint_test_towardzero): Likewise.
9588 (rint_downward_test_data): Likewise.
9589 (rint_test_downward): Likewise.
9590 (rint_upward_test_data): Likewise.
9591 (rint_test_upward): Likewise.
9592 (main): Don't call removed functions.
9594 2014-03-14 Roland McGrath <roland@hack.frob.com>
9596 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9597 "Compiled on ..." crapola. It is anti-useful.
9599 2014-03-14 Joseph Myers <joseph@codesourcery.com>
9601 * scripts/evaluate-test.sh: Handle fourth argument to determine
9602 whether test run should stop on failure.
9603 * Makeconfig (stop-on-test-failure): New variable.
9604 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9605 $(stop-on-test-failure).
9606 * Makefile (tests): Give a summary of results from testing and
9607 exit with failure status if they include an ERROR or FAIL.
9609 * manual/install.texi (Configuring and compiling): Mention
9610 stop-on-test-failure=y.
9611 * INSTALL: Regenerated.
9613 2014-03-14 Roland McGrath <roland@hack.frob.com>
9615 * scripts/versionlist.awk: New file.
9616 * Makerules [$(build-shared) = yes]
9617 (postclean-generated): Add Versions.def, not Versions.def.v and
9619 ($(common-objpfx)Versions.def.v.i): Target removed.
9620 ($(common-objpfx)Versions.def): New target.
9621 ($(common-objpfx)Versions.all): Depend on that rather that
9622 $(common-objpfx)Versions.def.v.
9623 * Versions.def: File removed.
9625 * Makeconfig (+gccwarn): Add -Wundef.
9626 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9627 a dl-sysdep.h breaking its contract.
9628 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9629 * include/stackinfo.h: New file.
9630 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9631 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9632 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9633 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9634 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9635 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9636 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9637 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9638 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9639 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9640 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9641 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9642 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9643 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9644 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9646 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9649 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9651 * math/libm-test.inc (round_test_data): Add more tests.
9654 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9656 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9659 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9661 * math/libm-test.inc (ceil_test_data): Add more tests.
9663 * math/libm-test.inc (trunc_test_data): Add more tests related to
9666 2014-03-14 Roland McGrath <roland@hack.frob.com>
9668 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9669 with #if rather than #ifdef.
9670 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9672 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9674 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9675 first. Disable AVX-512 GCC support if assembler doesn't support
9677 * sysdeps/x86_64/configure: Regenerated.
9679 2014-03-13 Carlos O'Donell <carlos@redhat.com>
9681 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9682 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9683 (__old_pthread_attr_setstack): Likewise.
9684 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9685 [!_STACK_GROWS_DOWN]: Likewise.
9687 2014-03-13 Mike Frysinger <vapier@gentoo.org>
9689 * config.make.in (have-bash2): Delete.
9690 * configure.ac (libc_cv_have_bash2): Delete.
9691 * configure: Regenerate.
9692 * elf/Makefile (common-ldd-rewrite): Rename to ...
9693 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9694 (sh-ldd-rewrite): Delete.
9695 (bash-ldd-rewrite): Delete.
9696 (have-bash2): Delete checks.
9697 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9700 * config.make.in (have-ksh): Delete.
9702 * configure.ac (libc_cv_have_ksh): Delete.
9703 * configure: Regenerate.
9705 * elf/Makefile: Delete $(have-ksh) check.
9706 ($(objpfx)sotruss): Change KSH to BASH.
9707 * elf/sotruss.ksh: Rename to ...
9708 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9709 function style to match POSIX. Drop ksh vim mode setting.
9711 * manual/time.texi (Specifying the Time Zone with TZ): Change
9712 Tuesday to Thursday.
9714 * debug/tst-longjmp_chk2.c: Update header comment.
9715 (stackoverflow_handler): Add comment. Call assert on pass value.
9717 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9720 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9721 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9722 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9723 (La_x86_64_vector): Add zmm.
9724 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9725 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9726 ($(objpfx)tst-audit10): New target.
9727 ($(objpfx)tst-audit10.out): Likewise.
9728 (tst-audit10-ENV): New.
9729 (AVX512-CFLAGS): Likewise.
9730 (CFLAGS-tst-audit10.c): Likewise.
9731 (CFLAGS-tst-auditmod10a.c): Likewise.
9732 (CFLAGS-tst-auditmod10b.c): Likewise.
9733 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9734 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9735 * sysdeps/x86_64/configure: Regenerated.
9736 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9737 AVX-512 zmm register support.
9738 (_dl_x86_64_save_sse): Likewise.
9739 (_dl_x86_64_restore_sse): Likewise.
9740 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9741 size vector registers.
9742 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9743 (ZMM_SIZE): Likewise.
9744 * sysdeps/x86_64/tst-audit10.c: New file.
9745 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9746 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9748 2014-03-13 Roland McGrath <roland@hack.frob.com>
9750 * configure.ac (HAVE_EHDR_START): New check.
9751 * configure: Regenerated.
9752 * config.h.in (HAVE_EHDR_START): New #undef.
9753 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9754 assuming the lowest-addressed segment maps the start of the file.
9756 2014-03-13 Joseph Myers <joseph@codesourcery.com>
9758 * INSTALL: Regenerated.
9760 2014-03-13 Will Newton <will.newton@linaro.org>
9762 * manual/setjmp.texi (System V contexts): Improve
9763 clarity and grammar of documentation.
9765 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9768 * elf/Makefile (tests): Add tst-pie2.
9769 (tests-pie): Add tst-pie2.
9770 * elf/tst-pie2.c: New file.
9771 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9773 * elf/rtld.c (map_doit): Load executable as lt_executable.
9774 (dl_main): Likewise.
9776 2014-03-12 Joseph Myers <joseph@codesourcery.com>
9779 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9780 (__ASSUME_PSELECT): Undefine.
9782 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9785 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9786 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9788 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9789 selector for static builds.
9791 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9794 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9797 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9799 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9800 IFUNC selector for static builds.
9802 2014-03-11 Joseph Myers <joseph@codesourcery.com>
9804 * sysdeps/mips/math_private.h [__mips_hard_float]
9805 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9806 libc_feresetround_mips_ctx.
9807 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9808 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9809 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9812 * math/s_nextafter.c (__nextafter): Do not return value from
9813 overflowing computation.
9814 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9815 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9816 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9818 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9820 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9821 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9823 2014-03-11 Roland McGrath <roland@hack.frob.com>
9825 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9826 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9827 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9828 the new mov targetting sp.
9830 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9833 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9834 Define it for static builds as well.
9835 (NO_BZERO_IMPL): Likewise.
9837 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9839 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9840 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9841 multiarch strspn for PPC64.
9842 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9843 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9845 (__libc_ifunc_impl_list): Likewise.
9846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9847 multiarch optimizations
9848 * string/strspn.c (strspn): Using macro to redefine symbol name.
9850 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9851 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9853 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9854 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9855 multiarch strncat for PPC64.
9856 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9857 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9858 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9859 (__libc_ifunc_impl_list): Likewise.
9860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9861 multiarch optimizations
9863 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9866 * nscd/nscd.service: Make service type forking.
9868 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9870 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9871 sign in non default rounding modes.
9872 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9874 2014-03-08 Joseph Myers <joseph@codesourcery.com>
9876 * math/libm-test.inc (ALL_RM_TEST): New macro.
9877 (ceil_test): Use ALL_RM_TEST.
9878 (cimag_test): Likewise.
9879 (conj_test): Likewise.
9880 (copysign_test): Likewise.
9881 (cproj_test): Likewise.
9882 (creal_test): Likewise.
9883 (fabs_test): Likewise.
9884 (floor_test): Likewise.
9885 (fmax_test): Likewise.
9886 (fmin_test): Likewise.
9887 (fmod_test): Likewise.
9888 (fpclassify_test): Likewise.
9889 (frexp_test): Likewise.
9890 (ilogb_test): Likewise.
9891 (isfinite_test): Likewise.
9892 (finite_test): Likewise.
9893 (isgreater_test): Likewise.
9894 (isgreaterequal_test): Likewise.
9895 (isinf_test): Likewise.
9896 (isless_test): Likewise.
9897 (islessequal_test): Likewise.
9898 (islessgreater_test): Likewise.
9899 (isnan_test): Likewise.
9900 (isnormal_test): Likewise.
9901 (issignaling_test): Likewise.
9902 (isunordered_test): Likewise.
9903 (logb_test): Likewise.
9904 (logb_downward_test_data): Remove.
9905 (logb_test_downward): Likewise.
9906 (lround_test): Use ALL_RM_TEST.
9907 (llround_test): Likewise.
9908 (modf_test): Likewise.
9909 (nexttoward_test): Likewise.
9910 (remainder_test): Likewise.
9911 (drem_test): Likewise.
9912 (remainder_tonearest_test_data): Likewise.
9913 (remainder_test_tonearest): Likewise.
9914 (drem_test_tonearest): Likewise.
9915 (remainder_towardzero_test_data): Likewise.
9916 (remainder_test_towardzero): Likewise.
9917 (drem_test_towardzero): Likewise.
9918 (remainder_downward_test_data): Likewise.
9919 (remainder_test_downward): Likewise.
9920 (drem_test_downward): Likewise.
9921 (remainder_upward_test_data): Likewise.
9922 (remainder_test_upward): Likewise.
9923 (drem_test_upward): Likewise.
9924 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9925 (round_test): Use ALL_RM_TEST.
9926 (signbit_test): Likewise.
9927 (trunc_test): Likewise.
9928 (significand_test): Likewise.
9929 (main): Don't call removed functions.
9931 2014-03-07 Joseph Myers <joseph@codesourcery.com>
9934 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9936 (ILL_ILLOPN): Likewise.
9937 (ILL_ILLADR): Likewise.
9938 (ILL_ILLTRP): Likewise.
9939 (ILL_PRVOPC): Likewise.
9940 (ILL_PRVREG): Likewise.
9941 (ILL_COPROC): Likewise.
9942 (ILL_BADSTK): Likewise.
9943 (FPE_INTDIV): Likewise.
9944 (FPE_INTOVF): Likewise.
9945 (FPE_FLTDIV): Likewise.
9946 (FPE_FLTOVF): Likewise.
9947 (FPE_FLTUND): Likewise.
9948 (FPE_FLTRES): Likewise.
9949 (FPE_FLTINV): Likewise.
9950 (FPE_FLTSUB): Likewise.
9951 (SEGV_MAPERR): Likewise.
9952 (SEGV_ACCERR): Likewise.
9953 (BUS_ADRALN): Likewise.
9954 (BUS_ADRERR): Likewise.
9955 (BUS_OBJERR): Likewise.
9956 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9957 (TRAP_TRACE): Likewise.
9958 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9960 (CLD_KILLED): Likewise.
9961 (CLD_DUMPED): Likewise.
9962 (CLD_TRAPPED): Likewise.
9963 (CLD_STOPPED): Likewise.
9964 (CLD_CONTINUED): Likewise.
9965 (POLL_IN): Likewise.
9966 (POLL_OUT): Likewise.
9967 (POLL_MSG): Likewise.
9968 (POLL_ERR): Likewise.
9969 (POLL_PRI): Likewise.
9970 (POLL_HUP): Likewise.
9971 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9973 (ILL_ILLOPN): Likewise.
9974 (ILL_ILLADR): Likewise.
9975 (ILL_ILLTRP): Likewise.
9976 (ILL_PRVOPC): Likewise.
9977 (ILL_PRVREG): Likewise.
9978 (ILL_COPROC): Likewise.
9979 (ILL_BADSTK): Likewise.
9980 (FPE_INTDIV): Likewise.
9981 (FPE_INTOVF): Likewise.
9982 (FPE_FLTDIV): Likewise.
9983 (FPE_FLTOVF): Likewise.
9984 (FPE_FLTUND): Likewise.
9985 (FPE_FLTRES): Likewise.
9986 (FPE_FLTINV): Likewise.
9987 (FPE_FLTSUB): Likewise.
9988 (SEGV_MAPERR): Likewise.
9989 (SEGV_ACCERR): Likewise.
9990 (BUS_ADRALN): Likewise.
9991 (BUS_ADRERR): Likewise.
9992 (BUS_OBJERR): Likewise.
9993 (BUS_MCEERR_AR): Likewise.
9994 (BUS_MCEERR_AO): Likewise.
9995 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9996 (TRAP_TRACE): Likewise.
9997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9999 (CLD_KILLED): Likewise.
10000 (CLD_DUMPED): Likewise.
10001 (CLD_TRAPPED): Likewise.
10002 (CLD_STOPPED): Likewise.
10003 (CLD_CONTINUED): Likewise.
10004 (POLL_IN): Likewise.
10005 (POLL_OUT): Likewise.
10006 (POLL_MSG): Likewise.
10007 (POLL_ERR): Likewise.
10008 (POLL_PRI): Likewise.
10009 (POLL_HUP): Likewise.
10010 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10011 (ILL_ILLOPN): Likewise.
10012 (ILL_ILLADR): Likewise.
10013 (ILL_ILLTRP): Likewise.
10014 (ILL_PRVOPC): Likewise.
10015 (ILL_PRVREG): Likewise.
10016 (ILL_COPROC): Likewise.
10017 (ILL_BADSTK): Likewise.
10018 (FPE_INTDIV): Likewise.
10019 (FPE_INTOVF): Likewise.
10020 (FPE_FLTDIV): Likewise.
10021 (FPE_FLTOVF): Likewise.
10022 (FPE_FLTUND): Likewise.
10023 (FPE_FLTRES): Likewise.
10024 (FPE_FLTINV): Likewise.
10025 (FPE_FLTSUB): Likewise.
10026 (SEGV_MAPERR): Likewise.
10027 (SEGV_ACCERR): Likewise.
10028 (BUS_ADRALN): Likewise.
10029 (BUS_ADRERR): Likewise.
10030 (BUS_OBJERR): Likewise.
10031 (BUS_MCEERR_AR): Likewise.
10032 (BUS_MCEERR_AO): Likewise.
10033 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10034 (TRAP_TRACE): Likewise.
10035 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10037 (CLD_KILLED): Likewise.
10038 (CLD_DUMPED): Likewise.
10039 (CLD_TRAPPED): Likewise.
10040 (CLD_STOPPED): Likewise.
10041 (CLD_CONTINUED): Likewise.
10042 (POLL_IN): Likewise.
10043 (POLL_OUT): Likewise.
10044 (POLL_MSG): Likewise.
10045 (POLL_ERR): Likewise.
10046 (POLL_PRI): Likewise.
10047 (POLL_HUP): Likewise.
10048 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10050 (ILL_ILLOPN): Likewise.
10051 (ILL_ILLADR): Likewise.
10052 (ILL_ILLTRP): Likewise.
10053 (ILL_PRVOPC): Likewise.
10054 (ILL_PRVREG): Likewise.
10055 (ILL_COPROC): Likewise.
10056 (ILL_BADSTK): Likewise.
10057 (ILL_BADIADDR): Likewise.
10058 (ILL_BREAK): Likewise.
10059 (FPE_INTDIV): Likewise.
10060 (FPE_INTOVF): Likewise.
10061 (FPE_FLTDIV): Likewise.
10062 (FPE_FLTOVF): Likewise.
10063 (FPE_FLTUND): Likewise.
10064 (FPE_FLTRES): Likewise.
10065 (FPE_FLTINV): Likewise.
10066 (FPE_FLTSUB): Likewise.
10067 (FPE_DECOVF): Likewise.
10068 (FPE_DECDIV): Likewise.
10069 (FPE_DECERR): Likewise.
10070 (FPE_INVASC): Likewise.
10071 (FPE_INVDEC): Likewise.
10072 (SEGV_MAPERR): Likewise.
10073 (SEGV_ACCERR): Likewise.
10074 (SEGV_PSTKOVF): Likewise.
10075 (BUS_ADRALN): Likewise.
10076 (BUS_ADRERR): Likewise.
10077 (BUS_OBJERR): Likewise.
10078 (BUS_MCEERR_AR): Likewise.
10079 (BUS_MCEERR_AO): Likewise.
10080 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10081 (TRAP_TRACE): Likewise.
10082 (TRAP_BRANCH): Likewise.
10083 (TRAP_HWBKPT): Likewise.
10084 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10086 (CLD_KILLED): Likewise.
10087 (CLD_DUMPED): Likewise.
10088 (CLD_TRAPPED): Likewise.
10089 (CLD_STOPPED): Likewise.
10090 (CLD_CONTINUED): Likewise.
10091 (POLL_IN): Likewise.
10092 (POLL_OUT): Likewise.
10093 (POLL_MSG): Likewise.
10094 (POLL_ERR): Likewise.
10095 (POLL_PRI): Likewise.
10096 (POLL_HUP): Likewise.
10097 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10098 (ILL_ILLOPN): Likewise.
10099 (ILL_ILLADR): Likewise.
10100 (ILL_ILLTRP): Likewise.
10101 (ILL_PRVOPC): Likewise.
10102 (ILL_PRVREG): Likewise.
10103 (ILL_COPROC): Likewise.
10104 (ILL_BADSTK): Likewise.
10105 (FPE_INTDIV): Likewise.
10106 (FPE_INTOVF): Likewise.
10107 (FPE_FLTDIV): Likewise.
10108 (FPE_FLTOVF): Likewise.
10109 (FPE_FLTUND): Likewise.
10110 (FPE_FLTRES): Likewise.
10111 (FPE_FLTINV): Likewise.
10112 (FPE_FLTSUB): Likewise.
10113 (SEGV_MAPERR): Likewise.
10114 (SEGV_ACCERR): Likewise.
10115 (BUS_ADRALN): Likewise.
10116 (BUS_ADRERR): Likewise.
10117 (BUS_OBJERR): Likewise.
10118 (BUS_MCEERR_AR): Likewise.
10119 (BUS_MCEERR_AO): Likewise.
10120 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10121 (TRAP_TRACE): Likewise.
10122 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10124 (CLD_KILLED): Likewise.
10125 (CLD_DUMPED): Likewise.
10126 (CLD_TRAPPED): Likewise.
10127 (CLD_STOPPED): Likewise.
10128 (CLD_CONTINUED): Likewise.
10129 (POLL_IN): Likewise.
10130 (POLL_OUT): Likewise.
10131 (POLL_MSG): Likewise.
10132 (POLL_ERR): Likewise.
10133 (POLL_PRI): Likewise.
10134 (POLL_HUP): Likewise.
10135 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10136 (ILL_ILLOPN): Likewise.
10137 (ILL_ILLADR): Likewise.
10138 (ILL_ILLTRP): Likewise.
10139 (ILL_PRVOPC): Likewise.
10140 (ILL_PRVREG): Likewise.
10141 (ILL_COPROC): Likewise.
10142 (ILL_BADSTK): 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 (SEGV_MAPERR): Likewise.
10152 (SEGV_ACCERR): Likewise.
10153 (BUS_ADRALN): Likewise.
10154 (BUS_ADRERR): Likewise.
10155 (BUS_OBJERR): Likewise.
10156 (BUS_MCEERR_AR): Likewise.
10157 (BUS_MCEERR_AO): Likewise.
10158 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10159 (TRAP_TRACE): Likewise.
10160 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10162 (CLD_KILLED): Likewise.
10163 (CLD_DUMPED): Likewise.
10164 (CLD_TRAPPED): Likewise.
10165 (CLD_STOPPED): Likewise.
10166 (CLD_CONTINUED): Likewise.
10167 (POLL_IN): Likewise.
10168 (POLL_OUT): Likewise.
10169 (POLL_MSG): Likewise.
10170 (POLL_ERR): Likewise.
10171 (POLL_PRI): Likewise.
10172 (POLL_HUP): Likewise.
10173 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10174 (ILL_ILLOPN): Likewise.
10175 (ILL_ILLADR): Likewise.
10176 (ILL_ILLTRP): Likewise.
10177 (ILL_PRVOPC): Likewise.
10178 (ILL_PRVREG): Likewise.
10179 (ILL_COPROC): Likewise.
10180 (ILL_BADSTK): Likewise.
10181 (FPE_INTDIV): Likewise.
10182 (FPE_INTOVF): Likewise.
10183 (FPE_FLTDIV): Likewise.
10184 (FPE_FLTOVF): Likewise.
10185 (FPE_FLTUND): Likewise.
10186 (FPE_FLTRES): Likewise.
10187 (FPE_FLTINV): Likewise.
10188 (FPE_FLTSUB): Likewise.
10189 (SEGV_MAPERR): Likewise.
10190 (SEGV_ACCERR): Likewise.
10191 (BUS_ADRALN): Likewise.
10192 (BUS_ADRERR): Likewise.
10193 (BUS_OBJERR): Likewise.
10194 (BUS_MCEERR_AR): Likewise.
10195 (BUS_MCEERR_AO): Likewise.
10196 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10197 (TRAP_TRACE): Likewise.
10198 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10200 (CLD_KILLED): Likewise.
10201 (CLD_DUMPED): Likewise.
10202 (CLD_TRAPPED): Likewise.
10203 (CLD_STOPPED): Likewise.
10204 (CLD_CONTINUED): Likewise.
10205 (POLL_IN): Likewise.
10206 (POLL_OUT): Likewise.
10207 (POLL_MSG): Likewise.
10208 (POLL_ERR): Likewise.
10209 (POLL_PRI): Likewise.
10210 (POLL_HUP): Likewise.
10211 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10212 (ILL_ILLOPN): Likewise.
10213 (ILL_ILLADR): Likewise.
10214 (ILL_ILLTRP): Likewise.
10215 (ILL_PRVOPC): Likewise.
10216 (ILL_PRVREG): Likewise.
10217 (ILL_COPROC): Likewise.
10218 (ILL_BADSTK): Likewise.
10219 (ILL_DBLFLT): Likewise.
10220 (ILL_HARDWALL): Likewise.
10221 (FPE_INTDIV): Likewise.
10222 (FPE_INTOVF): Likewise.
10223 (FPE_FLTDIV): Likewise.
10224 (FPE_FLTOVF): Likewise.
10225 (FPE_FLTUND): Likewise.
10226 (FPE_FLTRES): Likewise.
10227 (FPE_FLTINV): Likewise.
10228 (FPE_FLTSUB): Likewise.
10229 (SEGV_MAPERR): Likewise.
10230 (SEGV_ACCERR): Likewise.
10231 (BUS_ADRALN): Likewise.
10232 (BUS_ADRERR): Likewise.
10233 (BUS_OBJERR): Likewise.
10234 (BUS_MCEERR_AR): Likewise.
10235 (BUS_MCEERR_AO): Likewise.
10236 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10237 (TRAP_TRACE): Likewise.
10238 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10240 (CLD_KILLED): Likewise.
10241 (CLD_DUMPED): Likewise.
10242 (CLD_TRAPPED): Likewise.
10243 (CLD_STOPPED): Likewise.
10244 (CLD_CONTINUED): Likewise.
10245 (POLL_IN): Likewise.
10246 (POLL_OUT): Likewise.
10247 (POLL_MSG): Likewise.
10248 (POLL_ERR): Likewise.
10249 (POLL_PRI): Likewise.
10250 (POLL_HUP): Likewise.
10251 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10252 (ILL_ILLOPN): Likewise.
10253 (ILL_ILLADR): Likewise.
10254 (ILL_ILLTRP): Likewise.
10255 (ILL_PRVOPC): Likewise.
10256 (ILL_PRVREG): Likewise.
10257 (ILL_COPROC): Likewise.
10258 (ILL_BADSTK): Likewise.
10259 (FPE_INTDIV): Likewise.
10260 (FPE_INTOVF): Likewise.
10261 (FPE_FLTDIV): Likewise.
10262 (FPE_FLTOVF): Likewise.
10263 (FPE_FLTUND): Likewise.
10264 (FPE_FLTRES): Likewise.
10265 (FPE_FLTINV): Likewise.
10266 (FPE_FLTSUB): Likewise.
10267 (SEGV_MAPERR): Likewise.
10268 (SEGV_ACCERR): Likewise.
10269 (BUS_ADRALN): Likewise.
10270 (BUS_ADRERR): Likewise.
10271 (BUS_OBJERR): Likewise.
10272 (BUS_MCEERR_AR): Likewise.
10273 (BUS_MCEERR_AO): Likewise.
10274 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10275 (TRAP_TRACE): Likewise.
10276 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10278 (CLD_KILLED): Likewise.
10279 (CLD_DUMPED): Likewise.
10280 (CLD_TRAPPED): Likewise.
10281 (CLD_STOPPED): Likewise.
10282 (CLD_CONTINUED): Likewise.
10283 (POLL_IN): Likewise.
10284 (POLL_OUT): Likewise.
10285 (POLL_MSG): Likewise.
10286 (POLL_ERR): Likewise.
10287 (POLL_PRI): Likewise.
10288 (POLL_HUP): Likewise.
10289 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10290 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10293 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10294 before #include of <time.h>.
10295 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10296 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10297 (test-xfail-UNIX98/sched.h/conform): Likewise.
10299 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10301 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10302 error absence of trapping exception support.
10303 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10305 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10307 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10308 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10309 * timezone/Makefile (testdata): Move definition above include of
10311 (test-zones): New variable.
10312 (tests-special): Add zone files.
10313 (build-testdata): Use $(evaluate-test).
10315 * elf/Makefile (tests-special): Rename tests to end with .out.
10316 ($(objpfx)noload-mem): Likewise.
10317 ($(objpfx)tst-leaks1-mem): Likewise.
10318 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10319 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10320 $(objpfx)test-iconvconfig.out.
10321 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10322 set -e inside subshell and redirect output to file.
10323 * iconvdata/Makefile (generated): Rename tests to end with .out.
10325 (tests-special): Rename tests to end with .out.
10326 ($(objpfx)mtrace-tst-loading): Likewise.
10327 * intl/Makefile (generated): Likewise.
10328 (tests-special): Likewise.
10329 ($(objpfx)mtrace-tst-gettext): Likewise.
10330 * misc/Makefile (generated): Likewise.
10331 (tests-special): Likewise.
10332 ($(objpfx)tst-error1-mem): Likewise.
10333 * nptl/Makefile (tests-special): Likewise.
10334 ($(objpfx)tst-stack3-mem): Likewise.
10335 (generated): Likewise.
10336 * posix/Makefile (generated): Likewise.
10337 (tests-special): Likewise.
10338 (xtests-special): Likewise.
10339 ($(objpfx)tst-fnmatch-mem): Likewise.
10340 ($(objpfx)bug-regex2-mem): Likewise.
10341 ($(objpfx)bug-regex14-mem): Likewise.
10342 ($(objpfx)bug-regex21-mem): Likewise.
10343 ($(objpfx)bug-regex31-mem): Likewise.
10344 ($(objpfx)tst-vfork3-mem): Likewise.
10345 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10346 ($(objpfx)tst-pcre-mem): Likewise.
10347 ($(objpfx)tst-boost-mem): Likewise.
10348 ($(objpfx)bug-ga2-mem): Likewise.
10349 ($(objpfx)bug-glob2-mem): Likewise.
10350 * resolv/Makefile (generate): Likewise.
10351 (tests-special): Likewise.
10352 (xtests-special): Likewise.
10353 (generated): Likewise.
10354 ($(objpfx)mtrace-tst-leaks): Likewise.
10355 ($(objpfx)mtrace-tst-leaks2): Likewise.
10357 * scripts/merge-test-results.sh: New file.
10358 * Makefile (tests-special-notdir): New variable.
10359 (tests): Run merge-test-results.sh.
10360 (xtests): Likewise.
10361 * Rules (tests-special-notdir): New variable.
10362 (xtests-special-notdir): Likewise.
10363 (tests): Run merge-test-results.sh
10364 (xtests): Likewise.
10366 * Makeconfig (test-xfail-name): New variable.
10367 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10368 compute variable name for expected failures.
10369 * conform/Makefile (conformtest-headers-data): New variable.
10370 (conformtest-standards): Likewise.
10371 (conformtest-headers-ISO): Likewise.
10372 (conformtest-headers-ISO99): Likewise.
10373 (conformtest-headers-ISO11): Likewise.
10374 (conformtest-headers-POSIX): Likewise.
10375 (conformtest-headers-XPG3): Likewise.
10376 (conformtest-headers-XPG4): Likewise.
10377 (conformtest-headers-UNIX98): Likewise.
10378 (conformtest-headers-XOPEN2K): Likewise.
10379 (conformtest-headers-POSIX2008): Likewise.
10380 (conformtest-headers-XOPEN2K8): Likewise.
10381 (conformtest-header-list-base): Likewise.
10382 (conformtest-header-list-tests): Likewise.
10383 (conformtest-header-base): Likewise.
10384 (conformtest-header-tests): Likewise.
10385 (tests-special): Add $(conformtest-header-list-tests). If
10386 [$(fast-check) && !$(cross-compiling)], add
10387 $(conformtest-header-tests) instead of
10388 $(objpfx)run-conformtest.out.
10389 (generated): Add $(conformtest-header-list-base). If
10390 [$(fast-check) && !$(cross-compiling)], add
10391 $(conformtest-header-base). Remove previous setting.
10392 ($(conformtest-header-list-tests)): New target.
10393 (test-xfail-run-conformtest): Remove variable.
10394 ($(objpfx)run-conformtest.out): Remove target.
10395 (test-xfail-ISO11/complex.h/conform): New variable.
10396 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10397 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10398 (test-xfail-XPG3/varargs.h/conform): Likewise.
10399 (test-xfail-XPG4/varargs.h/conform): Likewise.
10400 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10401 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10402 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10403 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10404 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10405 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10406 (test-xfail-XPG3/ftw.h/conform): Likewise.
10407 (test-xfail-XPG3/grp.h/conform): Likewise.
10408 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10409 (test-xfail-XPG3/limits.h/conform): Likewise.
10410 (test-xfail-XPG3/pwd.h/conform): Likewise.
10411 (test-xfail-XPG3/search.h/conform): Likewise.
10412 (test-xfail-XPG3/signal.h/conform): Likewise.
10413 (test-xfail-XPG3/stdio.h/conform): Likewise.
10414 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10415 (test-xfail-XPG3/string.h/conform): Likewise.
10416 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10417 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10418 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10419 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10420 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10421 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10422 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10423 (test-xfail-XPG3/termios.h/conform): Likewise.
10424 (test-xfail-XPG3/time.h/conform): Likewise.
10425 (test-xfail-XPG3/unistd.h/conform): Likewise.
10426 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10427 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10428 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10429 (test-xfail-XPG4/netdb.h/conform): Likewise.
10430 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10431 (test-xfail-XPG4/signal.h/conform): Likewise.
10432 (test-xfail-XPG4/stdio.h/conform): Likewise.
10433 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10434 (test-xfail-XPG4/stropts.h/conform): Likewise.
10435 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10436 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10437 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10438 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10439 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10440 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10441 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10442 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10443 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10444 (test-xfail-XPG4/termios.h/conform): Likewise.
10445 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10446 (test-xfail-XPG4/unistd.h/conform): Likewise.
10447 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10448 (test-xfail-POSIX/sched.h/conform): Likewise.
10449 (test-xfail-POSIX/signal.h/conform): Likewise.
10450 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10451 (test-xfail-POSIX/tar.h/conform): Likewise.
10452 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10453 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10454 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10455 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10456 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10457 (test-xfail-UNIX98/sched.h/conform): Likewise.
10458 (test-xfail-UNIX98/signal.h/conform): Likewise.
10459 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10460 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10461 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10462 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10463 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10464 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10465 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10466 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10467 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10468 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10469 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10470 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10471 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10472 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10473 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10474 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10475 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10476 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10477 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10478 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10479 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10480 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10481 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10482 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10483 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10484 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10485 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10486 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10487 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10488 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10489 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10490 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10491 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10492 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10493 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10494 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10495 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10496 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10497 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10498 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10499 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10500 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10501 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10502 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10503 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10504 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10505 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10506 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10507 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10508 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10509 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10510 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10511 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10512 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10513 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10514 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10515 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10516 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10517 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10518 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10519 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10520 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10521 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10522 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10523 (conformtest-cc-flags): Likewise.
10524 ($(conformtest-header-tests): New target.
10525 * conform/check-header-lists.sh: New file.
10526 * conform/run-conformtest.sh: Remove.
10528 * conform/conformtest.pl: Allow ' and \ in values given for
10530 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10532 [POSIX] (sys/types.h): Likewise.
10533 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10535 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10537 * conform/data/signal.h-data (SIGIO): Remove expectation.
10538 [XPG3] (SIGBUS): Do not expect.
10539 [POSIX || XPG3] (SIGPOLL): Likewise.
10540 [POSIX || XPG3] (SIGPROF): Likewise.
10541 [POSIX || XPG3] (SIGSYS): Likewise.
10542 [XPG3] (SIGTRAP): Likewise.
10543 [POSIX || XPG3] (SIGURG): Likewise.
10544 [POSIX || XPG3] (SIGVTALRM): Likewise.
10545 [POSIX || XPG3] (SIGXCPU): Likewise.
10546 [POSIX || XPG3] (SIGXFSZ): Likewise.
10547 [POSIX] (SA_SIGINFO): Expect.
10548 [XPG3] (siginfo_t): Do not expect type or contents.
10549 [POSIX] (si_pid): Do not expect element.
10550 [POSIX] (si_uid): Likewise.
10551 [POSIX] (si_addr): Likewise.
10552 [POSIX] (si_status): Likewise.
10553 [POSIX] (si_band): Likewise.
10554 [XPG4] (si_value): Likewise.
10555 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10556 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10557 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10558 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10559 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10560 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10561 [POSIX || XPG3] (ILL_COPROC): Likewise.
10562 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10563 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10564 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10565 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10566 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10567 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10568 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10569 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10570 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10571 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10572 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10573 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10574 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10575 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10576 [POSIX || XPG3] (CLD_EXITED): Likewise.
10577 [POSIX || XPG3] (CLD_KILLED): Likewise.
10578 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10579 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10580 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10581 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10582 [POSIX || XPG3] (POLL_IN): Likewise.
10583 [POSIX || XPG3] (POLL_OUT): Likewise.
10584 [POSIX || XPG3] (POLL_MSG): Likewise.
10585 [POSIX || XPG3] (POLL_ERR): Likewise.
10586 [POSIX || XPG3] (POLL_PRI): Likewise.
10587 [POSIX || XPG3] (POLL_HUP): Likewise.
10588 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10589 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10590 (SIG*): Do not allow.
10591 [XPG3] (si_*): Likewise.
10592 [XPG3] (SI_*): Likewise.
10593 [XPG3 || XPG4] (sigev_*): Likewise.
10594 [XPG3 || XPG4] (SIGEV_*): Likewise.
10595 [XPG3 || XPG4] (sival_*): Likewise.
10596 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10597 [POSIX || XPG3] (BUS_*): Likewise.
10598 [POSIX || XPG3] (CLD_*): Likewise.
10599 [POSIX || XPG3] (FPE_*): Likewise.
10600 [POSIX || XPG3] (ILL_*): Likewise.
10601 [POSIX || XPG3] (POLL_*): Likewise.
10602 [POSIX || XPG3] (SEGV_*): Likewise.
10603 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10604 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10605 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10606 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10607 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10608 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10609 Specify type and value.
10610 (TVERSLEN): Likewise.
10611 (REGTYPE): Likewise.
10612 (AREGTYPE): Likewise.
10613 (LNKTYPE): Likewise.
10614 (SYMTYPE): Likewise.
10615 (CHRTYPE): Likewise.
10616 (BLKTYPE): Likewise.
10617 (DIRTYPE): Likewise.
10618 (FIFOTYPE): Likewise.
10619 (CONTTYPE): Likewise.
10623 (TUREAD): Likewise.
10624 (TUWRITE): Likewise.
10625 (TUEXEC): Likewise.
10626 (TGREAD): Likewise.
10627 (TGWRITE): Likewise.
10628 (TGEXEC): Likewise.
10629 (TOREAD): Likewise.
10630 (TOWRITE): Likewise.
10631 (TOEXEC): Likewise.
10632 [POSIX] (TSVTX): Expect constant.
10634 2014-03-06 Joseph Myers <joseph@codesourcery.com>
10636 * Makefile (tests): Change dependencies to ....
10637 (tests-special): ... additions to this variable.
10638 (tests): Depend on $(tests-special).
10639 * Makerules (check-abi-list): New variable.
10640 (check-abi): Depend on $(check-abi-list).
10641 [$(subdir) = elf] (tests-special): Add
10642 $(objpfx)check-abi-libc.out.
10643 [$(build-shared) = yes && subdir] (tests-special): Add
10645 [$(build-shared) = yes && subdir] (tests): Do not depend on
10647 * Rules (tests): Depend on $(tests-special).
10648 (xtests): Depend on $(xtests-special).
10649 * catgets/Makefile (tests): Change dependencies to ....
10650 (tests-special): ... additions to this variable.
10651 * conform/Makefile (tests): Change dependencies to ....
10652 (tests-special): ... additions to this variable.
10653 * elf/Makefile (tests): Change dependencies to ....
10654 (tests-special): ... additions to this variable.
10655 * grp/Makefile (tests): Change dependencies to ....
10656 (tests-special): ... additions to this variable.
10657 * iconv/Makefile (xtests): Change dependencies to ....
10658 (xtests-special): ... additions to this variable.
10659 * iconvdata/Makefile (tests): Change dependencies to ....
10660 (tests-special): ... additions to this variable.
10661 * intl/Makefile (tests): Change dependencies to ....
10662 (tests-special): ... additions to this variable. Also add
10663 $(objpfx)tst-gettext.out.
10664 * io/Makefile (tests): Change dependencies to ....
10665 (tests-special): ... additions to this variable.
10666 * libio/Makefile (tests): Change dependencies to ....
10667 (tests-special): ... additions to this variable.
10668 * malloc/Makefile (tests): Change dependencies to ....
10669 (tests-special): ... additions to this variable.
10670 * misc/Makefile (tests): Change dependencies to ....
10671 (tests-special): ... additions to this variable.
10672 * nptl/Makefile (tests): Change dependencies to ....
10673 (tests-special): ... additions to this variable.
10674 * nptl_db/Makefile (tests): Change dependencies to ....
10675 (tests-special): ... additions to this variable.
10676 * posix/Makefile (tests): Change dependencies to ....
10677 (tests-special): ... additions to this variable.
10678 (xtests): Change dependencies to ....
10679 (xtests-special): ... additions to this variable.
10680 * resolv/Makefile (tests): Change dependencies to ....
10681 (tests-special): ... additions to this variable.
10682 (xtests): Change dependencies to ....
10683 (xtests-special): ... additions to this variable.
10684 * stdio-common/Makefile (tests): Change dependencies to ....
10685 (tests-special): ... additions to this variable.
10686 (do-tst-unbputc): Remove target.
10687 (do-tst-printf): Likewise.
10688 * stdlib/Makefile (tests): Change dependencies to ....
10689 (tests-special): ... additions to this variable.
10690 * string/Makefile (tests): Change dependencies to ....
10691 (tests-special): ... additions to this variable.
10692 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10693 (tests-special): ... additions to this variable.
10695 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10697 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10699 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10700 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10702 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10703 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10704 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10705 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10706 * conform/data/libgen.h-data [XPG3]: Likewise.
10707 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10708 * conform/data/ndbm.h-data [XPG3]: Likewise.
10709 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10710 * conform/data/netdb.h-data [XPG3]: Likewise.
10711 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10712 * conform/data/poll.h-data [XPG3]: Likewise.
10713 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10714 * conform/data/strings.h-data [XPG3]: Likewise.
10715 * conform/data/stropts.h-data [XPG3]: Likewise.
10716 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10717 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10718 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10720 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10721 * conform/data/sys/time.h-data [XPG3]: Likewise.
10722 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10723 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10724 * conform/data/sys/un.h-data [XPG3]: Likewise.
10725 * conform/data/syslog.h-data [XPG3]: Likewise.
10726 * conform/data/ucontext.h-data [XPG3]: Likewise.
10727 * conform/data/utmpx.h-data [XPG3]: Likewise.
10728 * conform/data/varargs.h-data [UNIX98]: Enable file.
10730 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10732 * math/libm-test.inc (struct test_f_f_data): Move expected results
10733 into structure for each rounding mode.
10734 (struct test_ff_f_data): Likewise.
10735 (struct test_ff_f_data_nexttoward): Likewise.
10736 (struct test_fi_f_data): Likewise.
10737 (struct test_fl_f_data): Likewise.
10738 (struct test_if_f_data): Likewise.
10739 (struct test_fff_f_data): Likewise.
10740 (struct test_c_f_data): Likewise.
10741 (struct test_f_f1_data): Likewise.
10742 (struct test_fF_f1_data): Likewise.
10743 (struct test_ffI_f1_data): Likewise.
10744 (struct test_c_c_data): Likewise.
10745 (struct test_cc_c_data): Likewise.
10746 (struct test_f_i_data): Likewise.
10747 (struct test_ff_i_data): Likewise.
10748 (struct test_f_l_data): Likewise.
10749 (struct test_f_L_data): Likewise.
10750 (struct test_fFF_11_data): Likewise.
10752 (RM_FE_DOWNWARD): Likewise.
10753 (RM_FE_TONEAREST): Likewise.
10754 (RM_FE_TOWARDZERO): Likewise.
10755 (RM_FE_UPWARD): Likewise.
10756 (RUN_TEST_LOOP_f_f): Update references to expected results.
10757 (RUN_TEST_LOOP_2_f): Likewise.
10758 (RUN_TEST_LOOP_fff_f): Likewise.
10759 (RUN_TEST_LOOP_c_f): Likewise.
10760 (RUN_TEST_LOOP_f_f1): Likewise.
10761 (RUN_TEST_LOOP_fF_f1): Likewise.
10762 (RUN_TEST_LOOP_fI_f1): Likewise.
10763 (RUN_TEST_LOOP_ffI_f1): Likewise.
10764 (RUN_TEST_LOOP_c_c): Likewise.
10765 (RUN_TEST_LOOP_cc_c): Likewise.
10766 (RUN_TEST_LOOP_f_i): Likewise.
10767 (RUN_TEST_LOOP_f_i_tg): Likewise.
10768 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10769 (RUN_TEST_LOOP_f_b): Likewise.
10770 (RUN_TEST_LOOP_f_b_tg): Likewise.
10771 (RUN_TEST_LOOP_f_l): Likewise.
10772 (RUN_TEST_LOOP_f_L): Likewise.
10773 (RUN_TEST_LOOP_fFF_11): Likewise.
10774 * math/gen-libm-test.pl (parse_args): Output four copies of
10775 expected results for each test.
10777 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10778 (__ASSUME_UTIMES): Remove.
10779 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10780 (__ASSUME_UTIMES): Likewise.
10782 * math/gen-auto-libm-tests.c: Update comment on output format.
10783 (output_for_one_input_case): Generate before-rounding and
10784 after-rounding information as conditions on output flags not
10785 floating-point format.
10786 * math/auto-libm-test-out: Regenerated.
10787 * math/gen-libm-test.pl (cond_value): New function.
10788 (or_cond_value): Use cond_value.
10789 (generate_testfile): Handle conditional exceptions.
10791 2014-03-05 Joseph Myers <joseph@codesourcery.com>
10793 * math/libm-test.inc (max_valid_error): New variable.
10794 (init_max_error): Take new argument specifying whether function
10795 results are exactly determined. Set max_valid_error and bound
10796 other variables for errors based on this argument.
10797 (set_max_error): Do not record results above max_valid_error.
10798 (check_float_internal): Only accept errors of up to 0.5ulps if
10799 also at most max_valid_error.
10800 (START): Take new argument EXACT and pass it to init_max_error.
10801 (acos_test): Update call to START.
10802 (acos_test_tonearest): Likewise.
10803 (acos_test_towardzero): Likewise.
10804 (acos_test_downward): Likewise.
10805 (acos_test_upward): Likewise.
10806 (acosh_test): Likewise.
10807 (asin_test): Likewise.
10808 (asin_test_tonearest): Likewise.
10809 (asin_test_towardzero): Likewise.
10810 (asin_test_downward): Likewise.
10811 (asin_test_upward): Likewise.
10812 (asinh_test): Likewise.
10813 (atan_test): Likewise.
10814 (atanh_test): Likewise.
10815 (atan2_test): Likewise.
10816 (cabs_test): Likewise.
10817 (cacos_test): Likewise.
10818 (cacosh_test): Likewise.
10819 (carg_test): Likewise.
10820 (casin_test): Likewise.
10821 (casinh_test): Likewise.
10822 (catan_test): Likewise.
10823 (catanh_test): Likewise.
10824 (cbrt_test): Likewise.
10825 (ccos_test): Likewise.
10826 (ccosh_test): Likewise.
10827 (ceil_test): Likewise.
10828 (cexp_test): Likewise.
10829 (cimag_test): Likewise.
10830 (clog_test): Likewise.
10831 (clog10_test): Likewise.
10832 (conj_test): Likewise.
10833 (copysign_test): Likewise.
10834 (cos_test): Likewise.
10835 (cos_test_tonearest): Likewise.
10836 (cos_test_towardzero): Likewise.
10837 (cos_test_downward): Likewise.
10838 (cos_test_upward): Likewise.
10839 (cosh_test): Likewise.
10840 (cosh_test_tonearest): Likewise.
10841 (cosh_test_towardzero): Likewise.
10842 (cosh_test_downward): Likewise.
10843 (cosh_test_upward): Likewise.
10844 (cpow_test): Likewise.
10845 (cproj_test): Likewise.
10846 (creal_test): Likewise.
10847 (csin_test): Likewise.
10848 (csinh_test): Likewise.
10849 (csqrt_test): Likewise.
10850 (ctan_test): Likewise.
10851 (ctan_test_tonearest): Likewise.
10852 (ctan_test_towardzero): Likewise.
10853 (ctan_test_downward): Likewise.
10854 (ctan_test_upward): Likewise.
10855 (ctanh_test): Likewise.
10856 (ctanh_test_tonearest): Likewise.
10857 (ctanh_test_towardzero): Likewise.
10858 (ctanh_test_downward): Likewise.
10859 (ctanh_test_upward): Likewise.
10860 (erf_test): Likewise.
10861 (erfc_test): Likewise.
10862 (exp_test): Likewise.
10863 (exp_test_tonearest): Likewise.
10864 (exp_test_towardzero): Likewise.
10865 (exp_test_downward): Likewise.
10866 (exp_test_upward): Likewise.
10867 (exp10_test): Likewise.
10868 (exp10_test_tonearest): Likewise.
10869 (exp10_test_towardzero): Likewise.
10870 (exp10_test_downward): Likewise.
10871 (exp10_test_upward): Likewise.
10872 (pow10_test): Likewise.
10873 (exp2_test): Likewise.
10874 (expm1_test): Likewise.
10875 (expm1_test_tonearest): Likewise.
10876 (expm1_test_towardzero): Likewise.
10877 (expm1_test_downward): Likewise.
10878 (expm1_test_upward): Likewise.
10879 (fabs_test): Likewise.
10880 (fdim_test): Likewise.
10881 (floor_test): Likewise.
10882 (fma_test): Likewise.
10883 (fma_test_towardzero): Likewise.
10884 (fma_test_downward): Likewise.
10885 (fma_test_upward): Likewise.
10886 (fmax_test): Likewise.
10887 (fmin_test): Likewise.
10888 (fmod_test): Likewise.
10889 (fpclassify_test): Likewise.
10890 (frexp_test): Likewise.
10891 (hypot_test): Likewise.
10892 (ilogb_test): Likewise.
10893 (isfinite_test): Likewise.
10894 (finite_test): Likewise.
10895 (isgreater_test): Likewise.
10896 (isgreaterequal_test): Likewise.
10897 (isinf_test): Likewise.
10898 (isless_test): Likewise.
10899 (islessequal_test): Likewise.
10900 (islessgreater_test): Likewise.
10901 (isnan_test): Likewise.
10902 (isnormal_test): Likewise.
10903 (issignaling_test): Likewise.
10904 (isunordered_test): Likewise.
10905 (j0_test): Likewise.
10906 (j1_test): Likewise.
10907 (jn_test): Likewise.
10908 (ldexp_test): Likewise.
10909 (lgamma_test): Likewise.
10910 (gamma_test): Likewise.
10911 (lrint_test): Likewise.
10912 (lrint_test_tonearest): Likewise.
10913 (lrint_test_towardzero): Likewise.
10914 (lrint_test_downward): Likewise.
10915 (lrint_test_upward): Likewise.
10916 (llrint_test): Likewise.
10917 (llrint_test_tonearest): Likewise.
10918 (llrint_test_towardzero): Likewise.
10919 (llrint_test_downward): Likewise.
10920 (llrint_test_upward): Likewise.
10921 (log_test): Likewise.
10922 (log10_test): Likewise.
10923 (log1p_test): Likewise.
10924 (log2_test): Likewise.
10925 (logb_test): Likewise.
10926 (logb_test_downward): Likewise.
10927 (lround_test): Likewise.
10928 (llround_test): Likewise.
10929 (modf_test): Likewise.
10930 (nearbyint_test): Likewise.
10931 (nextafter_test): Likewise.
10932 (nexttoward_test): Likewise.
10933 (pow_test): Likewise.
10934 (pow_test_tonearest): Likewise.
10935 (pow_test_towardzero): Likewise.
10936 (pow_test_downward): Likewise.
10937 (pow_test_upward): Likewise.
10938 (remainder_test): Likewise.
10939 (drem_test): Likewise.
10940 (remainder_test_tonearest): Likewise.
10941 (drem_test_tonearest): Likewise.
10942 (remainder_test_towardzero): Likewise.
10943 (drem_test_towardzero): Likewise.
10944 (remainder_test_downward): Likewise.
10945 (drem_test_downward): Likewise.
10946 (remainder_test_upward): Likewise.
10947 (drem_test_upward): Likewise.
10948 (remquo_test): Likewise.
10949 (rint_test): Likewise.
10950 (rint_test_tonearest): Likewise.
10951 (rint_test_towardzero): Likewise.
10952 (rint_test_downward): Likewise.
10953 (rint_test_upward): Likewise.
10954 (round_test): Likewise.
10955 (scalb_test): Likewise.
10956 (scalbn_test): Likewise.
10957 (scalbln_test): Likewise.
10958 (signbit_test): Likewise.
10959 (sin_test): Likewise.
10960 (sin_test_tonearest): Likewise.
10961 (sin_test_towardzero): Likewise.
10962 (sin_test_downward): Likewise.
10963 (sin_test_upward): Likewise.
10964 (sincos_test): Likewise.
10965 (sinh_test): Likewise.
10966 (sinh_test_tonearest): Likewise.
10967 (sinh_test_towardzero): Likewise.
10968 (sinh_test_downward): Likewise.
10969 (sinh_test_upward): Likewise.
10970 (sqrt_test): Likewise.
10971 (sqrt_test_tonearest): Likewise.
10972 (sqrt_test_towardzero): Likewise.
10973 (sqrt_test_downward): Likewise.
10974 (sqrt_test_upward): Likewise.
10975 (tan_test): Likewise.
10976 (tan_test_tonearest): Likewise.
10977 (tan_test_towardzero): Likewise.
10978 (tan_test_downward): Likewise.
10979 (tan_test_upward): Likewise.
10980 (tanh_test): Likewise.
10981 (tgamma_test): Likewise.
10982 (trunc_test): Likewise.
10983 (y0_test): Likewise.
10984 (y1_test): Likewise.
10985 (yn_test): Likewise.
10986 (significand_test): Likewise.
10988 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10989 individual tests in comment.
10990 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10991 (prev_max_error): New variable.
10992 (prev_real_max_error): Likewise.
10993 (prev_imag_max_error): Likewise.
10994 (compare_ulp_data): Don't refer to test names in comment.
10995 (find_test_ulps): Remove function.
10996 (find_function_ulps): Likewise.
10997 (find_complex_function_ulps): Likewise.
10998 (init_max_error): Take function name as argument. Look up ulps
11000 (print_ulps): Remove function.
11001 (print_max_error): Use prev_max_error instead of calling
11002 find_function_ulps.
11003 (print_complex_max_error): Use prev_real_max_error and
11004 prev_imag_max_error instead of calling find_complex_function_ulps.
11005 (check_float_internal): Take max_ulp parameter instead of calling
11006 find_test_ulps. Don't call print_ulps.
11007 (check_float): Update call to check_float_internal.
11008 (check_complex): Update calls to check_float_internal.
11009 (START): Pass argument to init_max_error.
11010 * math/gen-libm-test.pl (%results): Don't include "kind"
11012 (parse_ulps): Don't handle ulps of individual tests.
11013 (print_ulps_file): Likewise.
11014 (output_ulps): Likewise.
11015 * math/README.libm-test: Update.
11016 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11018 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11019 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11020 * sysdeps/arm/libm-test-ulps: Likewise.
11021 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11022 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11023 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11024 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11025 * sysdeps/microblaze/libm-test-ulps: Likewise.
11026 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11027 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11028 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11029 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11030 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11031 * sysdeps/sh/libm-test-ulps: Likewise.
11032 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11033 * sysdeps/tile/libm-test-ulps: Likewise.
11034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11036 2014-03-04 Joseph Myers <joseph@codesourcery.com>
11038 * math/libm-test.inc (print_complex_max_error): Check separately
11039 whether real and imaginary errors are within allowed range and
11040 pass 0 to print_complex_function_ulps instead of value within
11043 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11045 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11047 (get_handles_fopen): Likewise.
11048 (do_write_test): Likewise.
11050 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11052 * libio/fileops.c (do_ftell): Use cached offset when
11054 * libio/iofwide.c (do_ftell_wide): Likewise.
11055 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11057 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11060 * libio/libioP.h (get_file_offset): New function.
11061 * libio/fileops.c (get_file_offset): Likewise.
11062 (do_ftell): Likewise.
11063 (_IO_new_file_seekoff): Split out ftell logic.
11064 * libio/wfileops.c (do_ftell_wide): Likewise.
11065 (_IO_wfile_seekoff): Split out ftell logic.
11066 * libio/tst-ftell-active-handler.c: New test case.
11067 * libio/Makefile (tests): Add it.
11069 2014-03-03 Roland McGrath <roland@hack.frob.com>
11071 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11072 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11074 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11077 * nscd/connections.c (nscd_init): Call do_exit.
11078 (start_threads): Call do_exit and notify_parent.
11079 (begin_drop_privileges): Call do_exit.
11080 (finish_drop_privileges): Likewise.
11081 * nscd/selinux.c (preserve_capabilities): Likewise.
11082 (install_real_capabilities): Likewise.
11083 (nscd_selinux_enabled): Likewise.
11084 (avc_create_thread): Likewise.
11085 (avc_alloc_lock): Likewise.
11086 (nscd_avc_init): Likewise.
11087 * nscd/nscd.c (parent_fd): New static variable.
11088 (main): Create a pipe between parent and child processes.
11089 Skip closing parent_fd.
11090 (monitor_child): New function.
11091 (do_exit): Likewise.
11092 (notify_parent): Likewise.
11093 * nscd/nscd.h (notify_parent): Likewise.
11094 (do_exit): Likewise.
11096 2014-03-03 Carlos O'Donell <carlos@redhat.com>
11098 * malloc/malloc.c (__libc_calloc): Revert last change.
11100 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11104 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11106 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11110 (__libc_ifunc_impl_list): Likewise.
11111 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11112 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11113 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11114 * string/strrchr.c: Define STRRCHR.
11116 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
11118 * benchtest/bench-strtok.c (simple_strtok): Delete.
11119 (strtok_string): Use as benchmark.
11120 * string/strtok (STRTOK): New macro.
11122 2014-02-28 Carlos O'Donell <carlos@redhat.com>
11124 * manual/threads.texi: Add header and standard comments to all
11127 * elf/dl-lookup.c (check_match): New function.
11128 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11129 (do_lookup_x): Remove nested function check_match. Use non-nested
11130 function check_match.
11132 2014-02-28 Roland McGrath <roland@hack.frob.com>
11134 * csu/Makefile (generated, before-compile): Use += rather than =.
11135 * catgets/Makefile (generated, generated-dirs): Likewise.
11136 * debug/Makefile (generated): Likewise.
11137 * dlfcn/Makefile (generated): Likewise.
11138 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11139 * iconvdata/Makefile (before-compile, generated): Likewise.
11140 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11141 * libio/Makefile (generated): Likewise.
11142 * malloc/Makefile (generated): Likewise.
11143 * manual/Makefile (generated, generated-dirs): Likewise.
11144 * misc/Makefile (generated): Likewise.
11145 * posix/Makefile (generated): Likewise.
11146 * resolv/Makefile (generated): Likewise.
11147 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11148 * timezone/Makefile (generated, generated-dirs): Likewise.
11150 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11152 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11155 power8 implementation.
11156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11157 file: POWER8 llround ifunc implementation.
11158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11159 (__lllround): Add POWER8 implementation.
11160 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11161 POWER8 llround implementation.
11163 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11164 power8 implementation.
11165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11166 file: POWER8 llrint ifunc implementation.
11167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11168 Add POWER8 implementation.
11169 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11170 POWER8 llrint implementation.
11172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11173 power8 implementation.
11174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11175 file: POWER8 finite ifunc implementation.
11176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11177 Add POWER8 implementation.
11178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11180 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11181 POWER8 finite implementation.
11182 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11185 power8 implementation.
11186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11187 file: POWER8 isinf ifunc implementation.
11188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11189 POWER8 implementation.
11190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11192 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11193 isinf implementation.
11194 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11196 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11197 (INIT_ARCH): Add hwcap2 initialization.
11198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11199 power8 implementation.
11200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11201 file: POWER8 isnan ifunc implementation.
11202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11203 POWER8 implementation.
11204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11206 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11207 isnan implementation.
11208 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11210 2014-02-27 Joey Ye <joey.ye@arm.com>
11212 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11213 (_FP_NANFRAC_Q): Set to zero.
11215 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11218 * math/auto-libm-test-in: New test inputs.
11219 * math/auto-libm-test-out: Regenerate.
11220 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11223 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11225 2014-02-27 Joseph Myers <joseph@codesourcery.com>
11227 * scripts/evaluate-test.sh: Take new argument indicating whether
11228 failure is expected.
11229 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11230 indicating whether failure is expected.
11231 * conform/Makefile (test-xfail-run-conformtest): New variable.
11232 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11234 * posix/Makefile (test-xfail-annexc): New variable.
11235 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11237 2014-02-26 Joseph Myers <joseph@codesourcery.com>
11239 * argp/Makefile: Include Makeconfig immediately after defining
11241 * assert/Makefile: Likewise.
11242 * benchtests/Makefile: Likewise.
11243 * catgets/Makefile: Likewise.
11244 * conform/Makefile: Likewise.
11245 * crypt/Makefile: Likewise.
11246 * csu/Makefile: Likewise.
11247 (all): Remove target.
11248 * ctype/Makefile: Include Makeconfig immediately after defining
11250 * debug/Makefile: Likewise.
11251 * dirent/Makefile: Likewise.
11252 * dlfcn/Makefile: Likewise.
11253 * gmon/Makefile: Likewise.
11254 * gnulib/Makefile: Likewise.
11255 * grp/Makefile: Likewise.
11256 * gshadow/Makefile: Likewise.
11257 * hesiod/Makefile: Likewise.
11258 * hurd/Makefile: Likewise.
11259 (all): Remove target.
11260 * iconvdata/Makefile: Include Makeconfig immediately after
11262 * inet/Makefile: Likewise.
11263 * intl/Makefile: Likewise.
11264 * io/Makefile: Likewise.
11265 * libio/Makefile: Likewise.
11266 (all): Remove target.
11267 * locale/Makefile: Include Makeconfig immediately after defining
11269 * login/Makefile: Likewise.
11270 * mach/Makefile: Likewise.
11271 (all): Remove target.
11272 * malloc/Makefile: Include Makeconfig immediately after defining
11274 (all): Remove target.
11275 * manual/Makefile: Include Makeconfig immediately after defining
11277 * math/Makefile: Likewise.
11278 * misc/Makefile: Likewise.
11279 * nis/Makefile: Likewise.
11280 * nss/Makefile: Likewise.
11281 * po/Makefile: Likewise.
11282 (all): Remove target.
11283 * posix/Makefile: Include Makeconfig immediately after defining
11285 * pwd/Makefile: Likewise.
11286 * resolv/Makefile: Likewise.
11287 * resource/Makefile: Likewise.
11288 * rt/Makefile: Likewise.
11289 * setjmp/Makefile: Likewise.
11290 * shadow/Makefile: Likewise.
11291 * signal/Makefile: Likewise.
11292 * socket/Makefile: Likewise.
11293 * soft-fp/Makefile: Likewise.
11294 * stdio-common/Makefile: Likewise.
11295 * stdlib/Makefile: Likewise.
11296 * streams/Makefile: Likewise.
11297 * string/Makefile: Likewise.
11298 * sunrpc/Makefile: Likewise.
11299 (all): Remove target.
11300 * sysvipc/Makefile: Include Makeconfig immediately after defining
11302 * termios/Makefile: Likewise.
11303 * time/Makefile: Likewise.
11304 * timezone/Makefile: Likewise.
11305 (all): Remove target.
11306 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11308 * wctype/Makefile: Likewise.
11310 2014-02-26 Steve Ellcey <sellcey@mips.com>
11312 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11313 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11314 (libc_feholdexcept_setround_mips): Ditto.
11315 (libc_feholdsetround): New.
11316 (libc_feholdsetroundf): New.
11317 (libc_feholdsetroundl): New.
11318 (libc_feupdateenv_test_mips): New.
11319 (libc_feupdateenv_test): New.
11320 (libc_feupdateenv_testf): New.
11321 (libc_feupdateenv_testl): New.
11322 (libc_feresetround): New.
11323 (libc_feresetroundf): New.
11324 (libc_feresetroundl): New.
11325 (libc_fetestexcept_mips): New.
11326 (libc_fetestexcept): New.
11327 (libc_fetestexceptf): New.
11328 (libc_fetestexceptl): New.
11329 (HAVE_RM_CTX): New.
11330 (libc_feholdexcept_setround_mips_ctx): New.
11331 (libc_feholdexcept_setround_ctx): New.
11332 (libc_feholdexcept_setroundf_ctx): New.
11333 (libc_feholdexcept_setroundl_ctx): New.
11334 (libc_fesetenv_mips_ctx): New.
11335 (libc_fesetenv_ctx): New.
11336 (libc_fesetenv_ctxf): New.
11337 (libc_fesetenv_ctxl): New.
11338 (libc_feupdateenv_mips_ctx): New.
11339 (libc_feupdateenv_ctx): New.
11340 (libc_feupdateenvf_ctx): New.
11341 (libc_feupdateenvl_ctx): New.
11342 (libc_feholdsetround_mips_ctx): New.
11343 (libc_feholdsetround_ctx): New.
11344 (libc_feholdsetroundf_ctx): New.
11345 (libc_feholdsetroundl_ctx): New.
11346 (libc_feresetround_mips_ctx): New.
11347 (libc_feresetround_ctx): New.
11348 (libc_feresetroundf_ctx): New.
11349 (libc_feresetroundl_ctx): New.
11351 2014-02-26 Carlos O'Donell <carlos@redhat.com>
11353 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11355 * manual/ipc.texi: New file.
11356 * manual/Makefile (chapters): Add ipc.
11357 * manual/job.texi: Add "Inter-Process Communication" to next.
11358 * manual/process.texi: Add "Inter-Process Communication" to prev.
11360 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11364 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
11366 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11368 * manual/arith.texi: Fix spaces after sentences.
11369 * manual/charset.texi: Likewise.
11370 * manual/errno.texi: Likewise.
11371 * manual/install.texi: Likewise.
11372 * manual/llio.texi: Likewise.
11373 * manual/locale.texi: Likewise.
11374 * manual/maint.texi: Likewise.
11375 * manual/math.texi: Likewise.
11376 * manual/memory.texi: Likewise.
11377 * manual/message.texi: Likewise.
11378 * manual/probes.texi: Likewise.
11379 * manual/resource.texi: Likewise.
11380 * manual/signal.texi: Likewise.
11381 * manual/socket.texi: Likewise.
11382 * manual/stdio.texi: Likewise.
11383 * manual/string.texi: Likewise.
11384 * manual/time.texi: Likewise.
11385 * manual/users.texi: Likewise.
11387 2014-02-25 Carlos O'Donell <carlos@redhat.com>
11390 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11391 _DEFAULT_SOURCE is defined.
11393 2014-02-25 Ulrich Drepper <drepper@gmail.com>
11394 Carlos O'Donell <carlos@redhat.com>
11397 * elf/dl-tls.c (_dl_count_modids): New function.
11398 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11399 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11400 audit library and increment generation counter.
11401 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11402 * elf/tst-audit9.c: New file.
11403 * elf/tst-auditmod9a.c: New file.
11404 * elf/tst-auditmod9b.c: New file.
11405 * elf/Makefile: Add rules to build and run tst-audit9.
11407 2014-02-25 Florian Weimer <fweimer@redhat.com>
11410 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11412 2014-02-25 Will Newton <will.newton@linaro.org>
11414 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11415 (__longjmp): Restore sp and lr before restoring callee
11416 saved registers. Add longjmp and longjmp_target
11417 SystemTap probe point.
11418 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11419 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11420 Define to zero to match jmpbuf layout.
11421 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11422 (__sigsetjmp): Save sp and lr before saving callee
11423 saved registers. Add setjmp SystemTap probe point.
11425 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11427 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11429 2014-02-24 Andreas Schwab <schwab@suse.de>
11432 * elf/pldd.c (wait_for_ptrace_stop): New function.
11433 (main): Call it after attaching.
11435 2014-02-22 Roland McGrath <roland@hack.frob.com>
11437 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11438 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11439 Versions files is now verboten.
11440 * hurd/Versions (libc: GLIBC_2.0):
11441 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11442 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11443 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11444 * mach/Versions: Likewise.
11446 * csu/Versions: Remove unused %include.
11447 * resolv/Versions: Likewise.
11449 2014-02-21 Joseph Myers <joseph@codesourcery.com>
11451 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11452 ($(objpfx)check-local-headers.out): Likewise.
11453 ($(objpfx)begin-end-check.out): Likewise.
11454 * Makerules (check-abi-%.out): Likewise.
11455 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11456 ($(objpfx)test2.cat): Likewise.
11457 ($(objpfx)de/libc.cat): Likewise.
11458 ($(objpfx)test-gencat.out): Likewise.
11459 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11460 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11461 ($(objpfx)noload-mem): Likewise.
11462 ($(objpfx)tst-pathopt.out): Likewise.
11463 ($(objpfx)tst-rtld-load-self.out): Likewise.
11464 ($(objpfx)tst-array1-cmp.out): Likewise.
11465 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11466 ($(objpfx)tst-array2-cmp.out): Likewise.
11467 ($(objpfx)tst-array3-cmp.out): Likewise.
11468 ($(objpfx)tst-array4-cmp.out): Likewise.
11469 ($(objpfx)tst-array5-cmp.out): Likewise.
11470 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11471 ($(objpfx)check-textrel.out): Likewise.
11472 ($(objpfx)check-execstack.out): Likewise.
11473 ($(objpfx)check-localplt.out): Likewise.
11474 ($(objpfx)order2-cmp.out): Likewise.
11475 ($(objpfx)tst-leaks1-mem): Likewise.
11476 ($(objpfx)tst-leaks1-static-mem): Likewise.
11477 ($(objpfx)tst-initorder-cmp.out): Likewise.
11478 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11479 ($(objpfx)tst-unused-dep.out): Likewise.
11480 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11481 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11482 * iconv/Makefile (test-iconvconfig): Likewise.
11483 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11484 ($(objpfx)iconv-test.out): Likewise.
11485 ($(objpfx)tst-tables.out): Likewise.
11486 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11487 ($(objpfx)tst-gettext.out): Likewise.
11488 ($(objpfx)tst-translit.out): Likewise.
11489 ($(objpfx)tst-gettext2.out): Likewise.
11490 ($(objpfx)tst-gettext4.out): Likewise.
11491 ($(objpfx)tst-gettext6.out): Likewise.
11492 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11493 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11494 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11495 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11496 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11497 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11498 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11499 ($(objpfx)wordexp-tst.out): Likewise.
11500 ($(objpfx)annexc.out): Likewise.
11501 ($(objpfx)tst-fnmatch-mem): Likewise.
11502 ($(objpfx)bug-regex2-mem): Likewise.
11503 ($(objpfx)bug-regex14-mem): Likewise.
11504 ($(objpfx)bug-regex21-mem): Likewise.
11505 ($(objpfx)bug-regex31-mem): Likewise.
11506 ($(objpfx)tst-vfork3-mem): Likewise.
11507 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11508 ($(objpfx)tst-pcre-mem): Likewise.
11509 ($(objpfx)tst-boost-mem): Likewise.
11510 ($(objpfx)tst-getconf.out): Likewise.
11511 ($(objpfx)bug-ga2-mem): Likewise.
11512 ($(objpfx)bug-glob2-mem): Likewise.
11513 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11514 ($(objpfx)mtrace-tst-leaks2): Likewise.
11515 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11516 ($(objpfx)tst-printf.out): Likewise.
11517 ($(objpfx)tst-setvbuf1.out): Likewise.
11518 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11519 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11520 ($(objpfx)tst-fmtmsg.out): Likewise.
11521 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11522 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11524 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11525 * bits/sigaction.h [__USE_MISC]: Likewise.
11526 * bits/waitstatus.h: Update #endif comments.
11527 * ctype/ctype.h: Likewise.
11528 * dirent/dirent.h: Likewise.
11529 [__USE_MISC]: Remove redundant conditionals.
11530 * grp/grp.h: Update #endif comments.
11531 [__USE_GNU]: Remove redundant conditionals.
11532 [__USE_MISC]: Likewise.
11533 * inet/netinet/in.h [__USE_GNU]: Likewise.
11534 * io/sys/stat.h [__USE_MISC]: Likewise.
11535 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11536 * libio/bits/stdio.h: Update #endif comments.
11537 [__USE_MISC]: Remove redundant conditionals.
11538 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11539 * libio/stdio.h: Update #endif comments.
11540 [__USE_MISC]: Remove redundant conditionals.
11541 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11542 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11543 * math/math.h: Update #else and #endif comments.
11544 [__USE_MISC]: Remove redundant conditionals.
11545 * misc/sys/uio.h: Update #endif comments.
11546 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11547 * posix/glob.h [__USE_MISC]: Likewise.
11548 * posix/sys/types.h: Update #endif comments.
11549 [__USE_MISC]: Remove redundant conditionals.
11550 * posix/sys/wait.h: Update #endif comments.
11551 [__USE_MISC]: Remove redundant conditionals.
11552 * posix/unistd.h: Update #endif comments.
11553 [__USE_MISC]: Remove redundant conditionals.
11554 * pwd/pwd.h [__USE_GNU]: Likewise.
11555 [__USE_MISC]: Likewise.
11556 * resolv/netdb.h [__USE_GNU]: Likewise.
11557 * signal/signal.h: Update #endif comments.
11558 [__USE_MISC]: Remove redundant conditionals.
11559 * stdlib/stdlib.h: Update #else and #endif comments.
11560 [__USE_MISC]: Remove redundant conditionals.
11561 [__USE_GNU]: Likewise.
11562 * string/bits/string2.h [__USE_MISC]: Likewise.
11563 * string/string.h: Update #endif comments.
11564 [__USE_MISC]: Remove redundant conditionals.
11565 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11567 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11568 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11569 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11571 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11573 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11575 [__USE_MISC]: Remove redundant conditionals.
11576 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11577 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11578 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11579 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11580 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11582 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11583 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11585 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11586 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11588 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11590 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11591 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11593 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11595 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11596 * sysdeps/x86/bits/string.h: Update #endif comments.
11597 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11599 * time/sys/time.h: Update #endif comments.
11600 * time/time.h: Likewise.
11601 [__USE_MISC]: Remove redundant conditionals.
11603 2014-02-21 Yury Gribov <y.gribov@samsung.com>
11606 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11608 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11610 * Versions.def (librt): Add GLIBC_2.17.
11612 2014-02-21 Adam Conrad <adconrad@0c3.net>
11614 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11615 synonym for _SYS_AUXV_H to allow direct inclusion.
11616 * sysdeps/sparc/bits/hwcap.h: Likewise.
11617 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11618 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11619 * sysdeps/sparc/sysdep.h: Likewise.
11621 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11623 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11625 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11627 * benchtests/bench-strrchr.c: Print length instead of position.
11629 2014-02-20 Joseph Myers <joseph@codesourcery.com>
11632 * sysdeps/unix/sysv/linux/kernel-features.h
11633 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11634 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11635 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11636 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11638 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11639 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11640 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11641 (__ASSUME_SENDMMSG): Define instead of using previous
11642 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11643 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11644 (__ASSUME_SENDMMSG_SYSCALL): Define.
11645 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11646 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11648 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11649 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11651 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11652 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11654 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11655 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11656 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11657 [__ASSUME_SENDMMSG]: Change conditionals to
11658 [__ASSUME_SENDMMSG_SOCKETCALL].
11659 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11660 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11662 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11663 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11665 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11666 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11667 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11668 [!__ASSUME_SENDMMSG]: Change conditional to
11669 [!__ASSUME_SENDMMSG_SOCKETCALL].
11670 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11671 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11675 * sysdeps/unix/sysv/linux/kernel-features.h
11676 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11677 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11678 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11679 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11680 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11681 [__i386__ || __sparc__]
11682 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11683 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11684 (__ASSUME_RECVMMSG): Define instead of using previous
11685 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11686 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11687 (__ASSUME_RECVMMSG_SYSCALL): Define.
11688 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11689 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11691 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11692 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11694 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11695 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11697 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11698 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11699 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11700 [__ASSUME_RECVMMSG]: Change condition to
11701 [__ASSUME_RECVMMSG_SOCKETCALL].
11702 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11703 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11705 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11706 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11707 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11709 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11710 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11711 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11712 [!__ASSUME_RECVMMSG]: Change condition to
11713 [!__ASSUME_RECVMMSG_SOCKETCALL].
11714 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11715 (__ASSUME_RECVMMSG_SYSCALL): Define.
11718 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11719 __powerpc__ || __s390__ || __sh__ || __sparc__]
11720 (__ASSUME_SOCKETCALL): Define.
11721 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11722 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11723 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11724 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11725 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11726 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11727 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11728 (__ASSUME_ACCEPT4): Define instead of using previous
11729 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11730 __powerpc__ || __sparc__ || __s390__)] condition.
11731 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11732 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11733 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11734 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11735 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11736 [!__ASSUME_ACCEPT4]: Change condition to
11737 [!__ASSUME_ACCEPT4_SOCKETCALL].
11738 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11739 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11740 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11741 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11742 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11743 __ASSUME_ACCEPT4_SYSCALL.
11744 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11745 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11746 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11747 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11748 __ASSUME_ACCEPT4_SYSCALL.
11749 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11750 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11751 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11752 [__ASSUME_ACCEPT4]: Change condition to
11753 [__ASSUME_ACCEPT4_SOCKETCALL].
11754 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11755 (__ASSUME_SOCKETCALL): Define.
11756 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11757 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11758 (__ASSUME_SOCKETCALL): Define.
11759 (__ASSUME_ACCEPT4): Remove.
11760 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11762 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11763 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11765 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11766 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11768 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11770 (HWCAP_ARM_LPAE): Likewise.
11771 (HWCAP_ARM_EVTSTRM): Likewise.
11772 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11773 Add vpfd32, lpae and evtstrm.
11774 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11777 2014-02-19 Joseph Myers <joseph@codesourcery.com>
11779 * math/auto-libm-test-in: Add tests of clog10.
11780 * math/auto-libm-test-out: Regenerated.
11781 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11782 * sysdeps/i386/fpu/libm-test-ulps: Update.
11783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11785 2014-02-18 Andreas Schwab <schwab@suse.de>
11788 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11789 Store non-zero if the second buffer was newly allocated.
11790 (send_dg): Likewise.
11791 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11792 to send_vc and send_dg.
11793 (res_nsend): Pass NULL for ansp2_malloced.
11794 * resolv/res_query.c (__libc_res_nquery): Add parameter
11795 answerp2_malloced and pass it down to __libc_res_nsend.
11796 (res_nquery): Pass additional NULL to __libc_res_nquery.
11797 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11798 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11799 second answer buffer if answerp2_malloced was set.
11800 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11801 (__libc_res_nquerydomain): Add parameter
11802 answerp2_malloced and pass it down to __libc_res_nquery.
11803 (res_nquerydomain): Pass additional NULL to
11804 __libc_res_nquerydomain.
11805 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11806 additional NULL to __libc_res_nsend and __libc_res_nquery.
11807 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11808 additional NULL to __libc_res_nsearch.
11809 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11810 parameter of __libc_res_nsearch to check for separately allocated
11812 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11814 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11815 additional NULL to __libc_res_nquery.
11816 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11817 __libc_res_nsearch.
11818 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11819 * include/resolv.h: Update prototypes of __libc_res_nquery,
11820 __libc_res_nsearch, __libc_res_nsend.
11822 2014-02-18 Joseph Myers <joseph@codesourcery.com>
11824 * math/auto-libm-test-in: Add tests of fma.
11825 * math/auto-libm-test-out: Regenerated.
11826 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11827 (fma_towardzero_test_data): Likewise.
11828 (fma_downward_test_data): Likewise.
11829 (fma_upward_test_data): Likewise.
11830 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11832 (rounding_modes): Add values for new field.
11833 (func_calc_method): Add value mpfr_fff_f.
11834 (func_calc_desc): Add mpfr_fff_f union field.
11835 (test_function): Add field exact_args.
11836 (FUNC): Add macro argument EXACT_ARGS.
11837 (FUNC_mpfr_f_f): Update call to FUNC.
11838 (FUNC_mpfr_f_f): Likewise.
11839 (FUNC_mpfr_ff_f): Likewise.
11840 (FUNC_mpfr_if_f): Likewise.
11841 (FUNC_mpc_c_f): Likewise.
11842 (FUNC_mpc_c_c): Likewise.
11843 (test_functions): Add fma. Update calls to FUNC.
11844 (handle_input_arg): Add argument exact_args.
11845 (add_test): Update call to handle_input_arg.
11846 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11847 (output_for_one_input_case): Update call to calc_generic_results.
11848 Recalculate exact zero results in each rounding mode.
11850 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11851 non-negative before setting low bit.
11852 * math/auto-libm-test-in: Mark one asin test possibly having
11853 spurious underflow.
11854 * math/auto-libm-test-out: Regenerated.
11855 * sysdeps/i386/fpu/libm-test-ulps: Update.
11856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11858 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11860 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11861 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11862 ports/sysdeps/unix/sysv/linux/microblaze.
11863 * README: Add missing listing for microblaze*-*-linux-gnu.
11865 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
11867 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11870 2014-02-16 Mike Frysinger <vapier@gentoo.org>
11872 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11873 * sysdeps/unix/sysv/linux/ia64: Move directory from
11874 ports/sysdeps/unix/sysv/linux/ia64.
11875 * README: Update listing for ia64-*-linux-gnu.
11877 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11878 Joseph Myers <joseph@codesourcery.com>
11880 * Makeconfig (test-name): New variable.
11881 (evaluate-test): Likewise.
11882 * Makerules (do-test-clean): Remove .test-result files.
11883 (common-mostlyclean): Likewise.
11884 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11885 * scripts/evaluate-test.sh: New file.
11887 2014-02-14 Joseph Myers <joseph@codesourcery.com>
11889 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11890 separate $(objpfx)tst-fopenloc-cmp.out and
11891 $(objpfx)tst-fopenloc-mem.out targets.
11892 (tests): Update dependencies.
11893 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11894 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11895 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11896 (tst-rxspencer-no-utf8-ARGS): New variable.
11897 (tst-rxspencer-no-utf8-ENV): Likewise.
11898 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11899 instead of $(objpfx)tst-rxspencer-mem.
11900 ($(objpfx)tst-rxspencer-mem): Change target to
11901 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11902 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11903 * posix/tst-rxspencer-no-utf8.c: New file.
11905 * elf/Makefile ($(objpfx)order.out): Remove rule.
11906 [$(run-built-tests) = yes] (tests): Depend on
11907 $(objpfx)order-cmp.out.
11908 ($(objpfx)order-cmp.out): New rule.
11909 [$(run-built-tests) = yes] (tests): Depend on
11910 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11911 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11912 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11913 $(objpfx)tst-array5-static-cmp.out.
11914 ($(objpfx)tst-array1.out): Remove rule.
11915 ($(objpfx)tst-array1-cmp.out): New rule.
11916 ($(objpfx)tst-array1-static.out): Remove rule.
11917 ($(objpfx)tst-array1-static-cmp.out): New rule.
11918 ($(objpfx)tst-array2.out): Remove rule.
11919 ($(objpfx)tst-array2-cmp.out): New rule.
11920 ($(objpfx)tst-array3.out): Remove rule.
11921 ($(objpfx)tst-array3-cmp.out): New rule.
11922 ($(objpfx)tst-array4.out): Remove rule.
11923 ($(objpfx)tst-array4-cmp.out): New rule.
11924 ($(objpfx)tst-array5.out): Remove rule.
11925 ($(objpfx)tst-array5-cmp.out): New rule.
11926 ($(objpfx)tst-array5-static.out): Remove rule.
11927 ($(objpfx)tst-array5-static-cmp.out): New rule.
11928 [$(run-built-tests) = yes] (tests): Depend on
11929 $(objpfx)order2-cmp.out.
11930 ($(objpfx)order2.out): Remove rule.
11931 ($(objpfx)order2-cmp.out): New rule.
11932 ($(objpfx)tst-initorder.out): Remove rule.
11933 [$(run-built-tests) = yes] (tests): Depend on
11934 $(objpfx)tst-initorder-cmp.out.
11935 ($(objpfx)tst-initorder-cmp.out): New rule.
11936 ($(objpfx)tst-initorder2.out): Remove rule.
11937 [$(run-built-tests) = yes] (tests): Depend on
11938 $(objpfx)tst-initorder2-cmp.out.
11939 ($(objpfx)tst-initorder2-cmp.out): New rule.
11940 [$(run-built-tests) = yes] (tests): Depend on
11941 $(objpfx)tst-unused-dep-cmp.out.
11942 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11943 ($(objpfx)tst-unused-dep-cmp.out): New rule.
11944 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11945 on $(objpfx)tst-setvbuf1-cmp.out.
11946 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11947 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11948 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11949 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11950 ($(objpfx)tst-svc.out): Remove rule.
11951 ($(objpfx)tst-svc-cmp.out): New rule.
11953 2014-02-13 Joseph Myers <joseph@codesourcery.com>
11955 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11956 * ctype/ctype.h [__USE_MISC]: Likewise.
11957 * dirent/dirent.h [__USE_MISC]: Likewise.
11958 * grp/grp.h [__USE_MISC]: Likewise.
11959 * io/fcntl.h [__USE_MISC]: Likewise.
11960 * io/sys/stat.h [__USE_MISC]: Likewise.
11961 * libio/stdio.h [__USE_MISC]: Likewise.
11962 * posix/unistd.h [__USE_MISC]: Likewise.
11963 * pwd/pwd.h [__USE_MISC]: Likewise.
11964 * stdlib.h [__USE_MISC]: Likewise.
11965 * string/bits/string2.h [__USE_MISC]: Likewise.
11966 * string/string.h [__USE_MISC]: Likewise.
11967 * time/time.h [__USE_MISC]: Likewise.
11969 2014-02-13 Andreas Schwab <schwab@suse.de>
11972 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11973 second answer buffer if it was separately allocated.
11975 2014-02-12 Joseph Myers <joseph@codesourcery.com>
11977 * sysdeps/mips/math-tests.h: Include <features.h>.
11978 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11979 (ROUNDING_TESTS_long_double): Do not define.
11980 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11981 (EXCEPTION_TESTS_long_double): Likewise.
11982 * sysdeps/mips/mips64/libm-test-ulps: Update.
11984 * include/features.h (__USE_BSD): Remove macro definitions.
11985 (__USE_SVID): Likewise.
11986 (_BSD_SOURCE): Likewise.
11987 (_SVID_SOURCE): Likewise.
11988 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11989 from definition of _DEFAULT_SOURCE.
11990 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11992 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11993 * bits/mman.h [__USE_BSD]: Likewise.
11994 * bits/termios.h [__USE_BSD]: Likewise.
11995 * bits/waitstatus.h [__USE_BSD]: Likewise.
11996 * ctype/ctype.h [__USE_SVID]: Likewise.
11997 * dirent/dirent.h [__USE_BSD]: Likewise.
11998 * grp/grp.h [__USE_SVID]: Likewise.
11999 [__USE_BSD]: Likewise.
12000 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12001 * io/fcntl.h [__USE_BSD]: Likewise.
12002 * io/ftw.h [__USE_BSD]: Likewise.
12003 * io/sys/stat.h [__USE_BSD]: Likewise.
12004 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12005 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12006 * libio/stdio.h [__USE_SVID]: Likewise.
12007 [__USE_BSD]: Likewise.
12008 * math/math.h [__USE_SVID]: Likewise.
12009 [__USE_BSD]: Likewise.
12010 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12011 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12012 * misc/search.h [__USE_SVID]: Likewise.
12013 * misc/sys/mman.h [__USE_BSD]: Likewise.
12014 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12015 * misc/sys/uio.h [__USE_BSD]: Likewise.
12016 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12017 * posix/glob.h [__USE_BSD]: Likewise.
12018 * posix/regex.h [__USE_BSD]: Likewise.
12019 * posix/sys/types.h [__USE_BSD]: Likewise.
12020 [__USE_SVID]: Likewise.
12021 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12022 * posix/sys/wait.h [__USE_BSD]: Likewise.
12023 [__USE_SVID]: Likewise.
12024 * posix/unistd.h [__USE_BSD]: Likewise.
12025 [__USE_SVID]: Likewise.
12026 * pwd/pwd.h [__USE_SVID]: Likewise.
12027 * resolv/netdb.h [__USE_BSD]: Likewise.
12028 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12029 * signal/signal.h [__USE_BSD]: Likewise.
12030 [__USE_SVID]: Likewise.
12031 * socket/sys/socket.h [__USE_BSD]: Likewise.
12032 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12033 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12034 [__USE_SVID]: Likewise.
12035 * string/bits/string2.h [__USE_BSD]: Likewise.
12036 [__USE_SVID]: Likewise.
12037 * string/bits/string3.h [__USE_BSD]: Likewise.
12038 * string/endian.h [__USE_BSD]: Likewise.
12039 * string/string.h [__USE_SVID]: Likewise.
12040 [__USE_BSD]: Likewise.
12041 * string/strings.h [__USE_BSD]: Likewise.
12042 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12043 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12044 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12045 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12046 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12047 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12049 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12051 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12052 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12054 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12055 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12057 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12059 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12060 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12061 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12063 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12065 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12066 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12067 * termios/termios.h [__USE_BSD]: Likewise.
12068 * time/sys/time.h [__USE_BSD]: Likewise.
12069 * time/time.h [__USE_BSD]: Likewise.
12070 [__USE_SVID]: Likewise.
12072 * Makefile (subdir_targets): Remove subdir_lint.out.
12074 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12075 (do-tst-printf): Likewise.
12076 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12077 $(objpfx)tst-printf.out.
12079 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12081 * Makerules (check-abi-%): Change target to
12082 $(objpfx)check-abi-%.out.
12083 (check-abi target): Update dependencies.
12084 (check-abi-pattern variable): Redirect output of diff to $@.
12085 (check-abi variable): Likewise.
12086 * elf/Makefile (check-abi): Update dependencies.
12088 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12090 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12091 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12093 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12094 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12095 value has largest subnormal exponent.
12096 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12097 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12098 * sysdeps/aarch64/soft-fp/sfp-machine.h
12099 (_FP_TININESS_AFTER_ROUNDING): New macro.
12100 * sysdeps/alpha/soft-fp/sfp-machine.h
12101 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12102 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12104 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12105 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12106 * sysdeps/mips/soft-fp/sfp-machine.h
12107 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12108 * sysdeps/powerpc/soft-fp/sfp-machine.h
12109 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12110 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12112 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12113 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12114 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12115 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12116 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12119 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
12122 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12125 2014-02-12 Richard Henderson <rth@redhat.com>
12127 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12128 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12129 * sysdeps/unix/sysv/linux/alpha: Move directory from
12130 ports/sysdeps/unix/sysv/linux/alpha.
12131 * README: Update listing for alpha-*-linux-gnu.
12133 2014-02-11 Joseph Myers <joseph@codesourcery.com>
12135 * include/features.h: Update comment documenting feature test
12137 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12139 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12140 (_SVID_SOURCE): Likewise.
12141 (_DEFAULT_SOURCE): Update description of default features.
12142 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12144 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12145 (S_ISVTX): Likewise.
12146 * manual/math.texi (Mathematical Constants): Likewise.
12147 * manual/signal.texi (Interrupted Primitives): Likewise.
12148 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12149 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12150 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12151 Don't refer to _SVID_SOURCE in warning text.
12153 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12155 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12157 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12158 * sysdeps/mips/dl-lookup.c: Remove.
12159 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12161 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12164 * math/auto-libm-test-in: Add testcase for expl.
12165 * math/auto-libm-test-out: Regenerate.
12166 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12167 calculation of unsafe.
12168 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12170 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12172 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12173 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12174 ports/sysdeps/unix/sysv/linux/aarch64.
12175 * README: Update listing for aarch64*-*-linux-gnu.
12177 2014-02-11 Will Newton <will.newton@linaro.org>
12179 * manual/probes.texi (Mathematical Function Probes): Use
12180 "triggered" instead of "hit".
12182 * manual/probes.texi (Internal Probes): Add documentation
12183 of setjmp, longjmp and longjmp_target probes.
12185 * include/stap-probe.h: Add comment about probe argument
12188 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12189 definition. (tr_where, tr_freehook, tr_mallochook,
12190 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12192 2014-02-11 David S. Miller <davem@davemloft.net>
12194 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12195 processing int_tests.
12197 2014-02-10 Joseph Myers <joseph@codesourcery.com>
12199 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12200 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12201 * sysdeps/unix/sysv/linux/mips: Move directory from
12202 ports/sysdeps/unix/sysv/linux/mips.
12203 * README: Update listing for mips-*-linux-gnu and
12204 mips64-*-linux-gnu.
12206 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12208 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12209 * sysdeps/unix/sysv/linux/m68k: Move directory from
12210 ports/sysdeps/unix/sysv/linux/m68k.
12211 * README: Update listing for m68k-*-linux-gnu.
12213 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12215 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12216 * sysdeps/unix/sysv/linux/generic: Move directory from
12217 ports/sysdeps/unix/sysv/linux/generic.
12218 * sysdeps/unix/sysv/linux/tile: Move directory from
12219 ports/sysdeps/unix/sysv/linux/tile.
12220 * README: Update listing for tile*-*-linux-gnu.
12222 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
12224 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12226 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12227 * catgets/open_catalog.c (__open_catalog): Likewise.
12228 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12229 * debug/confstr_chk.c: Likewise.
12230 * debug/fread_chk.c (__fread_chk): Likewise.
12231 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12232 * debug/getgroups_chk.c: Likewise.
12233 * debug/mbsnrtowcs_chk.c: Likewise.
12234 * debug/mbsrtowcs_chk.c: Likewise.
12235 * debug/mbstowcs_chk.c: Likewise.
12236 * debug/memcpy_chk.c: Likewise.
12237 * debug/memmove_chk.c: Likewise.
12238 * debug/mempcpy_chk.c: Likewise.
12239 * debug/memset_chk.c: Likewise.
12240 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12241 * debug/strcat_chk.c (__strcat_chk): Likewise.
12242 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12243 * debug/strncat_chk.c (__strncat_chk): Likewise.
12244 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12245 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12246 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12247 * debug/wcpncpy_chk.c: Likewise.
12248 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12249 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12250 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12251 * debug/wcsncpy_chk.c: Likewise.
12252 * debug/wcsnrtombs_chk.c: Likewise.
12253 * debug/wcsrtombs_chk.c: Likewise.
12254 * debug/wcstombs_chk.c: Likewise.
12255 * debug/wmemcpy_chk.c: Likewise.
12256 * debug/wmemmove_chk.c: Likewise.
12257 * debug/wmempcpy_chk.c: Likewise.
12258 * debug/wmemset_chk.c: Likewise.
12259 * dirent/scandirat.c (SCANDIRAT): Likewise.
12260 * dlfcn/dladdr1.c (dladdr1): Likewise.
12261 * dlfcn/dladdr.c (dladdr): Likewise.
12262 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12263 * dlfcn/dlerror.c (__dlerror): Likewise.
12264 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12265 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12266 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12267 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12268 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12269 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12270 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12271 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12273 * elf/dl-conflict.c: Likewise.
12274 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12275 * elf/dl-dst.h: Likewise.
12276 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12277 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12278 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12279 * elf/dl-init.c (call_init, _dl_init): Likewise.
12280 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12281 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12282 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12284 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12286 * elf/dl-minimal.c (__libc_memalign): Likewise.
12287 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12288 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12289 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12290 * elf/dl-sym.c (do_sym): Likewise.
12291 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12292 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12293 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12294 * elf/dl-writev.h (_dl_writev): Likewise.
12295 * elf/ldconfig.c (search_dir): Likewise.
12296 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12297 (dl_main): Likewise.
12298 * elf/setup-vdso.h (setup_vdso): Likewise.
12299 * grp/compat-initgroups.c (compat_call): Likewise.
12300 * grp/fgetgrent.c (fgetgrent): Likewise.
12301 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12302 * grp/putgrent.c (putgrent): Likewise.
12303 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12305 * hurd/hurdinit.c: Likewise.
12306 * iconvdata/8bit-gap.c (struct): Likewise.
12307 * iconvdata/ansi_x3.110.c : Likewise.
12308 * iconvdata/big5.c : Likewise.
12309 * iconvdata/big5hkscs.c : Likewise.
12310 * iconvdata/cp1255.c: Likewise.
12311 * iconvdata/cp1258.c : Likewise.
12312 * iconvdata/cp932.c : Likewise.
12313 * iconvdata/euc-cn.c: Likewise.
12314 * iconvdata/euc-jisx0213.c : Likewise.
12315 * iconvdata/euc-jp.c: Likewise.
12316 * iconvdata/euc-jp-ms.c : Likewise.
12317 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12318 * iconvdata/gb18030.c : Likewise.
12319 * iconvdata/gbbig5.c (const): Likewise.
12320 * iconvdata/gbgbk.c: Likewise.
12321 * iconvdata/gbk.c : Likewise.
12322 * iconvdata/ibm1364.c : Likewise.
12323 * iconvdata/ibm930.c : Likewise.
12324 * iconvdata/ibm932.c: Likewise.
12325 * iconvdata/ibm933.c : Likewise.
12326 * iconvdata/ibm935.c : Likewise.
12327 * iconvdata/ibm937.c : Likewise.
12328 * iconvdata/ibm939.c : Likewise.
12329 * iconvdata/ibm943.c: Likewise.
12330 * iconvdata/iso_11548-1.c: Likewise.
12331 * iconvdata/iso-2022-cn.c : Likewise.
12332 * iconvdata/iso-2022-cn-ext.c : Likewise.
12333 * iconvdata/iso-2022-jp-3.c: Likewise.
12334 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12335 * iconvdata/iso-2022-kr.c : Likewise.
12336 * iconvdata/iso646.c (gconv_end): Likewise.
12337 * iconvdata/iso_6937-2.c : Likewise.
12338 * iconvdata/iso_6937.c : Likewise.
12339 * iconvdata/iso8859-1.c: Likewise.
12340 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12341 * iconvdata/shift_jisx0213.c : Likewise.
12342 * iconvdata/sjis.c : Likewise.
12343 * iconvdata/t.61.c : Likewise.
12344 * iconvdata/tcvn5712-1.c : Likewise.
12345 * iconvdata/tscii.c: Likewise.
12346 * iconvdata/uhc.c : Likewise.
12347 * iconvdata/unicode.c (gconv_end): Likewise.
12348 * iconvdata/utf-16.c (gconv_end): Likewise.
12349 * iconvdata/utf-32.c (gconv_end): Likewise.
12350 * iconvdata/utf-7.c (base64): Likewise.
12351 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12352 * iconv/gconv_close.c (__gconv_close): Likewise.
12353 * iconv/gconv_open.c (__gconv_open): Likewise.
12354 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12355 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12356 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12357 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12358 (ucs4le_internal_loop_single): Likewise.
12359 * iconv/iconv.c (iconv): Likewise.
12360 * iconv/iconv_close.c: Likewise.
12361 * iconv/loop.c (SINGLE): Likewise.
12362 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12363 * include/atomic.h: Likewise.
12364 * inet/inet6_option.c (option_alloc): Likewise.
12365 * intl/bindtextdom.c (set_binding_values): Likewise.
12366 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12367 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12368 * intl/localealias.c (read_alias_file): Likewise.
12369 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12370 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12371 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12372 * libio/fmemopen.c (fmemopen): Likewise.
12373 * libio/iofgets.c (_IO_fgets): Likewise.
12374 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12375 * libio/iofgetws.c (fgetws): Likewise.
12376 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12377 * libio/iogetdelim.c (_IO_getdelim): Likewise.
12378 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12379 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12380 * locale/findlocale.c (_nl_find_locale): Likewise.
12381 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12382 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12384 * locale/setlocale.c (setlocale): Likewise.
12385 * login/programs/pt_chown.c (main): Likewise.
12386 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12387 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12388 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12389 (mmap, mmap64, mremap, munmap): Likewise.
12390 * math/e_exp2l.c: Likewise.
12391 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12392 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12393 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12394 * math/s_catan.c (__catan): Likewise.
12395 * math/s_catanf.c (__catanf): Likewise.
12396 * math/s_catanh.c (__catanh): Likewise.
12397 * math/s_catanhf.c (__catanhf): Likewise.
12398 * math/s_catanhl.c (__catanhl): Likewise.
12399 * math/s_catanl.c (__catanl): Likewise.
12400 * math/s_ccosh.c (__ccosh): Likewise.
12401 * math/s_ccoshf.c (__ccoshf): Likewise.
12402 * math/s_ccoshl.c (__ccoshl): Likewise.
12403 * math/s_cexp.c (__cexp): Likewise.
12404 * math/s_cexpf.c (__cexpf): Likewise.
12405 * math/s_cexpl.c (__cexpl): Likewise.
12406 * math/s_clog10.c (__clog10): Likewise.
12407 * math/s_clog10f.c (__clog10f): Likewise.
12408 * math/s_clog10l.c (__clog10l): Likewise.
12409 * math/s_clog.c (__clog): Likewise.
12410 * math/s_clogf.c (__clogf): Likewise.
12411 * math/s_clogl.c (__clogl): Likewise.
12412 * math/s_csin.c (__csin): Likewise.
12413 * math/s_csinf.c (__csinf): Likewise.
12414 * math/s_csinh.c (__csinh): Likewise.
12415 * math/s_csinhf.c (__csinhf): Likewise.
12416 * math/s_csinhl.c (__csinhl): Likewise.
12417 * math/s_csinl.c (__csinl): Likewise.
12418 * math/s_csqrt.c (__csqrt): Likewise.
12419 * math/s_csqrtf.c (__csqrtf): Likewise.
12420 * math/s_csqrtl.c (__csqrtl): Likewise.
12421 * math/s_ctan.c (__ctan): Likewise.
12422 * math/s_ctanf.c (__ctanf): Likewise.
12423 * math/s_ctanh.c (__ctanh): Likewise.
12424 * math/s_ctanhf.c (__ctanhf): Likewise.
12425 * math/s_ctanhl.c (__ctanhl): Likewise.
12426 * math/s_ctanl.c (__ctanl): Likewise.
12427 * math/w_pow.c: Likewise.
12428 * math/w_powf.c: Likewise.
12429 * math/w_powl.c: Likewise.
12430 * math/w_scalb.c (sysv_scalb): Likewise.
12431 * math/w_scalbf.c (sysv_scalbf): Likewise.
12432 * math/w_scalbl.c (sysv_scalbl): Likewise.
12433 * misc/error.c (error_tail): Likewise.
12434 * misc/pselect.c (__pselect): Likewise.
12435 * nis/nis_callback.c (__nis_create_callback): Likewise.
12436 * nis/nis_call.c (__nisfind_server): Likewise.
12437 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12438 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12439 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12440 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12441 * nis/nis_lookup.c (nis_lookup): Likewise.
12442 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12443 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12444 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12445 * nis/nis_xdr.c (xdr_endpoint): Likewise.
12446 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12447 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12448 * nis/nss_compat/compat-initgroups.c (add_group)
12449 (internal_getgrent_r): Likewise.
12450 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12451 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12452 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12453 (internal_getspnam_r): Likewise.
12454 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12455 (_nss_nis_getaliasbyname_r): Likewise.
12456 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12457 (_nss_nis_getntohost_r): Likewise.
12458 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12459 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12460 (_nss_nis_getgrgid_r): Likewise.
12461 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12462 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12463 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12464 (_nss_nis_gethostbyname4_r): Likewise.
12465 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12466 (initgroups_netid): Likewise.
12467 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12468 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12469 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12470 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12471 (_nss_nis_getprotobynumber_r): Likewise.
12472 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12473 (_nss_nis_getsecretkey): Likewise.
12474 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12475 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12476 (_nss_nis_getpwuid_r): Likewise.
12477 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12478 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12479 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12480 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12481 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12482 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12483 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12485 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12486 (_nss_nisplus_getntohost_r): Likewise.
12487 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12488 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12489 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12490 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12492 * nis/nss_nisplus/nisplus-initgroups.c
12493 (_nss_nisplus_initgroups_dyn): Likewise.
12494 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12495 (_nss_nisplus_getnetbyaddr_r): Likewise.
12496 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12497 (_nss_nisplus_getprotobynumber_r): Likewise.
12498 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12499 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12500 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12502 * nis/nss_nisplus/nisplus-service.c
12503 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12504 (_nss_nisplus_getservbyport_r): Likewise.
12505 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12506 (_nss_nisplus_getspnam_r): Likewise.
12507 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12509 * nscd/aicache.c (addhstaiX): Likewise.
12510 * nscd/cache.c (cache_search, prune_cache): Likewise.
12511 * nscd/connections.c (register_traced_file, send_ro_fd)
12512 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12513 (main_loop_epoll): Likewise.
12514 * nscd/grpcache.c (addgrbyX): Likewise.
12515 * nscd/hstcache.c (addhstbyX): Likewise.
12516 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12517 * nscd/mem.c (gc, mempool_alloc): Likewise.
12518 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12519 (addinnetgrX): Likewise.
12520 * nscd/nscd-client.h (__nscd_acquire_maplock)
12521 (__nscd_drop_map_ref): Likewise.
12522 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12523 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12524 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12526 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12527 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12528 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12529 (__nscd_get_map_ref): Likewise.
12530 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12531 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12533 * nscd/pwdcache.c (addpwbyX): Likewise.
12534 * nscd/selinux.c (preserve_capabilities): Likewise.
12535 * nscd/servicescache.c (addservbyX): Likewise.
12536 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12537 * posix/fnmatch.c (fnmatch): Likewise.
12538 * posix/getopt.c (_getopt_internal_r): Likewise.
12539 * posix/glob.c (glob, glob_in_dir): Likewise.
12540 * posix/wordexp.c (exec_comm_child): Likewise.
12541 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12542 (getanswer_r, gaih_getanswer_slice): Likewise.
12543 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12544 * resolv/res_init.c: Likewise.
12545 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12546 * resolv/res_query.c (__libc_res_nquery): Likewise.
12547 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12549 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12550 * stdio-common/perror.c (perror): Likewise.
12551 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12552 * stdio-common/tmpnam.c (tmpnam): Likewise.
12553 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12554 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12555 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12557 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12558 * stdlib/putenv.c (putenv): Likewise.
12559 * stdlib/setenv.c (__add_to_environ): Likewise.
12560 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12561 * stdlib/strtol_l.c (INTERNAL): Likewise.
12562 * string/memmem.c (memmem): Likewise.
12563 * string/strerror.c (strerror): Likewise.
12564 * string/strnlen.c (__strnlen): Likewise.
12565 * string/test-memmem.c (simple_memmem): Likewise.
12566 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12567 * sunrpc/pm_getport.c (__get_socket): Likewise.
12568 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12569 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12570 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12571 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12573 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12574 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12575 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12576 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12577 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12578 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12580 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12582 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12583 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12584 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12585 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12586 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12588 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12589 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12590 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12591 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12592 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12593 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12595 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12597 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12599 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12600 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12601 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12602 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12603 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12604 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12605 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12607 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12608 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12609 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12610 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12611 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12612 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12614 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12616 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12618 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12620 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12622 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12623 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12624 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12626 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12627 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12628 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12629 * sysdeps/posix/sleep.c: Likewise.
12630 * sysdeps/posix/tempname.c: Likewise.
12631 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12632 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12634 * sysdeps/powerpc/powerpc32/dl-machine.h
12635 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12636 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12637 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12638 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12639 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12641 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12642 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12643 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12644 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12645 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12646 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12647 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12648 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12649 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12650 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
12651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12652 (elf_machine_lazy_rel): Likewise.
12653 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12654 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12655 (elf_machine_lazy_rel): Likewise.
12656 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12657 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12658 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12659 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12660 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12661 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12662 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12663 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12665 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12666 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12667 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12668 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12669 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12670 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12671 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12672 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12673 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12674 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12675 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12677 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12678 (__posix_fallocate64_l64): Likewise.
12679 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12680 (posix_fallocate): Likewise.
12681 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12683 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12684 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12685 (getifaddrs_internal): Likewise.
12686 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12687 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12688 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12689 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12690 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12691 (__posix_fallocate64_l64): Likewise.
12692 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12694 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
12695 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12696 (__get_clockfreq): Likewise.
12697 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12698 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12699 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12702 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12703 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12704 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12706 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12707 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12708 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12709 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12710 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12711 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12712 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12714 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12715 (posix_fallocate): Likewise.
12716 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12717 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12718 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
12719 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12720 (elf_machine_rela, elf_machine_rela_relative)
12721 (elf_machine_lazy_rel): Likewise.
12722 * time/asctime.c (asctime_internal): Likewise.
12723 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12724 * time/tzset.c (__tzset_parse_tz): Likewise.
12725 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12726 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12727 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12728 * wcsmbs/wcsmbsload.h: Likewise.
12731 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12733 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12734 (arena_get2): Remove THREAD_STATS conditionals.
12735 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12736 (__malloc_stats, int): Likewise.
12738 2014-02-08 Mike Frysinger <vapier@gentoo.org>
12740 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12741 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12743 * manual/setjmp.texi: Fix typos/grammar errors.
12745 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12746 Only return early when n is <= 0. Delete unused return statement.
12748 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12749 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12750 * debug/tst-longjmp_chk3.c: New file.
12752 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12753 (test_main): Replace code with set_fortify_handler call.
12754 * debug/test-strcpy_chk.c: Likewise.
12755 * debug/tst-chk1.c: Likewise.
12756 * debug/tst-longjmp_chk.c: Likewise.
12757 * test-skeleton.c: Include fcntl.h & paths.h
12758 (set_fortify_handler): Define.
12760 * debug/tst-longjmp_chk.c: Add header comment and include
12761 ../test-skeleton.c.
12762 (do_test): Mark static.
12763 (TEST_FUNCTION): Define.
12765 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12766 (IP_PMTUDISC_INTERFACE): Likewise.
12767 (IP_MULTICAST_IF): Likewise.
12768 (IP_MULTICAST_TTL): Likewise.
12769 (IP_MULTICAST_LOOP): Likewise.
12770 (IP_ADD_MEMBERSHIP): Likewise.
12771 (IP_DROP_MEMBERSHIP): Likewise.
12772 (IP_UNBLOCK_SOURCE): Likewise.
12773 (IP_BLOCK_SOURCE): Likewise.
12774 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12775 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12776 (IP_MSFILTER): Likewise.
12777 (MCAST_JOIN_GROUP): Likewise.
12778 (MCAST_BLOCK_SOURCE): Likewise.
12779 (MCAST_UNBLOCK_SOURCE): Likewise.
12780 (MCAST_LEAVE_GROUP): Likewise.
12781 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12782 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12783 (MCAST_MSFILTER): Likewise.
12784 (IP_MULTICAST_ALL): Likewise.
12785 (IP_UNICAST_IF): Likewise.
12787 * timezone/Makefile: Delete $(have-ksh) check.
12788 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12789 * timezone/tzselect.ksh: Add +x mode bits.
12791 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12792 (ANON_INODE_FS_MAGIC): Likewise.
12793 (BDEVFS_MAGIC): Likewise.
12794 (BINFMTFS_MAGIC): Likewise.
12795 (BTRFS_TEST_MAGIC): Likewise.
12796 (CRAMFS_MAGIC_WEND): Likewise.
12797 (DEBUGFS_MAGIC): Likewise.
12798 (ECRYPTFS_SUPER_MAGIC): Likewise.
12799 (EXT3_SUPER_MAGIC): Likewise.
12800 (EXT4_SUPER_MAGIC): Likewise.
12801 (FUTEXFS_SUPER_MAGIC): Likewise.
12802 (HOSTFS_SUPER_MAGIC): Likewise.
12803 (HUGETLBFS_MAGIC): Likewise.
12804 (MINIX3_SUPER_MAGIC): Likewise.
12805 (MTD_INODE_FS_MAGIC): Likewise.
12806 (NILFS_SUPER_MAGIC): Likewise.
12807 (OPENPROM_SUPER_MAGIC): Likewise.
12808 (PIPEFS_MAGIC): Likewise.
12809 (PSTOREFS_MAGIC): Likewise.
12810 (QNX6_SUPER_MAGIC): Likewise.
12811 (RAMFS_MAGIC): Likewise.
12812 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12813 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12814 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12815 (SECURITYFS_MAGIC): Likewise.
12816 (SELINUX_MAGIC): Likewise.
12817 (SMACK_MAGIC): Likewise.
12818 (SOCKFS_MAGIC): Likewise.
12819 (SQUASHFS_MAGIC): Likewise.
12820 (STACK_END_MAGIC): Likewise.
12821 (TMPFS_MAGIC): Likewise.
12822 (USBDEVICE_SUPER_MAGIC): Likewise.
12823 (V9FS_MAGIC): Likewise.
12824 (XENFS_SUPER_MAGIC): Likewise.
12825 (CRAMFS_MAGIC): Fix typo in comment.
12826 (EXT2_SUPER_MAGIC): Update comment.
12827 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12829 2014-02-08 Joseph Myers <joseph@codesourcery.com>
12831 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12832 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12833 * sysdeps/unix/sysv/linux/arm: Move directory from
12834 ports/sysdeps/unix/sysv/linux/arm.
12835 * README: Update listing for arm-*-linux-gnueabi.
12837 * README: Remove mention of am33.
12839 2014-02-07 Roland McGrath <roland@hack.frob.com>
12841 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12842 than the comma operator, to avoid "rhs of comma has no effect"
12844 (__sigfillset, __sigandset, __sigorset): Likewise.
12845 * include/signal.h (__sigemptyset): Likewise.
12846 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12848 2014-02-07 Allan McRae <allan@archlinux.org>
12850 * version.h (RELEASE): Set to "development".
12851 (VERSION): Set to "2.19.90"
12852 * NEWS: Add 2.20 section.
12854 2014-02-06 Carlos O'Donell <carlos@redhat.com>
12857 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12859 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12861 * manual/contrib.texi: Update entry for Carlos O'Donell,
12862 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12864 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
12866 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12868 * sysdeps/unix/sysv/linux/kernel-features.h
12869 [__LINUX_KERNEL_VERSION >= 0x020621]
12870 (__ASSUME_PROC_PID_TASK_COMM): Define.
12872 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12875 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12876 conversion when destination buffer does not have enough space.
12877 * libio/tst-ftell-partial-wide.c: New test case.
12878 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12880 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12881 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12882 Leonard and Allan McRae.
12884 2014-02-04 David S. Miller <davem@davemloft.net>
12886 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12889 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12918 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12920 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12921 * shlib-versions: Likewise.
12923 2014-02-04 Roland McGrath <roland@hack.frob.com>
12924 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12926 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12927 (abilist-pattern): New variable, set to %-le.abilist.
12929 * Makerules (abilist-pattern): New variable.
12930 (vpath): Use $(abilist-pattern) in place of %.abilist.
12931 (check-abi-% pattern rule): Likewise.
12932 (check-abi, update-abi): Likewise.
12934 2014-02-04 Eric Wong <normalperson@yhbt.net>
12936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12938 2014-02-03 Carlos O'Donell <carlos@redhat.com>
12940 * manual/startup.texi: Add next, previous, and top entries for
12941 the `Program Arguments' and `Environment Variables' nodes.
12943 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
12945 * manual/macros.texi: Add comments before MTASC-safety macros.
12947 * manual/users.texi: Document MTASC-safety properties.
12949 * manual/threads.texi (pthread_key_create, pthread_key_delete)
12950 (pthread_getspecific, pthread_setspecific): Format with
12951 @deftypefun, and add @safety note.
12952 * manual/signal.texi: Move comments that analyze the above
12953 functions to their home place.
12955 2014-02-03 Allan McRae <allan@archlinux.org>
12957 * po/sl.po: Update Slovenian translation from translation project.
12959 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
12961 * manual/time.texi (timegm): Add missing blank after @c.
12962 Reported by Joseph Myers <joseph@codesourcery.com>.
12964 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
12966 * manual/check-safety.sh: New.
12967 * manual/Makefile ($(objpfx)stamp-summary): Run it.
12969 * manual/terminal.texi: Document MTASC-safety properties.
12971 * manual/filesys.texi: Document MTASC-safety properties.
12973 * manual/errno.texi: Document MTASC-safety properties.
12975 * manual/intro.texi: Document safety identifiers and
12978 * manual/string.texi (wcstok): Fix prototype.
12979 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12981 * manual/time.texi: Document MTASC-safety properties.
12983 * manual/string.texi: Document MTASC-safety properties.
12985 * manual/threads.texi: Document MTASC-safety properties.
12987 * manual/stdio.texi: Document MTASC-safety properties.
12989 * manual/syslog.texi: Document MTASC-safety properties.
12991 * manual/sysinfo.texi: Document MTASC-safety properties.
12993 * manual/startup.texi: Document MTASC-safety properties.
12995 * manual/socket.texi: Document MTASC-safety properties.
12997 * manual/signal.texi: Document MTASC-safety properties.
12999 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
13001 * manual/setjmp.texi: Document MTASC-safety properties.
13003 * manual/search.texi: Document MTASC-safety properties.
13005 * manual/resource.texi: Document MTASC-safety properties.
13007 * manual/process.texi: Document MTASC-safety properties.
13009 * manual/platform.texi: Document MTASC-safety properties.
13011 * manual/pipe.texi: Document MTASC-safety properties.
13013 * manual/pattern.texi: Document MTASC-safety properties.
13015 * manual/message.texi: Document MTASC-safety properties.
13018 * manual/memory.texi: Document MTASC-safety properties.
13020 * manual/math.texi: Document MTASC-safety properties.
13022 * manual/locale.texi: Document MTASC-safety properties.
13024 * manual/llio.texi: Document MTASC-safety properties.
13026 * manual/libdl.texi: New.
13028 * manual/lang.texi: Document MTASC-safety properties.
13030 * manual/job.texi: Document MTASC-safety properties.
13032 * manual/getopt.texi: Document MTASC-safety properties.
13034 * manual/ctype.texi: Document MTASC-safety properties.
13036 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13039 * csu/libc-tls.c (static_map): Remove variable.
13040 (__libc_setup_tls): Use main executable's link map for TLS data.
13041 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13042 casing for LM_ID_BASE and GL(dl_nns).
13043 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13044 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13045 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13046 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13047 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13049 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13052 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
13054 * manual/debug.texi: Document MTASC-safety properties.
13056 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13059 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13060 of __x86_64__ when disabling x87 inline functions.
13062 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
13064 * manual/charset.texi: Document MTASC-safety properties.
13066 * manual/crypt.texi: Document MTASC-safety properties.
13068 * manual/conf.texi: Document MTASC-safety properties.
13070 * manual/arith.texi: Document MTASC-safety properties.
13072 * manual/argp.texi: Document MTASC-safety properties.
13074 * manual/macros.texi: Introduce macros to document multi
13075 thread, asynchronous signal and asynchronous cancellation
13077 * manual/intro.texi: Introduce the properties themselves.
13079 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13081 * sysdeps/sh/sh4/Makefile: New file.
13083 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13085 * math/gen-libm-test.pl ($srcdir): New variable.
13086 ($auto_input): Use it.
13088 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13091 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13092 access beyond array bounds when parsing netgroups file.
13094 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13095 the old buffer before realloc.
13097 2014-01-27 Allan McRae <allan@archlinux.org>
13099 * po/fr.po: Update French translation from translation project.
13101 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13103 * sysdeps/sh/libm-test-ulps: Regenerate.
13105 2014-01-24 David S. Miller <davem@davemloft.net>
13107 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13109 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13111 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13112 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13114 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13117 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13118 string pointers after reallocation.
13120 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13122 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13123 __SH4A__ instead of __SH_FPU_ANY__.
13125 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13127 * sysdeps/sh/fpu_control.h: New file.
13128 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13129 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13130 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13131 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13132 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13133 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13134 * sysdeps/sh/sys/ucontext.h: Remove.
13135 * sysdeps/sh/sys: Remove directory.
13137 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13139 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13140 s390/sys/ucontext.h.
13141 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13142 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13144 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13147 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13149 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13152 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13153 Adjust the vDSO correctly for internal calls.
13154 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13156 2014-01-20 Allan McRae <allan@archlinux.org>
13158 * po/ca.po: Update Catalan translation from translation project.
13160 2014-01-16 Mike Frysinger <vapier@gentoo.org>
13162 * sysdeps/s390/sotruss-lib.c: New file.
13164 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13167 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13168 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13169 local calls issues by not having a PLT stub required for IFUNC calls.
13170 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13172 2014-01-16 Joseph Myers <joseph@codesourcery.com>
13174 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13175 * math/test-fpucw-static.c: Likewise.
13177 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13180 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13182 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13184 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13185 implementation for powerpc.
13187 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
13190 * sysdeps/posix/system.c (__libc_system): Do not enable
13191 asynchronous cancellation.
13193 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13196 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13197 handling only for numbers special also in the IEEE case.
13199 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13201 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13203 2014-01-11 Allan McRae <allan@archlinux.org>
13205 * po/bg.po: Update Bulgarian translation from translation project.
13207 * po/de.po: Update German translation from translation project.
13209 2014-01-10 Roland McGrath <roland@hack.frob.com>
13211 * sysdeps/generic/gcc-compat.h: New file.
13213 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13215 * benchtests/asin-inputs: Correct slow inputs.
13216 * benchtests/acos-inputs: Likewise.
13218 2014-01-10 Allan McRae <allan@archlinux.org>
13220 * po:sv.po: Update Swedish translation from translation project.
13222 * po/vi.po: Update Vietnamese translation from translation project.
13224 * po/eo.po: Update Esperanto translation from translation project.
13226 * po/cs.po: Update Czech translation from translation project.
13228 * po/nl.po: Update Dutch translation from translation project.
13230 * po/pl.po: Update Polish translation from translation project.
13232 * po/ru.po: Update Russian translation from translation project.
13234 * po/uk.po: Update Ukrainian translation from translation project.
13236 2014-01-08 Brooks Moses <bmoses@google.com>
13238 * elf/dl-load.c: Fix comment typo.
13240 2014-01-08 Carlos O'Donell <carlos@redhat.com>
13242 * po/header.pot: Rename to...
13243 * po/pot.header: ... this.
13244 * po/Makefile: Use pot.header.
13246 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13247 Maxim Kuvyrkov <maxim@kugelworks.com>
13250 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13251 SRC and DEST against LEN.
13253 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13256 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13258 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13260 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13264 2014-01-08 Joseph Myers <joseph@codesourcery.com>
13267 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13268 for large positive arguments.
13270 2014-01-07 Joseph Myers <joseph@codesourcery.com>
13272 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13274 * math/auto-libm-test-in: Mark various tests with
13275 xfail-rounding:ldbl-128ibm.
13276 * math/auto-libm-test-out: Regenerated.
13279 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13280 Increase overflow threshold.
13282 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
13285 * stdio-common/vfprintf.c: Check for integer overflow.
13287 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13289 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13290 the first argument and return value of __tls_get_addr_internal.
13292 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13294 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13295 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13297 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13299 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13300 * sysdeps/s390/rtld-global-offsets.sym: New file.
13301 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13303 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13304 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13305 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13307 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13308 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13314 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13315 halfs of GPRs for high_gprs contexts.
13316 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13317 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13319 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13321 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13323 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13324 for high GPRs (uc_high_gprs) and for future extensions
13326 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13327 for future extensions (__reserved).
13328 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13330 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13331 SC_HIGHGPRS offset definition.
13332 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13333 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13335 * Versions.def: Add GLIBC_2.19 for libpthread.
13336 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13337 siglongjmp for libpthread with GLIBC_2.19 symver.
13338 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13339 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13340 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13341 * sysdeps/s390/__longjmp.c: New file.
13342 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13343 * sysdeps/s390/longjmp.c: New file.
13344 * sysdeps/s390/setjmp.S: New file.
13345 * sysdeps/s390/sigjmp.S: New file.
13346 * sysdeps/s390/v1-longjmp.c: New file.
13347 * sysdeps/s390/v1-setjmp.h: New file.
13348 * sysdeps/s390/v1-sigjmp.c: New file.
13349 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13350 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13351 GLIBC_2.19 version.
13352 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13353 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13354 versioned symbols for ____longjmp_chk.
13355 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13365 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13366 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13367 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13368 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13369 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13370 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13371 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13372 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13373 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13374 * sysdeps/s390/rtld-__longjmp.c: New file.
13375 * sysdeps/s390/rtld-setjmp.S: New file.
13377 2014-01-06 Joseph Myers <joseph@codesourcery.com>
13380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13381 Return -__logl (x) for small positive arguments without evaluating
13384 2014-01-06 Mike Frysinger <vapier@gentoo.org>
13386 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13388 (__ptrace_peeksiginfo_args): ... this.
13389 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13390 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13391 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13393 2014-01-06 Allan McRae <allan@archlinux.org>
13395 * inet/netinet/in.h: Fix typo in comment.
13397 2014-01-05 Andreas Jaeger <aj@suse.de>
13399 * sysdeps/i386/fpu/libm-test-ulps: Update.
13401 2014-01-05 Allan McRae <allan@archlinux.org>
13403 * po/libc.pot: Regenerated.
13405 * malloc/memusagestat.c: Fix gettext call formatting.
13407 2014-01-04 Sami Kerola <kerolasa@iki.fi>
13409 * nscd/nscd.c: Improve usage() output.
13411 2014-01-04 Mike Frysinger <vapier@gentoo.org>
13413 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13414 * sysdeps/unix/sysv/linux/configure: Regenerated.
13415 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13416 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13418 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13421 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13422 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13424 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13426 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13427 extra tokens at end of #undef directive.
13428 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13429 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13430 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13432 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13434 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13436 * math/auto-libm-test-in: Mark various tests with
13437 xfail-rounding:ldbl-128ibm.
13438 * math/auto-libm-test-out: Regenerated.
13440 2014-01-02 Joseph Myers <joseph@codesourcery.com>
13443 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13444 numbers with subnormal high part when calculating exponent.
13447 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13451 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13453 (__ieee754_acoshl): Use __log1pl not __log1p.
13455 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
13457 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13458 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13459 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13460 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13461 (reused_arena, arena_get2): Convert to GNU style.
13462 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13463 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13464 (memalign_check, __malloc_set_state): Likewise.
13465 * malloc/mallocbug.c (main): Likewise.
13466 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13467 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13468 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13469 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13470 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13471 (__posix_memalign, malloc_info): Likewise.
13472 * malloc/malloc.h: Likewise.
13473 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13474 (mallochook, memalignhook, reallochook, mabort): Likewise.
13475 * malloc/mcheck.h: Likewise.
13476 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13477 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13478 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13479 * malloc/morecore.c (__default_morecore): Likewise.
13480 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13481 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13482 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13483 (print_and_abort): Likewise.
13484 * malloc/obstack.h: Likewise.
13485 * malloc/set-freeres.c (__libc_freeres): Likewise.
13486 * malloc/tst-mallocstate.c (main): Likewise.
13487 * malloc/tst-mtrace.c (main): Likewise.
13488 * malloc/tst-realloc.c (do_test): Likewise.
13490 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13493 * nscd/netgroupcache.c (do_notfound): New function.
13494 (addgetnetgrentX): Use it.
13497 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13498 NSS_STATUS_NOTFOUND.
13500 2014-01-01 Joseph Myers <joseph@codesourcery.com>
13502 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13505 2014-01-01 Allan McRae <allan@archlinux.org>
13507 * scripts/update-copyrights: Update configure input file suffix.
13509 * NEWS: Update copyright year.
13510 * catgets/gencat.c: Likewise.
13511 * csu/version.c: Likewise.
13512 * debug/catchsegv.sh: Likewise.
13513 * debug/pcprofiledump.c: Likewise.
13514 * debug/xtrace.sh: Likewise.
13515 * elf/ldconfig.c: Likewise.
13516 * elf/ldd.bash.in: Likewise.
13517 * elf/pldd.c: Likewise.
13518 * elf/sotruss.ksh: Likewise.
13519 * elf/sprof.c: Likewise.
13520 * iconv/iconv_prog.c: Likewise.
13521 * iconv/iconvconfig.c: Likewise.
13522 * locale/programs/locale.c: Likewise.
13523 * locale/programs/localedef.c: Likewise.
13524 * login/programs/pt_chown.c: Likewise.
13525 * malloc/memusage.sh: Likewise.
13526 * malloc/memusagestat.c: Likewise.
13527 * malloc/mtrace.pl: Likewise.
13528 * manual/libc.texinfo: Likewise.
13529 * nscd/nscd.c: Likewise.
13530 * nss/getent.c: Likewise.
13531 * nss/makedb.c: Likewise.
13532 * posix/getconf.c: Likewise.
13533 * scripts/test-installation.pl: Likewise.
13535 * All files with FSF copyright notices: Update copyright dates
13536 using scripts/update-copyrights.
13537 * intl/plural.c: Regenerated.
13538 * locale/programs/charmap-kw.h: Likewise.
13539 * locale/programs/locfile-kw.h: Likewise.
13541 2013-12-31 Mike Frysinger <vapier@gentoo.org>
13543 * sysdeps/unix/sysv/linux/configure: Regenerated.
13544 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13545 the linux/fanotify.h header.
13546 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13547 HAVE_LINUX_FANOTIFY_H is defined.
13549 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13551 * benchtests/cos-inputs: New inputs.
13552 * benchtests/sin-inputs: Likewise.
13554 * benchtests/atan-inputs: New inputs. Fix name of multiple
13555 precision fallback inputs.
13557 * benchtests/atanh-inputs: New inputs.
13558 * benchtests/tanh-inputs: Likewise.
13560 * benchtests/acosh-inputs: New inputs.
13561 * benchtests/asinh-inputs: Likewise.
13563 * benchtests/cosh-inputs: New inputs.
13564 * benchtests/sinh-inputs: Likewise.
13566 * benchtests/acos-inputs: Add more inputs.
13567 * benchtests/asin-inputs: Likewise.
13569 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
13572 * manual/arith.texi: Fix spelling.
13573 * manual/charset.texi: Likewise.
13574 * manual/errno.texi: Likewise.
13575 * manual/filesys.texi: Likewise.
13576 * manual/lang.texi: Likewise.
13577 * manual/llio.texi: Likewise.
13578 * manual/locale.texi: Likewise.
13579 * manual/message.texi: Likewise.
13580 * manual/resource.texi: Likewise.
13581 * manual/search.texi: Likewise.
13582 * manual/setjmp.texi: Likewise.
13583 * manual/stdio.texi: Likewise.
13584 * manual/string.texi: Likewise.
13585 * manual/sysinfo.texi: Likewise.
13586 * manual/time.texi: Likewise.
13588 2013-12-27 Carlos O'Donell <carlos@redhat.com>
13590 * po/sl.po: New file.
13592 2013-12-27 Mike Frysinger <vapier@gentoo.org>
13594 * .gitignore: Add core/.gdbinit/.gdb_history.
13596 2013-12-27 Allan McRae <allan@archlinux.org>
13599 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13600 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13602 2013-12-24 Brooks Moses <bmoses@google.com>
13604 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13605 all compilers that claim C++98 compliance, not just GCC.
13606 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13609 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13611 * NEWS: Restore accidentally deleted bug-fix entries.
13613 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13614 Ondřej Bílka <neleai@seznam.cz>
13617 * malloc/malloc.c (_int_free): Perform sanity check only if we
13620 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
13623 * manual/stdio.texi (String Input Conversions): Clarify that character
13624 classes are not supported.
13626 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13630 2013-12-22 Joseph Myers <joseph@codesourcery.com>
13633 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13634 Calculate results for small negative arguments directly rather
13635 than using reflection formula with special underflow handling.
13637 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13638 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13639 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13640 (fchflags): Likewise.
13641 (revoke): Likewise.
13642 (setlogin): Likewise.
13643 (sigaltstack): Likewise.
13645 (sigblock): Remove.
13646 (sigsetmask): Likewise.
13648 (waitpid): Likewise.
13649 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13650 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13652 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13653 * sysdeps/unix/bsd/Makefile: ... here.
13654 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13655 * sysdeps/unix/bsd/Versions: ... here.
13656 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13657 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13658 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13659 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13660 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13661 * sysdeps/unix/bsd/sigblock.c: ... here.
13662 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13663 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13664 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13665 * sysdeps/unix/bsd/sigvec.c: ... here.
13666 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13667 * sysdeps/unix/bsd/tcdrain.c: ... here.
13668 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13669 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13670 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13671 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13672 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13673 * sysdeps/unix/bsd/wait.c: ... here.
13674 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13675 * sysdeps/unix/bsd/wait3.c: ... here.
13676 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13677 * sysdeps/unix/bsd/waitpid.c: ... here.
13679 2013-12-21 Joseph Myers <joseph@codesourcery.com>
13682 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13683 round-to-nearest for [!USE_AS_EXPM1L].
13684 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13685 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13686 more tests of exp and exp10. Expect some exp10 tests to miss
13687 exceptions or fail in directed rounding modes.
13688 * math/auto-libm-test-out: Regenerated.
13689 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13690 (exp10_test_tonearest): New function.
13691 (exp10_towardzero_test_data): New array.
13692 (exp10_test_towardzero): New function.
13693 (exp10_downward_test_data): New array.
13694 (exp10_test_downward): New function.
13695 (exp10_upward_test_data): New array.
13696 (exp10_test_upward): New function.
13697 (main): Call the new functions.
13698 * sysdeps/i386/fpu/libm-test-ulps: Update.
13699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13701 2013-12-20 Joseph Myers <joseph@codesourcery.com>
13703 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13704 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13705 * math/auto-libm-test-out: Regenerated.
13706 * math/libm-test.inc (acosh_test_data): Add more tests.
13707 (atanh_test_data): Likewise.
13708 (ceil_test_data): Likewise.
13709 (copysign_test_data): Likewise.
13710 * sysdeps/i386/fpu/libm-test-ulps: Update.
13711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13713 * timezone/checktab.awk: Update from tzcode 2013i.
13714 * timezone/private.h: Likewise.
13715 * timezone/scheck.c: Likewise.
13716 * timezone/tzfile.h: Likewise.
13717 * timezone/tzselect.ksh: Likewise.
13718 * timezone/zdump.c: Likewise.
13719 * timezone/zic.c: Likewise.
13721 * math/auto-libm-test-in: Add tests of cpow.
13722 * math/auto-libm-test-out: Regenerated.
13723 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13724 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13726 (func_calc_desc): Add mpc_cc_c union field.
13727 (test_functions): Add cpow.
13728 (special_fill_2pi): New function.
13729 (special_real_inputs): Add 2pi.
13730 (calc_generic_results): Handle mpc_cc_c.
13731 * sysdeps/i386/fpu/libm-test-ulps: Update.
13732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13734 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13735 csqrt, ctan and ctanh.
13736 * math/auto-libm-test-out: Regenerated.
13737 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13738 (TEST_COND_x86): Likewise.
13739 (ccos_test_data): Use AUTO_TESTS_c_c.
13740 (ccosh_test_data): Likewise.
13741 (cexp_test_data): Likewise.
13742 (clog_test_data): Likewise.
13743 (csqrt_test_data): Likewise.
13744 (ctan_test_data): Likewise.
13745 (ctan_tonearest_test_data): Likewise.
13746 (ctan_towardzero_test_data): Likewise.
13747 (ctan_downward_test_data): Likewise.
13748 (ctan_upward_test_data): Likewise.
13749 (ctanh_test_data): Likewise.
13750 (ctanh_tonearest_test_data): Likewise.
13751 (ctanh_towardzero_test_data): Likewise.
13752 (ctanh_downward_test_data): Likewise.
13753 (ctanh_upward_test_data): Likewise.
13754 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13756 (func_calc_desc): Add mpc_c_c union field.
13757 (FUNC_mpc_c_c): New macro.
13758 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13759 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13761 (special_fill_min_subnorm_p120): New function.
13762 (special_real_inputs): Add min_subnorm_p120.
13763 (calc_generic_results): Handle mpc_c_c.
13764 * sysdeps/i386/fpu/libm-test-ulps: Update.
13765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13767 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13769 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13770 (do_sin_slow): New functions.
13771 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13772 (cslow2, csloww1, csloww2): Use the new functions.
13774 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13775 Use M to change sign of result instead of X. Assume X is
13777 (csloww1): Likewise.
13781 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13782 arguments A and DA.
13786 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13788 (sloww1): Don't adjust sign of DX.
13789 (csloww1): Likewise.
13790 (sloww2): Use X directly and don't adjust sign of DX.
13791 (csloww2): Likewise.
13793 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13795 * math/auto-libm-test-in: Add tests of cabs and carg.
13796 * math/auto-libm-test-out: Regenerated.
13797 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13798 (carg_test_data): Likewise.
13799 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13801 (func_calc_desc): Add mpc_c_f union field.
13802 (test_functions): Add cabs and carg.
13803 (calc_generic_results): Handle mpc_c_f.
13805 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13806 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13807 as a macro and a compat symbol.
13808 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13809 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13810 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13811 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13812 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13813 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13815 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13817 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13819 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13821 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13823 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13825 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13826 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13829 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13833 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13835 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13836 trailing whitespace removed.
13837 * scripts/config.guess: Update to version 2013-11-29.
13838 * scripts/config.sub: Update to version 2013-10-01.
13840 * math/auto-libm-test-in: Add tests of sincos.
13841 * math/auto-libm-test-out: Regenerated.
13842 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13843 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13845 (func_calc_desc): Add mpfr_f_11 union field.
13846 (test_functions): Add sincos.
13847 (calc_generic_results): Handle mpfr_f_11.
13848 * sysdeps/i386/fpu/libm-test-ulps: Update.
13849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13851 2013-12-19 Andreas Schwab <schwab@suse.de>
13853 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13855 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13856 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13857 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13859 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13861 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13862 * sysdeps/i386/fpu/libm-test-ulps: Update.
13863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13866 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13867 round-to-nearest mode when using frndint.
13868 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13869 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13870 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13872 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13874 * math/auto-libm-test-out: Regenerated.
13875 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13876 (TEST_COND_x86): Likewise.
13877 (expm1_tonearest_test_data): New array.
13878 (expm1_test_tonearest): New function.
13879 (expm1_towardzero_test_data): New array.
13880 (expm1_test_towardzero): New function.
13881 (expm1_downward_test_data): New array.
13882 (expm1_test_downward): New function.
13883 (expm1_upward_test_data): New array.
13884 (expm1_test_upward): New function.
13885 (main): Run the new test functions.
13886 * sysdeps/i386/fpu/libm-test-ulps: Update.
13887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13889 * include/features.h: Update comment documenting feature test
13890 macros. Mention _DEFAULT_SOURCE in comment.
13891 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13892 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13893 _BSD_SOURCE and _SVID_SOURCE.
13894 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13895 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13896 !_SVID_SOURCE]: Likewise.
13897 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13898 (__USE_POSIX_IMPLICITLY): Define.
13899 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13900 (_POSIX_SOURCE): Undefine and redefine.
13901 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13902 (_POSIX_C_SOURCE): Likewise.
13903 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13904 (Feature Test Macros): Update documentation of default features.
13906 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13908 * benchtests/Makefile: Add bench-strtok.
13909 * benchtests/bench-strtok.c: New file: strtok benchtest.
13911 2013-12-19 Allan McRae <allan@archlinux.org>
13913 * manual/install.texi: Suppress menu for plain text output.
13914 * INSTALL: Regenerated.
13916 2013-12-18 Brooks Moses <bmoses@google.com>
13919 * misc/getauxval.c: Include errno.h.
13920 (__getauxval): Set errno to ENOENT if the requested type is not
13922 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13923 don't declare with __attribute_const__.
13924 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13925 * manual/startup.texi: Document that getauxval sets errno.
13927 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13929 * math/auto-libm-test-in: Add tests of jn and yn.
13930 * math/auto-libm-test-out: Regenerated.
13931 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13932 (yn_test_data): Likewise.
13933 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13935 (func_calc_desc): Add mpfr_if_f union field.
13936 (FUNC_mpfr_if_f): New macro.
13937 (test_functions): Add jn and yn.
13938 (calc_generic_results): Assert type of second input for
13939 mpfr_ff_f. Handle mpfr_if_f.
13940 (output_for_one_input_case): Disable all checking for arguments
13941 fitting floating-point types in case of an integer argument.
13942 * sysdeps/i386/fpu/libm-test-ulps: Update.
13943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13946 Don't expect fegetround reference in libm.so.
13948 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13950 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13951 $(config-cflags-nofma).
13953 2013-12-18 Joseph Myers <joseph@codesourcery.com>
13955 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13956 * math/auto-libm-test-out: Regenerated.
13959 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13960 to determine exponent and adjust argument to have exponent of -1.
13961 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13963 * math/auto-libm-test-out: Regenerated.
13964 * sysdeps/i386/fpu/libm-test-ulps: Update.
13965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13967 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
13969 * manual/probes.texi: Remove cases when per-thread arenas are
13972 2013-12-18 Andreas Schwab <schwab@suse.de>
13974 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13975 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13976 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13977 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13978 * sysdeps/i386/i686/multiarch/Makefile: Update.
13979 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13981 2013-12-17 Joseph Myers <joseph@codesourcery.com>
13983 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13984 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13986 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
13989 Support TZ transition times < 00:00:00.
13990 This is needed for version-3 tz-format files; it supports time
13991 stamps past 2037 for America/Godthab (the only entry in the tz
13992 database for which this change is relevant).
13993 * manual/time.texi (TZ Variable): Document transition times
13994 from -167:59:59 through -00:00:01.
13995 * time/tzset.c (tz_rule): Time of day is now signed.
13996 (__tzset_parse_tz): Parse negative time of day.
13998 Document TZ transition times >= 25:00:00.
13999 * manual/time.texi (TZ Variable): Document transition times from
14000 25:00:00 through 167:59:59. These are already supported, and this
14001 support will help with version-3 tz-format files.
14003 * manual/time.texi (TZ Variable): Modernize North America example
14004 to reflect current (i.e., 2007-and-later) daylight saving rules.
14006 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14008 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14010 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14011 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14013 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14014 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14015 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14016 * sysdeps/unix/bsd/clock.c: Likewise.
14017 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14018 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14019 * sysdeps/unix/bsd/init-posix.c: Likewise.
14020 * sysdeps/unix/bsd/poll.c: Likewise.
14021 * sysdeps/unix/bsd/ptsname.c: Likewise.
14022 * sysdeps/unix/bsd/seekdir.c: Likewise.
14023 * sysdeps/unix/bsd/setegid.c: Likewise.
14024 * sysdeps/unix/bsd/seteuid.c: Likewise.
14025 * sysdeps/unix/bsd/setgid.c: Likewise.
14026 * sysdeps/unix/bsd/setrgid.c: Likewise.
14027 * sysdeps/unix/bsd/setruid.c: Likewise.
14028 * sysdeps/unix/bsd/setsid.c: Likewise.
14029 * sysdeps/unix/bsd/setuid.c: Likewise.
14030 * sysdeps/unix/bsd/sigaction.c: Likewise.
14031 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14032 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14033 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14034 * sysdeps/unix/bsd/telldir.c: Likewise.
14035 * sysdeps/unix/bsd/times.c: Likewise.
14036 * sysdeps/unix/bsd/usleep.c: Likewise.
14038 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14039 ($(objpfx)libbsd-compat.a): Remove rule.
14041 * include/features.h (__FAVOR_BSD): Do not define.
14042 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14043 features conflicting with POSIX.
14044 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14045 (_BSD_SOURCE): Remove description of not being a subset of other
14046 feature test macros.
14047 * manual/job.texi (getpgrp): Do not document BSD version.
14048 (getpgid): Do not document by reference to BSD getpgrp.
14049 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14050 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14051 * signal/signal.h [__FAVOR_BSD]: Likewise.
14052 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14053 instead of making contents conditional on [__FAVOR_BSD].
14054 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14056 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14060 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14063 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14064 values below 2**-450, not 2**-500.
14065 * math/auto-libm-test-in: Don't allow spurious underflow from
14067 * math/auto-libm-test-out: Regenerated.
14071 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14072 values of ha and hb and sort them after adjusting subnormal
14074 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14076 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14077 values of ea and eb and sort them after adjusting subnormal
14079 * math/auto-libm-test-in: Do not expect some hypot tests of
14080 subnormals to fail. Add more hypot tests.
14081 * math/auto-libm-test-out: Regenerated.
14083 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14086 * sysdeps/sh/s_fma.c: New file.
14087 * sysdeps/sh/s_fmaf.c: New file.
14088 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14090 * sysdeps/sh/Implies: Add sh/soft-fp.
14092 2013-12-16 Roland McGrath <roland@hack.frob.com>
14094 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14095 level of indirection to members `objname', `errstring', `malloced'.
14096 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14097 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14098 it as the __longjmp argument (just pass 1 instead).
14099 (_dl_catch_error): Initialize C with argument pointers and address of
14100 volatile local ERRCODE rather than copying values out of C at return.
14102 2013-12-16 Joseph Myers <joseph@codesourcery.com>
14104 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14105 * math/auto-libm-test-out: Regenerated.
14106 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14107 (hypot_test_data): Likewise.
14108 (pow_test_data): Likewise.
14109 (pow_tonearest_test_data): Likewise.
14110 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14112 (func_calc_desc): Add mpfr_ff_f union field.
14113 (FUNC_mpfr_ff_f): New macro.
14114 (test_functions): Add atan2, hypot and pow.
14115 (special_fill_min): New function.
14116 (special_fill_minus_min): Likewise.
14117 (special_fill_min_subnorm): Likewise.
14118 (special_fill_minus_min_subnorm): Likewise.
14119 (special_real_inputs): Add min, -min, min_subnorm and
14121 (calc_generic_results): Handle mpfr_ff_f.
14122 * sysdeps/i386/fpu/libm-test-ulps: Update.
14123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14125 2013-12-16 Will Newton <will.newton@linaro.org>
14127 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14128 (Aligned Memory Blocks): Add documentation for aligned_alloc
14129 and suggest it as an alternative to posix_memalign.
14130 (Hooks for Malloc): Document __memalign_hook is also called
14131 for aligned_alloc. (Summary of Malloc): Add summary for
14132 aligned alloc. Document __memalign_hook is also called
14135 2013-12-16 Will Newton <will.newton@linaro.org>
14137 * manual/memory.texi (Malloc Examples): Clarify default
14138 alignment documentation. Suggest posix_memalign rather
14139 than memalign or valloc.
14140 (Aligned Memory Blocks): Remove suggestion to use memalign
14141 or valloc. Remove obsolete comment about BSD.
14142 Document memalign errno values and mark the function obsolete.
14143 Document posix_memalign returned error codes. Mark valloc
14144 as obsolete. (Hooks for Malloc): __memalign_hook is also
14145 called for posix_memalign and valloc.
14146 (Summary of Malloc): Add posix_memalign to function summary.
14147 __memalign_hook is also called for posix_memalign and valloc.
14149 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14151 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14155 (sloww): Use mynumber union. Expand ternary operator into
14156 if-else statements.
14157 (cslow): use mynumber union.
14159 2013-12-16 Allan McRae <allan@archlinux.org>
14161 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14162 * configure: Regenerated.
14164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14167 * configure.ac: Added --enable-maintainer-mode. Check for
14168 autoconf when enabled.
14169 * configure: Regenerated.
14171 * nscd/nscd.service: New file.
14172 * nscd/nscd.tmpfiles: New file.
14174 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
14177 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14178 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14179 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14180 (strstr): Add __strstr_sse2_unaligned ifunc.
14181 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14182 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14183 (strcasestr): Remove __strcasestr_sse42 ifunc.
14184 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14185 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14188 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14190 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14191 * sysdeps/sh/bits/fenv.h: ... here.
14192 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14194 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14196 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14199 hypotf multiarch implementations.
14200 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14201 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14202 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14203 multiarch hypot for PPC64.
14204 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14205 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14207 multiarch hypotf for PPC64.
14209 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14210 modff multiarch implementations.
14211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14214 multiarch modf for PPC64.
14215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14218 multiarch modff for PPC64.
14220 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14221 and logl multiarch implementations.
14222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14225 multiarch logb for PPC64.
14226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14229 multiarch logb for PPC64.
14230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14233 multiarch logb for PPC64.
14235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14236 isinff multiarch implementation.
14237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14241 multiarch isinf for PPC64.
14242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14245 multiarch isinff for PPC64.
14247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14248 finitef multiarch implementation.
14249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14253 multiarch finite for PPC64.
14254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14257 multiarch finitef for PPC64.
14259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14260 lrint multiarch implementation.
14261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14265 multiarch llrint for PPC64.
14266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14267 multiarch lrint for PPC64.
14269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14270 copysignf multiarch implementation.
14271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14276 multiarch copysign for PPC64.
14277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14278 multiarch copysignf for PPC64.
14280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14281 multiarch implementation.
14282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14290 multiarch llround for PPC64.
14291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14292 multiarch trunc for PPC64.
14293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14294 multiarch truncf for PPC64.
14296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14297 multiarch implementation.
14298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14306 multiarch llround for PPC64.
14307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14308 multiarch round for PPC64.
14309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14310 multiarch roundf for PPC64.
14312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14313 multiarch implementation.
14314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14322 multiarch llround for PPC64.
14323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14324 multiarch floor for PPC64.
14325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14326 multiarch floorf for PPC64.
14328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14329 multiarch implementation.
14330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14338 multiarch llround for PPC64.
14339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14340 multiarch ceil for PPC64.
14341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14342 multiarch ceilf for PPC64.
14344 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14345 multiarch implementation.
14346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14353 multiarch llround for PPC64.
14354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14355 multiarch lround for PPC64.
14357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14358 multiarch implementation.
14359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14366 multiarch isnan for PPC64.
14367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14368 multiarch isnanf for PPC64.
14370 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14371 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14372 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14373 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14374 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14377 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14378 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14379 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14380 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14383 multiarch implementations.
14384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14385 (__libc_ifunc_impl_list): Likewise.
14386 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14387 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14388 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14389 multiarch stpcpy for PPC64.
14391 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14392 multiarch implementations.
14393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14394 (__libc_ifunc_impl_list): Likewise.
14395 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14396 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14397 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14398 multiarch strcpy for PPC64.
14400 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14401 redefine function name.
14402 (_wordcopy_fwd_dest_aligned): Likewise.
14403 (_wordcopy_bwd_aligned): Likewise.
14404 (_wordcopy_bwd_dest_aligned): Likewise.
14405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14406 multiarch implementations.
14407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14408 (__libc_ifunc_impl_list): Likewise.
14409 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14410 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14411 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14412 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14413 multiarch wcscpy for PPC64.
14415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14416 multiarch implementations.
14417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14418 (__libc_ifunc_impl_list): Likewise.
14419 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14420 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14421 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14422 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14423 multiarch wcscpy for PPC64.
14425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14426 multiarch implementations.
14427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14428 (__libc_ifunc_impl_list): Likewise.
14429 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14430 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14431 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14432 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14433 multiarch wcsrchr for PPC64.
14435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14436 multiarch implementations.
14437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14438 (__libc_ifunc_impl_list): Likewise.
14439 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14440 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14441 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14442 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14443 multiarch wcschr for PPC64.
14445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14446 multiarch implementations.
14447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14448 (__libc_ifunc_impl_list): Likewise.
14449 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14450 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14451 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14452 multiarch strchrnul for PPC64.
14454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14457 (__libc_ifunc_impl_list): Likewise.
14458 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14459 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14460 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14461 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14467 (__libc_ifunc_impl_list): Likewise.
14468 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14469 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14470 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14471 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14475 multiarch implementations.
14476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14477 (__libc_ifunc_impl_list): Likewise.
14478 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14479 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14480 strncasecmp for PPC64.
14481 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14482 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14483 multiarch strncasecmp_l for PPC64.
14485 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14486 multiarch implementations.
14487 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14488 (__libc_ifunc_impl_list): Likewise.
14489 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14490 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14491 multiarch strcasecmp for PPC64.
14492 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14494 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14495 multiarch strcasecmp_l for PPC64.
14497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14500 (__libc_ifunc_impl_list): Likewise.
14501 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14502 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14503 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14509 (__libc_ifunc_impl_list): Likewise.
14510 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14511 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14512 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14518 (__libc_ifunc_impl_list): Likewise.
14519 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14520 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14521 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14522 rawmemrchr for PPC64.
14524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14527 (__libc_ifunc_impl_list): Likewise.
14528 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14529 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14530 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14536 (__libc_ifunc_impl_list): Likewise.
14537 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14538 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14539 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14545 (__libc_ifunc_impl_list): Likewise.
14546 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14547 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14548 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14551 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14552 avoid cretion of __bzero symbol.
14553 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14555 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14557 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14560 multiarch implementations.
14561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14562 (__libc_ifunc_impl_list): Likewise.
14563 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14564 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14565 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14566 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14568 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14569 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14570 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14571 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14572 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14574 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14576 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14580 (__libc_ifunc_impl_list): Likewise.
14581 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14582 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14583 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14584 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14588 multiarch for POWER/PPC64.
14589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14590 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14591 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14592 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14593 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14594 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14595 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14596 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14597 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14600 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14601 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14602 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14603 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14604 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14605 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14606 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14607 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14608 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14609 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14610 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14611 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14612 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14613 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14614 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14623 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14625 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14627 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14629 * benchtests/Makefile (bench): Add exp2 and log2.
14630 (LDLIBS-bench-exp2): Add -lm.
14631 (LDLIBS-bench-log2): Likewise.
14632 * benchtests/exp2-inputs: New inputs file.
14633 * benchtests/log2-inputs: New inputs file.
14634 * benchtests/log-inputs: Add new inputs.
14635 * benchtests/tan-inputs: Likewise.
14637 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14639 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14641 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14642 (csloww2): ... from here.
14644 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14645 instead of structures.
14646 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14647 (POLYNOMIAL): Likewise.
14648 (TAYLOR_SLOW): Likewise.
14654 (sloww1); Likewise.
14655 (sloww2): Likewise.
14656 (bsloww1): Likewise.
14657 (bsloww2): Likewise.
14658 (cslow2): Likewise.
14659 (csloww): Likewise.
14660 (csloww1): Likewise.
14661 (csloww2): Likewise.
14663 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
14665 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
14666 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14667 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
14668 * malloc/hooks.c (realloc_check): Likewise.
14670 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14671 * malloc/arena.c: Remove PER_THREAD conditional.
14672 [!PER_THREAD]: Remove code.
14673 (ptmalloc_unlock_all2): Likewise.
14674 (ptmalloc_init): Likewise.
14675 (_int_new_arena): Likewise.
14676 (arena_get2): Likewise.
14677 * malloc/hooks.c (__malloc_get_state): Likewise.
14678 (__malloc_set_state): Likewise.
14679 * malloc/malloc.c: Likewise.
14680 (struct malloc_state): Likewise.
14681 (struct malloc_par): Likewise.
14682 (__libc_realloc): Likewise.
14683 (__libc_mallopt): Likewise.
14685 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14687 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14689 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
14691 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14692 macro to a function. Check for zero perturb_byte.
14693 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14695 * malloc/malloc.c: (force_reg): Remove.
14696 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14697 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
14698 force_reg by atomic_forced_read.
14699 * malloc/arena.c (ptmalloc_init): Likewise.
14700 * malloc/hooks.c (top_check): Likewise.
14702 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14706 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14710 2013-12-08 Joseph Myers <joseph@codesourcery.com>
14712 * math/auto-libm-test-in: Add tests of lgamma.
14713 * math/auto-libm-test-out: Regenerated.
14714 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14715 (M_LOG_2_SQRT_PIl): Likewise.
14716 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14717 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14719 (func_calc_desc): Add mpfr_f_f1 union field.
14720 (ARGS1): New macro.
14728 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14729 (test_functions): Add lgamma.
14730 (calc_generic_results): Handle mpfr_f_f1.
14731 * sysdeps/i386/fpu/libm-test-ulps: Update.
14732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14734 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14736 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14737 __mpn_add_n for PowerPC64/POWER7.
14738 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14739 __mpn_sub_n for PowerPC64/POWER7.
14741 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14742 __mpn_addmul_1 for PowerPC64.
14743 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14744 __mpn_submul_1 for PowerPC64.
14745 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14747 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14750 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14753 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14755 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14757 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14759 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14760 add multiarch folders.
14761 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14762 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14763 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14764 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14765 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14766 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14767 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14768 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14769 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14770 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14771 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14780 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14786 multiarch __ieee754_hypot for PowerPC32.
14787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14792 multiarch __ieee754_hypotf for PowerPC32.
14794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14795 long_double_symbol only if __logbl is defined.
14796 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14797 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14798 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14799 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14801 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14802 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14803 path for implementation.
14804 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14805 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14807 logb, and logbl multiarch implementations for PowerPC32.
14808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14813 multiarch logb for PowerPC32.
14814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14819 multiarch logbf for PowerPC32.
14820 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14824 multiarch logbl implementation for PowerPC32.
14826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14827 and modff multiarch implementations.
14828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14833 multiarch modf for PowerPC32.
14834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14839 multiarch modff for PowerPC32.
14841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14842 and lrintf multiarch implementations.
14843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14848 multiarch lrint for PowerPC32.
14849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14850 file: multiarch lrintf for PowerPC32.
14852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14853 and lroundf multiarch implementations.
14854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14861 multiarch lround for PowerPC32.
14862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14863 file: multiarch lroundf for PowerPC32.
14865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14866 copysign and copysignf multiarch implementations.
14867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14872 file: multiarch copysign for PowerPC32.
14873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14874 file: multiarch copysignf for PowerPC32.
14876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14877 and truncf multiarch implementations.
14878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14883 multiarch trunc for PowerPC32.
14884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14889 multiarch truncf for PowerPC32.
14891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14892 and roundf multiarch implementations.
14893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14898 multiarch round for PowerPC32.
14899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14904 multiarch roundf for PowerPC32.
14906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14907 and floorf multiarch implementations.
14908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14913 multiarch floor for PowerPC32.
14914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14919 multiarch floorf for PowerPC32.
14921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14922 and ceilf multiarch implementations.
14923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14928 multiarch ceil for PowerPC32.
14929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14934 multiarch ceilf for PowerPC32.
14936 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14938 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14939 FINITEF is defined.
14940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14941 and finitef multiarch implementations.
14942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14947 multiarch finite for PowerPC32.
14948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14951 file: multiarch finitef for PowerPC32.
14953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14954 and isinff multiarch implementations.
14955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14960 multiarch isinf for PowerPC32.
14961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14964 multiarch isinff for PowerPC32.
14966 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14967 alias when __isnan is defined.
14968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14969 and isnanf multiarch implementations.
14970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14979 multiarch isnan for PowerPC32.
14980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14985 multiarch isnanf for PowerPC32.
14987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14988 and sqrtf multiarch implementations.
14989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14994 multiarch sqrt for PowerPC32.
14995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15000 multiarch sqrtf for PowerPC32.
15002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15003 and llroundf multiarch implementations.
15004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15011 file: multiarch llround for PowerPC32.
15012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15013 file: multiarch llroundf for PowerPC32.
15015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15016 multiarch PowerPC32 fpu implementations.
15017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15022 multiarch llrint for PowerPC32.
15023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15032 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15034 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15036 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15038 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15039 multiarch wordcopy for PPC32.
15040 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15042 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15043 (__libc_ifunc_impl_list): Likewise.
15044 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15045 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15046 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15047 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15048 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15049 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15051 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15059 multiarch wcscpy for PPC32.
15060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15063 (__libc_ifunc_impl_list): Likewise.
15064 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15065 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15066 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15067 sysdeps/powerpc/power6/wcscpy.c.
15069 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15070 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15077 multiarch wcsrchr for PPC32.
15078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15081 (__libc_ifunc_impl_list): Likewise.
15082 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15083 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15084 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15085 sysdeps/powerpc/power6/wcsrchr.c.
15087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15093 multiarch wcschr for PPc32.
15094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15096 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15097 (__libc_ifunc_impl_list): Likewise.
15098 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15099 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15100 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15101 sysdeps/powerpc/power6/wcschr.c.
15103 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15104 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15106 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15107 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15108 file: multiarch strchr for PPC32.
15109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15112 (__libc_ifunc_impl_list): Likewise.
15114 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15116 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15118 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15120 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15121 multiarch strchrnul for PPC32.
15122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15125 (__libc_ifunc_impl_list): Likewise.
15127 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15129 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15130 multiarch strncasecmp for PPC32.
15131 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15133 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15134 multiarch strncasecmp_l for PPC32.
15135 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15136 strncasecmp multiarch objects.
15137 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15138 (__libc_ifunc_impl_list): Likewise.
15140 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15142 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15143 multiarch strncasecmp for PPC32.
15144 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15146 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15147 multiarch strcasecmp_l for PPC32.
15148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15151 (__libc_ifunc_impl_list): Likewise.
15153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15155 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15157 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15158 multiarch strncmp for PPC32.
15159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15162 (__libc_ifunc_impl_list): Likewise.
15164 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15165 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15167 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15168 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15172 (__libc_ifunc_impl_list): Likewise.
15174 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15176 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15178 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15182 (__libc_ifunc_impl_list): Likewise.
15184 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15186 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15188 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15189 multiarch rawmemchr for PPC32.
15190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15193 (__libc_ifunc_impl_list): Likewise.
15195 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15197 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15199 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15200 file: memrchr multiarch for PPC32.
15201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15204 (__libc_ifunc_impl_list): Likewise.
15206 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15207 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15209 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15210 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15211 multiarch memchr for PPC32.
15212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15214 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15215 (__libc_ifunc_impl_list): Likewise.
15217 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15218 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15220 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15222 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15223 file: multiarch mempcpy for PPC32.
15224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15227 (__libc_ifunc_impl_list): Likewise.
15229 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15230 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15231 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15232 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15233 multiarch bzero for PPC32.
15234 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15236 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15238 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15239 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15240 file: multiarch memset for PPC32.
15241 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15243 memset multiarch objects.
15244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15245 (__libc_ifunc_impl_list): Likewise.
15247 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15249 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15250 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15252 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15256 (__libc_ifunc_impl_list): Likewise.
15258 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15259 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15260 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15262 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15264 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15266 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15267 multiarch memcpy for PPC32.
15268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15271 (__libc_ifunc_impl_list): Likewise.
15273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15274 support multiarch for POWER/PPC32.
15275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15277 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15279 Implies file to make multiarch folder appers before the fpu and
15280 default folder for power4 configuration.
15282 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15284 * scripts/bench.pl: Append volatile keyword to type.
15286 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15288 * sysdeps/sh/sotruss-lib.c: New file.
15289 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15291 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15295 2013-12-05 Joseph Myers <joseph@codesourcery.com>
15298 * math/w_tgamma.c: Include <errno.h>.
15299 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15300 * math/w_tgammaf.c: Include <errno.h>.
15301 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15302 * math/w_tgammal.c: Include <errno.h>.
15303 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15304 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15305 underflow. Add more tgamma tests.
15306 * math/auto-libm-test-out: Regenerated.
15307 * sysdeps/i386/fpu/libm-test-ulps: Update.
15308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15310 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15311 sin, sinh, tan, tanh, tgamma, y0 and y1.
15312 * math/auto-libm-test-out: Regenerated.
15313 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15314 (TEST_COND_x86): Likewise.
15315 (M_E2l): Remove macro.
15317 (M_2_SQRT_PIl): Likewise.
15318 (M_SQRT_PIl): Likewise.
15319 (M_1_DIV_El): Likewise.
15320 (log_test_data): Use AUTO_TESTS_f_f.
15321 (log10_test_data): Likewise.
15322 (log1p_test_data): Likewise.
15323 (log2_test_data): Likewise.
15324 (sin_test_data): Likewise.
15325 (sin_tonearest_test_data): Likewise.
15326 (sin_towardzero_test_data): Likewise.
15327 (sin_downward_test_data): Likewise.
15328 (sin_upward_test_data): Likewise.
15329 (sinh_test_data): Likewise.
15330 (sinh_tonearest_test_data): Likewise.
15331 (sinh_towardzero_test_data): Likewise.
15332 (sinh_downward_test_data): Likewise.
15333 (sinh_upward_test_data): Likewise.
15334 (tan_test_data): Likewise.
15335 (tan_tonearest_test_data): Likewise.
15336 (tan_towardzero_test_data): Likewise.
15337 (tan_downward_test_data): Likewise.
15338 (tan_upward_test_data): Likewise.
15339 (tanh_test_data): Likewise.
15340 (tgamma_test_data): Likewise.
15341 (y0_test_data): Likewise.
15342 (y1_test_data): Likewise.
15343 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15344 (special_real_inputs): Add pi/4.
15345 * sysdeps/i386/fpu/libm-test-ulps: Update.
15346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15348 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15350 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15351 "longjmp_target" static probes.
15352 (__longjmp): Rename to __longjmp_symbol.
15353 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15354 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15355 on which longjmp to generate.
15356 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15357 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15359 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15360 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15361 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15362 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15363 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15364 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15366 __longjmp_symbol based on which __longjmp to generate.
15367 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15369 (setjmp): Rename to setjmp_symbol.
15370 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15371 (_setjmp): Rename to _setjmp_symbol.
15372 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15373 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15374 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15375 which setjmp to generate.
15376 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15377 "longjmp_target" static probes.
15379 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15381 * benchtests/README: Add note about output arguments.
15382 * benchtests/bench-sincos.c: Remove file.
15383 * benchtests/sincos-inputs: New file.
15384 * scripts/bench.pl: Identify output arguments and define
15385 static variables for them.
15387 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15390 * Makefile (INSTALL): Add install-plain.texi as the primary
15392 * manual/install-plain.texi: New file.
15393 * manual/install.texi: Include node directive only for
15394 non-plaintext output.
15396 2013-12-04 Joseph Myers <joseph@codesourcery.com>
15398 * stdlib/longlong.h: Update from GCC.
15402 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15403 * math/w_j0f.c (y0f): Likewise.
15404 * math/w_j0l.c (__y0l): Likewise.
15405 * math/w_j1.c (y1): Likewise.
15406 * math/w_j1f.c (y1f): Likewise.
15407 * math/w_j1l.c (__y1l): Likewise
15408 * math/w_jn.c (yn): Likewise.
15409 * math/w_jnf.c (ynf): Likewise.
15410 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15411 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15412 value for Bessel function domain errors outside _SVID_ mode.
15413 Adjust sign of return value for yn (negative integer, 0).
15414 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15415 by zero in return for negative x and set sign appropriately for
15417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15418 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15419 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15420 expectations in error cases.
15421 (y1_test_data): Likewise.
15422 (yn_test_data): Likewise.
15423 * sysdeps/i386/fpu/libm-test-ulps: Update.
15424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15426 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15428 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15429 "64" to "64-v1". Add "64-v2".
15430 (abi-64-options): Rename to ...
15431 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15432 (abi-64-condition): Rename to ...
15433 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15434 (abi-64-ld-soname): Rename to ...
15435 (abi-64-v1-ld-soname): ... this.
15436 (abi-64-v2-options): Define.
15437 (abi-64-v2-condition): Likewise.
15438 (abi-64-v2-ld-soname): Likewise.
15439 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15440 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15445 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15446 Alan Modra <amodra@gmail.com>
15448 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15449 New versions for use with the ELFv2 ABI.
15450 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15451 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15453 (struct La_ppc64v2_retval): Likewise.
15454 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15455 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15456 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15457 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15458 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15459 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15460 Do not save or restore CR.
15461 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15462 (_dl_profile_resolve): Do no save or restore CR. Support extended
15463 return values for ELFv2 ABI. Fix location of FPR return registers.
15464 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15465 updated values for _CALL_ELF == 2.
15466 (La_regs, La_retval, int_retval): Likewise.
15468 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15470 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15471 (FRAME_MIN_SIZE_PARM): Likewise.
15472 (FRAME_BACKCHAIN): Likewise.
15473 (FRAME_CR_SAVE): Likewise.
15474 (FRAME_LR_SAVE): Likewise.
15475 (FRAME_TOC_SAVE): Likewise.
15476 (FRAME_PARM_SAVE): Likewise.
15477 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15478 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15479 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15480 (call_mcount_parm_offset): New macro.
15481 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15482 (PROF): Use symbolic stack frame offsets.
15483 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15484 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15485 Redefine in terms of FRAME_MIN_SIZE.
15486 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15487 (_dl_profile_resolve): Likewise. Update comment.
15488 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15489 symbols stack frame offsets.
15490 (__sigsetjmp): Likewise.
15491 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15492 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15493 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15494 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15497 (FRAME_BACKCHAIN): Remove.
15498 (FRAME_CR_SAVE): Likewise.
15499 (FRAME_LR_SAVE): Likewise.
15500 (FRAME_COMPILER_DW): Likewise.
15501 (FRAME_LINKER_DW): Likewise.
15502 (FRAME_TOC_SAVE): Likewise.
15503 (FRAME_PARM_SAVE): Likewise.
15504 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15505 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15506 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15508 (CHECK_SP): Use symbolic stack frame offsets.
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15510 zone" instead of caller's parameter save area for temp storage.
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15512 Likewise. Also, use symbolic stack frame offsets.
15513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15514 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15515 our own stack frame instead of the caller's.
15516 (__socket): Use symbolic stack frame offsets.
15518 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15519 Alan Modra <amodra@gmail.com>
15521 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15523 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15524 (PPC64_LOCAL_ENTRY_OFFSET): Define.
15525 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15527 (elf_machine_fixup_plt): Call it.
15528 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15530 (elf_machine_rela): Update call to elf_machine_plt_conflict.
15531 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15532 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15533 r2 before calling target.
15535 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15536 Alan Modra <amodra@gmail.com>
15538 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15539 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15540 versions of macros to support ELFv2 ABI.
15541 (LOCALENTRY): New macro.
15542 (ENTRY, EALIGN): Use it.
15543 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15544 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15545 fall through into ENTRY entry point.
15546 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15547 Only define if _CALL_ELF != 2.
15549 (elf_machine_matches_host): Verify ABI version matches.
15550 (RTLD_START): Use LOCALENTRY.
15551 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15552 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15553 (PLT_ENTRY_WORDS): New macro.
15554 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15555 (elf_machine_runtime_setup): Support ELFv2 ABI.
15556 (elf_machine_fixup_plt): Likewise.
15557 (elf_machine_plt_conflict): Likewise.
15558 (resolve_ifunc): Likewise.
15559 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15560 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15563 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15565 (makecontext): Support ELFv2 ABI.
15566 * elf/elf.h (EF_PPC64_ABI): Define.
15568 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15570 * sysdeps/powerpc/powerpc64/sysdep.h
15571 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15572 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15573 (ENTRY) [ASSEMBLER]: ... but instead here ...
15574 (EALIGN) [ASSEMBLER]: ... and here.
15575 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15576 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15577 (ENTRY_2) [!ASSEMBLER]: Use it.
15578 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15579 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
15580 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15581 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15582 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15584 Use PPC64_LOAD_FUNCPTR.
15586 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15588 2013-12-04 Alan Modra <amodra@gmail.com>
15590 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15591 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15592 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15593 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15595 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15596 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15597 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15598 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15599 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15600 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15602 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15605 (__makecontext): Fix incorrect CFI when backtracing out of
15606 context created via makecontext.
15607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15608 (__setcontext): Fix incorrect CFI during switch to new context.
15609 (__novec_setcontext): Likewise.
15611 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15614 * time/strptime_l.c (__strptime_internal): Allow modifiers
15616 * time/tst-strptime.c (day_tests): Add testcase.
15618 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15620 * scripts/bench.pl: Skip over blank lines.
15622 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15625 * manual/time.texi (Calendar Time): Clarify what timezone functions
15628 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15632 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15634 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15636 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15637 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15638 * debug/memset_chk.c (__memset_chk): Likewise.
15639 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15640 * debug/strncpy_chk.c: Likewise.
15642 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15646 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15647 (__ieee754_exp): For possibly underflowing results, check size of
15648 result and force underflow exception if required.
15649 * math/auto-libm-test-in: Add more tests of exp.
15650 * math/auto-libm-test-out: Regenerated.
15651 * sysdeps/i386/fpu/libm-test-ulps: Update.
15652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15655 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15656 * math/w_exp2f.c (__exp2f): Likewise.
15657 * math/w_exp2l.c (__exp2l): Likewise.
15658 * math/auto-libm-test-in: Do not allow missing errno on exp2
15660 * math/auto-libm-test-out: Regenerated.
15662 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
15665 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15666 handle filename validation.
15667 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15670 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15673 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15674 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15675 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15677 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15679 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15680 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15681 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15682 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15683 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15684 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15685 Add more erfc tests.
15686 * math/auto-libm-test-out: Regenerated.
15687 * sysdeps/i386/fpu/libm-test-ulps: Update.
15688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15690 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15691 exp2, expm1, j0 and j1.
15692 * math/auto-libm-test-out: Regenerated.
15693 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15694 (erfc_test_data): Likewise.
15695 (exp_test_data): Likewise.
15696 (exp_tonearest_test_data): Likewise.
15697 (exp_towardzero_test_data): Likewise.
15698 (exp_downward_test_data): Likewise.
15699 (exp_upward_test_data): Likewise.
15700 (exp10_test_data): Likewise.
15701 (exp2_test_data): Likewise.
15702 (expm1_test_data): Likewise.
15703 (j0_test_data): Likewise.
15704 (j1_test_data): Likewise.
15705 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15706 (input_flag_type): Add flag_xfail_rounding.
15707 (input_flags): Add xfail-rounding.
15708 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15709 (output_for_one_input_case): Handle flag_xfail_rounding.
15710 * sysdeps/i386/fpu/libm-test-ulps: Update.
15711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15713 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15716 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15719 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15722 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15723 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15724 (STAP_PROBE0): New macro.
15725 (STAP_PROBE1): Likewise.
15726 (STAP_PROBE2): Likewise.
15727 (STAP_PROBE3): Likewise.
15728 (STAP_PROBE4): Likewise.
15730 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
15732 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15734 2013-12-02 Steve Ellcey <sellcey@mips.com>
15736 * benchtests/Makefile (bench): Add sqrt.
15737 (LDLIBS-bench-sqrt): New.
15738 * benchtests/sqrt-input: New.
15740 2013-12-02 Pavel Simerda <psimerda@redhat.com>
15742 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15743 (GAIH_EAI): Likewise.
15744 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15745 (gaih_inet): Likewise.
15746 (getaddrinfo): Don't use GAIH_EAI.
15748 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15749 (struct gaih): Remove definition.
15751 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15753 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15754 Use HERRNOP directly.
15756 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15760 2013-11-30 Joseph Myers <joseph@codesourcery.com>
15762 * math/gen-auto-libm-tests.c (test_functions): Add more
15763 single-argument functions.
15764 (special_fill_pi_2): New function.
15765 (special_fill_minus_pi_2): Likewise.
15766 (special_fill_pi_6): Likewise.
15767 (special_fill_minus_pi_6): Likewise.
15768 (special_fill_pi_3): Likewise.
15769 (special_fill_2pi_3): Likewise.
15770 (special_fill_e): Likewise.
15771 (special_fill_1_e): Likewise.
15772 (special_fill_e_minus_1): Likewise.
15773 (special_real_inputs): Add more special inputs.
15774 (output_for_one_input_case): Do not require ERANGE on underflow to
15775 zero if round-to-nearest result does not underflow to zero, unless
15776 exact results required.
15777 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15778 atan, atanh, cbrt, cos and cosh.
15779 * math/auto-libm-test-out: Regenerated.
15780 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15781 (acos_tonearest_test_data): Likewise.
15782 (acos_towardzero_test_data): Likewise.
15783 (acos_downward_test_data): Likewise.
15784 (acos_upward_test_data): Likewise.
15785 (acosh_test_data): Likewise.
15786 (asin_test_data): Likewise.
15787 (asin_tonearest_test_data): Likewise.
15788 (asin_towardzero_test_data): Likewise.
15789 (asin_upward_test_data): Likewise.
15790 (asinh_test_data): Likewise.
15791 (atan_test_data): Likewise.
15792 (atanh_test_data): Likewise.
15793 (cbrt_test_data): Likewise.
15794 (cos_test_data): Likewise.
15795 (cos_tonearest_test_data): Likewise.
15796 (cos_towardzero_test_data): Likewise.
15797 (cos_downward_test_data): Likewise.
15798 (cos_upward_test_data): Likewise.
15799 (cosh_test_data): Likewise.
15800 (cosh_tonearest_test_data): Likewise.
15801 (cosh_towardzero_test_data): Likewise.
15802 (cosh_downward_test_data): Likewise.
15803 (cosh_upward_test_data): Likewise.
15804 * sysdeps/i386/fpu/libm-test-ulps: Update.
15805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15807 2013-11-29 Joseph Myers <joseph@codesourcery.com>
15810 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15811 * math/w_exp10f.c (__exp10f): Likewise.
15812 * math/w_exp10l.c (__exp10l): Likewise.
15813 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15814 errno settings in existing tests.
15817 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15818 precision control set to double precision.
15819 * sysdeps/i386/fpu/w_sqrt.c: New file.
15820 * math/auto-libm-test-in: Add more tests.
15821 * math/auto-libm-test-out: Update.
15823 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15824 (sqrt_test_tonearest): New function.
15825 (sqrt_towardzero_test_data): New variable.
15826 (sqrt_test_towardzero): New function.
15827 (sqrt_downward_test_data): New variable.
15828 (sqrt_test_downward): New function.
15829 (sqrt_upward_test_data): New variable.
15830 (sqrt_test_upward): New function.
15831 (main): Call the new functions.
15833 * math/gen-auto-libm-tests.c: New file.
15834 * math/auto-libm-test-in: Likewise.
15835 * math/auto-libm-test-out: New generated file.
15836 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15838 (%beautify): Add generated representations of zero.
15839 (top level): Set $auto_input and call parse_auto_input.
15840 (beautify): Remove trailing "f" from hex float constants.
15841 (parse_args): Handle XFAIL_TEST.
15842 (convert_condition): New function.
15843 (or_value): Likewise.
15844 (or_cond_value): Likewise.
15845 (generate_testfile): Handle AUTO_TESTS_* lines.
15846 (parse_auto_input): New function.
15847 * math/libm-test.inc (XFAIL_TEST): New macro.
15848 (ERRNO_UNCHANGED): Update value.
15849 (ERRNO_EDOM): Likewise.
15850 (ERRNO_ERANGE): Likewise.
15851 (IGNORE_RESULT): Likewise.
15852 (TEST_COND_flt_32): New macro.
15853 (TEST_COND_dbl_64): Likewise.
15854 (TEST_COND_ldbl_96_intel): Likewise.
15855 (TEST_COND_ldbl_96_m68k): Likewise.
15856 (TEST_COND_ldbl_128): Likewise.
15857 (TEST_COND_ldbl_128ibm): Likewise.
15858 (TEST_COND_long32): Likewise.
15859 (TEST_COND_long64): Likewise.
15860 (TEST_COND_before_rounding): Likewise.
15861 (TEST_COND_after_rounding): Likewise.
15862 (enable_test): Handle XFAIL_TEST flag.
15863 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15864 with finite results.
15865 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15866 auto-libm-test-out.
15868 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15869 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15872 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15873 __tls_get_addr_internal instead of __tls_get_offset in order to
15874 avoid GOT pointer dependency. Make rtld export
15875 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15876 __tls_get_addr since we are a __tls_get_offset platform.
15877 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15878 GOT pointer being set up before.
15879 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15881 2013-11-28 Joseph Myers <joseph@codesourcery.com>
15883 * manual/math.texi (Errors in Math Functions): Document accuracy
15887 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15888 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15889 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15890 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15891 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15892 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15893 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15894 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15895 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15896 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15897 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15898 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15899 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15900 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15901 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15902 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15904 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15905 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15906 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15907 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15908 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15910 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15912 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15914 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15915 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15916 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15917 atomic-feupdateenv and flt-rounds.
15918 * sysdeps/powerpc/nofpu/Versions (libc): Add
15919 __atomic_feholdexcept, __atomic_feclearexcept,
15920 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15921 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15922 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15923 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15924 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15929 * manual/arith.texi (FP Exceptions): Document that exceptions may
15930 not be raised when matherr is used.
15931 (Math Error Reporting): Document overflow in directed rounding
15932 modes. Document that errno may not be set when finite values are
15933 returned on overflow. Document intent to set errno on underflow
15934 only for underflow to zero.
15937 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15938 round-to-nearest then adjust result for other rounding modes.
15939 * include/fenv.h (fegetround): Use libm_hidden_proto.
15940 * math/fegetround.c (fegetround): Use libm_hidden_def.
15941 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15942 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15943 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15944 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15946 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15947 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15948 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15949 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15951 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15954 * nss/Versions (libnss_files): Add
15955 _nss_files_gethostbyname3_r.
15956 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15958 (HOST_DB_LOOKUP): Remove macro.
15959 (_nss_files_gethostbyname_r): Implement function without the
15960 HOST_DB_LOOKUP macro.
15961 (_nss_files_gethostbyname2_r): Likewise.
15963 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
15965 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15967 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
15969 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15970 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15973 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15975 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15976 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15977 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15978 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15979 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15980 __fe_nomask_env_priv and attribute_hidden.
15981 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15982 (libc_feupdateenv_test_ppc): Likewise.
15983 (libc_feresetround_ppc): Likewise.
15984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15985 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15986 compat_symbol macro.
15987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15988 (__fe_nomask_env): Likewise.
15989 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15991 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
15993 * string/Makefile: Remove ifunc tests.
15994 * string/test-string.h: Define TEST_IFUNC.
15995 * string/test-bcopy-ifunc.c: Remove.
15996 * string/test-bzero-ifunc.c: Likewise.
15997 * string/test-memccpy-ifunc.c: Likewise.
15998 * string/test-memchr-ifunc.c: Likewise.
15999 * string/test-memcmp-ifunc.c: Likewise.
16000 * string/test-memcpy-ifunc.c: Likewise.
16001 * string/test-memmem-ifunc.c: Likewise.
16002 * string/test-memmove-ifunc.c: Likewise.
16003 * string/test-mempcpy-ifunc.c: Likewise.
16004 * string/test-memrchr-ifunc.c: Likewise.
16005 * string/test-memset-ifunc.c: Likewise.
16006 * string/test-rawmemchr-ifunc.c: Likewise.
16007 * string/test-stpcpy-ifunc.c: Likewise.
16008 * string/test-stpncpy-ifunc.c: Likewise.
16009 * string/test-strcasecmp-ifunc.c: Likewise.
16010 * string/test-strcasestr-ifunc.c: Likewise.
16011 * string/test-strcat-ifunc.c: Likewise.
16012 * string/test-strchr-ifunc.c: Likewise.
16013 * string/test-strchrnul-ifunc.c: Likewise.
16014 * string/test-strcmp-ifunc.c: Likewise.
16015 * string/test-strcpy-ifunc.c: Likewise.
16016 * string/test-strcspn-ifunc.c: Likewise.
16017 * string/test-strlen-ifunc.c: Likewise.
16018 * string/test-strncasecmp-ifunc.c: Likewise.
16019 * string/test-strncat-ifunc.c: Likewise.
16020 * string/test-strncmp-ifunc.c: Likewise.
16021 * string/test-strncpy-ifunc.c: Likewise.
16022 * string/test-strnlen-ifunc.c: Likewise.
16023 * string/test-strpbrk-ifunc.c: Likewise.
16024 * string/test-strrchr-ifunc.c: Likewise.
16025 * string/test-strspn-ifunc.c: Likewise.
16026 * string/test-strstr-ifunc.c: Likewise.
16028 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16030 * benchtests/Makefile: Remove ifunc tests.
16031 * benchtests/bench-string.h: Define TEST_IFUNC.
16032 * benchtests/bench-bcopy-ifunc.c: Remove.
16033 * benchtests/bench-bzero-ifunc.c: Likewise.
16034 * benchtests/bench-memccpy-ifunc.c: Likewise.
16035 * benchtests/bench-memchr-ifunc.c: Likewise.
16036 * benchtests/bench-memcmp-ifunc.c: Likewise.
16037 * benchtests/bench-memcpy-ifunc.c: Likewise.
16038 * benchtests/bench-memmem-ifunc.c: Likewise.
16039 * benchtests/bench-memmove-ifunc.c: Likewise.
16040 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16041 * benchtests/bench-memrchr-ifunc.c: Likewise.
16042 * benchtests/bench-memset-ifunc.c: Likewise.
16043 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16044 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16045 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16046 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16047 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16048 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16049 * benchtests/bench-strcat-ifunc.c: Likewise.
16050 * benchtests/bench-strchr-ifunc.c: Likewise.
16051 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16052 * benchtests/bench-strcmp-ifunc.c: Likewise.
16053 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16054 * benchtests/bench-strcpy-ifunc.c: Likewise.
16055 * benchtests/bench-strcspn-ifunc.c: Likewise.
16056 * benchtests/bench-strlen-ifunc.c: Likewise.
16057 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16058 * benchtests/bench-strncat-ifunc.c: Likewise.
16059 * benchtests/bench-strncmp-ifunc.c: Likewise.
16060 * benchtests/bench-strncpy-ifunc.c: Likewise.
16061 * benchtests/bench-strnlen-ifunc.c: Likewise.
16062 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16063 * benchtests/bench-strrchr-ifunc.c: Likewise.
16064 * benchtests/bench-strsep-ifunc.c: Likewise.
16065 * benchtests/bench-strspn-ifunc.c: Likewise.
16066 * benchtests/bench-strstr-ifunc.c: Likewise.
16068 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16070 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16072 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16074 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16075 * rt/aio.h: Likewise.
16076 * sysdeps/gnu/bits/utmp.h: Likewise.
16077 * sysdeps/gnu/bits/utmpx.h: Likewise.
16078 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16079 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16080 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16081 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16082 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16083 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16084 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16085 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16086 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16087 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16088 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16089 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16090 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16092 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16093 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16094 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16095 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16096 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16097 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16098 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16099 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16100 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16101 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16102 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16104 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16105 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16106 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16107 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16108 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16109 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16110 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16111 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16112 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16113 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16114 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16115 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16116 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16117 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16118 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16119 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16121 2013-11-25 Carlos O'Donell <carlos@redhat.com>
16124 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16125 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16127 2013-11-25 Joseph Myers <joseph@codesourcery.com>
16129 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16130 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16133 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16135 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16136 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16137 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16138 (__fesetround): Remove define.
16139 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16140 rounding and exceptions handling.
16141 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16142 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16143 (__fe_nomask_env): Likewise.
16144 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16145 __fegetround instead of fegetround.
16146 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16147 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16149 2013-11-21 Roland McGrath <roland@hack.frob.com>
16151 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16154 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16156 2013-11-21 Meador Inge <meadori@codesourcery.com>
16159 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16160 (encrypt_r): Likewise.
16161 * malloc/obstack.h (obstack_free): Likewise.
16162 * posix/unistd.h (encrypt): Likewise.
16164 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16166 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16167 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16168 DL_CALL_DT_FINI() that call the functions directly.
16169 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16170 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16171 * elf/dl-fini.c: Likewise.
16173 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
16175 * malloc/hooks.c (memalign_check): Add alignment rounding.
16176 * malloc/malloc.c (_mid_memalign): New function.
16177 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16178 Implement by calling _mid_memalign.
16179 * manual/probes.texi (Memory Allocation Probes): Remove
16180 memory_valloc_retry and memory_pvalloc_retry.
16182 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16184 * locale/programs/locarchive.c (open_archive): Add const
16185 qualifier to ARCHIVEFNAME and copy default fname to
16189 * libio/tst-widetext.input: Rename Oriya to Odia.
16190 * locale/iso-639.def: Likewise.
16192 * manual/probes.texi (Mathematical Function Probes): Add
16193 documentation for sin, cos, asin and acos probes.
16194 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16195 (__sin32): Add slowasin probe.
16196 (__cos32): Add slowacos probe.
16197 (__mpsin): Add slowsin probe.
16198 (__mpcos): Add slowcos probe.
16200 2013-11-19 Joseph Myers <joseph@codesourcery.com>
16203 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16204 thread-local __sim_exceptions_thread and global
16205 __sim_exceptions_global.
16206 (__sim_disabled_exceptions): Change to thread-local
16207 __sim_disabled_exceptions_thread and global
16208 __sim_disabled_exceptions_global.
16209 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16210 and global __sim_round_mode_global.
16211 (__simulate_exceptions): Use thread-local floating-point state and
16212 set global state from it as needed.
16213 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16214 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16215 __sim_round_mode_thread.
16216 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16217 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16218 and global __sim_exceptions_global.
16219 (__sim_disabled_exceptions): Change to thread-local
16220 __sim_disabled_exceptions_thread and global
16221 __sim_disabled_exceptions_global.
16222 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16223 and global __sim_round_mode_global.
16224 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16225 (SIM_SET_GLOBAL): Likewise.
16226 * sysdeps/powerpc/soft-fp/sfp-machine.h
16227 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16228 __sim_round_mode_thread.
16229 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16230 __sim_disabled_exceptions_thread.
16231 (__sim_exceptions): Change to __sim_exceptions_thread.
16232 (__sim_disabled_exceptions): Change to
16233 __sim_disabled_exceptions_thread.
16234 (__sim_round_mode): Change to __sim_round_mode_thread.
16235 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16236 thread-local floating-point state and set global state from it as
16238 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16239 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16240 (__sim_disabled_exceptions): Remove extern declaration.
16241 (feenableexcept): Use thread-local floating-point state and set
16242 global state from it as needed.
16243 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16244 extern declaration.
16245 (__sim_disabled_exceptions): Likewise.
16246 (__sim_round_mode): Likewise.
16247 (__fegetenv): Use thread-local floating-point state.
16248 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16249 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16250 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16251 floating-point state and set global state from it as needed.
16252 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16253 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16254 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16256 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16257 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16259 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16260 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16261 Use __sim_round_mode_thread.
16262 * math/test-fenv-tls.c: New file.
16263 * math/Makefile (tests): Add test-fenv-tls.
16264 ($(objpfx)test-fenv-tls): Depend on
16265 $(common-objpfx)nptl/libpthread.so.
16267 2013-11-19 Andreas Schwab <schwab@suse.de>
16269 * locale/programs/locale.c (show_info): Decode wordarray elements.
16270 * locale/categories.def (LC_MONETARY): Add element for
16271 _NL_MONETARY_CRNCYSTR.
16272 * locale/C-monetary.c (conversion_rate): New variable.
16273 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16276 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16278 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16279 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16281 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16283 * elf/Makefile (tst-auxv): New test.
16284 * elf/tst-auxv.c: New
16285 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16287 2013-11-18 Joseph Myers <joseph@codesourcery.com>
16289 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16290 (hidden_proto): Caller changed.
16291 (hidden_tls_proto): New macro.
16292 (libc_hidden_tls_proto): Likewise.
16293 (rtld_hidden_tls_proto): Likewise.
16294 (libm_hidden_tls_proto): Likewise.
16295 (libresolv_hidden_tls_proto): Likewise.
16296 (librt_hidden_tls_proto): Likewise.
16297 (libdl_hidden_tls_proto): Likewise.
16298 (libnss_files_hidden_tls_proto): Likewise.
16299 (libnsl_hidden_tls_proto): Likewise.
16300 (libnss_nisplus_hidden_tls_proto): Likewise.
16301 (libutil_hidden_tls_proto): Likewise.
16303 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
16306 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16307 (decompose_rpath): Defer expansion to fillin_rpath.
16308 (_dl_init_paths): Pass linkmap to fillin_rpath.
16310 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16312 * benchtests/Makefile: Add strsep.
16313 * benchtests/bench-strsep.c: New file: strsep benchtest.
16314 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16316 2013-11-18 Andreas Schwab <schwab@suse.de>
16318 * locale/programs/locale.c (show_info) [case byte]: Check for
16319 '\377' instead of '\177'.
16320 * locale/C-monetary.c (not_available): Always use "\377".
16321 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16322 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16323 detect unavailable sign_posn locale elements.
16324 * locale/localeconv.c (__localeconv): For grouping and
16325 mon_grouping handle "\177" and "\377" like no grouping.
16326 (INT_ELEM): New macro. Use it to set all numeric members.
16327 * locale/programs/ld-monetary.c (monetary_read)
16328 <tok_mon_grouping>: Normalize single -1 to the empty string.
16329 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16332 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16335 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16336 when we match (nil).
16337 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16339 2013-11-16 Joseph Myers <joseph@codesourcery.com>
16341 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16342 (NO_TEST_INLINE): Update value.
16343 (ERRNO_UNCHANGED): Likewise.
16344 (ERRNO_EDOM): Likewise.
16345 (ERRNO_ERANGE): Likewise.
16346 (IGNORE_RESULT): Likewise.
16347 (check_float_internal): Check signs of NaN results if
16348 TEST_NAN_SIGN used.
16349 (check_complex): Pass TEST_NAN_SIGN flag through to second
16350 check_float_internal call.
16351 (copysign_test_data): Add tests with quiet NaNs as second
16352 argument. Use TEST_NAN_SIGN.
16353 (fabs_test_data): Add test of negative quiet NaN argument. Use
16355 (signbit_test_data): Add tests of quiet NaN argument.
16356 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16358 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16360 (parse_args): Handle function results specified as IGNORE.
16361 * math/libm-test.inc (IGNORE_RESULT): New macro.
16362 (check_float_internal): Do not check numerical result if flag
16364 (check_complex): Pass through IGNORE_RESULT to second
16365 check_float_internal call.
16366 (check_int): Do not check numerical result if flag IGNORE_RESULT
16368 (check_long): Likewise.
16369 (check_bool): Likewise.
16370 (check_longlong): Likewise.
16371 (lrint_test_data): Add tests of infinite and NaN arguments.
16372 (lrint_tonearest_test_data): Likewise.
16373 (lrint_towardzero_test_data): Likewise.
16374 (lrint_downward_test_data): Likewise.
16375 (lrint_upward_test_data): Likewise.
16376 (llrint_test_data): Likewise.
16377 (llrint_tonearest_test_data): Likewise.
16378 (llrint_towardzero_test_data): Likewise.
16379 (llrint_downward_test_data): Likewise.
16380 (llrint_upward_test_data): Likewise.
16381 (lround_test_data): Likewise.
16382 (llround_test_data): Likewise.
16384 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16385 (ERRNO_UNCHANGED): Update value.
16386 (ERRNO_EDOM): Likewise.
16387 (ERRNO_ERANGE): Likewise.
16388 (NO_TEST_INLINE_FLOAT): New macro.
16389 (NO_TEST_INLINE_DOUBLE): Likewise.
16390 (enable_test): New function.
16391 (RUN_TEST_f_f): Check enable_test before running test.
16392 (RUN_TEST_2_f): Likewise.
16393 (RUN_TEST_fff_f): Likewise.
16394 (RUN_TEST_c_f): Likewise.
16395 (RUN_TEST_f_f1): Likewise.
16396 (RUN_TEST_fF_f1): Likewise.
16397 (RUN_TEST_fI_f1): Likewise.
16398 (RUN_TEST_ffI_f1): Likewise.
16399 (RUN_TEST_c_c): Likewise.
16400 (RUN_TEST_cc_c): Likewise.
16401 (RUN_TEST_f_i): Likewise.
16402 (RUN_TEST_f_i_tg): Likewise.
16403 (RUN_TEST_ff_i_tg): Likewise.
16404 (RUN_TEST_f_b): Likewise.
16405 (RUN_TEST_f_b_tg): Likewise.
16406 (RUN_TEST_f_l): Likewise.
16407 (RUN_TEST_f_L): Likewise.
16408 (RUN_TEST_fFF_11): Likewise.
16409 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16411 (cosh_test_data): Likewise.
16412 (exp_test_data): Likewise.
16413 (expm1_test_data): Likewise.
16414 (hypot_test_data): Likewise.
16415 (pow_test_data): Likewise.
16416 (sinh_test_data): Likewise.
16417 (tanh_test_data): Likewise.
16418 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16421 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16422 tests with quiet NaN input and output.
16423 (acosh_test_data): Likewise.
16424 (asin_test_data): Likewise.
16425 (asinh_test_data): Likewise.
16426 (atan_test_data): Likewise.
16427 (atanh_test_data): Likewise.
16428 (atan2_test_data): Likewise.
16429 (cbrt_test_data): Likewise.
16430 (cos_test_data): Likewise.
16431 (cosh_test_data): Likewise.
16432 (erf_test_data): Likewise.
16433 (erfc_test_data): Likewise.
16434 (exp_test_data): Likewise.
16435 (exp10_test_data): Likewise.
16436 (exp2_test_data): Likewise.
16437 (expm1_test_data): Likewise.
16438 (hypot_test_data): Likewise.
16439 (j0_test_data): Likewise.
16440 (j1_test_data): Likewise.
16441 (jn_test_data): Likewise.
16442 (lgamma_test_data): Likewise.
16443 (log_test_data): Likewise.
16444 (log10_test_data): Likewise.
16445 (log1p_test_data): Likewise.
16446 (log2_test_data): Likewise.
16447 (pow_test_data): Likewise.
16448 (scalb_test_data): Likewise.
16449 (sin_test_data): Likewise.
16450 (sincos_test_data): Likewise.
16451 (sinh_test_data): Likewise.
16452 (tan_test_data): Likewise.
16453 (tanh_test_data): Likewise.
16454 (tgamma_test_data): Likewise.
16455 (y0_test_data): Likewise.
16456 (y1_test_data): Likewise.
16457 (yn_test_data): Likewise.
16460 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16461 argument being NaN and avoid computations with second argument in
16463 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16464 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16465 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16467 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16469 * locale/iso-639.def: Add Chitwani Tharu (the).
16471 2013-11-14 Andreas Schwab <schwab@suse.de>
16473 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16474 word instead of empty string.
16476 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16479 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16481 (__fe_nomask_env): Likewise.
16483 2013-11-13 Steve Ellcey <sellcey@mips.com>
16485 * benchtests/bench-timing.h: Include time.h.
16487 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16490 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16492 * sysdeps/unix/sysv/linux/configure: Regenerated.
16494 2013-11-13 Joseph Myers <joseph@codesourcery.com>
16497 * stdlib/strtod_l.c (round_and_return): Do not consider
16498 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16499 exponent one less than half the least subnormal exponent.
16500 * stdlib/test-strtod-round-data: Add more tests.
16501 * stdlib/tst-strtod-round.c (tests): Regenerated.
16503 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16506 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16507 (__fe_mask_env): Likewise.
16508 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16509 libm_hidden_proto and add function prototype.
16510 (__fe_mask_env): Add function prototype.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16512 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16514 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16516 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16518 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16520 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16521 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16523 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16525 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16526 of htab_find_slot().
16528 2013-11-11 David S. Miller <davem@davemloft.net>
16531 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16532 symbol in the non-vis3 case in static builds.
16533 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16534 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16535 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16536 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16538 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16541 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16544 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16546 * benchtests/Makefile: Add bench-strtod.
16547 * benchtests/bench-strtod.c: New file: strtod benchtest
16549 2013-11-11 Andreas Schwab <schwab@suse.de>
16552 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16553 terminating NUL in key length.
16555 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16557 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16558 Add artificial ODP entry for vDSO symbol for PPC64.
16559 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16560 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16562 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16565 * nss/getent.c (services_keys): Recognize services starting with digit.
16567 2013-11-06 David S. Miller <davem@davemloft.net>
16570 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16571 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16573 2013-11-06 Will Newton <will.newton@linaro.org>
16575 * manual/memory.texi (Malloc Examples): Remove register
16576 keyword from examples.
16578 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
16580 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16582 2013-11-04 Joseph Myers <joseph@codesourcery.com>
16585 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16586 depending on [__GCC_IEC_559 > 0].
16587 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16588 depending on [__GCC_IEC_559_COMPLEX > 0].
16590 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
16592 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16595 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
16597 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16599 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
16602 * malloc/malloc (malloc_info): Do not handle first bin as
16605 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
16607 * locale/iso-639.def: Add Central Nahuatl (nhn).
16609 2013-11-01 Bruno Haible <bruno@clisp.org>
16612 * manual/math.texi (BSD Random): Specify range upper bound as
16615 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
16617 * locale/iso-639.def: Add Meadow Mari (mhr).
16619 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
16621 [BZ #14752], [BZ #15763]
16622 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16624 * rt/tst_shm.c: Add test for escaping directory.
16626 2013-10-31 Andreas Schwab <schwab@suse.de>
16629 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16630 followed by 'x' as part of digit sequence.
16631 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16633 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16636 * configure.ac: allow GNU Make 4.0 and greater.
16637 * configure: Regenerated.
16639 2013-10-30 Will Newton <will.newton@linaro.org>
16642 * malloc/hooks.c (memalign_check): Limit alignment to the
16643 maximum representable power of two.
16644 * malloc/malloc.c (__libc_memalign): Likewise.
16645 * malloc/tst-memalign.c (do_test): Add test for very
16646 large alignment values.
16647 * malloc/tst-posix_memalign.c (do_test): Likewise.
16649 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
16652 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16653 (munmap_chunk): Likewise.
16654 (mremap_chunk): Likewise.
16656 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
16659 * stdlib/div.c (div): Remove obsolete code.
16660 * stdlib/ldiv.c (ldiv): Likewise.
16661 * stdlib/lldiv.c (lldiv): Likewise.
16663 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16666 * nss/nss_files/files-XXX.c (get_contents_ret): New
16668 (get_contents): New function.
16669 (internal_getent): Use it. Expand size of LINEBUFLEN.
16671 2013-10-30 Mike Frysinger <vapier@gentoo.org>
16673 * configure.in: Moved to ...
16674 * configure.ac: ... here. Change reference to configure.in
16676 * sysdeps/arm/preconfigure.ac: ... here.
16677 configure.in to configure.ac.
16678 * sysdeps/gnu/configure.in: Moved to ...
16679 * sysdeps/gnu/configure.ac: ... here.
16680 * sysdeps/i386/configure.in: Moved to ...
16681 * sysdeps/i386/configure.ac: ... here.
16682 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16683 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16684 * sysdeps/mach/configure.in: Moved to ...
16685 * sysdeps/mach/configure.ac: ... here.
16686 * sysdeps/mach/hurd/configure.in: Moved to ...
16687 * sysdeps/mach/hurd/configure.ac: ... here.
16688 * sysdeps/powerpc/configure.in: Moved to ...
16689 * sysdeps/powerpc/configure.ac: ... here.
16690 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16691 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16692 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16693 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16694 * sysdeps/s390/s390-32/configure.in: Moved to ...
16695 * sysdeps/s390/s390-32/configure.ac: ... here.
16696 * sysdeps/s390/s390-64/configure.in: Moved to ...
16697 * sysdeps/s390/s390-64/configure.ac: ... here.
16698 * sysdeps/sh/configure.in: Moved to ...
16699 * sysdeps/sh/configure.ac: ... here.
16700 * sysdeps/sparc/configure.in: Moved to ...
16701 * sysdeps/sparc/configure.ac: ... here.
16702 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16703 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16704 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16705 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16706 * sysdeps/x86_64/configure.in: Moved to ...
16707 * sysdeps/x86_64/configure.ac: ... here.
16708 * sysdeps/x86_64/preconfigure.in: Moved to ...
16709 * sysdeps/x86_64/preconfigure.ac: ... here.
16710 * aclocal.m4: Change reference to configure.in to configure.ac.
16711 * config.h.in: Likewise.
16712 * manual/install.texi: Likewise.
16713 * manual/maint.texi: Likewise.
16714 * Makefile: Likewise.
16715 * malloc/Makefile: Likewise.
16716 * nscd/Makefile: Likewise.
16717 * Makeconfig: Change reference to configure.in and
16718 preconfigure.in to configure.ac and preconfigure.ac
16720 * INSTALL: Regenerated.
16721 * configure: Likewise.
16722 * sysdeps/gnu/configure: Likewise.
16723 * sysdeps/i386/configure: Likewise.
16724 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16725 * sysdeps/mach/configure: Likewise.
16726 * sysdeps/mach/hurd/configure: Likewise.
16727 * sysdeps/powerpc/configure: Likewise.
16728 * sysdeps/powerpc/powerpc32/configure: Likewise.
16729 * sysdeps/powerpc/powerpc64/configure: Likewise.
16730 * sysdeps/s390/s390-32/configure: Likewise.
16731 * sysdeps/s390/s390-64/configure: Likewise.
16732 * sysdeps/sh/configure: Likewise.
16733 * sysdeps/sparc/configure: Likewise.
16734 * sysdeps/unix/sysv/linux/configure: Likewise.
16735 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16736 * sysdeps/x86_64/configure: Likewise.
16737 * sysdeps/x86_64/preconfigure: Likewise.
16739 2013-10-29 Andreas Schwab <schwab@suse.de>
16741 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16743 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16745 * benchtests/pow-inputs: Add new inputs.
16747 * benchtests/exp-inputs: Add new inputs.
16749 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16750 conditional check for return value.
16751 (__cos32): Likewise.
16753 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16755 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16756 to provide a boost for large inputs with word alignment.
16757 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16758 implementation based on optimized PPC64 strcpy.
16759 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16760 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16761 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16762 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16764 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16767 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16769 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16772 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16773 * time/tst-strptime.c (day_tests): Add testcase.
16775 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16778 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16780 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16783 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16784 MAP_FAILED on error.
16786 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16789 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16790 heap for large requests.
16792 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16795 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16796 result if the result has no associated interface.
16797 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16798 interface for all 127.X.Y.Z addresses.
16800 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
16802 * locale/iso-639.def: Add Ligurian (lij)
16804 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
16807 * sunrpc/rpc_main.c: Document rpcgen -5.
16809 2013-10-19 Michael Stahl <mstahl@redhat.com>
16811 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16813 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16816 * posix/glob.c: Match only directories when trailing slash is present.
16817 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16818 (main): Add testcase.
16820 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16823 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16825 2013-10-18 Carlos O'Donell <carlos@redhat.com>
16827 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16828 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16829 AUTH_DES and cindex for FIPS 140-2.
16830 (DES Encryption): Add cindex FIPS 46-3.
16832 * locale/locarchive.h (struct locarhandle): Add fname.
16833 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16834 if an optional argument was specified to --list-archive,
16836 * locale/programs/locarchive.c (show_archive_content): Take new
16837 argument fname and pass it via ah.fname to open_archive.
16838 * locale/programs/localedef.h: Update decl.
16839 (open_archive): If AH->fname is non-null, open that file
16840 rather than the default file name, and don't ignore ENOENT.
16841 (create_archive): Set AH.fname to NULL.
16842 (delete_locales_from_archive): Likewise.
16843 (add_locales_to_archive): Likewise.
16844 * locale/programs/locfile.c (write_all_categories): Likewise.
16846 2013-10-18 Joseph Myers <joseph@codesourcery.com>
16847 Aldy Hernandez <aldyh@redhat.com>
16849 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16850 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16851 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16852 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16853 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16854 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16855 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16856 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16857 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16858 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16859 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16860 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16861 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16862 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16863 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16865 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16867 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16869 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16871 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16872 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16874 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16875 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16876 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16877 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16879 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16880 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16881 * sysdeps/powerpc/preconfigure: Likewise.
16882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16884 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16885 Replace contents of file by #include of <fenv_libc.h>.
16886 * sysdeps/powerpc/soft-fp/sfp-machine.h
16887 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16889 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16890 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16891 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16892 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16893 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16894 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16896 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16897 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16898 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16899 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16900 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16902 Allow copysignl PLT reference to be missing.
16904 2013-10-18 Richard Sandiford <richard@codesourcery.com>
16905 Joseph Myers <joseph@codesourcery.com
16908 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16910 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16912 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16914 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16915 * elf/tst-tls1.c: Likewise.
16916 * elf/tst-tls10.h: Likewise.
16917 * elf/tst-tls14.c: Likewise.
16918 * elf/tst-tls2.c: Likewise.
16919 * elf/tst-tls3.c: Likewise.
16920 * elf/tst-tls4.c: Likewise.
16921 * elf/tst-tls5.c: Likewise.
16922 * elf/tst-tls6.c: Likewise.
16923 * elf/tst-tls7.c: Likewise.
16924 * elf/tst-tls8.c: Likewise.
16925 * elf/tst-tls9.c: Likewise.
16926 * elf/tst-tlsmod1.c: Likewise.
16927 * elf/tst-tlsmod13.c: Likewise.
16928 * elf/tst-tlsmod13a.c: Likewise.
16929 * elf/tst-tlsmod14a.c: Likewise.
16930 * elf/tst-tlsmod16a.c: Likewise.
16931 * elf/tst-tlsmod16b.c: Likewise.
16932 * elf/tst-tlsmod2.c: Likewise.
16933 * elf/tst-tlsmod3.c: Likewise.
16934 * elf/tst-tlsmod4.c: Likewise.
16935 * elf/tst-tlsmod5.c: Likewise.
16936 * elf/tst-tlsmod6.c: Likewise.
16938 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
16941 * malloc/malloc.c: remove checks for statistics.
16943 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16946 * inet/inet_net.c (inet_network): Detect additional invalid strings.
16947 * inet/tst-network.c: Add testcase.
16949 2013-10-17 Andreas Schwab <schwab@suse.de>
16952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16953 to determine canonical name.
16955 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
16957 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16958 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16960 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16962 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16963 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16964 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16965 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16966 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16967 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16968 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16969 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16970 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16971 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16972 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16974 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16975 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16976 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16977 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16979 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16980 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16981 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16982 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16983 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16984 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16985 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16986 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16987 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16989 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16990 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16991 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16992 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16993 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16994 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16995 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16996 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16997 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16998 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16999 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17000 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17001 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17002 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17003 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17004 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17005 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17006 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17007 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17008 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17009 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17010 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17011 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17012 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17014 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17016 2013-10-17 Joseph Myers <joseph@codesourcery.com>
17019 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17020 make result into a quiet NaN.
17022 2013-10-16 Joseph Myers <joseph@codesourcery.com>
17024 * soft-fp/adddf3.c: Fix horizontal whitespace.
17025 * soft-fp/addsf3.c: Likewise.
17026 * soft-fp/addtf3.c: Likewise.
17027 * soft-fp/divdf3.c: Likewise.
17028 * soft-fp/divsf3.c: Likewise.
17029 * soft-fp/divtf3.c: Likewise.
17030 * soft-fp/double.h: Likewise.
17031 * soft-fp/eqdf2.c: Likewise.
17032 * soft-fp/eqsf2.c: Likewise.
17033 * soft-fp/eqtf2.c: Likewise.
17034 * soft-fp/extenddftf2.c: Likewise.
17035 * soft-fp/extended.h: Likewise.
17036 * soft-fp/extendsfdf2.c: Likewise.
17037 * soft-fp/extendsftf2.c: Likewise.
17038 * soft-fp/extendxftf2.c: Likewise.
17039 * soft-fp/fixdfdi.c: Likewise.
17040 * soft-fp/fixdfsi.c: Likewise.
17041 * soft-fp/fixdfti.c: Likewise.
17042 * soft-fp/fixsfdi.c: Likewise.
17043 * soft-fp/fixsfsi.c: Likewise.
17044 * soft-fp/fixsfti.c: Likewise.
17045 * soft-fp/fixtfdi.c: Likewise.
17046 * soft-fp/fixtfsi.c: Likewise.
17047 * soft-fp/fixtfti.c: Likewise.
17048 * soft-fp/fixunsdfdi.c: Likewise.
17049 * soft-fp/fixunsdfsi.c: Likewise.
17050 * soft-fp/fixunsdfti.c: Likewise.
17051 * soft-fp/fixunssfdi.c: Likewise.
17052 * soft-fp/fixunssfsi.c: Likewise.
17053 * soft-fp/fixunssfti.c: Likewise.
17054 * soft-fp/fixunstfdi.c: Likewise.
17055 * soft-fp/fixunstfsi.c: Likewise.
17056 * soft-fp/fixunstfti.c: Likewise.
17057 * soft-fp/floatdidf.c: Likewise.
17058 * soft-fp/floatdisf.c: Likewise.
17059 * soft-fp/floatditf.c: Likewise.
17060 * soft-fp/floatsidf.c: Likewise.
17061 * soft-fp/floatsisf.c: Likewise.
17062 * soft-fp/floatsitf.c: Likewise.
17063 * soft-fp/floattidf.c: Likewise.
17064 * soft-fp/floattisf.c: Likewise.
17065 * soft-fp/floattitf.c: Likewise.
17066 * soft-fp/floatundidf.c: Likewise.
17067 * soft-fp/floatundisf.c: Likewise.
17068 * soft-fp/floatunditf.c: Likewise.
17069 * soft-fp/floatunsidf.c: Likewise.
17070 * soft-fp/floatunsisf.c: Likewise.
17071 * soft-fp/floatunsitf.c: Likewise.
17072 * soft-fp/floatuntidf.c: Likewise.
17073 * soft-fp/floatuntisf.c: Likewise.
17074 * soft-fp/floatuntitf.c: Likewise.
17075 * soft-fp/fmadf4.c: Likewise.
17076 * soft-fp/fmasf4.c: Likewise.
17077 * soft-fp/fmatf4.c: Likewise.
17078 * soft-fp/gedf2.c: Likewise.
17079 * soft-fp/gesf2.c: Likewise.
17080 * soft-fp/getf2.c: Likewise.
17081 * soft-fp/ledf2.c: Likewise.
17082 * soft-fp/lesf2.c: Likewise.
17083 * soft-fp/letf2.c: Likewise.
17084 * soft-fp/muldf3.c: Likewise.
17085 * soft-fp/mulsf3.c: Likewise.
17086 * soft-fp/multf3.c: Likewise.
17087 * soft-fp/negdf2.c: Likewise.
17088 * soft-fp/negsf2.c: Likewise.
17089 * soft-fp/negtf2.c: Likewise.
17090 * soft-fp/op-1.h: Likewise.
17091 * soft-fp/op-2.h: Likewise.
17092 * soft-fp/op-4.h: Likewise.
17093 * soft-fp/op-8.h: Likewise.
17094 * soft-fp/op-common.h: Likewise.
17095 * soft-fp/quad.h: Likewise.
17096 * soft-fp/single.h: Likewise.
17097 * soft-fp/soft-fp.h: Likewise.
17098 * soft-fp/sqrtdf2.c: Likewise.
17099 * soft-fp/sqrtsf2.c: Likewise.
17100 * soft-fp/sqrttf2.c: Likewise.
17101 * soft-fp/subdf3.c: Likewise.
17102 * soft-fp/subsf3.c: Likewise.
17103 * soft-fp/subtf3.c: Likewise.
17104 * soft-fp/truncdfsf2.c: Likewise.
17105 * soft-fp/trunctfdf2.c: Likewise.
17106 * soft-fp/trunctfsf2.c: Likewise.
17107 * soft-fp/trunctfxf2.c: Likewise.
17108 * soft-fp/unorddf2.c: Likewise.
17109 * soft-fp/unordsf2.c: Likewise.
17110 * soft-fp/unordtf2.c: Likewise.
17112 2013-10-15 Joseph Myers <joseph@codesourcery.com>
17114 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17115 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17117 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
17119 * elf/dl-libc.c: Clear initfini list after freeing.
17121 2013-10-14 Joseph Myers <joseph@codesourcery.com>
17123 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17124 * soft-fp/addsf3.c: Likewise.
17125 * soft-fp/addtf3.c: Likewise.
17126 * soft-fp/divdf3.c: Likewise.
17127 * soft-fp/divsf3.c: Likewise.
17128 * soft-fp/divtf3.c: Likewise.
17129 * soft-fp/double.h: Likewise.
17130 * soft-fp/eqdf2.c: Likewise.
17131 * soft-fp/eqsf2.c: Likewise.
17132 * soft-fp/eqtf2.c: Likewise.
17133 * soft-fp/extenddftf2.c: Likewise.
17134 * soft-fp/extended.h: Likewise.
17135 * soft-fp/extendsfdf2.c: Likewise.
17136 * soft-fp/extendsftf2.c: Likewise.
17137 * soft-fp/extendxftf2.c: Likewise.
17138 * soft-fp/fixdfdi.c: Likewise.
17139 * soft-fp/fixdfsi.c: Likewise.
17140 * soft-fp/fixdfti.c: Likewise.
17141 * soft-fp/fixsfdi.c: Likewise.
17142 * soft-fp/fixsfsi.c: Likewise.
17143 * soft-fp/fixsfti.c: Likewise.
17144 * soft-fp/fixtfdi.c: Likewise.
17145 * soft-fp/fixtfsi.c: Likewise.
17146 * soft-fp/fixtfti.c: Likewise.
17147 * soft-fp/fixunsdfdi.c: Likewise.
17148 * soft-fp/fixunsdfsi.c: Likewise.
17149 * soft-fp/fixunsdfti.c: Likewise.
17150 * soft-fp/fixunssfdi.c: Likewise.
17151 * soft-fp/fixunssfsi.c: Likewise.
17152 * soft-fp/fixunssfti.c: Likewise.
17153 * soft-fp/fixunstfdi.c: Likewise.
17154 * soft-fp/fixunstfsi.c: Likewise.
17155 * soft-fp/fixunstfti.c: Likewise.
17156 * soft-fp/floatdidf.c: Likewise.
17157 * soft-fp/floatdisf.c: Likewise.
17158 * soft-fp/floatditf.c: Likewise.
17159 * soft-fp/floatsidf.c: Likewise.
17160 * soft-fp/floatsisf.c: Likewise.
17161 * soft-fp/floatsitf.c: Likewise.
17162 * soft-fp/floattidf.c: Likewise.
17163 * soft-fp/floattisf.c: Likewise.
17164 * soft-fp/floattitf.c: Likewise.
17165 * soft-fp/floatundidf.c: Likewise.
17166 * soft-fp/floatundisf.c: Likewise.
17167 * soft-fp/floatunsidf.c: Likewise.
17168 * soft-fp/floatunsisf.c: Likewise.
17169 * soft-fp/floatuntidf.c: Likewise.
17170 * soft-fp/floatuntisf.c: Likewise.
17171 * soft-fp/floatuntitf.c: Likewise.
17172 * soft-fp/fmadf4.c: Likewise.
17173 * soft-fp/fmasf4.c: Likewise.
17174 * soft-fp/fmatf4.c: Likewise.
17175 * soft-fp/gedf2.c: Likewise.
17176 * soft-fp/gesf2.c: Likewise.
17177 * soft-fp/getf2.c: Likewise.
17178 * soft-fp/ledf2.c: Likewise.
17179 * soft-fp/lesf2.c: Likewise.
17180 * soft-fp/letf2.c: Likewise.
17181 * soft-fp/muldf3.c: Likewise.
17182 * soft-fp/mulsf3.c: Likewise.
17183 * soft-fp/multf3.c: Likewise.
17184 * soft-fp/negdf2.c: Likewise.
17185 * soft-fp/negsf2.c: Likewise.
17186 * soft-fp/negtf2.c: Likewise.
17187 * soft-fp/op-1.h: Likewise.
17188 * soft-fp/op-2.h: Likewise.
17189 * soft-fp/op-4.h: Likewise.
17190 * soft-fp/op-8.h: Likewise.
17191 * soft-fp/op-common.h: Likewise.
17192 * soft-fp/quad.h: Likewise.
17193 * soft-fp/single.h: Likewise.
17194 * soft-fp/soft-fp.h: Likewise.
17195 * soft-fp/sqrtdf2.c: Likewise.
17196 * soft-fp/sqrtsf2.c: Likewise.
17197 * soft-fp/sqrttf2.c: Likewise.
17198 * soft-fp/subdf3.c: Likewise.
17199 * soft-fp/subsf3.c: Likewise.
17200 * soft-fp/subtf3.c: Likewise.
17201 * soft-fp/truncdfsf2.c: Likewise.
17202 * soft-fp/trunctfdf2.c: Likewise.
17203 * soft-fp/trunctfsf2.c: Likewise.
17204 * soft-fp/trunctfxf2.c: Likewise.
17205 * soft-fp/unorddf2.c: Likewise.
17206 * soft-fp/unordsf2.c: Likewise.
17207 * soft-fp/unordtf2.c: Likewise.
17209 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
17212 * misc/error.c (error_tail): Fix possible buffer overflow.
17214 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17217 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17220 2013-10-14 P. J. McDermott <pj@pehjota.net>
17223 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17224 testing pipefail option.
17226 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17228 * soft-fp/double.h: Indent preprocessor directives inside #if.
17229 * soft-fp/extended.h: Likewise.
17230 * soft-fp/op-2.h: Likewise.
17231 * soft-fp/op-4.h: Likewise.
17232 * soft-fp/op-common.h: Likewise.
17233 * soft-fp/quad.h: Likewise.
17234 * soft-fp/single.h: Likewise.
17235 * soft-fp/soft-fp.h: Likewise.
17237 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17239 * iconv/iconv_prog.c: Fix typos.
17240 * stdio-common/psiginfo-data.h: Likewise.
17242 2013-10-12 Reuben Thomas <rrt@sc3d.org>
17245 * locale/setlocale.c: Fix typo.
17247 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17250 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17251 signaling NaN arguments.
17252 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17253 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17256 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17257 unordered operands.
17258 * soft-fp/gesf2.c (__gesf2): Likewise.
17259 * soft-fp/getf2.c (__getf2): Likewise.
17260 * soft-fp/ledf2.c (__ledf2): Likewise.
17261 * soft-fp/lesf2.c (__lesf2): Likewise.
17262 * soft-fp/letf2.c (__letf2): Likewise.
17264 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17265 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17266 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17267 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17268 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17269 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17270 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17271 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17272 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17273 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17274 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17275 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17276 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17277 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17278 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17279 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17280 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17281 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17282 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17283 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17284 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17285 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17286 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17287 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17288 * soft-fp/floattidf.c (__floattidf): Likewise.
17289 * soft-fp/floattisf.c (__floattisf): Likewise.
17290 * soft-fp/floattitf.c (__floattitf): Likewise.
17291 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17292 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17293 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17294 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17295 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17296 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17297 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17298 * soft-fp/gesf2.c (__gesf2): Likewise.
17299 * soft-fp/getf2.c (__getf2): Likewise.
17300 * soft-fp/ledf2.c (__ledf2): Likewise.
17301 * soft-fp/lesf2.c (__lesf2): Likewise.
17302 * soft-fp/letf2.c (__letf2): Likewise.
17304 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17305 Undefine and redefine.
17306 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17307 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17308 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17309 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17310 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17311 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17312 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17313 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17314 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17315 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17316 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17317 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17318 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17319 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17320 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17323 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17324 without decrementing exponent if mantissa >= that for the
17325 denominator, not >.
17326 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17327 denominator, not >. Decrement exponent in < case instead of
17328 incrementing in >= case.
17329 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17330 without decrementing exponent if mantissa >= that for the
17331 denominator, not >.
17333 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17334 computing saturated result for unsigned overflow.
17336 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17337 Jeff Law <law@redhat.com>
17339 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17340 (atan2Mp): Add systemtap probe marker.
17341 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17342 (__ieee754_log): Add systemtap probe marker.
17343 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17344 (atanMp): Add systemtap probe marker.
17345 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17346 (tanMp): Add systemtap probe marker.
17347 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17348 (__slowexp): Add systemtap probe marker.
17349 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17350 (__slowpow): Add systemtap probe marker.
17351 * manual/probes.texi: Document probes.
17353 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
17356 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17358 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17360 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17361 written to buffer but not flushed.
17362 * libio/iofwrite_u.c: Likewise.
17363 * libio/iopadn.c: Return bytes returned even if EOF was
17365 * libio/iowpadn.c: Likewise.
17366 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17367 if _IO_padn does not write the whole buffer.
17368 [!COMPILE_WPRINTF] (PAD): Likewise.
17370 2013-10-10 David S. Miller <davem@davemloft.net>
17372 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17375 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17377 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17378 instead of FSF address.
17379 * soft-fp/fixdfti.c: Likewise.
17380 * soft-fp/fixsfti.c: Likewise.
17381 * soft-fp/fixtfti.c: Likewise.
17382 * soft-fp/fixunsdfti.c: Likewise.
17383 * soft-fp/fixunssfti.c: Likewise.
17384 * soft-fp/fixunstfti.c: Likewise.
17385 * soft-fp/floattidf.c: Likewise.
17386 * soft-fp/floattisf.c: Likewise.
17387 * soft-fp/floattitf.c: Likewise.
17388 * soft-fp/floatuntidf.c: Likewise.
17389 * soft-fp/floatuntisf.c: Likewise.
17390 * soft-fp/floatuntitf.c: Likewise.
17391 * soft-fp/trunctfxf2.c: Likewise.
17393 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17394 * soft-fp/fixdfti.c: Likewise.
17395 * soft-fp/fixsfti.c: Likewise.
17396 * soft-fp/fixtfti.c: Likewise.
17397 * soft-fp/fixunsdfti.c: Likewise.
17398 * soft-fp/fixunssfti.c: Likewise.
17399 * soft-fp/fixunstfti.c: Likewise.
17400 * soft-fp/floattidf.c: Likewise.
17401 * soft-fp/floattisf.c: Likewise.
17402 * soft-fp/floattitf.c: Likewise.
17403 * soft-fp/floatuntidf.c: Likewise.
17404 * soft-fp/floatuntisf.c: Likewise.
17405 * soft-fp/floatuntitf.c: Likewise.
17406 * soft-fp/trunctfxf2.c: Likewise.
17408 2013-10-10 David S. Miller <davem@davemloft.net>
17410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17412 2013-10-10 Joseph Myers <joseph@codsourcery.com>
17414 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17415 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17416 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17417 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17418 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17419 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17420 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17422 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17423 for NaNs before doing comparisons on argument.
17424 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17427 2013-10-10 Will Newton <will.newton@linaro.org>
17429 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17430 passed to _int_memalign does not overflow.
17432 2013-10-10 Torvald Riegel <triegel@redhat.com>
17434 * scripts/bench.pl: Add include-sources directive.
17435 * benchtests/README: Update documentation.
17437 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17439 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17440 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17441 instead of FP_INIT_ROUNDMODE.
17442 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17443 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17446 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17447 copy class of input value.
17448 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17449 not handle exceptions.
17450 * soft-fp/negsf2.c (__negsf2): Likewise.
17451 * soft-fp/negtf2.c (__negtf2): Likewise.
17452 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17454 2013-10-09 Joseph Myers <joseph@codesourcery.com>
17456 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17457 semicolon. From Linux kernel.
17459 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17461 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17463 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17466 * manual/socket.texi: Added statement about buffer
17467 for gethostbyname2_r.
17469 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
17471 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17472 Use .p2align directive instead, throughout.
17473 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17474 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17475 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17476 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17477 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17478 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17479 * sysdeps/x86_64/strchr.S: Likewise.
17480 * sysdeps/x86_64/strrchr.S: Likewise.
17482 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17484 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17486 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17488 * sysdeps/generic/math_private.h (__mpsin1): Remove
17490 (__mpcos1): Likewise.
17491 (__mpsin): New argument __range_reduce.
17492 (__mpcos): Likewise.
17493 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17494 (slow): Use __mpsin and __mpcos.
17498 (sloww1): Likewise.
17499 (sloww2): Likewise.
17500 (bsloww): Likewise.
17501 (bsloww1): Likewise.
17502 (bsloww2): Likewise.
17503 (cslow2): Likewise.
17504 (csloww): Likewise.
17505 (csloww1): Likewise.
17506 (csloww2): Likewise.
17507 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17508 range_reduce. Merge in __mpsin1.
17509 (__mpcos): Likewise.
17510 (__mpsin1): Remove.
17511 (__mpcos1): Likewise.
17513 2013-10-07 Joseph Myers <joseph@codesourcery.com>
17515 * locale/loadlocale.c (_nl_intern_locale_data): Use
17517 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17518 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17519 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17520 obstack data is appropriately aligned.
17521 (obstack_int32_grow_fast): Likewise.
17522 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17523 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17524 (add_locale_uint32_array): Likewise.
17526 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17528 * benchtests/Makefile: Remove ARGLIST and RET variables.
17529 ($(objpfx)bench-%.c): Pass only function name to the script.
17530 * benchtests/README: Update documentation.
17531 * benchtests/acos-inputs: Add new directives.
17532 * benchtests/acosh-inputs: Likewise.
17533 * benchtests/asin-inputs: Likewise.
17534 * benchtests/asinh-inputs: Likewise.
17535 * benchtests/atan-inputs: Likewise.
17536 * benchtests/atanh-inputs: Likewise.
17537 * benchtests/cos-inputs: Likewise.
17538 * benchtests/cosh-inputs: Likewise.
17539 * benchtests/exp-inputs: Likewise.
17540 * benchtests/log-inputs: Likewise.
17541 * benchtests/pow-inputs: Likewise.
17542 * benchtests/rint-inputs: Likewise.
17543 * benchtests/sin-inputs: Likewise.
17544 * benchtests/sinh-inputs: Likewise.
17545 * benchtests/tan-inputs: Likewise.
17546 * benchtests/tanh-inputs: Likewise.
17547 * scripts/bench.pl: Add support for new directives.
17549 2013-10-07 Alan Modra <amodra@gmail.com>
17551 * README: Fix careless merge.
17553 2013-10-05 Alan Modra <amodra@gmail.com>
17555 * NEWS: Mention powerpc64le support and bugs fixed.
17556 * README: Both big-endian and little-endian powerpc64 supported.
17558 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17560 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17561 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17562 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17563 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17565 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17567 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17570 2013-10-04 Joseph Myers <joseph@codesourcery.com>
17572 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17573 Move -mhard-float appending from
17574 ports/sysdeps/powerpc/powerpc32/Makefile.
17575 [$(with-fp) = yes] (ASFLAGS): Likewise.
17576 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17577 * sysdeps/powerpc/nofpu: Move directory from
17578 ports/sysdeps/powerpc/nofpu.
17579 * sysdeps/powerpc/soft-fp: Move directory from
17580 ports/sysdeps/powerpc/soft-fp.
17581 * sysdeps/powerpc/powerpc32/405: Move directory from
17582 ports/sysdeps/powerpc/powerpc32/405.
17583 * sysdeps/powerpc/powerpc32/440: Move directory from
17584 ports/sysdeps/powerpc/powerpc32/440.
17585 * sysdeps/powerpc/powerpc32/464: Move directory from
17586 ports/sysdeps/powerpc/powerpc32/464.
17587 * sysdeps/powerpc/powerpc32/476: Move directory from
17588 ports/sysdeps/powerpc/powerpc32/476.
17589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17590 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17592 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17594 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17596 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17598 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17599 * README: Update for powerpc-*-linux-gnu software floating point
17602 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17603 case to powerpc/powerpc32*.
17604 * sysdeps/unix/sysv/linux/configure: Regenerated.
17606 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17607 (_FPU_MASK_OM): Define as 0x04.
17608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17616 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17619 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17622 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17623 and setcontext_e500.
17625 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17627 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17629 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17631 * manual/threads.texi (Default Thread Attributes): Fix typo.
17633 2013-10-04 Will Newton <will.newton@linaro.org>
17635 * malloc/Makefile: Add tst-memalign.
17636 * malloc/tst-memalign.c: New file.
17638 * malloc/tst-posix_memalign.c: Add comments.
17639 (do_test): Add comments and call free on all potentially
17640 allocated pointers. Add space after cast.
17642 * malloc/tst-pvalloc.c: Add comments.
17643 (do_test): Add comments and call free on all potentially
17644 allocated pointers. Remove duplicate check for NULL pointer.
17645 Add space after cast.
17647 * malloc/tst-valloc.c: Add comments.
17648 (do_test): Add comments and call free on all potentially
17649 allocated pointers. Remove duplicate check for NULL pointer.
17650 Add space after cast.
17652 2013-10-04 Alan Modra <amodra@gmail.com>
17654 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17655 Use stdint types in rather than __attribute__((mode())).
17656 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17658 2013-10-04 Alan Modra <amodra@gmail.com>
17660 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17661 Correct handling of unaligned relocs for little-endian.
17662 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17664 2013-10-04 Alan Modra <amodra@gmail.com>
17666 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17667 * configure: Regenerate.
17668 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17669 * shlib-versions: Likewise.
17671 2013-10-04 Alan Modra <amodra@gmail.com>
17673 * string/tester.c (test_memrchr): Increment reported test cycle.
17675 2013-10-04 Alan Modra <amodra@gmail.com>
17677 * string/test-memcpy.c (do_one_test): When reporting errors, print
17678 string address and don't overrun end of string.
17680 2013-10-04 Alan Modra <amodra@gmail.com>
17682 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17683 insrdi. Make better use of reg selection to speed exit slightly.
17684 Schedule entry path a little better. Remove useless "are we done"
17685 checks on entry to main loop. Handle wrapping around zero address.
17686 Correct main loop count. Handle single left-over word from main
17687 loop inline rather than by using loop_small. Remove extra word
17688 case in loop_small caused by wrong loop count. Add little-endian
17690 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17693 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17694 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17695 support. Avoid rlwimi.
17696 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17698 2013-10-04 Alan Modra <amodra@gmail.com>
17700 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
17701 insrdi. Formatting.
17702 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17703 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17704 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17705 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17706 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17707 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17709 2013-10-04 Alan Modra <amodra@gmail.com>
17711 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17712 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17713 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17714 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17715 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17716 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17717 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17718 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17719 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17720 use of regs. Use power7 mtocrf. Tidy function tails.
17722 2013-10-04 Alan Modra <amodra@gmail.com>
17724 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17725 Formatting. Consistently use rXXX register defines or rN defines.
17726 Use early exit labels that avoid restoring unused non-volatile regs.
17727 Make cr field use more consistent with rWORDn compares. Rename
17728 regs used as shift registers for unaligned loop, using rN defines
17729 for short lifetime/multiple use regs.
17730 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17731 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17732 addi 1,1,64 to pop stack frame. Simplify return value code.
17733 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17735 2013-10-04 Alan Modra <amodra@gmail.com>
17737 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17738 support. Correct typos, formatting. Optimize tail. Use insrdi
17739 rather than rlwimi.
17740 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17741 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17742 little-endian support. Correct typos.
17743 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17744 rather than rlwimi.
17745 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17746 in loop and entry code to keep "and." results.
17747 (strchr): Add little-endian support. Comment. Move cntlzd
17749 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17751 2013-10-04 Alan Modra <amodra@gmail.com>
17753 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17754 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17755 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17756 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17758 2013-10-04 Alan Modra <amodra@gmail.com>
17760 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17761 (rTMP): Define as r11.
17762 (strcmp): Add little-endian support. Optimise tail.
17763 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17764 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17765 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17766 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17767 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17768 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17769 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17771 2013-10-04 Alan Modra <amodra@gmail.com>
17773 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17774 little-endian support. Remove unnecessary "are we done" tests.
17775 Handle "s" wrapping around zero and extremely large "size".
17776 Correct main loop count. Handle single left-over word from main
17777 loop inline rather than by using small_loop. Correct comments.
17778 Delete "zero" tail, use "end_max" instead.
17779 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17781 2013-10-04 Alan Modra <amodra@gmail.com>
17783 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17784 support. Don't branch over align.
17785 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17786 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17787 support. Rearrange tmp reg use to suit. Comment.
17788 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17790 2013-10-04 Alan Modra <amodra@gmail.com>
17792 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17794 2013-10-04 Alan Modra <amodra@gmail.com>
17796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17797 conditional form of branch and link when obtaining pc.
17798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17800 2013-10-04 Alan Modra <amodra@gmail.com>
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17807 2013-10-04 Alan Modra <amodra@gmail.com>
17809 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17810 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17811 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17812 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17813 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17814 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17815 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17816 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17817 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17818 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17820 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17821 Alistair Popple <alistair@ozlabs.au.ibm.com>
17822 Alan Modra <amodra@gmail.com>
17825 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17826 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17827 _dl_hwcap access for little-endian.
17828 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17829 destroy vmx regs when saving unaligned.
17830 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17831 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17832 destroy vmx regs when saving unaligned.
17834 2013-10-04 Alan Modra <amodra@gmail.com>
17836 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17837 Don't use a union to pack hi/low value.
17839 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17841 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17843 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17844 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17845 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17846 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17847 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17849 2013-10-04 Alan Modra <amodra@gmail.com>
17851 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17852 constants to usual value for .cst8 section, and remove redundant
17854 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17855 constant for 0x1p52. Load little-endian words of double from
17856 correct stack offsets.
17858 2013-10-04 Alan Modra <amodra@gmail.com>
17860 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17861 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17862 words of double from correct stack offsets.
17863 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17864 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17865 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17866 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17867 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17868 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17869 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17870 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17871 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17872 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17873 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17874 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17875 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17876 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17877 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17878 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17879 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17881 2013-10-04 Alan Modra <amodra@gmail.com>
17883 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17884 64-bit int/double union.
17885 (_FPU_SETCW): Likewise.
17886 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17887 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17889 2013-10-04 Alan Modra <amodra@gmail.com>
17891 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17892 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17894 2013-10-04 Alan Modra <amodra@gmail.com>
17896 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17897 use vector int constants.
17898 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17900 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17902 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17903 array with long long.
17904 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17905 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17906 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17907 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17908 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17909 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17910 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17911 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17912 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17913 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17914 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17915 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17916 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17918 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17920 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17921 (__signbit): Likewise. Correct for little-endian.
17922 (__signbitl): Call __signbit.
17923 (lrint): Correct for little-endian.
17924 (lrintf): Call lrint.
17926 2013-10-04 Alan Modra <amodra@gmail.com>
17928 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17929 union 32-bit int array member with 64-bit int array.
17930 (t515, tm256): Double rather than long double.
17931 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17933 2013-10-04 Alan Modra <amodra@gmail.com>
17935 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17937 (IEEE854_LONG_DOUBLE_BIAS): Delete.
17938 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17939 version of math_ldbl.h.
17941 2013-10-04 Alan Modra <amodra@gmail.com>
17943 [BZ #15734], [BZ #15735]
17944 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17945 all uses of ieee875 long double macros and unions. Simplify test
17946 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
17947 ldbl_extract_mantissa value for ix,iy exponents. Properly
17948 normalize after ldbl_extract_mantissa, and don't add hidden bit
17949 already handled. Don't treat low word of ieee854 mantissa like
17950 low word of IBM long double and mask off bit when testing for
17952 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17953 all uses of ieee875 long double macros and unions. Simplify tests
17954 for 0.0L and inf. Correct double adjustment of k. Delete dead code
17955 adjusting ha,hb. Simplify code setting kld. Delete two600 and
17956 two1022, instead use their values. Recognise that tests for large
17957 "a" and small "b" are mutually exclusive. Rename vars. Comment.
17958 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17959 Rewrite all uses of ieee875 long double macros and unions. Simplify
17960 test for 0.0L and nan. Correct negation.
17961 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17962 ieee875 long double macros and unions. Correct output for large
17963 magnitude x. Correct absolute value calculation.
17964 (__erfcl): Likewise.
17965 * math/libm-test.inc: Add tests for errors discovered in IBM long
17966 double versions of fmodl, remainderl, erfl and erfcl.
17968 2013-10-04 Alan Modra <amodra@gmail.com>
17970 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17971 all uses of ieee854 long double macros and unions. Simplify tests
17972 for long doubles that are fully specified by the high double.
17973 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17975 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17976 Remove dead code too.
17977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17978 (__ieee754_ynl): Likewise.
17979 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17980 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17981 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17982 Remove dead code too.
17983 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17984 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17985 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17986 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17988 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17990 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17991 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17992 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17993 Comment on variable precision.
17994 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17995 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17997 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17998 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17999 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18000 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18001 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18003 2013-10-04 Alan Modra <amodra@gmail.com>
18005 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18007 all uses of ieee854 long double macros and unions.
18008 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18009 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18010 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18011 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18012 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18013 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18015 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18016 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18017 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18018 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18019 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18020 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18021 Simplify sign and nan test too.
18022 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18023 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18024 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18025 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18027 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18028 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18030 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18031 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18032 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18033 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18034 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18037 2013-10-04 Alan Modra <amodra@gmail.com>
18039 * stdio-common/printf_size.c (__printf_size): Don't use
18040 union ieee854_long_double in fpnum union.
18041 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18042 signbit macro to retrieve sign from long double.
18043 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18044 retrieve sign from long double.
18045 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18046 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18047 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18048 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18049 * math/test-misc.c (main): Don't use union ieee854_long_double.
18051 2013-10-04 Alan Modra <amodra@gmail.com>
18054 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18055 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18056 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18057 calculation. Remove unnecessary test for denormal exponent.
18058 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18059 Correct handling of denormals. Avoid undefined shift behaviour.
18060 Correct normalisation of low mantissa when low double is denormal.
18061 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18062 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18063 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18064 Correct normalisation of low mantissa. Test for overflow of high
18065 mantissa and normalise.
18066 (ldbl_nearbyint): Use more readable constant for two52.
18067 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18068 (__mpn_construct_long_double): Fix test for overflow of high
18069 mantissa and correct normalisation. Avoid undefined shift.
18071 2013-10-04 Alan Modra <amodra@gmail.com>
18073 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18074 (union ibm_extended_long_double): Define as an array of ieee754_double.
18075 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18076 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18077 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18078 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18079 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18080 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18081 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18082 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18083 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18084 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18085 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18087 2013-10-03 Joseph Myers <joseph@codesourcery.com>
18089 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18090 page size instead of calling getpagesize.
18092 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18093 (LOCFILE_ALIGN_MASK): Likewise.
18094 (LOCFILE_ALIGN_UP): Likewise.
18095 (LOCFILE_ALIGNED_P): Likewise.
18096 * locale/programs/ld-collate.c (collate_output): Use the new
18097 macros instead of __alignof__ (int32_t).
18098 * locale/weight.h (findidx): Likewise.
18100 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
18103 * manual/string.texi: Fix strncat and wcsncat.
18105 2013-10-03 Brooks Moses <bmoses@google.com>
18108 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18109 * Makerules: ...here, and adjust associated comments.
18111 2013-10-02 Will Newton <will.newton@linaro.org>
18113 * malloc/Makefile: Add tst-pvalloc.
18114 * malloc/tst-pvalloc.c: New file.
18116 2013-10-02 Will Newton <will.newton@linaro.org>
18118 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18119 improve test coverage.
18121 2013-10-02 Will Newton <will.newton@linaro.org>
18123 * malloc/Makefile: Add tst-posix_memalign.
18124 * malloc/tst-posix_memalign.c: New file.
18126 2013-10-01 Eric Blake <eblake@redhat.com>
18128 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18129 Use __THROWNL rather than __THROW on static functions.
18131 2013-09-30 Petr Machata <pmachata@redhat.com>
18133 * elf/elf.h (R_AARCH64_ABS16): New macro.
18134 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18135 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18136 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18137 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18138 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18139 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18140 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18141 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18142 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18143 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18144 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18145 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18146 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18147 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18148 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18149 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18150 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18151 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18152 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18153 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18154 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18155 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18156 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18157 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18158 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18159 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18160 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18161 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18162 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18163 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18164 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18165 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18166 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18167 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18168 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18169 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18170 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18171 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18172 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18173 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18174 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18175 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18176 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18177 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18178 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18179 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18180 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18181 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18182 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18183 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18184 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18185 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18186 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18187 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18188 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18189 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18190 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18191 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18192 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18193 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18194 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18195 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18196 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18197 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18198 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18199 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18200 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18201 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18202 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18203 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18204 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18205 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18206 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18207 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18208 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18209 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18210 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18211 (R_AARCH64_TLSDESC_LDR): Likewise.
18212 (R_AARCH64_TLSDESC_ADD): Likewise.
18213 (R_AARCH64_TLSDESC_CALL): Likewise.
18215 2013-09-30 Andreas Schwab <schwab@suse.de>
18218 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18219 the nss database lookup.
18220 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18223 2013-09-28 Mike Frysinger <vapier@gentoo.org>
18225 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18227 2013-09-28 P. J. McDermott <pj@pehjota.net>
18229 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18230 ${Bash-specific parameter/pattern/string} parameter expansion.
18231 * sysdeps/unix/make-syscalls.sh: Likewise.
18233 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18235 * sysdeps/sh/stackguard-macros.h: New file.
18237 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
18239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18241 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18242 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18243 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18244 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18246 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18248 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18249 Fix thread ID register.
18251 2013-09-25 Joseph Myers <joseph@codesourcery.com>
18253 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18254 [POSIX || UNIX98]: Require rather than permitting all symbols from
18256 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18257 element of struct sched_param.
18258 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18259 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18260 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18261 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18264 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18266 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18267 argument calculation.
18269 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18271 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18273 [POSIX] (pthread_attr_t): Do not require type.
18274 [POSIX] (pthread_cond_t): Likewise.
18275 [POSIX] (pthread_condattr_t): Likewise.
18276 [POSIX] (pthread_key_t): Likewise.
18277 [POSIX] (pthread_mutex_t): Likewise.
18278 [POSIX] (pthread_mutexattr_t): Likewise.
18279 [POSIX] (pthread_once_t): Likewise.
18280 [POSIX] (pthread_t): Likewise.
18281 [POSIX-based standards] (pthread_atfork): Expect function.
18283 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18284 Richard Sandiford <richard@codesourcery.com>
18286 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18287 (swap_endianness_p): New extern variable.
18288 (set_big_endian): New inline function.
18289 (maybe_swap_uint32): Likewise.
18290 (maybe_swap_uint32_array): Likewise.
18291 (maybe_swap_uint32_obstack): Likewise.
18292 * locale/programs/locfile.c: Include <stdbool.h>.
18293 (swap_endianness_p): New variable.
18294 (add_locale_uint32): Call maybe_swap_uint32.
18295 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18296 (write_locale_data): Call maybe_swap_uint32_array.
18297 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18299 (obstack_int32_grow_fast): Likewise.
18300 (output_weightwc): Call maybe_swap_uint32_obstack.
18301 (collate_output): Likewise.
18302 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18303 (OPT_LITTLE_ENDIAN): Likewise.
18304 (options): Add --little-endian and --big-endian options.
18305 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18306 * locale/programs/locarchive.c: Include "locfile.h".
18310 (create_archive): Use the new macros to access fields of
18311 structures directly mapped from or written to locale archives.
18312 (oldlocrecentcmp): Likewise.
18313 (enlarge_archive): Likewise.
18314 (insert_name): Likewise.
18315 (add_alias): Likewise.
18316 (add_locale): Likewise.
18317 (delete_locales_from_archive): Likewise.
18318 (show_archive_content): Likewise.
18319 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18322 2013-09-24 Roland McGrath <roland@hack.frob.com>
18324 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18325 http://www.gnu.org/doc/freemanuals.texi.
18326 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18328 2013-09-24 Will Newton <will.newton@linaro.org>
18330 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18333 2013-09-23 Joseph Myers <joseph@codesourcery.com>
18335 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18338 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18340 * manual/threads.texi (POSIX Threads): Fix a typo.
18342 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18345 * string/tst-strcoll-overflow.c: New test case.
18346 * string/Makefile (xtests): Add tst-strcoll-overflow.
18347 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18348 cache if string sizes may cause integer overflow.
18351 * string/strcoll_l.c (coll_seq): New members rule, idx,
18352 save_idx and back_us.
18353 (get_next_seq_nocache): New function.
18354 (do_compare_nocache): New function.
18355 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18358 2013-09-23 Carlos O'Donell <carlos@redhat.com>
18361 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18362 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18363 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18366 * elf/Makefile (tests): Add tst-ptrguard1.
18367 (tests-static): Add tst-ptrguard1-static.
18368 (tst-ptrguard1-ARGS): Define.
18369 (tst-ptrguard1-static-ARGS): Define.
18370 * elf/tst-ptrguard1.c: New file.
18371 * elf/tst-ptrguard1-static.c: New file.
18372 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18373 * sysdeps/i386/stackguard-macros.h: Likewise.
18374 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18375 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18376 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18377 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18378 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18379 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18381 2013-09-23 Hector Marco <hecmargi@upv.es>
18382 Ismael Ripoll <iripoll@disca.upv.es>
18383 Carlos O'Donell <carlos@redhat.com>
18386 * sysdeps/generic/stackguard-macros.h: Define
18387 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18388 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18389 Define __pointer_chk_guard_local.
18390 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18391 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18393 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18396 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18398 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18400 * include/string.h (__ffs): Declare as hidden.
18401 * string/ffs.c (__ffs): Define as hidden.
18402 * sysdeps/i386/ffs.c (__ffs): Likewise.
18403 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18404 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18405 * sysdeps/s390/ffs.c (__ffs): Likewise.
18406 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18408 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
18410 * NEWS: Mention malloc probes.
18412 * malloc/arena.c (new_heap): New memory_heap_new probe.
18413 (grow_heap): New memory_heap_more probe.
18414 (shrink_heap): New memory_heap_less probe.
18415 (heap_trim): New memory_heap_free probe.
18416 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18417 (systrim): New memory_sbrk_less probe.
18418 * manual/probes.texi: Document them.
18420 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18421 * manual/probes.texi: Document it.
18423 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18424 (__libc_realloc): Add memory_realloc_retry probe.
18425 (__libc_memalign): Add memory_memalign_retry probe.
18426 (__libc_valloc): Add memory_valloc_retry probe.
18427 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18428 (__libc_calloc): Add memory_calloc_retry probe.
18429 * manual/probes.texi: Document them.
18431 * malloc/arena.c (get_free_list): Add probe
18432 memory_arena_reuse_free_list.
18433 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18434 and memory_arena_reuse.
18435 (arena_get2) [!PER_THREAD]: Likewise.
18436 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18437 memory_arena_reuse_realloc.
18438 * manual/probes.texi: Document them.
18440 * malloc/malloc.c (__libc_free): Add
18441 memory_mallopt_free_dyn_thresholds probe.
18442 (__libc_mallopt): Add multiple memory_mallopt probes.
18443 * manual/probes.texi: Document them.
18445 * malloc/malloc.c: Include stap-probe.h.
18446 (__libc_mallopt): Add memory_mallopt probe.
18447 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18448 * manual/probes.texi: New.
18449 * manual/Makefile (chapters): Add probes.
18450 * manual/threads.texi: Set next node.
18452 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
18454 [BZ #15963, #13985]
18455 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18456 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18457 Add `Chinese' to `nan' entry name.
18459 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18461 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18462 (POLYNOMIAL): Likewise.
18463 (TAYLOR_SINCOS): Likewise.
18464 (TAYLOR_SLOW): Likewise.
18465 (__sin): Use TAYLOR_SINCOS.
18467 (slow): Use TAYLOR_SLOW.
18469 (bsloww): Likewise.
18470 (csloww): Likewise.
18472 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18474 * stdlib/strtod_l.c: Fix buffer overrun.
18476 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18478 * benchtests/Makefile (bench): Add sincos.
18479 * benchtests/bench-sincos.c: New file.
18481 * math/libm-test.inc (cos_test_data): New test inputs.
18482 (sin_test_data): Likewise.
18484 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18490 (sloww1): Likewise.
18491 (sloww2): Likewise.
18492 (bsloww1): Likewise.
18493 (bsloww2): Likewise.
18494 (cslow2): Likewise.
18495 (csloww1): Likewise.
18496 (csloww2): Likewise.
18498 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18503 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18507 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18509 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18510 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18511 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18512 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18513 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18514 * elf/cache.c (print_entry): Handle the new cache flags.
18516 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18517 Aldy Hernandez <aldyh@redhat.com>
18519 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18520 Change condition to [_SOFT_FLOAT].
18521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18526 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18533 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18536 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18539 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18541 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18542 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18543 (__longjmp): Use LOAD_GP to load saved GPRs.
18544 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18545 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18546 (__sigsetjmp): Use SAVE_GP to save GPRs.
18548 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18549 Do not append -msoft-float.
18550 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18552 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18554 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18556 2013-09-17 Joseph Myers <joseph@codesourcery.com>
18559 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18560 (_FPU_GETCW): Use initial "__" on variable and field names but not
18561 on macro parameter name.
18562 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18563 parentheses around reference to macro parameter.
18565 2013-09-13 Richard Sandiford <richard@codesourcery.com>
18567 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18569 (ctype_startup): Use uint32_t in cast and sizeof for
18572 2013-09-11 Jia Liu <proljc@gmail.com>
18574 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18576 [__FreeBSD__]: Likewise.
18578 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
18580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18581 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18582 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18583 (strchr): Remove __strchr_sse42 ifunc selection.
18584 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18585 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18587 2013-09-11 Will Newton <will.newton@linaro.org>
18589 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18590 parameter to RES. Remove hardcoded 1000 value.
18591 * benchtests/bench-skeleton.c (main): Pass RES parameter
18592 to TIMING_INIT and multiply result by 1000.
18594 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18598 2013-09-11 Andreas Schwab <schwab@suse.de>
18600 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18602 (O_TMPFILE) [__USE_GNU]: Define.
18603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18606 2013-09-11 Will Newton <will.newton@linaro.org>
18609 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18612 2013-09-11 Will Newton <will.newton@linaro.org>
18615 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18618 2013-09-11 Will Newton <will.newton@linaro.org>
18621 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18624 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
18626 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18627 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18628 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18629 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18630 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18632 2013-09-10 Allan McRae <allan@archlinux.org>
18635 * manual/arith.texi (Parsing of Floats): Clarify
18639 * manual/install.texi (Running make install): Mention
18641 * INSTALL: Regenerated.
18643 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18645 * csu/init-first.c (_init): Remove the !SHARED condition around
18646 FPU control word initialization.
18647 * elf/dl-support.c (_dl_fpu_control): New variable.
18648 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18649 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18650 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18651 * math/test-fpucw-static.c: New file.
18652 * math/test-fpucw-ieee.c: New file.
18653 * math/test-fpucw-ieee-static.c: New file.
18654 * math/Makefile (tests): Add `test-fpucw-ieee' and
18656 (tests-static): New variable.
18657 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18659 [($(build-shared),yes)]
18660 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18662 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18665 2013-09-09 Allan McRae <allan@archlinux.org>
18668 * manual/string.texi (Collation Functions): Fix typo in
18670 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18673 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18676 * libio/memstream.c (open_memstream): Fix memory leak.
18677 * libio/wmemstream.c (open_wmemstream): Likewise.
18680 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18682 2013-09-09 Will Newton <will.newton@linaro.org>
18684 * malloc/Makefile: Add tst-realloc to tests.
18685 * malloc/tst-realloc.c: New file.
18687 2013-09-09 Allan McRae <allan@archlinux.org>
18690 * COPYING: Update from GNU website to fix FSF address.
18691 * COPYING.LIB: Likewise.
18693 2013-09-06 David S. Miller <davem@davemloft.net>
18695 * po/zh_TW.po: Update Chinese (traditional) translation from
18696 translation project.
18698 2013-09-06 Richard Sandiford <richard@codesourcery.com>
18699 Joseph Myers <joseph@codesourcery.com>
18701 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18703 (obstack_chunk_alloc): New macro.
18704 (obstack_chunk_free): Likewise.
18705 (record_offset): New function.
18706 (init_locale_data): Likewise.
18707 (align_locale_data): Likewise.
18708 (add_locale_empty): Likewise.
18709 (add_locale_raw_data): Likewise.
18710 (add_locale_raw_obstack): Likewise.
18711 (add_locale_string): Likewise.
18712 (add_locale_wstring): Likewise.
18713 (add_locale_uint32): Likewise.
18714 (add_locale_uint32_array): Likewise.
18715 (add_locale_char): Likewise.
18716 (start_locale_structure): Likewise.
18717 (end_locale_structure): Likewise.
18718 (start_locale_prelude): Likewise.
18719 (end_locale_prelude): Likewise.
18720 (write_locale_data): Take locale_file structure rather than an
18722 * locale/programs/locfile.h: Include "obstack.h".
18723 (struct locale_file): Change to store locale file contents instead
18725 (init_locale_data): New prototype.
18726 (align_locale_data): Likewise.
18727 (add_locale_empty): Likewise.
18728 (add_locale_raw_data): Likewise.
18729 (add_locale_raw_obstack): Likewise.
18730 (add_locale_string): Likewise.
18731 (add_locale_wstring): Likewise.
18732 (add_locale_uint32): Likewise.
18733 (add_locale_uint32_array): Likewise.
18734 (add_locale_char): Likewise.
18735 (start_locale_structure): Likewise.
18736 (end_locale_structure): Likewise.
18737 (start_locale_prelude): Likewise.
18738 (end_locale_prelude): Likewise.
18739 (write_locale_data): Update prototype.
18740 * locale/programs/3level.h (struct TABLE): Remove result field.
18741 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18742 Use new locale_file interface.
18743 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18744 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18745 * locale/programs/ld-address.c (address_output): Use new
18746 locale_file interface.
18747 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18749 (collate_finish): Don't call collseq_table_finalize.
18750 (collate_output): Use new locale_file interface.
18751 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18753 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18754 (TABLE): Move defines earlier in file.
18755 (ELEMENT): Likewise.
18756 (DEFAULT): Likewise.
18757 (wctrans_table_add): Move macro and inline function earlier in
18759 (struct wctype_table): Move type earlier in file.
18760 (add_locale_wctype_table): New static prototype.
18761 (struct locale_ctype_t): Use logical types instead of struct iovec
18762 pointers for members.
18763 (ctype_output): Use new locale_file interface.
18764 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18765 new locale_file interface.
18766 (allocate_arrays): Update for use of new locale_file interface.
18767 * locale/programs/ld-identification.c (identification_output): Use
18768 new locale_file interface.
18769 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18770 * locale/programs/ld-messages.c (messages_output): Likewise.
18771 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18772 * locale/programs/ld-name.c (name_output): Likewise.
18773 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18774 * locale/programs/ld-paper.c (paper_output): Likewise.
18775 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18776 * locale/programs/ld-time.c (time_output): Likewise.
18778 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18780 * benchtests/Makefile: Add memrchr benchmark.
18781 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18782 benchmark as memrchr.
18783 * benchtests/bench-memrchr-ifunc.c: New file.
18784 * benchtests/bench-memrchr.c: New file.
18786 2013-09-06 Will Newton <will.newton@linaro.org>
18788 * benchtests/Makefile (string-bench): Add memcpy.
18790 2013-09-05 Carlos O'Donell <carlos@redhat.com>
18791 Cong Wang <amwang@redhat.com>
18794 * sysdeps/unix/sysv/linux/bits/in.h
18795 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18796 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18797 before __USE_KERNEL_IPV6_DEFS uses.
18798 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18800 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18801 sockaddr_in6, or ipv6_mreq.
18803 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18805 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18806 memory access for final bytes in some large inputs.
18807 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18809 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18811 * string/test-memrchr.c: New file.
18812 * string/test-memrchr-ifunc.c: New file.
18813 * string/Makefile: Add new memrchr testcase.
18815 2013-09-05 Mike Frysinger <vapier@gentoo.org>
18817 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18818 fanotify_init returns EPERM.
18820 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18822 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18824 (top level): Treat second token from macro or constant entries for
18825 allowed headers as allowed.
18826 * include/complex.h: Condition internal declarations on
18828 * include/fenv.h: Condition include of <stdbool.h> and internal
18829 declarations on [!_ISOMAC].
18831 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18834 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18836 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18838 * configure.in (--enable-versioning): Remove configure option.
18839 (libc_cv_asm_symver_directive): Remove configure test.
18840 (libc_cv_ld_version_script_option): Likewise.
18841 (VERSIONING): Remove variable and AC_SUBST.
18842 (DO_VERSIONING): Remove AC_DEFINE.
18843 * configure: Regenerated.
18844 * config.h.in (DO_VERSIONING): Remove macro.
18845 * Makerules [$(versioning) = yes]: Change conditionals to
18846 [$(build-shared) = yes].
18847 * config.make.in (versioning): Remove variable.
18848 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18849 [$(build-shared) = yes].
18850 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18851 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18852 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18853 [$(build-shared) = yes].
18854 * extra-lib.mk [$(versioning) = yes]: Likewise.
18855 * hurd/Makefile [$(versioning) = yes]: Likewise.
18856 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18858 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18860 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18861 [SHARED && !NO_HIDDEN].
18862 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18864 [SHARED && DO_VERSIONING]: Likewise..
18865 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18866 [$(build-shared) = yes].
18867 * manual/install.texi (--disable-versioning): Remove
18869 * INSTALL: Regenerated.
18870 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18872 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18873 [$(build-shared) = yes].
18874 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18875 * sysdeps/i386/i686/multiarch/strstr-c.c
18876 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18877 [SHARED && !NO_HIDDEN].
18878 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18879 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18880 * sysdeps/powerpc/powerpc32/dl-machine.c
18881 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18882 * sysdeps/powerpc/powerpc32/sysdep.h
18883 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18884 to [SHARED && PIC && !NO_HIDDEN].
18885 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18886 conditional to [SHARED].
18888 2013-09-04 Will Newton <will.newton@linaro.org>
18890 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18891 * benchtests/bench-string.h: Include bench-timing.h instead
18892 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18893 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18894 call to HP_TIMING_DIFF_INIT.
18895 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18896 instead of hp-timing.h macros.
18897 * benchtests/bench-memchr.c: Likewise.
18898 * benchtests/bench-memcmp.c: Likewise.
18899 * benchtests/bench-memcpy.c: Likewise.
18900 * benchtests/bench-memmem.c: Likewise.
18901 * benchtests/bench-memmove.c: Likewise.
18902 * benchtests/bench-memset.c: Likewise.
18903 * benchtests/bench-rawmemchr.c: Likewise.
18904 * benchtests/bench-strcasecmp.c: Likewise.
18905 * benchtests/bench-strcasestr.c: Likewise.
18906 * benchtests/bench-strcat.c: Likewise.
18907 * benchtests/bench-strchr.c: Likewise.
18908 * benchtests/bench-strcmp.c: Likewise.
18909 * benchtests/bench-strcpy.c: Likewise.
18910 * benchtests/bench-strcpy_chk.c: Likewise.
18911 * benchtests/bench-strlen.c: Likewise.
18912 * benchtests/bench-strncasecmp.c: Likewise.
18913 * benchtests/bench-strncat.c: Likewise.
18914 * benchtests/bench-strncmp.c: Likewise.
18915 * benchtests/bench-strncpy.c: Likewise.
18916 * benchtests/bench-strnlen.c: Likewise.
18917 * benchtests/bench-strpbrk.c: Likewise.
18918 * benchtests/bench-strrchr.c: Likewise.
18919 * benchtests/bench-strspn.c: Likewise.
18920 * benchtests/bench-strstr.c: Likewise.
18922 2013-09-04 Will Newton <will.newton@linaro.org>
18924 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18926 2013-09-03 Joseph Myers <joseph@codesourcery.com>
18929 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18930 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18931 * math/libm-test.inc (lgamma_test_data): Add more tests.
18932 * sysdeps/i386/fpu/libm-test-ulps: Update.
18933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18935 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
18937 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18941 Add strcmp-sse2-unaligned
18942 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18944 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18946 * Versions.def (libc): Add GLIBC_2.19.
18948 2013-09-02 Mike Frysinger <vapier@gentoo.org>
18950 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18951 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18953 2013-09-02 Joseph Myers <joseph@codesourcery.com>
18956 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18957 intermediate calculations in recurrence.
18958 (__ieee754_ynf): Likewise.
18959 * math/libm-test.inc (jn_test_data): Do not allow spurious
18960 underflow exception. Add more tests.
18961 (yn_test_data): Add more tests.
18962 * sysdeps/i386/fpu/libm-test-ulps: Update.
18963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18965 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
18967 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18969 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18971 * csu/init-first.c: Fix then/than typos.
18972 * locale/programs/ld-collate.c: Likewise.
18973 * locale/programs/linereader.h: Likewise.
18974 * manual/charset.texi: Likewise.
18975 * manual/filesys.texi: Likewise.
18976 * manual/stdio.texi: Likewise.
18977 * manual/string.texi: Likewise.
18978 * stdlib/fmtmsg.c: Likewise.
18979 * sysdeps/i386/stpncpy.S: Likewise.
18980 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18981 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18982 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18983 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18985 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
18987 * elf/dl-open.c: Fix typos.
18988 * iconvdata/gbbig5.c: Likewise.
18989 * iconvdata/iso-2022-jp.c: Likewise.
18990 * iconv/gconv_int.h: Likewise.
18991 * iconv/loop.c: Likewise.
18992 * nis/rpcsvc/nis.h: Likewise.
18993 * resolv/ns_name.c: Likewise.
18994 * stdio-common/vfscanf.c: Likewise.
18995 * streams/stropts.h: Likewise.
18996 * sunrpc/rpc_thread.c: Likewise.
18997 * sysdeps/i386/strpbrk.S: Likewise.
18998 * sysdeps/ieee754/k_standard.c: Likewise.
18999 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19000 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19001 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19002 * sysdeps/mach/hurd/profil.c: Likewise.
19003 * sysdeps/s390/dl-procinfo.h: Likewise.
19004 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19005 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19006 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19007 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19008 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19010 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19012 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19013 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19015 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19017 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19018 aix specific files.
19019 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19020 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19021 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19022 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19023 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19024 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19025 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19026 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19028 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19029 Roland McGrath <roland@hack.frob.com>
19031 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19032 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19034 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19036 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19037 __executable_start symbol instead of _start.
19039 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19041 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19042 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19044 * sysdeps/gnu/ldsodefs.h: ... this new file.
19046 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19047 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19048 instead of ELFOSABI_LINUX.
19050 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19051 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19052 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19053 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19055 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19056 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19057 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19059 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19060 (ibm_extended_long_double): Add ieee_nan member.
19061 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19062 (do_test): New function.
19064 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19066 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19067 functions, renamed from truncdfsf_test, trunctfsf_test,
19069 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19071 (do_test): Run all these.
19073 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19075 * argp/argp-help.c: Fix typos.
19076 * argp/argp-parse.c: Likewise.
19077 * debug/backtracesyms.c: Likewise.
19078 * elf/elf.h: Likewise.
19079 * malloc/malloc.c: Likewise.
19080 * nis/nis_print.c: Likewise.
19081 * resolv/res_comp.c: Likewise.
19082 * stdlib/stdlib.h: Likewise.
19083 * sunrpc/clnt_tcp.c: Likewise.
19084 * sunrpc/clnt_udp.c: Likewise.
19085 * sunrpc/clnt_unix.c: Likewise.
19086 * sysdeps/unix/bsd/ptsname.c: Likewise.
19087 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19088 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19095 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19097 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19099 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19102 2013-08-27 Mike Frysinger <vapier@gentoo.org>
19105 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19106 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19107 ($(objpfx)bug-dl-leaf): New rule.
19108 ($(objpfx)bug-dl-leaf.so): Likewise.
19109 ($(objpfx)bug-dl-leaf.out): Likewise.
19110 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19111 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19112 * dlfcn/bug-dl-leaf.c: New test.
19113 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19114 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19115 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19116 (dlclose): Likewise.
19117 (dlmopen): Likewise.
19119 2013-08-27 Roland McGrath <roland@hack.frob.com>
19121 * include/netdb.h [!_ISOMAC]:
19122 Don't include <tls.h>.
19123 (h_errno, __libc_h_errno): Move declaration and macros out of
19126 * include/resolv.h [_RESOLV_H_]:
19127 Don't include <tls.h>.
19128 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19129 * resolv/res_libc.c: Don't include <tls.h>.
19130 (_res): Use __attribute__ ((nocommon)) in place of
19131 __attribute__ ((section (".bss"))).
19133 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19134 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19136 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19138 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19139 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19141 * resolv/res_mkquery.c: Include <sys/time.h>.
19143 * inet/ifreq.c: Moved to ...
19144 * sysdeps/unix/ifreq.c: ... here.
19145 * inet/ifreq.c: New file, true stub version.
19147 * socket/sa_len.c: New file.
19148 * socket/Makefile (aux): Add it.
19149 * sysdeps/unix/sysv/linux/Makefile
19150 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19151 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19152 and #include <socket/sa_len.c>.
19153 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19154 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19156 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19157 * bits/socket.h: ... here.
19159 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19160 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19161 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19163 2013-08-27 Andreas Schwab <schwab@suse.de>
19166 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19167 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19168 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19169 * string/test-strcasecmp.c (test_main): Run tests in several
19171 * string/test-strncasecmp.c (test_main): Likewise.
19173 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19174 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19175 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19177 (__strncasecmp_ssse3) [PIC]: Likewise.
19179 2013-08-26 Roland McGrath <roland@hack.frob.com>
19181 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19183 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19184 instead of explicitly declaring xdecrypt.
19185 * nis/nss_nis/nis-publickey.c: Likewise.
19187 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19190 * nscd/aicache.c: Include res_hconf.h.
19191 (addhstaiX): Initialize res_hconf.
19193 2013-08-26 Andreas Schwab <schwab@suse.de>
19195 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19196 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19198 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19200 * nscd/aicache.c (addhstaiX): Fix indentation.
19202 2013-08-25 Mike Frysinger <vapier@gentoo.org>
19204 * configure.ac: Quote $build_pt_chown test.
19205 * configure: Regenerated.
19207 2013-08-23 Joseph Myers <joseph@codesourcery.com>
19210 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19211 * math/s_cexpf.c (__cexpf): Likewise.
19212 * math/s_cexpl.c (__cexpl): Likewise.
19213 * math/libm-test.inc (cexp_test_data): Correct expected return
19214 value for NaN + i0. Add another test.
19216 2013-08-22 David S. Miller <davem@davemloft.net>
19218 * po/ca.po: Update Catalan translation from translation project.
19219 * po/uk.po: Add Ukrainian translations from translation project.
19221 2013-08-21 Joseph Myers <joseph@codesourcery.com>
19224 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19225 is infinite, not alongside NaN test.
19226 * math/s_fdimf.c (__fdimf): Likewise.
19227 * math/s_fdiml.c (__fdiml): Likewise.
19228 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19229 errno is unchanged.
19231 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
19233 * argp/argp-help.c: Fix typos.
19234 * crypt/speeds.c: Likewise.
19235 * csu/check_fds.c: Likewise.
19236 * elf/dl-load.c: Likewise.
19237 * elf/dl-open.c: Likewise.
19238 * elf/reldep3.c: Likewise.
19239 * elf/reldep.c: Likewise.
19240 * elf/sprof.c: Likewise.
19241 * iconv/iconv_charmap.c: Likewise.
19242 * iconv/skeleton.c: Likewise.
19243 * iconv/strtab.c: Likewise.
19244 * io/lockf64.c: Likewise.
19245 * libio/libioP.h: Likewise.
19246 * resolv/gai_notify.c: Likewise.
19247 * resolv/ns_name.c: Likewise.
19248 * resolv/ns_samedomain.c: Likewise.
19249 * resolv/res_send.c: Likewise.
19250 * stdlib/random.c: Likewise.
19251 * sunrpc/rpc/xdr.h: Likewise.
19252 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19253 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19254 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19255 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19256 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19257 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19259 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19260 * sysdeps/mach/hurd/check_fds.c: Likewise.
19261 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19262 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19263 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19264 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19265 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19266 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19267 * sysdeps/pthread/aio_notify.c: Likewise.
19268 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19269 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19270 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19271 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19272 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19274 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19276 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19277 version if bit_Slow_SSE4_2 is set.
19278 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19279 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19281 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19284 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19285 trampoline stack frame information.
19286 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19287 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19288 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19289 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19290 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19291 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19292 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19293 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19295 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19296 interrupting a syscall and set with option SA_SIGINFO.
19298 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19301 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19302 argument is infinite.
19303 * math/s_cprojf.c (__cprojf): Likewise.
19304 * math/s_cprojl.c (__cprojl): Likewise.
19305 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19306 * math/libm-test.inc (cproj_test_data): Add more tests.
19308 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19310 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19311 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19312 size. Use __ffs to determine corresponding shift.
19314 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19315 Roland McGrath <roland@hack.frob.com>
19317 * Makefile (INSTALL): Remove trailing blank lines from output of
19320 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19322 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19323 Align 32 bit compat elf_greg to 8 bytes.
19325 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19327 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19329 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19331 * string/strcoll_l.c (coll_seq): New structure.
19332 (get_next_seq_cached): New function.
19333 (get_next_seq): New function.
19334 (do_compare): New function.
19335 (STRCOLL): Use GNU style definition. Simplify implementation
19336 by using get_next_seq, get_next_seq_cached and do_compare.
19338 2013-08-16 Florian Weimer <fweimer@redhat.com>
19342 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19344 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19346 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19347 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19348 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19350 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19351 GETDENTS_64BIT_ALIGNED.
19352 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19353 * manual/filesys.texi (Reading/Closing Directory): Document
19354 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19356 * manual/conf.texi (Limits for Files): Add portability note to
19357 NAME_MAX, PATH_MAX.
19358 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19360 2013-08-13 Andreas Schwab <schwab@suse.de>
19363 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19365 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19366 LDBL_MAX_EXP >= 16384]: Add tests for it.
19368 2013-08-12 David S. Miller <davem@davemloft.net>
19370 * version.h (RELEASE): Set to "development".
19371 (VERSION): Set to "2.18.90".
19372 * NEWS: Add 2.19 section.
19374 2013-08-03 David S. Miller <davem@davemloft.net>
19376 * po/ko.po: Update Korean translation from translation project.
19378 2013-08-01 David S. Miller <davem@davemloft.net>
19380 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19381 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19384 2013-07-30 David S. Miller <davem@davemloft.net>
19386 * po/fr.po: Update French translation from translation project.
19388 2013-07-28 David S. Miller <davem@davemloft.net>
19390 * po/cs.po: Update Czech translation from translation project.
19392 * po/sv.po: Update Swedish translation from translation project.
19394 2013-07-27 David S. Miller <davem@davemloft.net>
19396 * po/eo.po: Update Esperanto translation from translation project.
19398 * po/vi.po: Update Vietnamese translation from translation project.
19400 * po/de.po: Update German translation from translation project.
19402 2013-07-26 David S. Miller <davem@davemloft.net>
19404 * po/bg.po: Update Bulgarian translation from translation project.
19406 * po/nl.po: Update Dutch translation from translation project.
19407 * po/pl.po: Update Polish translation from translation project.
19408 * po/ru.po: Update Russian translation from translation project.
19410 2013-07-24 David S. Miller <davem@davemloft.net>
19412 * po/libc.pot: Update.
19414 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19416 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19417 variable page size.
19418 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19419 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19420 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19422 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19424 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19426 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19427 Andreas Schwab <schwab@suse.de>
19428 Roland McGrath <roland@hack.frob.com>
19429 Joseph Myers <joseph@codesourcery.com>
19430 Carlos O'Donell <carlos@redhat.com>
19433 * config.h.in: Define HAVE_PT_CHOWN.
19434 * config.make.in (build-pt-chown): New variable.
19435 * configure.in (--enable-pt_chown): New configure option.
19436 * configure: Regenerate.
19437 * login/Makefile: Include Makeconfig. Build pt_chown only if
19438 build-pt-chown is enabled.
19439 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19440 pt_chown to fix pty ownership.
19441 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19443 * manual/install.texi (Configuring and compiling): Mention
19444 --enable-pt_chown. Add @findex for grantpt.
19445 * INSTALL: Regenerate.
19447 2013-07-20 David S. Miller <davem@davemloft.net>
19449 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19450 difference between 32-bit and 64-bit.
19452 2013-07-15 Carlos O'Donell <carlos@redhat.com>
19455 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19456 Avoid system header dependency with -ffreestanding.
19457 ($(objpfx)bits/syscall%d): Likewise.
19459 2013-07-13 David S. Miller <davem@davemloft.net>
19461 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19462 underflows from atanl/atan2l due to bug 15319.
19463 (casinh_test_data): Likewise.
19465 2013-07-07 David S. Miller <davem@davemloft.net>
19467 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19469 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19471 * sysdeps/i386/fpu/libm-test-ulps: Update.
19472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19474 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19476 * configure.in (--enable-lock-elision): Fix message text.
19477 * INSTALL: Regenerate.
19478 * configure: Regenerate.
19480 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19484 2013-07-03 Andreas Jaeger <aj@suse.de>
19486 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19488 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19489 (ptrace_peeksiginfo_args): Add.
19490 (__ptrace_peeksiginfo_flags): Add.
19491 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19493 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19495 2013-07-03 Allan McRae <allan@archlinux.org>
19497 * sysdeps/i386/fpu/libm-test-ulps: Update.
19499 2013-07-02 David S. Miller <davem@davemloft.net>
19501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19503 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19507 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19509 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19512 2013-07-02 Andi Kleen <ak@linux.intel.com>
19514 * config.h.in (ENABLE_LOCK_ELISION): Add.
19515 * configure.in (--enable-lock-elision): Add option.
19516 * manual/install.texi: Document --enable lock elision.
19517 * configure: Regenerate
19518 * INSTALL: Regenerate.
19520 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19522 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19523 SSE4.2 strcasecmp for libc.a.
19524 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19526 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19529 * soft-fp/op-common.h (_FP_FMA): New macro.
19530 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19531 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19532 (_FP_MUL_MEAT_1_imm): ... here.
19533 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19534 (_FP_MUL_MEAT_1_wide): ... here.
19535 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19536 (_FP_MUL_MEAT_1_hard): ... here.
19537 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19538 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19539 (_FP_MUL_MEAT_2_wide): ... here.
19540 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19541 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19542 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19543 (_FP_MUL_MEAT_2_gmp): ... here.
19544 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19545 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19546 (_FP_MUL_MEAT_4_wide): ... here.
19547 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19548 (_FP_MUL_MEAT_4_gmp): ... here.
19549 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19550 (_FP_WFRACBITS_DW_S): Likewise.
19551 (_FP_WFRACXBITS_DW_S): Likewise.
19552 (_FP_HIGHBIT_DW_S): Likewise.
19553 (FP_FMA_S): Likewise.
19554 (_FP_FRAC_HIGH_DW_S): Likewise.
19555 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19556 (_FP_WFRACBITS_DW_D): Likewise.
19557 (_FP_WFRACXBITS_DW_D): Likewise.
19558 (_FP_HIGHBIT_DW_D): Likewise.
19559 (FP_FMA_D): Likewise.
19560 (_FP_FRAC_HIGH_DW_D): Likewise.
19561 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19562 (_FP_WFRACBITS_DW_E): Likewise.
19563 (_FP_WFRACXBITS_DW_E): Likewise.
19564 (_FP_HIGHBIT_DW_E): Likewise.
19565 (FP_FMA_E): Likewise.
19566 (_FP_FRAC_HIGH_DW_E): Likewise.
19567 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19568 (_FP_WFRACBITS_DW_Q): Likewise.
19569 (_FP_WFRACXBITS_DW_Q): Likewise.
19570 (_FP_HIGHBIT_DW_Q): Likewise.
19571 (FP_FMA_Q): Likewise.
19572 (_FP_FRAC_HIGH_DW_Q): Likewise.
19573 * soft-fp/fmasf4.c: New file.
19574 * soft-fp/fmadf4.c: Likewise.
19575 * soft-fp/fmatf4.c: Likewise.
19577 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19580 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19582 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19584 (index_Slow_SSE4_2): Likewise.
19585 (index_Prefer_PMINUB_for_stringop): Likewise.
19586 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19587 bit_Slow_SSE4_2 is set.
19588 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19589 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19591 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19593 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19594 rtld_global._dl_hwcap2.
19595 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19597 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19598 POWER8 feature descriptions defined in _dl_hwcap2.
19599 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19600 string handling for POWER8 feature bits.
19601 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19602 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19603 _dl_powerpc_cap_flags.
19604 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19605 * sysdeps/powerpc/rtld-global-offsets.sym
19606 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19607 _dl_hwcap2 in the rtld_global_ro structure.
19609 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19611 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19612 hardware capabilities in support of AT_HWCAP2.
19613 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19614 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19616 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19617 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19618 explicitly the unknown a_type display mechanism is used.
19619 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19620 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19622 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19623 to macro prototype for AT_HWCAP2 support.
19624 * sysdeps/i386/dl-procinfo.h: Likewise.
19625 * sysdeps/s390/dl-procinfo.h: Likewise.
19626 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19627 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19628 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19629 return -1 for unknown a_type display fallback.
19630 * sysdeps/sparc/dl-procinfo.h: Likewise.
19631 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19632 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19634 2013-06-28 Joseph Myers <joseph@codesourcery.com>
19636 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19637 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19639 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19642 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19643 mprotect making __stack_prot writable.
19645 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19646 Joseph Myers <joseph@codesourcery.com>
19648 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19649 as being properly aligned.
19651 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19653 * dlfcn/modstatic5.c: New file.
19654 * dlfcn/tststatic5.c: New file.
19655 * dlfcn/Makefile (tests): Add tststatic5.
19656 (tests-static): Likewise.
19657 (modules-names): Add modstatic5.
19658 (tststatic5-ENV): New variable.
19659 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19662 * elf/dl-support.c (_dl_main_map): New variable.
19663 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19664 (_dl_nns, _dl_load_adds): Set to 1.
19665 (_dl_initial_searchlist): Refer to _dl_main_map.
19666 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19667 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19668 call to _dl_get_origin.
19669 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19671 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19672 * dlfcn/modstatic3.c: New file.
19673 * dlfcn/tststatic3.c: New file.
19674 * dlfcn/tststatic4.c: New file.
19675 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19676 (tests-static): Likewise.
19677 (modules-names): Add modstatic3.
19678 (tststatic3-ENV, tststatic4-ENV): New variables.
19679 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19680 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19682 2013-06-26 Joseph Myers <joseph@codesourcery.com>
19684 * configure.in (CC): Require GCC version 4.4 or later.
19685 * configure: Regenerated.
19686 * manual/install.texi (Tools for Compilation): Update GCC version
19688 * INSTALL: Regenerated.
19690 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19693 * string/test-memcmp.c (check2): New.
19694 (main): Call check2.
19696 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19698 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19701 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19703 (dl_open_worker) [!SHARED]: ... here.
19705 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19707 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19709 2013-06-25 Richard Henderson <rth@redhat.com>
19711 * locale/programs/locarchive.c: Include <libc-internal.h>
19713 2013-06-25 Joseph Myers <joseph@codesourcery.com>
19715 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19716 trailing whitespace removed.
19718 2013-06-24 Mike Frysinger <vapier@gentoo.org>
19721 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19722 * locale/programs/locarchive.c: Include libc-mmap.h.
19723 (prepare_address_space): Take two new outputs (the mmap base and len).
19724 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19726 (create_archive): Declare new mmap base and len values for
19727 prepare_address_space, and store the result in ah.
19728 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19729 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19730 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19731 Declare new mmap base and len values for
19732 prepare_address_space, and store the result in new_ah.
19733 (open_archive): Declare new mmap base and len values for
19734 prepare_address_space, and store the result in ah.
19735 (close_archive): If ah->mmap_base is not NULL, use that and
19736 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19737 * sysdeps/generic/libc-mmap.h: New file.
19739 2013-06-24 Mike Frysinger <vapier@gentoo.org>
19741 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19742 (ALIGN_UP): Likewise.
19743 (PTR_ALIGN_DOWN): Likewise.
19744 (PTR_ALIGN_UP): Likewise.
19746 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19748 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19749 entry mapped to PPC_PLATFORM_POWER8.
19750 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19752 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19753 (_dl_string_platform): Add case for exporting platform position for
19755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19756 search path to sysdeps/powerpc/powerpc32/power8 directory.
19757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19758 search path to sysdeps/powerpc/powerpc64/power8 directory.
19759 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19760 power7 directories.
19761 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19762 power7 directories.
19764 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19766 * INSTALL: Regenerate.
19768 * nscd/connections.c (nscd_init): Fix comment.
19770 2013-06-22 Joseph Myers <joseph@codesourcery.com>
19772 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19775 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19776 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19778 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19780 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19782 (DL_DST_REQ_STATIC): Remove macro.
19784 2013-06-21 Joseph Myers <joseph@codesourcery.com>
19787 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19788 with a shift of 0 bits.
19790 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19792 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19795 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19798 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19800 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19802 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19803 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19804 accepts -fno-tree-loop-distribute-patterns.
19805 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19806 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19808 * string/memset.c (memset): Likewise.
19809 * string/test-memmove.c (simple_memmove): Disable loop transformation
19811 * string/test-memset.c (simple_memset): Likewise.
19812 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19813 * benchtests/bench-memset.c (simple_memset): Likewise.
19814 * configure: Regenerated.
19816 2013-06-20 Joseph Myers <joseph@codesourcery.com>
19818 * math/test-misc.c (main): Ignore fesetround failure when failures
19819 of subsequent rounding tests would be ignored.
19822 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19823 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19824 * math/fegetenv.c (__fegetenv): Return 0.
19825 * math/fegetexcept.c (fegetexcept): Return 0.
19826 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19828 * math/feholdexcpt.c (feholdexcept): Return 0.
19829 * math/fesetenv.c (__fesetenv): Return 0.
19830 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19831 argument FE_TONEAREST.
19832 * math/feupdateenv.c (__feupdateenv): Return 0.
19833 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19835 2013-06-18 Roland McGrath <roland@hack.frob.com>
19837 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19838 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19839 ($(objpfx)rtld-%.os rules): Use them.
19841 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19843 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19846 2013-06-17 Roland McGrath <roland@hack.frob.com>
19848 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19849 length of target pattern, then descending length of dependency pattern.
19850 * configure.in (AWK): Require gawk 3.1.2 or newer.
19851 * manual/install.texi (Tools for Compilation): Say that we do.
19852 * configure: Regenerated.
19854 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19855 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19856 * scripts/sysd-rules.awk: ... this new script.
19857 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19858 than a glob-style pattern.
19860 2013-06-17 Joseph Myers <joseph@codesourcery.com>
19862 * math/test-misc.c (main): Do not treat incorrectly rounded
19863 conversions as failure unless ROUNDING_TESTS passes.
19865 2013-06-15 Joseph Myers <joseph@codesourcery.com>
19868 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19869 restore exception state around main square root computation, then
19870 check for inexactness explicitly.
19872 * math/libm-test.inc (fma_test_data): Add another test.
19874 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19876 * manual/threads.texi (Non-POSIX Extensions): New document
19877 node. Document pthread_getattr_default_np and
19878 pthread_setattr_default_np.
19880 * Versions.def (libpthread): Add GLIBC_2.18.
19881 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19890 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19901 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19904 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19906 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19907 H.J. Lu <hjl.tools@gmail.com>
19910 * sysdeps/x86_64/rtld-memset.c: Remove file.
19911 * sysdeps/x86_64/rtld-memset.S: New file.
19913 2013-06-14 Joseph Myers <joseph@codesourcery.com>
19915 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19916 (test_in_one_mode): Take arguments for whether the rounding mode
19917 is supported for each floating-point type.
19918 (do_test): Pass new arguments to test_in_one_mode using
19921 2013-06-13 Roland McGrath <roland@hack.frob.com>
19923 * posix/tst-waitid.c (do_test): Distinguish different instances of
19924 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19925 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19926 before entering the kernel for waitpid.
19928 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19930 * NEWS: Fix note on clock function precision. Text by Roland
19933 2013-06-13 Roland McGrath <roland@hack.frob.com>
19935 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19936 it into place only when and if the sanity check passes.
19938 2013-06-13 Joseph Myers <joseph@codesourcery.com>
19940 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19941 output for whether conversion result is exact. Take argument
19942 indicating whether type is IBM long double.
19943 (round_for_all): Change need_exact field to ibm_ld.
19944 * stdlib/tst-strtod-round.c (struct exactness): New type.
19945 (struct test): Change bool ld_ok field to struct exactness exact.
19946 (TEST): Update all definitions for change to field.
19947 (tests): Regenerate array contents.
19948 (test_in_one_mode): Take pointer to new field instead of old ld_ok
19949 field value. Check for IBM long double here.
19950 (do_test): Update calls to test_in_one_mode.
19952 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19955 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19956 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19958 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19961 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19962 generated by the compiler on loop optimizations.
19963 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19964 general definitions.
19966 2013-06-12 Joseph Myers <joseph@codesourcery.com>
19968 * math/bug-nextafter.c: Include <math-tests.h>.
19969 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19971 * math/bug-nexttoward.c: Include <math-tests.h>.
19972 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19974 * math/test-misc.c: Include <math-tests.h>.
19975 (main): Only test for exceptions if EXCEPTION_TESTS is true for
19978 2013-06-12 Andreas Jaeger <aj@suse.de>
19980 * po/ia.po: Update Interlingua translation from translation
19983 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19985 * include/fenv.h: Include stdbool.h.
19986 (struct rm_ctx): New structure.
19987 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19989 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19990 (SET_RESTORE_ROUNDF): Likewise.
19991 (SET_RESTORE_ROUNDL): Likewise.
19992 (SET_RESTORE_ROUND_NOEX): Likewise.
19993 (SET_RESTORE_ROUND_NOEXF): Likewise.
19994 (SET_RESTORE_ROUND_NOEXL): Likewise.
19995 (SET_RESTORE_ROUND_53BIT): Likewise.
19996 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19997 (libc_feresetround_noexf_ctx): Likewise.
19998 (libc_feresetround_noexl_ctx): Likewise.
19999 (libc_feholdsetround_53bit_ctx): Likewise.
20000 (libc_feresetround_53bit_ctx): Likewise.
20001 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20002 (libc_feholdexcept_setround_sse_ctx): New function.
20003 (libc_fesetenv_sse_ctx): Likewise.
20004 (libc_feupdateenv_sse_ctx): Likewise.
20005 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20006 (libc_feholdexcept_setround_387_ctx): Likewise.
20007 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20008 (libc_feholdsetround_387_prec_ctx): Likewise.
20009 (libc_feholdsetround_387_ctx): Likewise.
20010 (libc_feholdsetround_387_53bit_ctx): Likewise.
20011 (libc_feholdsetround_sse_ctx): Likewise.
20012 (libc_feresetround_sse_ctx): Likewise.
20013 (libc_feresetround_387_ctx): Likewise.
20014 (libc_feupdateenv_387_ctx): Likewise.
20015 (libc_feholdexcept_setroundf_ctx): Define macro.
20016 (libc_fesetenvf_ctx): Likewise.
20017 (libc_feupdateenvf_ctx): Likewise.
20018 (libc_feholdsetroundf_ctx): Likewise.
20019 (libc_feresetroundf_ctx): Likewise.
20020 (libc_feholdexcept_setround_ctx): Likewise.
20021 (libc_fesetenv_ctx): Likewise.
20022 (libc_feupdateenv_ctx): Likewise.
20023 (libc_feholdsetround_ctx): Likewise.
20024 (libc_feresetround_ctx): Likewise.
20025 (libc_feholdexcept_setroundl_ctx): Likewise.
20026 (libc_feupdateenvl_ctx): Likewise.
20027 (libc_feholdsetroundl_ctx): Likewise.
20028 (libc_feresetroundl_ctx): Likewise.
20029 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20030 (libc_feresetround_53bit_ctx): Likewise.
20032 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20034 * locale/iso-639.def: Convert to UTF-8.
20036 2013-06-11 Joseph Myers <joseph@codesourcery.com>
20038 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20039 (EXCEPTION_TESTS_double): Likewise.
20040 (EXCEPTION_TESTS_long_double): Likewise.
20041 (EXCEPTION_TESTS): Likewise.
20042 * math/libm-test.inc (test_exceptions): Only test exceptions if
20043 EXCEPTION_TESTS (FLOAT).
20045 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20047 * benchtests/Makefile (string-bench): Add strcpy_chk and
20049 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20050 * benchtests/bench-stpcpy_chk.c: New file.
20051 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20052 * benchtests/bench-strcpy_chk.c: New file.
20053 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20055 (do_test): Likewise.
20057 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20059 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20060 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20061 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20062 with tabs where appropriate.
20063 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20065 [PPC_PLATFORM_PPC440]: Likewise.
20066 [PPC_PLATFORM_PPC464]: Likewise.
20067 [PPC_PLATFORM_PPC476]: Likewise.
20068 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20069 ppc464, and ppc476 platform strings merging from ports/
20072 2013-06-11 Andreas Schwab <schwab@suse.de>
20075 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20076 (from_ucs4_idx): Regenerate.
20077 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20078 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20079 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20080 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20081 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20082 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20083 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20084 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20085 from FROM_LOOP and TO_LOOP specific macros.
20086 (BODY): Handle combining characters.
20087 * iconvdata/BIG5HKSCS.irreversible: Update.
20088 * iconvdata/BIG5HKSCS.precomposed: New file.
20089 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20091 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20093 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20095 * include/sys/time.h: Fix indentation and add copyright header.
20097 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20098 (do_test): Likewise.
20099 * string/test-memchr.c (do_one_test): Likewise.
20100 (do_test): Likewise.
20101 * string/test-memcmp.c (do_one_test): Likewise.
20102 (do_test): Likewise.
20103 * string/test-memcpy.c (do_one_test): Likewise.
20104 (do_test): Likewise.
20105 * string/test-memmem.c (do_one_test): Likewise.
20106 (do_test): Likewise.
20107 (do_random_tests): Likewise.
20108 * string/test-memmove.c (do_one_test): Likewise.
20109 (do_test): Likewise.
20110 * string/test-memset.c (do_one_test): Likewise.
20111 (do_test): Likewise.
20112 * string/test-rawmemchr.c (do_one_test): Likewise.
20113 (do_test): Likewise.
20114 * string/test-strcasecmp.c (do_one_test): Likewise.
20115 (do_test): Likewise.
20116 * string/test-strcasestr.c (do_one_test): Likewise.
20117 (do_test): Likewise.
20118 * string/test-strcat.c (do_one_test): Likewise.
20119 (do_test): Likewise.
20120 * string/test-strchr.c (do_one_test): Likewise.
20121 (do_test): Likewise.
20122 * string/test-strcmp.c (do_one_test): Likewise.
20123 (do_test): Likewise.
20124 * string/test-strcpy.c (do_one_test): Likewise.
20125 (do_test): Likewise.
20126 * string/test-string.h: Likewise.
20127 (test_init): Likewise.
20128 * string/test-strlen.c (do_one_test): Likewise.
20129 (do_test): Likewise.
20130 * string/test-strncasecmp.c (do_one_test): Likewise.
20131 (do_test): Likewise.
20132 * string/test-strncat.c (do_one_test): Likewise.
20133 (do_test): Likewise.
20134 * string/test-strncmp.c (do_one_test): Likewise.
20135 (do_test_limit): Likewise.
20136 (do_test): Likewise.
20137 * string/test-strncpy.c (do_one_test): Likewise.
20138 (do_test): Likewise.
20139 * string/test-strnlen.c (do_one_test): Likewise.
20140 (do_test): Likewise.
20141 * string/test-strpbrk.c (do_one_test): Likewise.
20142 (do_test): Likewise.
20143 * string/test-strrchr.c (do_one_test): Likewise.
20144 (do_test): Likewise.
20145 * string/test-strspn.c (do_one_test): Likewise.
20146 (do_test): Likewise.
20147 * string/test-strstr.c (do_one_test): Likewise.
20148 (do_test): Likewise.
20150 * benchtests/Makefile (string-bench): Add string benchmarks.
20151 * benchtests/bench-bcopy-ifunc.c: New file.
20152 * benchtests/bench-bcopy.c: New file.
20153 * benchtests/bench-bzero-ifunc.c: New file.
20154 * benchtests/bench-bzero.c: New file.
20155 * benchtests/bench-memccpy-ifunc.c: New file.
20156 * benchtests/bench-memccpy.c: New file.
20157 * benchtests/bench-memchr-ifunc.c: New file.
20158 * benchtests/bench-memchr.c: New file.
20159 * benchtests/bench-memcmp-ifunc.c: New file.
20160 * benchtests/bench-memcmp.c: New file.
20161 * benchtests/bench-memmem-ifunc.c: New file.
20162 * benchtests/bench-memmem.c: New file.
20163 * benchtests/bench-memmove-ifunc.c: New file.
20164 * benchtests/bench-memmove.c: New file.
20165 * benchtests/bench-mempcpy-ifunc.c: New file.
20166 * benchtests/bench-mempcpy.c: New file.
20167 * benchtests/bench-memset-ifunc.c: New file.
20168 * benchtests/bench-memset.c: New file.
20169 * benchtests/bench-rawmemchr-ifunc.c: New file.
20170 * benchtests/bench-rawmemchr.c: New file.
20171 * benchtests/bench-stpcpy-ifunc.c: New file.
20172 * benchtests/bench-stpcpy.c: New file.
20173 * benchtests/bench-stpncpy-ifunc.c: New file.
20174 * benchtests/bench-stpncpy.c: New file.
20175 * benchtests/bench-strcasecmp-ifunc.c: New file.
20176 * benchtests/bench-strcasecmp.c: New file.
20177 * benchtests/bench-strcasestr-ifunc.c: New file.
20178 * benchtests/bench-strcasestr.c: New file.
20179 * benchtests/bench-strcat-ifunc.c: New file.
20180 * benchtests/bench-strcat.c: New file.
20181 * benchtests/bench-strchr-ifunc.c: New file.
20182 * benchtests/bench-strchr.c: New file.
20183 * benchtests/bench-strchrnul-ifunc.c: New file.
20184 * benchtests/bench-strchrnul.c: New file.
20185 * benchtests/bench-strcmp-ifunc.c: New file.
20186 * benchtests/bench-strcmp.c: New file.
20187 * benchtests/bench-strcpy-ifunc.c: New file.
20188 * benchtests/bench-strcpy.c: New file.
20189 * benchtests/bench-strcspn-ifunc.c: New file.
20190 * benchtests/bench-strcspn.c: New file.
20191 * benchtests/bench-strlen-ifunc.c: New file.
20192 * benchtests/bench-strlen.c: New file.
20193 * benchtests/bench-strncasecmp-ifunc.c: New file.
20194 * benchtests/bench-strncasecmp.c: New file.
20195 * benchtests/bench-strncat-ifunc.c: New file.
20196 * benchtests/bench-strncat.c: New file.
20197 * benchtests/bench-strncmp-ifunc.c: New file.
20198 * benchtests/bench-strncmp.c: New file.
20199 * benchtests/bench-strncpy-ifunc.c: New file.
20200 * benchtests/bench-strncpy.c: New file.
20201 * benchtests/bench-strnlen-ifunc.c: New file.
20202 * benchtests/bench-strnlen.c: New file.
20203 * benchtests/bench-strpbrk-ifunc.c: New file.
20204 * benchtests/bench-strpbrk.c: New file.
20205 * benchtests/bench-strrchr-ifunc.c: New file.
20206 * benchtests/bench-strrchr.c: New file.
20207 * benchtests/bench-strspn-ifunc.c: New file.
20208 * benchtests/bench-strspn.c: New file.
20209 * benchtests/bench-strstr-ifunc.c: New file.
20210 * benchtests/bench-strstr.c: New file.
20212 * benchtests/Makefile: Disable parallel execution of targets.
20213 (string-bench): Add memcpy.
20214 (benchset): New variable to store a list of benchmark sets.
20215 (bench-func): Renamed from bench.
20216 (bench-set): New target.
20217 (bench): Depend on bench-func and bench-set.
20218 * benchtests/README: Add section on benchmark sets.
20219 * benchtests/bench-memcpy-ifunc.c: New file.
20220 * benchtests/bench-memcpy.c: New file.
20221 * benchtests/bench-string.h: New file.
20223 2013-06-11 Andreas Schwab <schwab@suse.de>
20226 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20227 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20228 values in the triple.
20229 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20230 terminator in the group key.
20232 2013-06-11 Andreas Jaeger <aj@suse.de>
20234 * po/zh_TW.po: Update Chinese (traditional) translation from
20235 translation project.
20237 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20239 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20240 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20241 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20242 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20243 (clock_getcpuclockid): Likewise.
20244 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20245 Add weak_alias and libc_hidden_def.
20246 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20247 * rt/clock_gettime.c (clock_gettime): Rename to
20248 __clock_gettime. Add weak_alias and libc_hidden_def.
20249 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20250 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20251 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20252 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20253 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20255 * rt/clock_settime.c (clock_settime): Rename to
20256 __clock_settime. Add weak_alias and libc_hidden_def.
20257 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20259 2013-06-10 Joseph Myers <joseph@codesourcery.com>
20261 * mach/err_boot.sub: Remove trailing whitespace.
20262 * mach/err_ipc.sub: Likewise.
20263 * mach/err_mach.sub: Likewise.
20265 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20266 (ROUNDING_TESTS_double): Likewise.
20267 (ROUNDING_TESTS_long_double): Likewise.
20268 (ROUNDING_TESTS): Likewise.
20269 * math/libm-test.inc: Include <math-tests.h>.
20270 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20271 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20272 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20273 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20275 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20277 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20280 2013-06-08 Joseph Myers <joseph@codesourcery.com>
20282 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20283 otherwise empty TRANS lines.
20284 * sysdeps/gnu/errlist.c: Regenerated.
20286 * catgets/gencat.c (error_print): Use (void) in function
20288 * crypt/crypt_util.c (__init_des): Likewise.
20289 * crypt/speeds.c (Stop): Likewise.
20291 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20292 * inet/ruserpass.c (token): Likewise.
20293 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20294 * intl/localealias.c (extend_alias_table): Likewise.
20295 * intl/plural-exp.c (init_germanic_plural): Likewise.
20296 * libio/fcloseall.c (__fcloseall): Likewise.
20297 * libio/genops.c (_IO_flush_all): Likewise.
20298 (_IO_flush_all_linebuffered): Likewise.
20299 (_IO_cleanup): Likewise.
20300 (_IO_iter_begin): Likewise.
20301 (_IO_iter_end): Likewise.
20302 (_IO_list_lock): Likewise.
20303 (_IO_list_unlock): Likewise.
20304 (_IO_list_resetlock): Likewise.
20305 * libio/getchar.c (getchar): Likewise.
20306 * libio/getchar_u.c (getchar_unlocked): Likewise.
20307 * libio/getwchar.c (getwchar): Likewise.
20308 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20309 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20310 * login/getpt.c (__getpt): Likewise.
20311 * login/tst-utmp.c (main): Likewise.
20312 * malloc/hooks.c (__malloc_check_init): Likewise.
20313 * malloc/malloc.c (__malloc_stats): Likewise.
20314 * malloc/mtrace.c (tr_break): Likewise.
20315 (mtrace): Likewise.
20316 (muntrace): Likewise.
20317 * misc/fstab.c (endfsent): Likewise.
20318 * misc/getclktck.c (__getclktck): Likewise.
20319 * misc/getdtsz.c (__getdtablesize): Likewise.
20320 * misc/gethostid.c (gethostid): Likewise.
20321 * misc/getpagesize.c (__getpagesize): Likewise.
20322 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20323 (__get_nprocs): Likewise.
20324 (__get_phys_pages): Likewise.
20325 (__get_avphys_pages): Likewise.
20326 * misc/getttyent.c (getttyent): Likewise.
20327 (setttyent): Likewise.
20328 (endttyent): Likewise.
20329 * misc/getusershell.c (getusershell): Likewise.
20330 (endusershell): Likewise.
20331 (setusershell): Likewise.
20332 (initshells): Likewise.
20333 * misc/hsearch.c (__hdestroy): Likewise.
20334 * misc/sync.c (sync): Likewise.
20335 * misc/syslog.c (closelog_internal): Likewise.
20336 (closelog): Likewise.
20337 * misc/ttyslot.c (ttyslot): Likewise.
20338 * misc/vhangup.c (vhangup): Likewise.
20339 * posix/fork.c (__fork): Likewise.
20340 * posix/getegid.c (__getegid): Likewise.
20341 * posix/geteuid.c (__geteuid): Likewise.
20342 * posix/getgid.c (__getgid): Likewise.
20343 * posix/getpid.c (__getpid): Likewise.
20344 * posix/getppid.c (__getppid): Likewise.
20345 * posix/getuid.c (__getuid): Likewise.
20346 * posix/pause.c (pause): Likewise.
20347 * posix/setpgrp.c (setpgrp): Likewise.
20348 * posix/setsid.c (__setsid): Likewise.
20349 * posix/test-vfork.c (noop): Likewise.
20350 * resolv/gethnamaddr.c (_endhtent): Likewise.
20351 (_gethtent): Likewise.
20352 (ht_endhostent): Likewise.
20353 (gethostent): Likewise.
20354 (dns_service): Likewise.
20355 * stdlib/drand48.c (drand48): Likewise.
20356 * stdlib/lrand48.c (lrand48): Likewise.
20357 * stdlib/mrand48.c (mrand48): Likewise.
20358 * stdlib/rand.c (rand): Likewise.
20359 * stdlib/random.c (__random): Likewise.
20360 * stdlib/setenv.c (clearenv): Likewise.
20361 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20362 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20363 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20364 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20365 (__get_nprocs): Likewise.
20366 (__get_phys_pages): Likewise.
20367 (__get_avphys_pages): Likewise.
20368 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20369 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20370 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20371 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20372 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20373 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20374 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20375 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20376 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20377 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20378 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20379 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20380 * sysdeps/posix/clock.c (clock): Likewise.
20381 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20382 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20383 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20384 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20385 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20386 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20387 (__get_nprocs_conf): Likewise.
20388 (__get_phys_pages): Likewise.
20389 (__get_avphys_pages): Likewise.
20390 * time/clock.c (clock): Likewise.
20391 * time/tzset.c (__tzname_max): Likewise.
20393 2013-06-07 Joseph Myers <joseph@codesourcery.com>
20395 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20396 (__bswap_32): Do not use "register".
20397 * crypt/crypt.c (_ufc_doit_r): Likewise.
20398 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20399 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20400 * gmon/gmon.c (__monstartup): Likewise.
20401 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20402 * hurd/hurdmalloc.c (more_memory): Likewise.
20403 (malloc): Likewise.
20405 (realloc): Likewise.
20406 (malloc_fork_prepare): Likewise.
20407 (malloc_fork_parent): Likewise.
20408 (malloc_fork_child): Likewise.
20409 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20410 (_svcauth_des): Likewise.
20411 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20412 * inet/inet_net.c (inet_network): Likewise.
20413 * inet/inet_netof.c (inet_netof): Likewise.
20414 * inet/rcmd.c (__validuser2_sa): Likewise.
20415 * io/fts.c (fts_open): Likewise.
20416 (fts_load): Likewise.
20417 (fts_close): Likewise.
20418 (fts_read): Likewise.
20419 (fts_children): Likewise.
20420 (fts_build): Likewise.
20421 (fts_stat): Likewise.
20422 (fts_sort): Likewise.
20423 (fts_alloc): Likewise.
20424 (fts_lfree): Likewise.
20425 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20426 (_IO_file_xsgetn): Likewise.
20427 (_IO_file_xsgetn_mmap): Likewise.
20428 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20429 (_IO_cookie_write): Likewise.
20430 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20431 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20432 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20433 * malloc/obstack.c (_obstack_begin): Likewise.
20434 (_obstack_begin_1): Likewise.
20435 (_obstack_newchunk): Likewise.
20436 (_obstack_allocated_p): Likewise.
20437 (obstack_free): Likewise.
20438 (_obstack_memory_used): Likewise.
20439 * misc/getttyent.c (getttynam): Likewise.
20440 (getttyent): Likewise.
20443 * misc/getusershell.c (initshells): Likewise.
20444 * misc/syslog.c (__vsyslog_chk): Likewise.
20445 * misc/ttyslot.c (ttyslot): Likewise.
20446 * nis/nis_hash.c (__nis_hash): Likewise.
20447 * posix/fnmatch_loop.c (FCT): Likewise.
20448 * posix/getconf.c (print_all): Likewise.
20450 * posix/getopt.c (exchange): Likewise.
20451 * posix/glob.c (globfree): Likewise.
20452 (prefix_array): Likewise.
20453 (__glob_pattern_type): Likewise.
20454 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20455 (NS_GET32): Likewise.
20456 (NS_PUT16): Likewise.
20457 (NS_PUT32): Likewise.
20458 * resolv/gethnamaddr.c (getanswer): Likewise.
20459 (gethostbyname2): Likewise.
20460 (gethostbyaddr): Likewise.
20461 (_gethtent): Likewise.
20462 (_gethtbyname2): Likewise.
20463 (_gethtbyaddr): Likewise.
20464 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20465 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20466 * resolv/res_init.c (__res_vinit): Likewise.
20467 (net_mask): Likewise.
20468 * resolv/res_mkquery.c (outchar): Likewise.
20470 * stdio-common/printf_fp.c (outchar): Likewise.
20472 * stdio-common/printf_fphex.c (outchar): Likewise.
20474 * stdio-common/printf_size.c (outchar): Likewise.
20476 * stdio-common/test_rdwr.c (main): Likewise.
20477 * stdio-common/tfformat.c (matches): Likewise.
20478 * stdio-common/vfprintf.c (outchar): Likewise.
20479 (printf_unknown): Likewise.
20480 (buffered_vfprintf): Likewise.
20481 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20482 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20483 (ReadFile): Likewise.
20484 * stdlib/qsort.c (SWAP): Likewise.
20485 (_quicksort): Likewise.
20486 * stdlib/setenv.c (__add_to_environ): Likewise.
20487 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20488 * stdlib/strtol_l.c (__strtol_l): Likewise.
20489 * stdlib/tst-strtod.c (main): Likewise.
20490 * stdlib/tst-strtol.c (main): Likewise.
20491 * stdlib/tst-strtoll.c (main): Likewise.
20492 * string/bits/string2.h (__strcmp_cc): Likewise.
20493 (__strcmp_cg): Likewise.
20494 (__strcspn_c1): Likewise.
20495 (__strcspn_c2): Likewise.
20496 (__strcspn_c3): Likewise.
20497 (__strspn_c1): Likewise.
20498 (__strspn_c2): Likewise.
20499 (__strspn_c3): Likewise.
20500 (__strsep_1c): Likewise.
20501 (__strsep_2c): Likewise.
20502 (__strsep_3c): Likewise.
20503 * string/memccpy.c (__memccpy): Likewise.
20504 * string/stpcpy.c (__stpcpy): Likewise.
20505 * string/strcmp.c (strcmp): Likewise.
20506 * string/strrchr.c (strrchr): Likewise.
20507 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20509 * sysdeps/mach/hurd/getcwd.c
20510 (_hurd_canonicalize_directory_name_internal): Likewise.
20511 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20512 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20513 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20514 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20515 Likewise, in both definitions.
20516 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20518 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20519 64] (__bswap_64): Likewise.
20520 * time/test_time.c (main): Likewise.
20521 * time/tzfile.c (__tzfile_read): Likewise.
20522 (__tzfile_compute): Likewise.
20523 * time/tzset.c (__tzset_parse_tz): Likewise.
20524 (tzset_internal): Likewise.
20525 (compute_change): Likewise.
20526 * wcsmbs/wcscat.c (__wcscat): Likewise.
20527 * wcsmbs/wcschr.c (wcschr): Likewise.
20528 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20529 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20530 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20531 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20532 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20533 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20534 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20535 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20536 * wcsmbs/wmemset.c (wmemset): Likewise.
20538 2013-06-06 Joseph Myers <joseph@codesourcery.com>
20540 * scripts/config.guess: Update to version 2013-05-16.
20541 * scripts/config.sub: Update to version 2013-04-24.
20542 * scripts/install-sh: Update to version 2011-11-20.07.
20543 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20544 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20546 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
20548 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20549 * elf/sln.c: Likewise.
20550 * hurd/hurd/ioctl.h: Likewise.
20551 * hurd/hurdmalloc.c: Likewise.
20552 * hurd/xattr.c: Likewise.
20553 * include/shlib-compat.h: Likewise.
20554 * inet/ruserpass.c: Likewise.
20555 * libio/iofgets_u.c: Likewise.
20556 * libio/iofgetws_u.c: Likewise.
20557 * locale/programs/ld-identification.c: Likewise.
20558 * locale/programs/ld-time.c: Likewise.
20559 * mach/msg-destroy.c: Likewise.
20560 * nss/nss_files/files-netgrp.c: Likewise.
20561 * resolv/res_data.c: Likewise.
20562 * soft-fp/op-1.h: Likewise.
20563 * soft-fp/op-2.h: Likewise.
20564 * soft-fp/op-4.h: Likewise.
20565 * soft-fp/op-common.h: Likewise.
20566 * stdio-common/printf_fphex.c: Likewise.
20567 * stdlib/strtod_l.c: Likewise.
20568 * sunrpc/rpc/clnt.h: Likewise.
20569 * sysdeps/generic/framestate.c: Likewise.
20570 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20571 * sysdeps/i386/bsd-setjmp.S: Likewise.
20572 * sysdeps/i386/__longjmp.S: Likewise.
20573 * sysdeps/i386/setjmp.S: Likewise.
20574 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20575 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20576 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20577 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20578 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20579 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20580 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20581 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20582 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20583 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20584 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20585 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20586 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20587 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20588 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20589 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20590 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20591 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20592 * sysdeps/ieee754/support.c: Likewise.
20593 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20594 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20595 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20596 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20597 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20598 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20599 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20600 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20601 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20602 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20603 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20604 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20605 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20606 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20607 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20608 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20609 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20612 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
20614 * posix/transbug.c: Remove executable mode.
20616 2013-06-05 Joseph Myers <joseph@codesourcery.com>
20618 * crypt/speeds.c: Remove trailing whitespace.
20619 * dlfcn/default.c: Likewise.
20620 * elf/ifuncdep2.c: Likewise.
20621 * elf/ifuncmain1.c: Likewise.
20622 * elf/ifuncmain1vis.c: Likewise.
20623 * elf/testobj.h: Likewise.
20624 * elf/tst-stackguard1.c: Likewise.
20625 * gmon/sys/gmon.h: Likewise.
20626 * hurd/hurdmsg.c: Likewise.
20627 * hurd/new-fd.c: Likewise.
20628 * hurd/ports-get.c: Likewise.
20629 * iconvdata/ibm1008_420.c: Likewise.
20630 * inet/tst-getni1.c: Likewise.
20631 * inet/tst-getni2.c: Likewise.
20632 * libio/ioungetc.c: Likewise.
20633 * libio/wfiledoalloc.c: Likewise.
20634 * manual/libm-err-tab.pl: Likewise.
20635 * math/w_dremf.c: Likewise.
20636 * misc/ftruncate.c: Likewise.
20637 * posix/bug-glob2.c: Likewise.
20638 * posix/tst-pcre.c: Likewise.
20639 * posix/wait4.c: Likewise.
20640 * resolv/README: Likewise.
20641 * resolv/res_debug.h: Likewise.
20642 * resolv/tst-inet_ntop.c: Likewise.
20643 * setjmp/bug269-setjmp.c: Likewise.
20644 * soft-fp/extended.h: Likewise.
20645 * soft-fp/op-1.h: Likewise.
20646 * soft-fp/op-2.h: Likewise.
20647 * soft-fp/op-4.h: Likewise.
20648 * soft-fp/op-8.h: Likewise.
20649 * soft-fp/testit.c: Likewise.
20650 * stdio-common/bug16.c: Likewise.
20651 * stdlib/random.c: Likewise.
20652 * sunrpc/rpcsvc/rquota.x: Likewise.
20653 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20654 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20655 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20656 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20657 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20658 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20659 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20660 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20662 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20663 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20664 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20665 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20666 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20667 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20668 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20669 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20670 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20671 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20672 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20673 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20674 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20675 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20676 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20677 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20678 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20680 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20681 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20682 * sysdeps/ieee754/s_lib_version.c: Likewise.
20683 * sysdeps/mach/hurd/check_fds.c: Likewise.
20684 * sysdeps/mach/hurd/getsockname.c: Likewise.
20685 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20686 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20687 * sysdeps/powerpc/bits/link.h: Likewise.
20688 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20689 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20690 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20691 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20692 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20693 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20694 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20695 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20696 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20697 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20698 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20699 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20700 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20701 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20702 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20703 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20704 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20705 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20706 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20707 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20708 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20709 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20710 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20711 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20712 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20713 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20714 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20715 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20716 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20717 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20718 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20719 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20720 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20721 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20722 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20723 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20724 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20725 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20726 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20727 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20728 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20729 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20730 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20731 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20732 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20733 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20734 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20735 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20736 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20737 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20738 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20739 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20740 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20741 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20742 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20743 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20744 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20745 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20746 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20747 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20748 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20749 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20750 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20751 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20752 * sysdeps/powerpc/sysdep.h: Likewise.
20753 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20754 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20755 * sysdeps/sh/dl-trampoline.S: Likewise.
20756 * sysdeps/sh/memset.S: Likewise.
20757 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20758 * sysdeps/sh/strlen.S: Likewise.
20759 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20760 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20761 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20762 * sysdeps/sparc/sparc32/rem.S: Likewise.
20763 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20764 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20765 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20766 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20767 * sysdeps/sparc/sparc32/urem.S: Likewise.
20768 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20769 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20770 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20771 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20772 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20773 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20774 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20775 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20776 * sysdeps/unix/bsd/times.c: Likewise.
20777 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20778 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20782 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20783 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20784 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20785 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20786 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20787 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20788 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20789 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20790 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20791 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20792 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20793 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20794 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20795 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20796 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20797 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20798 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20799 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20800 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20801 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20802 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20803 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20804 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20805 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20806 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20807 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20808 * sysdeps/x86_64/strcspn.S: Likewise.
20810 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20812 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20813 generated file. Regenerate properly from gen-translit.pl.
20814 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20815 locale/C-translit.h.
20817 2013-06-05 Andreas Schwab <schwab@suse.de>
20820 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20821 week as 6 instead of -1.
20822 * time/tst-strptime.c (day_tests): Add test case.
20824 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20826 * sysdeps/generic/math_private.h
20827 (libc_feholdexcept_setround_53bit): Replace with
20828 libc_feholdsetround_53bit.
20829 (libc_feupdateenv_53bit): Replace with
20830 libc_feresetround_53bit.
20831 (SET_RESTORE_ROUND_53BIT): Adjust.
20833 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20835 * string/test-strchrnul.c: Add copyright header.
20837 * posix/tst-getaddrinfo4.c: Increase test timeout.
20839 2013-06-03 Carlos O'Donell <carlos@redhat.com>
20842 * math/libm-test.inc (MAX_EXP): Remove
20844 (ulp): Use MIN_EXP - MANT_DIG.
20845 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20847 2013-05-31 Carlos O'Donell <carlos@redhat.com>
20849 * po/be.po: Revert last change.
20850 * po/zh_CN.po: Likewise.
20851 * po/header.pot: Likewise.
20853 2013-05-31 Joseph Myers <joseph@codesourcery.com>
20855 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20856 link-libc-deps to empty as target-specific variable.
20857 * Makerules (link-libc-args): New variable.
20858 (libc-for-link): Likewise.
20859 (link-libc-deps): Likewise.
20860 (lib%.so): Depend on $(link-libc-deps). Link with
20862 (build-module): Link with $(link-libc-args).
20863 (build-module-asneeded): Likewise.
20864 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20866 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20867 target-specific variable.
20868 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20869 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20870 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20872 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20874 ($(objpfx)libpcprofile.so): Likewise.
20875 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20877 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20878 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20879 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20881 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20882 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20883 * login/Makefile ($(objpfx)libutil.so): Likewise.
20884 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20885 * math/Makefile ($(objpfx)libm.so): Likewise.
20886 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20887 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20888 variable instead of depending directly on libc.
20889 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20890 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20892 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20894 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20895 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20896 ($(objpfx)libanl.so): Likewise.
20897 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20899 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20901 * sysdeps/i386/fpu/Makefile: Remove file.
20902 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20903 ($(objpfx)libm.so): Remove dependency on ld.so.
20905 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
20908 * nis/yp_xdr.c (XDRMAXNAME): Define.
20909 (XDRMAXRECORD): Define.
20910 (xdr_domainname): Use XDRMAXNAME.
20911 (xdr_mapname): Likewise.
20912 (xdr_peername): Likewise.
20913 (xdr_keydat): Use XDRMAXRECORD.
20914 (xdr_valdat): Likewise.
20916 2013-05-30 Jeff Law <law@redhat.com>
20919 * manual/errno.texi (ESTALE): Update to account for more than
20920 just NFS file systems.
20921 * sysdeps/gnu/errlist.c: Regenerated.
20923 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20926 * elf/Makefile (tests): Add tst-null-argv.
20927 (modules-names): Add tst-null-argv-lib.
20928 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20929 (tst-null-argv-ENV): Set environment for tst-null-argv.
20930 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20931 (RTLD_PROGNAME): New macro.
20932 * elf/tst-null-argv.c: New test case.
20933 * elf/tst-null-argv-lib.c: Library for test case.
20934 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20935 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20936 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20937 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20938 * elf/dl-init.c (call_init): Likewise.
20939 (_dl_init): Likewise.
20940 * elf/dl-load.c (print_search_path): Likewise.
20941 (_dl_map_object): Likewise.
20942 * elf/dl-lookup.c (do_lookup_x): Likewise.
20943 (add_dependency): Likewise.
20944 (_dl_lookup_symbol_x): Likewise.
20945 (_dl_debug_bindings): Likewise.
20946 * elf/dl-open.c (_dl_show_scope): Likewise.
20947 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20948 * elf/dl-version.c (match_symbol): Likewise.
20949 (_dl_check_map_versions): Likewise.
20950 * elf/rtld.c (dl_main): Likewise.
20951 (print_unresolved): Use RTLD_PROGNAME.
20952 (print_missing_version): Likewise.
20953 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20954 (elf_machine_rela): Likewise.
20955 * sysdeps/powerpc/powerpc32/dl-machine.c
20956 (__process_machine_rela): Likewise.
20957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20959 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20961 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20963 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20964 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20966 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20968 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20970 2013-05-28 Carlos O'Donell <carlos@redhat.com>
20972 * po/be.po: Add descriptive title.
20973 * po/zh_CN.po: Likewise.
20974 * po/header.pot: Likewise.
20976 2013-05-28 Mike Frysinger <vapier@gentoo.org>
20978 * locale/programs/locarchive.c (create_archive): Inlucde fname in
20980 (enlarge_archive): Likewise.
20982 2013-05-28 Ben North <ben@redfrontdoor.org>
20984 * manual/arith.texi (frexp): It is the magnitude of the return
20985 value which lies in [0.5, 1), not the return value itself.
20987 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20991 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
20993 * stdio-common/bug26.c (main): Correct fscanf template.
20995 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20996 declare _dl_skip_args.
20998 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21001 * manual/platform.texi: Add missing @end deftypefun.
21003 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21006 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21007 bit of mantissa of 2^16382.
21008 * math/libm-test.inc (hypot_test_data): Add more tests.
21010 * math/libm-test.inc: Add drem and pow10 to list of tested
21012 (pow10_test): New function.
21013 (drem_test): Likewise.
21014 (drem_test_tonearest): Likewise.
21015 (drem_test_towardzero): Likewise.
21016 (drem_test_downward): Likewise.
21017 (drem_test_upward): Likewise.
21018 (main): Call the new functions.
21020 * math/libm-test.inc (finite_test_data): Remove.
21021 (finite_test): Run tests from isfinite_test_data.
21022 (gamma_test_data): Remove.
21023 (gamma_test): Run tests from lgamma_test_data.
21024 * sysdeps/i386/fpu/libm-test-ulps: Update.
21025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21027 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21029 * manual/platform.texi: Add PowerPC PPR function set documentation.
21030 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21033 2013-05-24 Carlos O'Donell <carlos@redhat.com>
21035 * math/libm-test.inc (MAX_EXP): Define.
21037 (ulp): New function.
21038 (check_float_internal): Use ULPDIFF.
21039 (cpow_test): Disable failing test.
21040 (check_ulp): Test ulp() implemetnation.
21041 (main): Call check_ulp before starting tests.
21043 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21045 * math/gen-libm-test.pl (generate_testfile): Do not handle
21046 START_DATA and END_DATA.
21047 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21049 (acos_tonearest_test_data): Likewise.
21050 (acos_towardzero_test_data): Likewise.
21051 (acos_downward_test_data): Likewise.
21052 (acos_upward_test_data): Likewise.
21053 (acosh_test_data): Likewise.
21054 (asin_test_data): Likewise.
21055 (asin_tonearest_test_data): Likewise.
21056 (asin_towardzero_test_data): Likewise.
21057 (asin_downward_test_data): Likewise.
21058 (asin_upward_test_data): Likewise.
21059 (asinh_test_data): Likewise.
21060 (atan_test_data): Likewise.
21061 (atanh_test_data): Likewise.
21062 (atan2_test_data): Likewise.
21063 (cabs_test_data): Likewise.
21064 (cacos_test_data): Likewise.
21065 (cacosh_test_data): Likewise.
21066 (carg_test_data): Likewise.
21067 (casin_test_data): Likewise.
21068 (casinh_test_data): Likewise.
21069 (catan_test_data): Likewise.
21070 (catanh_test_data): Likewise.
21071 (cbrt_test_data): Likewise.
21072 (ccos_test_data): Likewise.
21073 (ccosh_test_data): Likewise.
21074 (ceil_test_data): Likewise.
21075 (cexp_test_data): Likewise.
21076 (cimag_test_data): Likewise.
21077 (clog_test_data): Likewise.
21078 (clog10_test_data): Likewise.
21079 (conj_test_data): Likewise.
21080 (copysign_test_data): Likewise.
21081 (cos_test_data): Likewise.
21082 (cos_tonearest_test_data): Likewise.
21083 (cos_towardzero_test_data): Likewise.
21084 (cos_downward_test_data): Likewise.
21085 (cos_upward_test_data): Likewise.
21086 (cosh_test_data): Likewise.
21087 (cosh_tonearest_test_data): Likewise.
21088 (cosh_towardzero_test_data): Likewise.
21089 (cosh_downward_test_data): Likewise.
21090 (cosh_upward_test_data): Likewise.
21091 (cpow_test_data): Likewise.
21092 (cproj_test_data): Likewise.
21093 (creal_test_data): Likewise.
21094 (csin_test_data): Likewise.
21095 (csinh_test_data): Likewise.
21096 (csqrt_test_data): Likewise.
21097 (ctan_test_data): Likewise.
21098 (ctan_tonearest_test_data): Likewise.
21099 (ctan_towardzero_test_data): Likewise.
21100 (ctan_downward_test_data): Likewise.
21101 (ctan_upward_test_data): Likewise.
21102 (ctanh_test_data): Likewise.
21103 (ctanh_tonearest_test_data): Likewise.
21104 (ctanh_towardzero_test_data): Likewise.
21105 (ctanh_downward_test_data): Likewise.
21106 (ctanh_upward_test_data): Likewise.
21107 (erf_test_data): Likewise.
21108 (erfc_test_data): Likewise.
21109 (exp_test_data): Likewise.
21110 (exp_tonearest_test_data): Likewise.
21111 (exp_towardzero_test_data): Likewise.
21112 (exp_downward_test_data): Likewise.
21113 (exp_upward_test_data): Likewise.
21114 (exp10_test_data): Likewise.
21115 (exp2_test_data): Likewise.
21116 (expm1_test_data): Likewise.
21117 (fabs_test_data): Likewise.
21118 (fdim_test_data): Likewise.
21119 (finite_test_data): Likewise.
21120 (floor_test_data): Likewise.
21121 (fma_test_data): Likewise.
21122 (fma_towardzero_test_data): Likewise.
21123 (fma_downward_test_data): Likewise.
21124 (fma_upward_test_data): Likewise.
21125 (fmax_test_data): Likewise.
21126 (fmin_test_data): Likewise.
21127 (fmod_test_data): Likewise.
21128 (fpclassify_test_data): Likewise.
21129 (frexp_test_data): Likewise.
21130 (gamma_test_data): Likewise.
21131 (hypot_test_data): Likewise.
21132 (ilogb_test_data): Likewise.
21133 (isfinite_test_data): Likewise.
21134 (isgreater_test_data): Likewise.
21135 (isgreaterequal_test_data): Likewise.
21136 (isinf_test_data): Likewise.
21137 (isless_test_data): Likewise.
21138 (islessequal_test_data): Likewise.
21139 (islessgreater_test_data): Likewise.
21140 (isnan_test_data): Likewise.
21141 (isnormal_test_data): Likewise.
21142 (issignaling_test_data): Likewise.
21143 (isunordered_test_data): Likewise.
21144 (j0_test_data): Likewise.
21145 (j1_test_data): Likewise.
21146 (jn_test_data): Likewise.
21147 (ldexp_test_data): Likewise.
21148 (lgamma_test_data): Likewise.
21149 (lrint_test_data): Likewise.
21150 (lrint_tonearest_test_data): Likewise.
21151 (lrint_towardzero_test_data): Likewise.
21152 (lrint_downward_test_data): Likewise.
21153 (lrint_upward_test_data): Likewise.
21154 (llrint_test_data): Likewise.
21155 (llrint_tonearest_test_data): Likewise.
21156 (llrint_towardzero_test_data): Likewise.
21157 (llrint_downward_test_data): Likewise.
21158 (llrint_upward_test_data): Likewise.
21159 (log_test_data): Likewise.
21160 (log10_test_data): Likewise.
21161 (log1p_test_data): Likewise.
21162 (log2_test_data): Likewise.
21163 (logb_test_data): Likewise.
21164 (logb_downward_test_data): Likewise.
21165 (lround_test_data): Likewise.
21166 (llround_test_data): Likewise.
21167 (modf_test_data): Likewise.
21168 (nearbyint_test_data): Likewise.
21169 (nextafter_test_data): Likewise.
21170 (nexttoward_test_data): Likewise.
21171 (pow_test_data): Likewise.
21172 (pow_tonearest_test_data): Likewise.
21173 (pow_towardzero_test_data): Likewise.
21174 (pow_downward_test_data): Likewise.
21175 (pow_upward_test_data): Likewise.
21176 (remainder_test_data): Likewise.
21177 (remainder_tonearest_test_data): Likewise.
21178 (remainder_towardzero_test_data): Likewise.
21179 (remainder_downward_test_data): Likewise.
21180 (remainder_upward_test_data): Likewise.
21181 (remquo_test_data): Likewise.
21182 (rint_test_data): Likewise.
21183 (rint_tonearest_test_data): Likewise.
21184 (rint_towardzero_test_data): Likewise.
21185 (rint_downward_test_data): Likewise.
21186 (rint_upward_test_data): Likewise.
21187 (round_test_data): Likewise.
21188 (scalb_test_data): Likewise.
21189 (scalbn_test_data): Likewise.
21190 (scalbln_test_data): Likewise.
21191 (signbit_test_data): Likewise.
21192 (sin_test_data): Likewise.
21193 (sin_tonearest_test_data): Likewise.
21194 (sin_towardzero_test_data): Likewise.
21195 (sin_downward_test_data): Likewise.
21196 (sin_upward_test_data): Likewise.
21197 (sincos_test_data): Likewise.
21198 (sinh_test_data): Likewise.
21199 (sinh_tonearest_test_data): Likewise.
21200 (sinh_towardzero_test_data): Likewise.
21201 (sinh_downward_test_data): Likewise.
21202 (sinh_upward_test_data): Likewise.
21203 (sqrt_test_data): Likewise.
21204 (tan_test_data): Likewise.
21205 (tan_tonearest_test_data): Likewise.
21206 (tan_towardzero_test_data): Likewise.
21207 (tan_downward_test_data): Likewise.
21208 (tan_upward_test_data): Likewise.
21209 (tanh_test_data): Likewise.
21210 (tgamma_test_data): Likewise.
21211 (trunc_test_data): Likewise.
21212 (y0_test_data): Likewise.
21213 (y1_test_data): Likewise.
21214 (yn_test_data): Likewise.
21215 (significand_test_data): Likewise.
21217 * math/gen-libm-test.pl (@functions): Remove variable.
21218 (generate_testfile): Don't handle START and END lines.
21219 * math/libm-test.inc (START): New macro.
21221 (END_COMPLEX): Likewise.
21222 (acos_test): Use END macro without arguments.
21223 (acos_test_tonearest): Likewise.
21224 (acos_test_towardzero): Likewise.
21225 (acos_test_downward): Likewise.
21226 (acos_test_upward): Likewise.
21227 (acosh_test): Likewise.
21228 (asin_test): Likewise.
21229 (asin_test_tonearest): Likewise.
21230 (asin_test_towardzero): Likewise.
21231 (asin_test_downward): Likewise.
21232 (asin_test_upward): Likewise.
21233 (asinh_test): Likewise.
21234 (atan_test): Likewise.
21235 (atanh_test): Likewise.
21236 (atan2_test): Likewise.
21237 (cabs_test): Likewise.
21238 (cacos_test): Use END_COMPLEX macro without arguments.
21239 (cacosh_test): Likewise.
21240 (carg_test): Use END macro without arguments.
21241 (casin_test): Use END_COMPLEX macro without arguments.
21242 (casinh_test): Likewise.
21243 (catan_test): Likewise.
21244 (catanh_test): Likewise.
21245 (cbrt_test): Use END macro without arguments.
21246 (ccos_test): Use END_COMPLEX macro without arguments.
21247 (ccosh_test): Likewise.
21248 (ceil_test): Use END macro without arguments.
21249 (cexp_test): Use END_COMPLEX macro without arguments.
21250 (cimag_test): Use END macro without arguments.
21251 (clog_test): Use END_COMPLEX macro without arguments.
21252 (clog10_test): Likewise.
21253 (conj_test): Likewise.
21254 (copysign_test): Use END macro without arguments.
21255 (cos_test): Likewise.
21256 (cos_test_tonearest): Likewise.
21257 (cos_test_towardzero): Likewise.
21258 (cos_test_downward): Likewise.
21259 (cos_test_upward): Likewise.
21260 (cosh_test): Likewise.
21261 (cosh_test_tonearest): Likewise.
21262 (cosh_test_towardzero): Likewise.
21263 (cosh_test_downward): Likewise.
21264 (cosh_test_upward): Likewise.
21265 (cpow_test): Use END_COMPLEX macro without arguments.
21266 (cproj_test): Likewise.
21267 (creal_test): Use END macro without arguments.
21268 (csin_test): Use END_COMPLEX macro without arguments.
21269 (csinh_test): Likewise.
21270 (csqrt_test): Likewise.
21271 (ctan_test): Likewise.
21272 (ctan_test_tonearest): Likewise.
21273 (ctan_test_towardzero): Likewise.
21274 (ctan_test_downward): Likewise.
21275 (ctan_test_upward): Likewise.
21276 (ctanh_test): Likewise.
21277 (ctanh_test_tonearest): Likewise.
21278 (ctanh_test_towardzero): Likewise.
21279 (ctanh_test_downward): Likewise.
21280 (ctanh_test_upward): Likewise.
21281 (erf_test): Use END macro without arguments.
21282 (erfc_test): Likewise.
21283 (exp_test): Likewise.
21284 (exp_test_tonearest): Likewise.
21285 (exp_test_towardzero): Likewise.
21286 (exp_test_downward): Likewise.
21287 (exp_test_upward): Likewise.
21288 (exp10_test): Likewise.
21289 (exp2_test): Likewise.
21290 (expm1_test): Likewise.
21291 (fabs_test): Likewise.
21292 (fdim_test): Likewise.
21293 (finite_test): Likewise.
21294 (floor_test): Likewise.
21295 (fma_test): Likewise.
21296 (fma_test_towardzero): Likewise.
21297 (fma_test_downward): Likewise.
21298 (fma_test_upward): Likewise.
21299 (fmax_test): Likewise.
21300 (fmin_test): Likewise.
21301 (fmod_test): Likewise.
21302 (fpclassify_test): Likewise.
21303 (frexp_test): Likewise.
21304 (gamma_test): Likewise.
21305 (hypot_test): Likewise.
21306 (ilogb_test): Likewise.
21307 (isfinite_test): Likewise.
21308 (isgreater_test): Likewise.
21309 (isgreaterequal_test): Likewise.
21310 (isinf_test): Likewise.
21311 (isless_test): Likewise.
21312 (islessequal_test): Likewise.
21313 (islessgreater_test): Likewise.
21314 (isnan_test): Likewise.
21315 (isnormal_test): Likewise.
21316 (issignaling_test): Likewise.
21317 (isunordered_test): Likewise.
21318 (j0_test): Likewise.
21319 (j1_test): Likewise.
21320 (jn_test): Likewise.
21321 (ldexp_test): Likewise.
21322 (lgamma_test): Likewise.
21323 (lrint_test): Likewise.
21324 (lrint_test_tonearest): Likewise.
21325 (lrint_test_towardzero): Likewise.
21326 (lrint_test_downward): Likewise.
21327 (lrint_test_upward): Likewise.
21328 (llrint_test): Likewise.
21329 (llrint_test_tonearest): Likewise.
21330 (llrint_test_towardzero): Likewise.
21331 (llrint_test_downward): Likewise.
21332 (llrint_test_upward): Likewise.
21333 (log_test): Likewise.
21334 (log10_test): Likewise.
21335 (log1p_test): Likewise.
21336 (log2_test): Likewise.
21337 (logb_test): Likewise.
21338 (logb_test_downward): Likewise.
21339 (lround_test): Likewise.
21340 (llround_test): Likewise.
21341 (modf_test): Likewise.
21342 (nearbyint_test): Likewise.
21343 (nextafter_test): Likewise.
21344 (nexttoward_test): Likewise.
21345 (pow_test): Likewise.
21346 (pow_test_tonearest): Likewise.
21347 (pow_test_towardzero): Likewise.
21348 (pow_test_downward): Likewise.
21349 (pow_test_upward): Likewise.
21350 (remainder_test): Likewise.
21351 (remainder_test_tonearest): Likewise.
21352 (remainder_test_towardzero): Likewise.
21353 (remainder_test_downward): Likewise.
21354 (remainder_test_upward): Likewise.
21355 (remquo_test): Likewise.
21356 (rint_test): Likewise.
21357 (rint_test_tonearest): Likewise.
21358 (rint_test_towardzero): Likewise.
21359 (rint_test_downward): Likewise.
21360 (rint_test_upward): Likewise.
21361 (round_test): Likewise.
21362 (scalb_test): Likewise.
21363 (scalbn_test): Likewise.
21364 (scalbln_test): Likewise.
21365 (signbit_test): Likewise.
21366 (sin_test): Likewise.
21367 (sin_test_tonearest): Likewise.
21368 (sin_test_towardzero): Likewise.
21369 (sin_test_downward): Likewise.
21370 (sin_test_upward): Likewise.
21371 (sincos_test): Likewise.
21372 (sinh_test): Likewise.
21373 (sinh_test_tonearest): Likewise.
21374 (sinh_test_towardzero): Likewise.
21375 (sinh_test_downward): Likewise.
21376 (sinh_test_upward): Likewise.
21377 (sqrt_test): Likewise.
21378 (tan_test): Likewise.
21379 (tan_test_tonearest): Likewise.
21380 (tan_test_towardzero): Likewise.
21381 (tan_test_downward): Likewise.
21382 (tan_test_upward): Likewise.
21383 (tanh_test): Likewise.
21384 (tgamma_test): Likewise.
21385 (trunc_test): Likewise.
21386 (y0_test): Likewise.
21387 (y1_test): Likewise.
21388 (yn_test): Likewise.
21389 (significand_test): Likewise.
21391 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
21394 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21396 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21399 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21400 __ppc_mdoio and __ppc_mdoom.
21401 * manual/platform.texi: Document new functions __ppc_yield,
21402 __ppc_mdoio and __ppc_mdoom.
21404 2013-05-22 Carlos O'Donell <carlos@redhat.com>
21406 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21407 (main): Mention "tls" pseudo-hwcap is legacy.
21408 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21410 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21412 * math/gen-libm-test.pl (parse_args): Output only string of
21413 arguments as text for test name, not full call or descriptions of
21414 tests for extra outputs.
21415 (generate_testfile): Do not pass function name to parse_args.
21416 Generate this_func variable from START.
21417 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21419 (struct test_ff_f_data): Likewise.
21420 (test_ff_f_data_nexttoward): Likewise.
21421 (struct test_fi_f_data): Likewise.
21422 (struct test_fl_f_data): Likewise.
21423 (struct test_if_f_data): Likewise.
21424 (struct test_fff_f_data): Likewise.
21425 (struct test_c_f_data): Likewise.
21426 (struct test_f_f1_data): Likewise. Remove field extra_name.
21427 (struct test_fF_f1_data): Likewise.
21428 (struct test_ffI_f1_data): Likewise.
21429 (struct test_c_c_data): Rename test_name field to arg_str.
21430 (struct test_cc_c_data): Likewise.
21431 (struct test_f_i_data): Likewise.
21432 (struct test_ff_i_data): Likewise.
21433 (struct test_f_l_data): Likewise.
21434 (struct test_f_L_data): Likewise.
21435 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21437 (COMMON_TEST_SETUP): New macro.
21438 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21439 (COMMON_TEST_CLEANUP): Likewise.
21440 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21441 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21443 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21444 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21446 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21447 (RUN_TEST_fff_f): Take argument string. Call new setup and
21449 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21450 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21452 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21453 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21455 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21456 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21458 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21459 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21461 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21462 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21464 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21465 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21467 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21468 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21470 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21471 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21473 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21474 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21476 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21477 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21479 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21480 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21482 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21483 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21485 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21486 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21488 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21489 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21491 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21492 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21494 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21496 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21498 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21499 to _sifields.sigfault.
21500 (si_addr_lsb): Define new macro.
21501 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21502 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21503 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21505 2013-05-03 Carlos O'Donell <carlos at redhat.com>
21508 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21510 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21512 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21513 loading the domain.
21515 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21517 * math/gen-libm-test.pl (parse_args): Do not include expected
21518 result in test name.
21519 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21520 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21521 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21522 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21523 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21526 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21528 * benchtests/Makefile: Sort function entries.
21530 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21531 tanh, asinh, acosh, atanh.
21532 * benchtests/acos-inputs: New file.
21533 * benchtests/acosh-inputs: New file.
21534 * benchtests/asin-inputs: New file.
21535 * benchtests/asinh-inputs: New file.
21536 * benchtests/atanh-inputs: New file.
21537 * benchtests/cosh-inputs: New file.
21538 * benchtests/log-inputs: New file.
21539 * benchtests/sinh-inputs: New file.
21540 * benchtests/tanh-inputs: New file.
21542 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21545 * posix/tst-getaddrinfo4.c: New test.
21546 * posix/Makefile (tests): Add it.
21548 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21551 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21552 when no services were used.
21553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21554 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21556 2013-05-21 Andreas Schwab <schwab@suse.de>
21559 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21560 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21562 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21563 redundant variable declarations and reallocation of buffer when
21564 parsing as IPv6 address. Always set NSS status when called from
21565 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21566 buffer too small. Correct computation of needed size.
21567 * nss/Makefile (tests): Add test-digits-dots.
21568 * nss/test-digits-dots.c: New test.
21570 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21572 * benchtests/Makefile: Remove instructions for adding
21574 * benchtests/README: New file to explain how to execute and
21575 enhance the benchmark tests.
21577 2013-05-21 Andreas Schwab <schwab@suse.de>
21580 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21581 * setjmp/tst-sigsetjmp.c: New test.
21583 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21585 * sysdeps/x86_64/memset.S (memset): New implementation.
21586 (__bzero): Likewise.
21587 (__memset_tail): New function.
21589 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21591 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21592 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21593 __memcpy_sse2_unaligned ifunc selection.
21594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21595 Add memcpy-sse2-unaligned.S.
21596 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21597 Add: __memcpy_sse2_unaligned.
21599 2013-05-19 Joseph Myers <joseph@codesourcery.com>
21602 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21603 math_force_eval before restoring floating-point envrionment.
21604 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21605 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21607 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21609 (__nearbyintl): Use math_force_eval before restoring
21610 floating-point environment.
21611 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21613 * math/gen-libm-test.pl (special_functions): Remove.
21614 (parse_args): Don't handle TEST_extra. Handle functions with no
21616 * math/libm-test.inc (struct test_sincos_data): Replace with
21617 struct test_fFF_11_data.
21618 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21619 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21620 (sincos_test_data): Change element type to struct
21621 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21622 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21623 RUN_TEST_LOOP_sincos.
21624 * math/README.libm-test: Don't mention special handling of
21625 individual functions.
21626 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21627 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21628 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21629 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21630 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21633 * math/gen-libm-test.pl (get_variable): Remove function.
21634 (parse_args): Don't show pointer parameters to call in test
21635 names. Use "extra output N" in test names for extra outputs
21636 rather than naming variables.
21638 2013-05-18 Joseph Myers <joseph@codesourcery.com>
21641 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21642 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21643 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21645 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21647 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21650 * math/gen-libm-test.pl (@tests): Remove variable.
21651 ($count): Likewise.
21652 (new_test): Remove function.
21653 (show_exceptions): New function.
21654 (special_functions): Use show_exceptions instead of new_test.
21655 (parse_args): Likewise.
21656 (generate_testfile): Pass only function name in generated call to
21657 print_max_error or print_complex_max_error.
21658 (get_ulps): Do not handle complex tests specially.
21659 (output_test): Rename to ...
21660 (get_all_ulps_for_test): ... this. Return a string rather than
21661 printing to a file. Require ulps to be present.
21662 (output_ulps): Generate arrays rather than #defines.
21663 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21664 (struct ulp_data): New type.
21665 (BUILD_COMPLEX_ULP): Remove macro.
21666 (compare_ulp_data): New function.
21667 (find_ulps): Likewise.
21668 (find_test_ulps): Likewise.
21669 (find_function_ulps): Likewise.
21670 (find_complex_function_ulps): Likewise.
21671 (print_max_error): Determine allowed ulps using
21672 find_function_ulps.
21673 (print_complex_max_error): Determine allowed ulps using
21674 find_complex_function_ulps.
21675 (check_float_internal): Determine max ulps using find_test_ulps.
21676 (check_float): Do not take max_ulp parameter. Update call to
21677 check_float_internal.
21678 (check_complex): Likewise.
21679 (check_int): Do not take max_ulp parameter.
21680 (check_long): Likewise.
21681 (check_bool): Likewise.
21682 (check_longlong): Likewise.
21683 (struct test_f_f_data): Remove max_ulp field.
21684 (struct test_ff_f_data): Likewise.
21685 (struct test_ff_f_data_nexttoward): Likewise.
21686 (struct test_fi_f_data): Likewise.
21687 (struct test_fl_f_data): Likewise.
21688 (struct test_if_f_data): Likewise.
21689 (struct test_fff_f_data): Likewise.
21690 (struct test_c_f_data): Likewise.
21691 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21692 (struct test_fF_f1_data): Likewise.
21693 (struct test_ffI_f1_data): Likewise.
21694 (struct test_c_c_data): Remove max_ulp field.
21695 (struct test_cc_c_data): Likewise.
21696 (struct test_f_i_data): Likewise.
21697 (struct test_ff_i_data): Likewise.
21698 (struct test_f_l_data): Likewise.
21699 (struct test_f_L_data): Likewise.
21700 (struct test_sincos_data): Likewise.
21701 (RUN_TEST_f_f): Do not handle ulps.
21702 (RUN_TEST_LOOP_f_f): Likewise.
21703 (RUN_TEST_2_f): Likewise.
21704 (RUN_TEST_LOOP_2_f): Likewise.
21705 (RUN_TEST_fff_f): Likewise.
21706 (RUN_TEST_LOOP_fff_f): Likewise.
21707 (RUN_TEST_c_f): Likewise.
21708 (RUN_TEST_LOOP_c_f): Likewise.
21709 (RUN_TEST_f_f1): Likewise.
21710 (RUN_TEST_LOOP_f_f1): Likewise.
21711 (RUN_TEST_fF_f1): Likewise.
21712 (RUN_TEST_LOOP_fF_f1): Likewise.
21713 (RUN_TEST_fI_f1): Likewise.
21714 (RUN_TEST_LOOP_fI_f1): Likewise.
21715 (RUN_TEST_ffI_f1): Likewise.
21716 (RUN_TEST_LOOP_ffI_f1): Likewise.
21717 (RUN_TEST_c_c): Likewise.
21718 (RUN_TEST_LOOP_c_c): Likewise.
21719 (RUN_TEST_cc_c): Likewise.
21720 (RUN_TEST_LOOP_cc_c): Likewise.
21721 (RUN_TEST_f_i): Likewise.
21722 (RUN_TEST_LOOP_f_i): Likewise.
21723 (RUN_TEST_f_i_tg): Likewise.
21724 (RUN_TEST_LOOP_f_i_tg): Likewise.
21725 (RUN_TEST_ff_i_tg): Likewise.
21726 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21727 (RUN_TEST_f_b): Likewise.
21728 (RUN_TEST_LOOP_f_b): Likewise.
21729 (RUN_TEST_f_b_tg): Likewise.
21730 (RUN_TEST_LOOP_f_b_tg): Likewise.
21731 (RUN_TEST_f_l): Likewise.
21732 (RUN_TEST_LOOP_f_l): Likewise.
21733 (RUN_TEST_f_L): Likewise.
21734 (RUN_TEST_LOOP_f_L): Likewise.
21735 (RUN_TEST_sincos): Likewise.
21736 (RUN_TEST_LOOP_sincos): Likewise.
21738 2013-05-17 Joseph Myers <joseph@codesourcery.com>
21742 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21743 main case of finite arguments, set rounding mode to FE_TONEAREST
21744 and discard exceptions.
21745 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21747 (remainder_tonearest_test_data): New variable.
21748 (remainder_test_tonearest): New function.
21749 (remainder_towardzero_test_data): New variable.
21750 (remainder_test_towardzero): New function.
21751 (remainder_downward_test_data): New variable.
21752 (remainder_test_downward): New function.
21753 (remainder_upward_test_data): New variable.
21754 (remainder_test_upward): New function.
21755 (main): Call the new test functions.
21757 * math/libm-test.inc (struct test_f_f1_data): Remove field
21759 (struct test_fF_f1_data): Likewise.
21760 (struct test_ffI_f1_data): Likewise.
21761 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21762 based on value of EXTRA_EXPECTED.
21763 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21764 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21765 EXTRA_VAR based on value of EXTRA_EXPECTED.
21766 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21767 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21768 EXTRA_VAR based on value of EXTRA_EXPECTED.
21769 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21770 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21771 EXTRA_VAR based on value of EXTRA_EXPECTED.
21772 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21773 * math/gen-libm-test.pl (parse_args): Don't output initializers
21774 for extra output values.
21776 * math/libm-test.inc (check_int): Expect result to be exactly
21777 equal to expected value and do not handle ulps.
21778 (check_long): Likewise.
21779 (check_longlong): Likewise.
21781 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21783 (cimag_test_data): Likewise.
21784 (conj_test_data): Likewise.
21785 (copysign_test_data): Likewise.
21786 (cproj_test_data): Likewise.
21787 (creal_test_data): Likewise.
21788 (fabs_test_data): Likewise.
21789 (fdim_test_data): Likewise.
21790 (finite_test_data): Likewise.
21791 (floor_test_data): Likewise.
21792 (fmax_test_data): Likewise.
21793 (fmin_test_data): Likewise.
21794 (fmod_test_data): Likewise.
21795 (fpclassify_test_data): Likewise.
21796 (frexp_test_data): Likewise.
21797 (ilogb_test_data): Likewise.
21798 (isfinite_test_data): Likewise.
21799 (isgreater_test_data): Likewise.
21800 (isgreaterequal_test_data): Likewise.
21801 (isinf_test_data): Likewise.
21802 (isless_test_data): Likewise.
21803 (islessequal_test_data): Likewise.
21804 (islessgreater_test_data): Likewise.
21805 (isnan_test_data): Likewise.
21806 (isnormal_test_data): Likewise.
21807 (issignaling_test_data): Likewise.
21808 (isunordered_test_data): Likewise.
21809 (ldexp_test_data): Likewise.
21810 (lrint_test_data): Likewise.
21811 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21812 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21813 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21814 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21815 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21816 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21818 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21819 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21820 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21821 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21823 (lrint_downward_test_data): Test for "inexact" exceptions.
21824 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21825 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21826 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21828 (lrint_upward_test_data): Test for "inexact" exceptions.
21829 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21831 (llrint_test_data): Test for "inexact" exceptions.
21832 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21833 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21834 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21835 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21836 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21837 (llrint_downward_test_data): Test for "inexact" exceptions.
21838 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21839 (llrint_upward_test_data): Test for "inexact" exceptions.
21840 (logb_test_data): Likewise.
21841 (logb_downward_test_data): Likewise.
21842 (nextafter_test_data): Likewise.
21843 (nexttoward_test_data): Likewise.
21844 (remainder_test_data): Likewise.
21845 (remquo_test_data): Likewise.
21846 (scalbn_test_data): Likewise.
21847 (scalbln_test_data): Likewise.
21848 (signbit_test_data): Likewise.
21849 (sqrt_test_data): Likewise.
21850 (significand_test_data): Likewise.
21852 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21855 * benchtests/bench-modf.c (struct args): Mark arg0 as
21857 * scripts/bench.pl: Mark members of struct args as volatile.
21859 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21862 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21863 negative infinity on POWER6 or lower.
21864 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21866 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21869 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21870 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21871 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21872 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21873 (_FP_SETQNAN): New macro.
21874 (_FP_SETQNAN_SEMIRAW): Likewise.
21875 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21876 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21877 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21878 (FP_EXTEND): Use _FP_FRAC_SNANP.
21879 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21880 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21882 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21884 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21887 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21889 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21890 with DIVIDE_BY_ZERO_EXCEPTION.
21891 (gamma_test_data): Likewise.
21892 (lgamma_test_data): Likewise.
21893 (log_test_data): Likewise.
21894 (log10_test_data): Likewise.
21895 (log2_test_data): Likewise.
21896 (tgamma_test_data): Likewise.
21898 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21899 (acos_test_tonearest): Likewise.
21900 (acos_test_towardzero): Likewise.
21901 (acos_test_downward): Likewise.
21902 (acos_test_upward): Likewise.
21903 (acosh_test): Likewise.
21904 (asin_test): Likewise.
21905 (asin_test_tonearest): Likewise.
21906 (asin_test_towardzero): Likewise.
21907 (asin_test_downward): Likewise.
21908 (asin_test_upward): Likewise.
21909 (asinh_test): Likewise.
21910 (atan_test): Likewise.
21911 (atanh_test): Likewise.
21912 (atan2_test): Likewise.
21913 (cabs_test): Likewise.
21914 (cacos_test): Likewise.
21915 (cacosh_test): Likewise.
21916 (casin_test): Likewise.
21917 (casinh_test): Likewise.
21918 (catan_test): Likewise.
21919 (catanh_test): Likewise.
21920 (cbrt_test): Likewise.
21921 (ccos_test): Likewise.
21922 (ccosh_test): Likewise.
21923 (cexp_test): Likewise.
21924 (clog_test): Likewise.
21925 (clog10_test): Likewise.
21926 (cos_test): Likewise.
21927 (cos_test_tonearest): Likewise.
21928 (cos_test_towardzero): Likewise.
21929 (cos_test_downward): Likewise.
21930 (cos_test_upward): Likewise.
21931 (cosh_test): Likewise.
21932 (cosh_test_tonearest): Likewise.
21933 (cosh_test_towardzero): Likewise.
21934 (cosh_test_downward): Likewise.
21935 (cosh_test_upward): Likewise.
21936 (cpow_test): Likewise.
21937 (csin_test): Likewise.
21938 (csinh_test): Likewise.
21939 (csqrt_test): Likewise.
21940 (ctan_test): Likewise.
21941 (ctan_test_tonearest): Likewise.
21942 (ctan_test_towardzero): Likewise.
21943 (ctan_test_downward): Likewise.
21944 (ctan_test_upward): Likewise.
21945 (ctanh_test): Likewise.
21946 (ctanh_test_tonearest): Likewise.
21947 (ctanh_test_towardzero): Likewise.
21948 (ctanh_test_downward): Likewise.
21949 (ctanh_test_upward): Likewise.
21950 (erf_test): Likewise.
21951 (erfc_test): Likewise.
21952 (exp_test): Likewise.
21953 (exp_test_tonearest): Likewise.
21954 (exp_test_towardzero): Likewise.
21955 (exp_test_downward): Likewise.
21956 (exp_test_upward): Likewise.
21957 (exp10_test): Likewise.
21958 (exp2_test): Likewise.
21959 (expm1_test): Likewise.
21960 (fmod_test): Likewise.
21961 (gamma_test): Likewise.
21962 (hypot_test): Likewise.
21963 (j0_test): Likewise.
21964 (j1_test): Likewise.
21965 (jn_test): Likewise.
21966 (lgamma_test): Likewise.
21967 (log_test): Likewise.
21968 (log10_test): Likewise.
21969 (log1p_test): Likewise.
21970 (log2_test): Likewise.
21971 (logb_test_downward): Likewise.
21972 (pow_test): Likewise.
21973 (pow_test_tonearest): Likewise.
21974 (pow_test_towardzero): Likewise.
21975 (pow_test_downward): Likewise.
21976 (pow_test_upward): Likewise.
21977 (remainder_test): Likewise.
21978 (remquo_test): Likewise.
21979 (sin_test): Likewise.
21980 (sin_test_tonearest): Likewise.
21981 (sin_test_towardzero): Likewise.
21982 (sin_test_downward): Likewise.
21983 (sin_test_upward): Likewise.
21984 (sincos_test): Likewise.
21985 (sinh_test): Likewise.
21986 (sinh_test_tonearest): Likewise.
21987 (sinh_test_towardzero): Likewise.
21988 (sinh_test_downward): Likewise.
21989 (sinh_test_upward): Likewise.
21990 (sqrt_test): Likewise.
21991 (tan_test): Likewise.
21992 (tan_test_tonearest): Likewise.
21993 (tan_test_towardzero): Likewise.
21994 (tan_test_downward): Likewise.
21995 (tan_test_upward): Likewise.
21996 (tanh_test): Likewise.
21997 (tgamma_test): Likewise.
21998 (y0_test): Likewise.
21999 (y1_test): Likewise.
22000 (yn_test): Likewise.
22002 * math/gen-libm-test.pl (adjust_arg): Remove function.
22003 (special_function): Remove argument $in_func. Only handle
22004 generating output for tables of tests, not inside functions.
22005 (parse_args): Likewise.
22006 (generate_testfile): Remove variable $in_func. Update call to
22008 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22009 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22010 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22011 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22012 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22013 (MAX_VALUE_INIT): Rename macro to max_value.
22014 (MIN_VALUE_INIT): Rename macro to min_value.
22015 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22016 (plus_zero): Remove variable.
22017 (minus_zero): Likewise.
22018 (plus_infty): Likewise.
22019 (minus_infty): Likewise.
22020 (qnan_value): Likewise.
22021 (max_value): Likewise.
22022 (min_value): Likewise.
22023 (min_subnorm_value): Likewise.
22025 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22027 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22028 uint64_t or uint32_t usage.
22029 * crypt/sha256-block.c: Likewise.
22030 * crypt/sha256-crypt.c: Likewise.
22031 * crypt/sha256.c: Likewise.
22032 * crypt/sha512-block.c: Likewise.
22033 * crypt/sha512-crypt.c: Likewise.
22034 * crypt/sha512.c: Likewise.
22035 * debug/backtrace-tst.c: Likewise.
22036 * debug/pcprofiledump.c: Likewise.
22037 * elf/cache.c: Likewise.
22038 * elf/dl-cache.c: Likewise.
22039 * elf/dl-misc.c: Likewise.
22040 * elf/dl-profile.c: Likewise.
22041 * elf/dl-support.c: Likewise.
22042 * elf/ldconfig.c: Likewise.
22043 * elf/sprof.c: Likewise.
22044 * iconv/dummy-repertoire.c: Likewise.
22045 * iconv/iconv_charmap.c: Likewise.
22046 * iconv/skeleton.c: Likewise.
22047 * iconvdata/8bit-generic.c: Likewise.
22048 * iconvdata/cp737.h: Likewise.
22049 * iconvdata/cp775.h: Likewise.
22050 * iconvdata/ibm1008.h: Likewise.
22051 * iconvdata/ibm1025.h: Likewise.
22052 * iconvdata/ibm1046.h: Likewise.
22053 * iconvdata/ibm1097.h: Likewise.
22054 * iconvdata/ibm1112.h: Likewise.
22055 * iconvdata/ibm1122.h: Likewise.
22056 * iconvdata/ibm1123.h: Likewise.
22057 * iconvdata/ibm1124.h: Likewise.
22058 * iconvdata/ibm1129.h: Likewise.
22059 * iconvdata/ibm1130.h: Likewise.
22060 * iconvdata/ibm1132.h: Likewise.
22061 * iconvdata/ibm1133.h: Likewise.
22062 * iconvdata/ibm1137.h: Likewise.
22063 * iconvdata/ibm1140.h: Likewise.
22064 * iconvdata/ibm1141.h: Likewise.
22065 * iconvdata/ibm1142.h: Likewise.
22066 * iconvdata/ibm1143.h: Likewise.
22067 * iconvdata/ibm1144.h: Likewise.
22068 * iconvdata/ibm1145.h: Likewise.
22069 * iconvdata/ibm1146.h: Likewise.
22070 * iconvdata/ibm1147.h: Likewise.
22071 * iconvdata/ibm1148.h: Likewise.
22072 * iconvdata/ibm1149.h: Likewise.
22073 * iconvdata/ibm1153.h: Likewise.
22074 * iconvdata/ibm1154.h: Likewise.
22075 * iconvdata/ibm1155.h: Likewise.
22076 * iconvdata/ibm1156.h: Likewise.
22077 * iconvdata/ibm1157.h: Likewise.
22078 * iconvdata/ibm1158.h: Likewise.
22079 * iconvdata/ibm1160.h: Likewise.
22080 * iconvdata/ibm1161.h: Likewise.
22081 * iconvdata/ibm1162.h: Likewise.
22082 * iconvdata/ibm1163.h: Likewise.
22083 * iconvdata/ibm1164.h: Likewise.
22084 * iconvdata/ibm1166.h: Likewise.
22085 * iconvdata/ibm1167.h: Likewise.
22086 * iconvdata/ibm12712.h: Likewise.
22087 * iconvdata/ibm1390.h: Likewise.
22088 * iconvdata/ibm1399.h: Likewise.
22089 * iconvdata/ibm16804.h: Likewise.
22090 * iconvdata/ibm4517.h: Likewise.
22091 * iconvdata/ibm4899.h: Likewise.
22092 * iconvdata/ibm4909.h: Likewise.
22093 * iconvdata/ibm4971.h: Likewise.
22094 * iconvdata/ibm5347.h: Likewise.
22095 * iconvdata/ibm803.h: Likewise.
22096 * iconvdata/ibm856.h: Likewise.
22097 * iconvdata/ibm901.h: Likewise.
22098 * iconvdata/ibm902.h: Likewise.
22099 * iconvdata/ibm9030.h: Likewise.
22100 * iconvdata/ibm9066.h: Likewise.
22101 * iconvdata/ibm921.h: Likewise.
22102 * iconvdata/ibm922.h: Likewise.
22103 * iconvdata/ibm9448.h: Likewise.
22104 * iconvdata/isiri-3342.h: Likewise.
22105 * iconvdata/jis0201.h: Likewise.
22106 * include/link.h: Likewise.
22107 * include/netdb.h: Likewise.
22108 * inet/check_native.c: Likewise.
22109 * inet/check_pf.c: Likewise.
22110 * inet/getipv4sourcefilter.c: Likewise.
22111 * inet/getnameinfo.c: Likewise.
22112 * inet/getsourcefilter.c: Likewise.
22113 * inet/htonl.c: Likewise.
22114 * inet/setipv4sourcefilter.c: Likewise.
22115 * inet/setsourcefilter.c: Likewise.
22116 * inet/test-inet6_opt.c: Likewise.
22117 * inet/tst-network.c: Likewise.
22118 * locale/C-collate.c: Likewise.
22119 * locale/C-ctype.c: Likewise.
22120 * locale/C-time.c: Likewise.
22121 * locale/C-translit.h: Likewise.
22122 * locale/loadarchive.c: Likewise.
22123 * locale/programs/3level.h: Likewise.
22124 * locale/programs/charmap.c: Likewise.
22125 * locale/programs/charmap.h: Likewise.
22126 * locale/programs/ld-address.c: Likewise.
22127 * locale/programs/ld-collate.c: Likewise.
22128 * locale/programs/ld-ctype.c: Likewise.
22129 * locale/programs/ld-identification.c: Likewise.
22130 * locale/programs/ld-measurement.c: Likewise.
22131 * locale/programs/ld-messages.c: Likewise.
22132 * locale/programs/ld-monetary.c: Likewise.
22133 * locale/programs/ld-name.c: Likewise.
22134 * locale/programs/ld-numeric.c: Likewise.
22135 * locale/programs/ld-paper.c: Likewise.
22136 * locale/programs/ld-telephone.c: Likewise.
22137 * locale/programs/ld-time.c: Likewise.
22138 * locale/programs/linereader.c: Likewise.
22139 * locale/programs/locale.c: Likewise.
22140 * locale/programs/locarchive.c: Likewise.
22141 * locale/programs/locfile.h: Likewise.
22142 * locale/programs/repertoire.c: Likewise.
22143 * locale/programs/simple-hash.c: Likewise.
22144 * locale/programs/simple-hash.h: Likewise.
22145 * malloc/memusage.c: Likewise.
22146 * malloc/memusagestat.c: Likewise.
22147 * nis/nis_defaults.c: Likewise.
22148 * nis/nis_hash.c: Likewise.
22149 * nis/nis_print.c: Likewise.
22150 * nis/nis_xdr.c: Likewise.
22151 * nscd/connections.c: Likewise.
22152 * nscd/hstcache.c: Likewise.
22153 * nscd/nscd_gethst_r.c: Likewise.
22154 * nscd/nscd_getserv_r.c: Likewise.
22155 * nscd/nscd_helper.c: Likewise.
22156 * nscd/servicescache.c: Likewise.
22157 * nss/makedb.c: Likewise.
22158 * nss/nss_db/db-XXX.c: Likewise.
22159 * nss/nss_db/db-initgroups.c: Likewise.
22160 * nss/nss_db/db-netgrp.c: Likewise.
22161 * nss/nss_files/files-network.c: Likewise.
22162 * nss/nss_files/files-parse.c: Likewise.
22163 * posix/bug-regex5.c: Likewise.
22164 * posix/fnmatch_loop.c: Likewise.
22165 * posix/regcomp.c: Likewise.
22166 * posix/regexec.c: Likewise.
22167 * posix/tst-rfc3484-2.c: Likewise.
22168 * posix/tst-rfc3484-3.c: Likewise.
22169 * posix/tst-rfc3484.c: Likewise.
22170 * resolv/nss_dns/dns-canon.c: Likewise.
22171 * resolv/nss_dns/dns-network.c: Likewise.
22172 * resolv/res_init.c: Likewise.
22173 * resolv/res_mkquery.c: Likewise.
22174 * resolv/tst-aton.c: Likewise.
22175 * stdlib/cxa_atexit.c: Likewise.
22176 * stdlib/cxa_finalize.c: Likewise.
22177 * stdlib/gen-fpioconst.c: Likewise.
22178 * stdlib/strtol_l.c: Likewise.
22179 * string/tst-endian.c: Likewise.
22180 * sunrpc/auth_des.c: Likewise.
22181 * sunrpc/clnt_udp.c: Likewise.
22182 * sunrpc/rtime.c: Likewise.
22183 * sunrpc/svcauth_des.c: Likewise.
22184 * sunrpc/xdr.c: Likewise.
22185 * sunrpc/xdr_intXX_t.c: Likewise.
22186 * sunrpc/xdr_rec.c: Likewise.
22187 * sysdeps/generic/ldconfig.h: Likewise.
22188 * sysdeps/generic/ldsodefs.h: Likewise.
22189 * sysdeps/generic/memusage.h: Likewise.
22190 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22191 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22192 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22193 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22194 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22195 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22196 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22197 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22198 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22200 * sysdeps/posix/getaddrinfo.c: Likewise.
22201 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22202 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22203 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22204 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22205 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22206 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22207 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22208 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22209 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22210 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22211 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22212 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22213 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22214 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22215 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22216 * sysdeps/x86_64/dl-tls.h: Likewise.
22217 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22218 * time/alt_digit.c: Likewise.
22219 * time/era.c: Likewise.
22220 * wcsmbs/tst-c16c32-1.c: Likewise.
22222 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22224 * math/libm-test.inc (struct test_sincos_data): New type.
22225 (RUN_TEST_LOOP_sincos): New macro.
22226 (sincos_test_data): New variable.
22227 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22229 2013-05-16 Richard Henderson <rth@redhat.com>
22231 * math/atest-exp2.c (LIMB64): New macro.
22232 (CONSTSZ): New macro.
22233 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22235 (print_mpn_fp): ... to function scope.
22236 (read_mpn_hex): Remove.
22237 (get_log2): Remove.
22238 (exp2_mpn): Use mp_log2.
22239 (main): Use mp_exp1.
22241 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22243 * math/libm-test.inc: Remove comment about not testing "inexact"
22245 (INEXACT_EXCEPTION): New macro.
22246 (NO_INEXACT_EXCEPTION): Likewise.
22247 (INVALID_EXCEPTION_OK): Update value.
22248 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22249 (OVERFLOW_EXCEPTION_OK): Likewise.
22250 (UNDERFLOW_EXCEPTION_OK): Likewise.
22251 (IGNORE_ZERO_INF_SIGN): Likewise.
22252 (ERRNO_UNCHANGED): Likewise.
22253 (ERRNO_EDOM): Likewise.
22254 (ERRNO_ERANGE): Likewise.
22255 (test_exceptions): Handle testing "inexact" exceptions.
22256 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22257 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22258 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22259 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22261 (rint_towardzero_test_data): Likewise.
22262 (rint_downward_test_data): Likewise.
22263 (rint_upward_test_data): Likewise.
22265 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22266 with OVERFLOW_EXCEPTION.
22267 (exp10_test_data): Likewise.
22268 (exp2_test_data): Likewise.
22269 (expm1_test_data): Likewise.
22270 (lgamma_test_data): Likewise.
22271 (pow_test_data): Likewise.
22272 (tgamma_test_data): Likewise.
22273 (yn_test_data): Remove duplicate test of overflow.
22275 * math/libm-test.inc (struct test_cc_c_data): New type.
22276 (RUN_TEST_LOOP_cc_c): New macro.
22277 (cpow_test_data): New variable.
22278 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22280 * math/libm-test.inc (struct test_f_L_data): New type.
22281 (RUN_TEST_LOOP_f_L): New macro.
22282 (llrint_test_data): New variable.
22283 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22284 (llrint_tonearest_test_data): New variable.
22285 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22286 (llrint_towardzero_test_data): New variable.
22287 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22288 (llrint_downward_test_data): New variable.
22289 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22290 (llrint_upward_test_data): New variable.
22291 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22292 (llround_test_data): New variable.
22293 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22295 2013-05-13 Peter Collingbourne <pcc@google.com>
22297 * math/atest-exp2.c (get_log2): Remove const attribute.
22299 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22301 * math/libm-test.inc (struct test_f_l_data): New type.
22302 (RUN_TEST_LOOP_f_l): New macro.
22303 (lrint_test_data): New variable.
22304 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22305 (lrint_tonearest_test_data): New variable.
22306 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22307 (lrint_towardzero_test_data): New variable.
22308 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22309 (lrint_downward_test_data): New variable.
22310 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22311 (lrint_upward_test_data): New variable.
22312 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22313 (lround_test_data): New variable.
22314 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22316 2013-05-15 Peter Collingbourne <pcc@google.com>
22318 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22319 (EXTRACT_WORDS64) Use where appropriate.
22320 (INSERT_WORDS64) Likewise.
22322 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22323 constraints with x constraints.
22324 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22326 * malloc/obstack.c (_obstack_compat): Add initializer.
22328 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22330 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22331 si_trapno and add si_addr_lsb to _sifields.sigfault.
22332 (si_trapno): Remove macro.
22333 (si_addr_lsb): Define new macro.
22334 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22336 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22338 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22339 instead of TEST_f_l.
22340 (llrint_test_tonearest): Likewise.
22341 (llrint_test_towardzero): Likewise.
22342 (llrint_test_downward): Likewise.
22343 (llrint_test_upward): Likewise.
22344 (llround_test): Likewise.
22346 * math/libm-test.inc (struct test_f_i_data): Add comment.
22347 (RUN_TEST_LOOP_f_b): New macro.
22348 (RUN_TEST_LOOP_f_b_tg): Likewise.
22349 (finite_test_data): New variable.
22350 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22351 (isfinite_test_data): New variable.
22352 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22353 (isinf_test_data): New variable.
22354 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22355 (isnan_test_data): New variable.
22356 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22357 (isnormal_test_data): New variable.
22358 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22359 (issignaling_test_data): New variable.
22360 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22361 (signbit_test_data): New variable.
22362 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22364 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22365 with INVALID_EXCEPTION.
22366 (acosh_test_data): Likewise.
22367 (asin_test_data): Likewise.
22368 (atanh_test_data): Likewise.
22369 (fmod_test_data): Likewise.
22370 (log_test_data): Likewise.
22371 (log10_test_data): Likewise.
22372 (log2_test_data): Likewise.
22373 (pow_test_data): Likewise.
22374 (sqrt_test_data): Likewise.
22375 (y0_test_data): Likewise.
22376 (y1_test_data): Likewise.
22377 (yn_test_data): Likewise.
22379 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22382 * math/libm-test.inc (struct test_ff_i_data): New type.
22383 (RUN_TEST_LOOP_ff_i_tg): New macro.
22384 (isgreater_test_data): New variable.
22385 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22386 (isgreaterequal_test_data): New variable.
22387 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22388 (isless_test_data): New variable.
22389 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22390 (islessequal_test_data): New variable.
22391 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22392 (islessgreater_test_data): New variable.
22393 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22394 (isunordered_test_data): New variable.
22395 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22397 2013-05-14 David S. Miller <davem@davemloft.net>
22399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22401 2013-05-14 Joseph Myers <joseph@codesourcery.com>
22403 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22405 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22407 (struct test_f_i_data): Change type of max_ulp to int.
22409 * math/libm-test.inc (test_ffI_f1_data): New type.
22410 (RUN_TEST_LOOP_ffI_f1): New macro.
22411 (remquo_test_data): New variable.
22412 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22414 * setjmp/tst-setjmp-fp.c: New file.
22415 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22416 (link-libm): New variable.
22417 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22419 * math/libm-test.inc (struct test_f_i_data): New type.
22420 (RUN_TEST_LOOP_f_i): New macro.
22421 (RUN_TEST_LOOP_f_i_tg): Likewise.
22422 (fpclassify_test_data): New variable.
22423 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22424 (ilogb_test_data): New variable.
22425 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22427 * math/libm-test.inc (scalbln_test): Correct function name in END
22430 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22431 (RUN_TEST_LOOP_fI_f1): New macro.
22432 (frexp_test_data): New variable.
22433 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22435 * math/libm-test.inc (struct test_fF_f1_data): New type.
22436 (RUN_TEST_LOOP_fF_f1): New macro.
22437 (modf_test_data): New variable.
22438 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22440 * math/libm-test.inc (struct test_f_f1_data): New type.
22441 (RUN_TEST_LOOP_f_f1): New macro.
22442 (gamma_test_data): New variable.
22443 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22444 (lgamma_test_data): New variable.
22445 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22447 2013-05-13 Carlos O'Donell <carlos@redhat.com>
22449 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22450 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22451 (main): Comment "tls" pseudo-hwcap.
22453 2013-05-13 Joseph Myers <joseph@codesourcery.com>
22455 * math/libm-test.inc (struct test_fl_f_data): New type.
22456 (RUN_TEST_LOOP_fl_f): New variable.
22457 (scalbln_test_data): New variable.
22458 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22460 * math/libm-test.inc (struct test_fi_f_data): New type.
22461 (RUN_TEST_LOOP_fi_f): New macro.
22462 (ldexp_test_data): New variable.
22463 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22464 (scalbn_test_data): New variable.
22465 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22467 * math/libm-test.inc (struct test_c_f_data): New type.
22468 (RUN_TEST_LOOP_c_f): New macro.
22469 (cabs_test_data): New variable.
22470 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22471 (carg_test_data): New variable.
22472 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22473 (cimag_test_data): New variable.
22474 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22475 (creal_test_data): New variable.
22476 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22478 * math/libm-test.inc (struct test_if_f_data): New type.
22479 (RUN_TEST_LOOP_if_f): New macro.
22480 (jn_test_data): New variable.
22481 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22482 (yn_test_data): New variable.
22483 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22485 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22487 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22489 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22490 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22492 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22494 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22495 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22496 (bench-deps): Add bench-timing.h.
22497 * benchtests-bench-skeleton.c: Include bench-timing.h.
22498 (main): Use TIMING_* macros instead of clock_gettime.
22499 * benchtests/bench-timing.h: New file.
22502 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22503 Renamed from _LIB_VERSION.
22504 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22506 2013-05-12 Joseph Myers <joseph@codesourcery.com>
22508 * math/libm-test.inc (struct test_fff_f_data): New type.
22509 (RUN_TEST_LOOP_fff_f): New macro.
22510 (fma_test_data): New variable.
22511 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22512 (fma_towardzero_test_data): New variable.
22513 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22514 (fma_downward_test_data): New variable.
22515 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22516 (fma_upward_test_data): New variable.
22517 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22519 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22520 (struct test_c_c_data): New type.
22521 (RUN_TEST_LOOP_c_c): New macro.
22522 (cacos_test_data): New variable.
22523 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22524 (cacosh_test_data): New variable.
22525 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22526 (casin_test_data): New variable.
22527 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22528 (casinh_test_data): New variable.
22529 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22530 (catan_test_data): New variable.
22531 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22532 (catanh_test_data): New variable.
22533 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22534 (ccos_test_data): New variable.
22535 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22536 (ccosh_test_data): New variable.
22537 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22538 (cexp_test_data): New variable.
22539 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22540 (clog_test_data): New variable.
22541 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22542 (clog10_test_data): New variable.
22543 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22544 (conj_test_data): New variable.
22545 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22546 (cproj_test_data): New variable.
22547 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22548 (csin_test_data): New variable.
22549 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22550 (csinh_test_data): New variable.
22551 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22552 (csqrt_test_data): New variable.
22553 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22554 (ctan_test_data): New variable.
22555 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22556 (ctan_tonearest_test_data): New variable.
22557 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22558 (ctan_towardzero_test_data): New variable.
22559 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22560 (ctan_downward_test_data): New variable.
22561 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22562 (ctan_upward_test_data): New variable.
22563 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22564 (ctanh_test_data): New variable.
22565 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22566 (ctanh_tonearest_test_data): New variable.
22567 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22568 (ctanh_towardzero_test_data): New variable.
22569 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22570 (ctanh_downward_test_data): New variable.
22571 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22572 (ctanh_upward_test_data): New variable.
22573 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22574 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22577 * math/libm-test.inc (struct test_ff_f_data): New type.
22578 (struct test_ff_f_data_nexttoward): Likewise.
22579 (RUN_TEST_LOOP_2_f): New macro.
22580 (RUN_TEST_LOOP_ff_f): Likewise.
22581 (atan2_test_data): New variable.
22582 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22583 (copysign_test_data): New variable.
22584 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22585 (fdim_test_data): New variable.
22586 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22587 (fmax_test_data): New variable.
22588 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22589 (fmin_test_data): New variable.
22590 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22591 (fmod_test_data): New variable.
22592 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22593 (hypot_test_data): New variable.
22594 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22595 (nextafter_test_data): New variable.
22596 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22597 (nexttoward_test_data): New variable.
22598 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22599 (pow_test_data): New variable.
22600 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22601 (pow_tonearest_test_data): New variable.
22602 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22603 (pow_towardzero_test_data): New variable.
22604 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22605 (pow_downward_test_data): New variable.
22606 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22607 (pow_upward_test_data): New variable.
22608 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22609 (remainder_test_data): New variable.
22610 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22611 (scalb_test_data): New variable.
22612 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22613 * sysdeps/i386/fpu/libm-test-ulps: Update.
22615 2013-05-11 Joseph Myers <joseph@codesourcery.com>
22617 * math/libm-test.inc (fma_test): Use max_value instead of local
22619 (nextafter_test): Likewise.
22621 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22622 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22623 (acos_downward_test_data): New variable.
22624 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22625 (acos_upward_test_data): New variable.
22626 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22627 (acosh_test_data): New variable.
22628 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22629 (asin_test_data): New variable.
22630 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22631 (asin_tonearest_test_data): New variable.
22632 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22633 (asin_towardzero_test_data): New variable.
22634 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22635 (asin_downward_test_data): New variable.
22636 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22637 (asin_upward_test_data): New variable.
22638 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22639 (asinh_test_data): New variable.
22640 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22641 (atan_test_data): New variable.
22642 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22643 (atanh_test_data): New variable.
22644 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22645 (cbrt_test_data): New variable.
22646 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22647 (ceil_test_data): New variable.
22648 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22649 (cos_test_data): New variable.
22650 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22651 (cos_tonearest_test_data): New variable.
22652 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22653 (cos_towardzero_test_data): New variable.
22654 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22655 (cos_downward_test_data): New variable.
22656 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22657 (cos_upward_test_data): New variable.
22658 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22659 (cosh_test_data): New variable.
22660 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22661 (cosh_tonearest_test_data): New variable.
22662 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22663 (cosh_towardzero_test_data): New variable.
22664 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22665 (cosh_downward_test_data): New variable.
22666 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22667 (cosh_upward_test_data): New variable.
22668 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22669 (erf_test_data): New variable.
22670 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22671 (erfc_test_data): New variable.
22672 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22673 (exp_test_data): New variable.
22674 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22675 (exp_tonearest_test_data): New variable.
22676 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22677 (exp_towardzero_test_data): New variable.
22678 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22679 (exp_downward_test_data): New variable.
22680 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22681 (exp_upward_test_data): New variable.
22682 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22683 (exp10_test_data): New variable.
22684 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22685 (exp2_test_data): New variable.
22686 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22687 (expm1_test_data): New variable.
22688 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22689 (fabs_test_data): New variable.
22690 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22691 (floor_test_data): New variable.
22692 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22693 (j0_test_data): New variable.
22694 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22695 (j1_test_data): New variable.
22696 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22697 (log_test_data): New variable.
22698 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22699 (log10_test_data): New variable.
22700 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22701 (log1p_test_data): New variable.
22702 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22703 (log2_test_data): New variable.
22704 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22705 (logb_test_data): New variable.
22706 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22707 (logb_downward_test_data): New variable.
22708 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22709 (nearbyint_test_data): New variable.
22710 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22711 (rint_test_data): New variable.
22712 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22713 (rint_tonearest_test_data): New variable.
22714 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22715 (rint_towardzero_test_data): New variable.
22716 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22717 (rint_downward_test_data): New variable.
22718 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22719 (rint_upward_test_data): New variable.
22720 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22721 (round_test_data): New variable.
22722 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22723 (sin_test_data): New variable.
22724 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22725 (sin_tonearest_test_data): New variable.
22726 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22727 (sin_towardzero_test_data): New variable.
22728 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22729 (sin_downward_test_data): New variable.
22730 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22731 (sin_upward_test_data): New variable.
22732 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22733 (sinh_test_data): New variable.
22734 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22735 (sinh_tonearest_test_data): New variable.
22736 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22737 (sinh_towardzero_test_data): New variable.
22738 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22739 (sinh_downward_test_data): New variable.
22740 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22741 (sinh_upward_test_data): New variable.
22742 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22743 (sqrt_test_data): New variable.
22744 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22745 (tan_test_data): New variable.
22746 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22747 (tan_tonearest_test_data): New variable.
22748 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22749 (tan_towardzero_test_data): New variable.
22750 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22751 (tan_downward_test_data): New variable.
22752 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22753 (tan_upward_test_data): New variable.
22754 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22755 (tanh_test_data): New variable.
22756 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22757 (tgamma_test_data): New variable.
22758 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22759 (trunc_test_data): New variable.
22760 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22761 (y0_test_data): New variable.
22762 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22763 (y1_test_data): New variable.
22764 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22765 (significand_test_data): New variable.
22766 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22768 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22771 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22773 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22775 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22777 2013-05-10 Andreas Jaeger <aj@suse.de>
22780 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22781 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22783 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22785 * math/gen-libm-test.pl (adjust_arg): New function.
22786 (special_functions): Handle generating output in both functions
22788 (parse_args): Likewise.
22789 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22790 $in_func argument to parse_args.
22791 * math/libm-test.inc (struct test_f_f_data): New type.
22792 (IF_ROUND_INIT_): New macro.
22793 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22794 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22795 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22796 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22797 (ROUND_RESTORE_): Likewise.
22798 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22799 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22800 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22801 (ROUND_RESTORE_FE_UPWARD): Likewise.
22802 (RUN_TEST_LOOP_f_f): New macro.
22803 (acos_test_data): New variable.
22804 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22805 (acos_tonearest_test_data): New variable.
22806 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22808 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22810 * benchtests/bench-skeleton.c (startup): Fix coding style.
22812 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22815 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22816 negative infinity argument.
22817 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22818 negative infinity argument.
22819 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22820 negative infinity argument.
22821 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22824 2013-05-10 Florian Weimer <fweimer@redhat.com>
22826 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22827 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22828 * iconv/iconv_prog.c (main): Likewise.
22829 * locale/programs/charmap-dir.c (charmap_readdir)
22830 (fopen_uncompressed): Likewise.
22831 * locale/programs/locfile.c (siblings_uncached)
22832 (write_locale_data): Use lstat64 instead of lstat.
22833 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22836 2013-05-10 Andreas Jaeger <aj@suse.de>
22839 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22841 Include <locale.h>.
22843 2013-05-09 Carlos O'Donell <carlos@redhat.com>
22845 * elf/dl-close.c (_dl_close_worker): Add comments.
22847 2013-05-09 Joseph Myers <joseph@codesourcery.com>
22850 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22852 (__ieee754_rem_pio2l): Update comments.
22855 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22857 (__ieee754_rem_pio2l): Update comments.
22859 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22860 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22862 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22865 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22866 (M_PI_34_LOG10El): Likewise.
22867 (M_PI2_LOG10El): Likewise.
22868 (M_PI4_LOG10El): Likewise.
22869 (M_PI_LOG10El): Likewise.
22871 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22875 2013-05-08 Joseph Myers <joseph@codesourcery.com>
22877 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22878 (MINUS_ZERO_INIT): Likewise.
22879 (PLUS_INFTY_INIT): Likewise.
22880 (MINUS_INFTY_INIT): Likewise.
22881 (QNAN_VALUE_INIT): Likewise.
22882 (MAX_VALUE_INIT): Likewise.
22883 (MIN_VALUE_INIT): Likewise.
22884 (MIN_SUBNORM_VALUE_INIT): Likewise.
22885 (plus_zero): Initialize with PLUS_ZERO_INIT.
22886 (minus_zero): Initialize with MINUS_ZERO_INIT.
22887 (plus_infty): Initialize with PLUS_INFTY_INIT.
22888 (minus_infty): Initialize with MINUS_INFTY_INIT.
22889 (qnan_value): Initialize with QNAN_VALUE_INIT.
22890 (max_value): Initialize with MAX_VALUE_INIT.
22891 (min_value): Initialize with MIN_VALUE_INIT.
22892 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22894 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22895 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22896 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22897 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22899 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22900 (RUN_TEST_2_f): Likewise.
22901 (RUN_TEST_ff_f): Likewise.
22902 (RUN_TEST_fi_f): Likewise.
22903 (RUN_TEST_fl_f): Likewise.
22904 (RUN_TEST_fff_f): Likewise.
22905 (RUN_TEST_c_f): Likewise.
22906 (RUN_TEST_f_f1): Likewise.
22907 (RUN_TEST_fF_f1): Likewise.
22908 (RUN_TEST_fI_f1): Likewise.
22909 (RUN_TEST_ffI_f1): Likewise.
22910 (RUN_TEST_c_c): Likewise.
22911 (RUN_TEST_cc_c): Likewise.
22912 (RUN_TEST_f_i): Likewise.
22913 (RUN_TEST_f_i_tg): Likewise.
22914 (RUN_TEST_ff_i_tg): Likewise.
22915 (RUN_TEST_f_b): Likewise.
22916 (RUN_TEST_f_b_tg): Likewise.
22917 (RUN_TEST_f_l): Likewise.
22918 (RUN_TEST_f_L): Likewise.
22919 (RUN_TEST_sincos): Likewise.
22920 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22921 whether to show exceptions. Do not include ");\n" in return
22923 (special_functions): Output call to RUN_TEST_sincos instead of
22924 check_float calls. Update calls to new_test.
22925 (parse_args): Output call to single RUN_TEST_* macro instead of
22926 check_* calls and other assignments. Update calls to new_test.
22932 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22933 input to result for tgamma overflow.
22934 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22935 (gamma_coeff): New variable.
22936 (NCOEFF): New macro.
22937 (gamma_positive): New function.
22938 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22939 underflow here. Use gamma_positive instead of exp (lgamma) for
22941 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22942 (gamma_coeff): New variable.
22943 (NCOEFF): New macro.
22944 (gammaf_positive): New function.
22945 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22946 underflow here. Use gamma_positive instead of exp (lgamma) for
22948 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22949 (gamma_coeff): New variable.
22950 (NCOEFF): New macro.
22951 (gammal_positive): New function.
22952 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22953 underflow here. Use gamma_positive instead of exp (lgamma) for
22955 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22956 (gamma_coeff): New variable.
22957 (NCOEFF): New macro.
22958 (gammal_positive): New function.
22959 (__ieee754_gammal_r): Handle positive infinity, overflow and
22960 underflow here. Handle NaN the same as positive infinity. Remove
22961 check x < 0xffffffff for negative integers. Use gamma_positive
22962 instead of exp (lgamma) for other arguments.
22963 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22964 (gamma_coeff): New variable.
22965 (NCOEFF): New macro.
22966 (gammal_positive): New function.
22967 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22968 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22969 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22970 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22971 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22972 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22973 * sysdeps/generic/math_private.h (__gamma_productf): New
22975 (__gamma_product): Likewise.
22976 (__gamma_productl): Likewise.
22977 * math/Makefile (libm-calls): Add gamma_product.
22978 * math/libm-test.inc (tgamma_test): Add more tests.
22979 * sysdeps/i386/fpu/libm-test-ulps: Update.
22980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22982 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
22984 * benchtests/bench-skeleton.c (main): Preheat CPU.
22986 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
22988 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22990 2013-05-07 Roland McGrath <roland@hack.frob.com>
22992 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22993 and _dl_skip_args_internal.
22995 2013-05-07 Carlos O'Donell <carlos@redhat.com>
22997 * manual/message.texi (Message Translation): Talk about users.
22998 Message to key mapping impacts design.
23000 2013-05-06 Roland McGrath <roland@hack.frob.com>
23002 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23004 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23006 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23007 * sysdeps/wordsize-64/glob64.c: ... here.
23009 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23010 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23013 * debug/getlogin_r_chk.c: Moved to ...
23014 * login/getlogin_r_chk.c: ... here.
23015 * debug/Makefile (routines): Move getlogin_r_chk to ...
23016 * login/Makefile (routines): ... here.
23017 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23018 * login/Versions (libc: GLIBC_2.4): ... here.
23020 * io/poll.c (__poll): Renamed from poll.
23021 Add libc_hidden_def.
23022 (poll): Define as weak alias.
23024 * debug/ptsname_r_chk.c: Moved to ...
23025 * login/ptsname_r_chk.c: ... here.
23026 * debug/Makefile (routines): Move ptsname_r_chk to ...
23027 * login/Makefile (routines): ... here.
23028 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23029 * login/Versions (libc: GLIBC_2.4): ... here.
23031 * posix/getlogin.c: Moved to ...
23032 * login/getlogin.c: ... here.
23033 * posix/getlogin_r.c: Moved to ...
23034 * login/getlogin_r.c: ... here.
23035 * posix/getlogin_r.c: Moved to ...
23036 * login/getlogin_r.c: ... here.
23037 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23038 * login/Makefile (routines): ... here.
23039 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23040 * login/Versions (libc: GLIBC_2.0): ... here.
23042 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23043 (setrlimit): Define as weak alias.
23045 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23046 Call __ names for open, ftruncate, and close.
23047 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23048 (truncate): Define as weak alias.
23050 2013-05-06 Joseph Myers <joseph@codesourcery.com>
23052 * math/gen-libm-test.pl (parse_args): Initialize x before each
23053 test of frexp, modf and remquo.
23055 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23056 test signgam value.
23058 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23062 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23064 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23066 2013-05-06 Roland McGrath <roland@hack.frob.com>
23068 * elf/dl-writev.h: New file.
23069 * elf/dl-misc.c: Include it.
23070 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23071 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23073 2013-05-04 Joseph Myers <joseph@codesourcery.com>
23075 * math/libm-test.inc (noXFails): Remove variable.
23076 (noXPasses): Likewise.
23077 (BUILD_COMPLEX_INT): Remove macro.
23078 (print_screen): Remove xfail argument.
23079 (print_screen_max_error): Likewise.
23080 (update_stats): Likewise.
23081 (print_max_error): Likewise. Update calls to other affected
23083 (print_complex_max_error): Likewise.
23084 (test_single_exception): Update calls to print_screen.
23085 (test_single_errno): Likewise.
23086 (check_float_internal): Remove xfail argument. Update calls to
23087 other affected functions.
23088 (check_float): Likewise.
23089 (check_complex): Likewise.
23090 (check_int): Likewise.
23091 (check_long): Likewise.
23092 (check_bool): Likewise.
23093 (check_longlong): Likewise.
23094 (main): Don't print noXFails and noXPasses.
23095 * math/gen-libm-test.pl (top level): Don't mention expected
23096 failure handling in comment.
23097 (new_test): Don't handle expected failures.
23098 (parse_args): Don't mention expected failure handling in comment.
23099 (generate_testfile): Don't handle expected failures.
23100 (parse_ulps): Likewise.
23101 (print_ulps_file): Likewise.
23102 (get_failure): Remove function.
23103 (output_test): Don't handle expected failures.
23104 * make/README.libm-test: Don't mention expected failure handling.
23106 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23107 (minus_zero): Likewise.
23108 (plus_infty): Likewise.
23109 (minus_infty): Likewise.
23110 (qnan_value): Likewise.
23111 (max_value): Likewise.
23112 (min_value): Likewise.
23113 (min_subnorm_value): Likewise.
23114 (initialize): Do not initialize those variables dynamically.
23116 2013-05-03 Roland McGrath <roland@hack.frob.com>
23118 * io/open.c (__open_2): Moved to ...
23119 * io/open_2.c: ... this new file.
23120 * io/open64.c (__open64_2): Moved to ...
23121 * io/open64_2.c: ... this new file.
23122 * io/openat.c (__openat_2): Moved to ...
23123 * io/openat_2.c: ... this new file.
23124 * io/openat64.c (__openat64_2): Moved to ...
23125 * io/openat64_2.c: ... this new file.
23126 * io/Makefile (routines): Add them.
23127 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23128 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23129 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23130 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23131 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23132 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23133 (__openat64): Add hidden_ver.
23134 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23135 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23137 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23138 Separately conditionalize setting of GLRO(dl_sysinfo) so
23139 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23140 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23142 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23144 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23145 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23147 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23148 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23149 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23150 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23151 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23153 2013-05-03 Joseph Myers <joseph@codesourcery.com>
23155 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23156 test signgam value.
23158 * math/libm-test.inc (hypot_test): Do not use
23159 IGNORE_ZERO_INF_SIGN.
23161 2013-05-03 Andreas Jaeger <aj@suse.de>
23163 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23165 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23166 (PF_MAX): Adjust for VSOCK change.
23168 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23172 2013-05-02 Carlos O'Donell <carlos@redhat.com>
23175 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23176 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23177 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23179 2013-05-02 David S. Miller <davem@davemloft.net>
23181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23183 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
23185 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23187 2013-05-01 Roland McGrath <roland@hack.frob.com>
23189 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23191 2013-05-01 Richard Smith <richard@metafoo.co.uk>
23194 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23195 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23196 Use __attribute__ ((__gnu_inline__)).
23197 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23198 Don't use __attribute__ ((__gnu_inline__)).
23200 2013-05-01 Joseph Myers <joseph@codesourcery.com>
23203 * math/s_catan.c (__catan): Handle small real or imaginary part of
23204 input specially to avoid spurious underflow.
23205 * math/s_catanf.c (__catanf): Likewise.
23206 * math/s_catanh.c (__catanh): Likewise.
23207 * math/s_catanhf.c (__catanhf): Likewise.
23208 * math/s_catanhl.c (__catanhl): Likewise.
23209 * math/s_catanl.c (__catanl): Likewise.
23210 * math/libm-test.inc (catan_test): Add more tests.
23211 (catanh_test): Likewise.
23212 * sysdeps/i386/fpu/libm-test-ulps: Update.
23213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23215 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23219 2013-04-30 Joseph Myers <joseph@codesourcery.com>
23222 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23223 accurately for denominator in atan2.
23224 * math/s_catanf.c (__catanf): Likewise.
23225 * math/s_catanh.c (__catanh): Likewise.
23226 * math/s_catanhf.c (__catanhf): Likewise.
23227 * math/s_catanhl.c (__catanhl): Likewise.
23228 * math/s_catanl.c (__catanl): Likewise.
23229 * math/libm-test.inc (catan_test): Add more tests.
23230 (catanh_test): Likewise.
23231 * sysdeps/i386/fpu/libm-test-ulps: Update.
23232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23234 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23236 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23238 * benchtests/Makefile (bench): Remove slow benchmarks.
23239 * benchtests/atan-inputs: Add slow benchmark inputs.
23240 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23241 (BENCH_FUNC): Accept variant offset.
23243 * benchtests/bench-skeleton.c (main): Run benchmark for each
23245 * benchtests/cos-inputs: Add slow benchmark inputs.
23246 * benchtests/exp-inputs: Likewise.
23247 * benchtests/pow-inputs: Likewise.
23248 * benchtests/sin-inputs: Likewise.
23249 * benchtests/slowatan-inputs: Remove.
23250 * benchtests/slowatan.c: Remove.
23251 * benchtests/slowcos-inputs: Remove.
23252 * benchtests/slowcos.c: Remove.
23253 * benchtests/slowexp-inputs: Remove.
23254 * benchtests/slowexp.c: Remove.
23255 * benchtests/slowpow-inputs: Remove.
23256 * benchtests/slowpow.c: Remove.
23257 * benchtests/slowsin-inputs: Remove.
23258 * benchtests/slowsin.c: Remove.
23259 * benchtests/slowtan-inputs: Remove.
23260 * benchtests/slowtan.c: Remove.
23261 * benchtests/tan-inputs: Add slow benchmark inputs.
23262 * scripts/bench.pl: Parse comments and directives.
23264 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23266 ($(objpfx)bench-%.c): Remove *-ITER.
23267 * benchtests/bench-modf.c: Remove definition of ITER.
23268 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23269 (main): Loop for DURATION seconds instead of fixed number of
23271 * scripts/bench.pl: Don't expect iterations in parameters.
23273 2013-04-29 Roland McGrath <roland@hack.frob.com>
23275 * io/fchdir.c (__fchdir): Renamed from fchdir.
23276 (fchdir): Define as weak alias.
23278 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23280 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23281 (ERRNO_EDOM): Likewise.
23282 (ERRNO_ERANGE): Likewise.
23283 (noErrnoTests): New variable.
23284 (init_max_error): Set errno to 0.
23285 (test_single_errno): New function.
23286 (test_errno): Likewise.
23287 (check_float_internal): Call test_errno. Set errno to 0.
23288 (check_complex): Refer to errno tests in comment.
23289 (check_int): Call test_errno. Set errno to 0.
23290 (check_long): Likewise.
23291 (check_bool): Likewise.
23292 (check_longlong): Likewise.
23293 (cos_test): Use ERRNO_* flags for errno tests instead of
23295 (expm1_test): Likewise.
23296 (fmod_test): Likewise.
23297 (ilogb_test): Likewise.
23298 (lgamma_test): Likewise.
23299 (pow_test): Likewise.
23300 (remainder_test): Likewise.
23301 (sin_test): Likewise.
23302 (tan_test): Likewise.
23303 (yn_test): Likewise.
23304 (initialize): Set errno to 0.
23305 (main): Print number of errno tests.
23306 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23308 2013-04-29 Andreas Jaeger <aj@suse.de>
23311 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23315 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23316 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23320 * stdlib/random.c (__initstate): Return NULL if
23324 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23325 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23328 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23332 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23334 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23335 of individual tests.
23336 (casin_test): Likewise.
23337 (casinh_test): Likewise.
23339 2013-04-27 Joseph Myers <joseph@codesourcery.com>
23342 * math/s_catan.c (__catan): Handle arguments with large real or
23343 imaginary part separately without squaring.
23344 * math/s_catanf.c (__catanf): Likewise.
23345 * math/s_catanh.c (__catanh): Likewise.
23346 * math/s_catanhf.c (__catanhf): Likewise.
23347 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23349 (__catanhl): Handle arguments with large real or imaginary part
23350 separately without squaring.
23351 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23353 (__catanl): Handle arguments with large real or imaginary part
23354 separately without squaring.
23355 * math/libm-test.inc (catan_test): Add more tests.
23356 (catanh_test): Likewise.
23357 * sysdeps/i386/fpu/libm-test-ulps: Update.
23358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23360 2013-04-27 Andreas Jaeger <aj@suse.de>
23363 * stdlib/stdlib.h: Update guards for qecvt.
23364 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23367 2013-04-27 Allan McRae <allan@archlinux.org>
23369 * sysdeps/i386/fpu/libm-test-ulps: Update.
23371 2013-04-26 Joseph Myers <joseph@codesourcery.com>
23374 * math/s_catan.c: Include <float.h>.
23375 (__catan): Ensure underflow exception occurs for underflowed
23377 * math/s_catanf.c: Include <float.h>.
23378 (__catanf): Ensure underflow exception occurs for underflowed
23380 * math/s_catanh.c: Include <float.h>.
23381 (__catanh): Ensure underflow exception occurs for underflowed
23383 * math/s_catanhf.c: Include <float.h>.
23384 (__catanhf): Ensure underflow exception occurs for underflowed
23386 * math/s_catanhl.c: Include <float.h>.
23387 (__catanhl): Ensure underflow exception occurs for underflowed
23389 * math/s_catanl.c: Include <float.h>.
23390 (__catanl): Ensure underflow exception occurs for underflowed
23392 * math/libm-test.inc (catan_test): Add more tests.
23393 (catanh_test): Likewise.
23396 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23397 underflowed result.
23398 * math/s_ccoshf.c (__ccoshf): Likewise.
23399 * math/s_ccoshl.c (__ccoshl): Likewise.
23400 * math/s_csin.c (__csin): Likewise.
23401 * math/s_csinf.c (__csinf): Likewise.
23402 * math/s_csinh.c (__csinh): Likewise.
23403 * math/s_csinhf.c (__csinhf): Likewise.
23404 * math/s_csinhl.c (__csinhl): Likewise.
23405 * math/s_csinl.c (__csinl): Likewise.
23406 * math/libm-test.inc (ccos_test): Add more tests.
23407 (ccosh_test): Likewise.
23408 (csin_test): Likewise.
23409 (csinh_test): Likewise.
23411 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23413 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23414 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23415 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23416 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23417 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23418 powerpc/power5+/fpu folders.
23419 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23422 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23426 2013-04-25 Joseph Myers <joseph@codesourcery.com>
23428 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23429 additions to variable.
23430 [$(config-machine) = x86_64] (modules-names): Likewise.
23431 ($(objpfx)tst-audit3): Remove dependency.
23432 ($(objpfx)tst-audit3.out): Likewise.
23433 ($(objpfx)tst-audit4): Likewise.
23434 ($(objpfx)tst-audit4.out): Likewise.
23435 ($(objpfx)tst-audit5): Likewise.
23436 ($(objpfx)tst-audit5.out): Likewise.
23437 ($(objpfx)tst-audit6): Likewise.
23438 ($(objpfx)tst-audit6.out): Likewise.
23439 ($(objpfx)tst-audit7): Likewise.
23440 ($(objpfx)tst-audit7.out): Likewise.
23441 (tst-audit3-ENV): Remove variable.
23442 (tst-audit4-ENV): Likewise.
23443 (tst-audit5-ENV): Likewise.
23444 (tst-audit6-ENV): Likewise.
23445 (tst-audit7-ENV): Likewise.
23446 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23447 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23448 addition to variable.
23449 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23450 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23451 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23452 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23453 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23454 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23455 tst-audit3, tst-audit4 and tst-audit5.
23456 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23457 tst-audit6 and tst-audit7.
23458 [$(subdir) = elf] (modules-names): Add audit modules for those
23460 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23461 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23462 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23463 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23464 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23465 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23466 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23467 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23468 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23469 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23470 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23471 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23472 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23473 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23474 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23475 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23477 [$(subdir) = elf && $(config-cflags-avx) = yes]
23478 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23479 [$(subdir) = elf && $(config-cflags-avx) = yes]
23480 (CFLAGS-tst-auditmod4a.c): Likewise.
23481 [$(subdir) = elf && $(config-cflags-avx) = yes]
23482 (CFLAGS-tst-auditmod4b.c): Likewise.
23483 [$(subdir) = elf && $(config-cflags-avx) = yes]
23484 (CFLAGS-tst-auditmod6b.c): Likewise.
23485 [$(subdir) = elf && $(config-cflags-avx) = yes]
23486 (CFLAGS-tst-auditmod6c.c): Likewise.
23487 [$(subdir) = elf && $(config-cflags-avx) = yes]
23488 (CFLAGS-tst-auditmod7b.c): Likewise.
23489 * elf/tst-audit3.c: Move to ...
23490 * sysdeps/x86_64/tst-audit3.c: ... here.
23491 * elf/tst-audit4.c: Move to ...
23492 * sysdeps/x86_64/tst-audit4.c: ... here.
23493 * elf/tst-audit5.c: Move to ...
23494 * sysdeps/x86_64/tst-audit5.c: ... here.
23495 * elf/tst-audit6.c: Move to ...
23496 * sysdeps/x86_64/tst-audit6.c: ... here.
23497 * elf/tst-audit7.c: Move to ...
23498 * sysdeps/x86_64/tst-audit7.c: ... here.
23499 * elf/tst-auditmod3a.c: Move to ...
23500 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23501 * elf/tst-auditmod3b.c: Move to ...
23502 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23503 * elf/tst-auditmod4a.c: Move to ...
23504 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23505 * elf/tst-auditmod4b.c: Move to ...
23506 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23507 * elf/tst-auditmod5a.c: Move to ...
23508 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23509 * elf/tst-auditmod5b.c: Move to ...
23510 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23511 * elf/tst-auditmod6a.c: Move to ...
23512 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23513 * elf/tst-auditmod6b.c: Move to ...
23514 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23515 * elf/tst-auditmod6c.c: Move to ...
23516 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23517 * elf/tst-auditmod7a.c: Move to ...
23518 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23519 * elf/tst-auditmod7b.c: Move to ...
23520 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23522 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23525 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23526 define unconditionally.
23527 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23528 define unconditionally.
23529 (INT8_C, INT16_C, etc.): Likewise.
23531 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23533 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23534 __ehdr_start with hidden visibility.
23536 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23538 2013-04-24 Carlos O'Donell <carlos@redhat.com>
23540 * math/libm-test.inc (cos_test): Use accurate hex constants.
23541 (sincost_test): Likewise.
23543 2013-04-24 Joseph Myers <joseph@codesourcery.com>
23545 * math/libm-test.inc (catan_test): Add more tests.
23546 (catanh_test): Likewise.
23548 * math/s_catanf.c (__catanf): Use suffixed floating-point
23550 * math/s_catanhf.c (__catanhf): Likewise.
23551 * math/s_catanhl.c (__catanhl): Likewise.
23552 * math/s_catanl.c (__catanl): Likewise.
23555 * math/s_catan.c (__catan): Calculate imaginary part of result
23556 with log1p not log unless computing log of number close to 0.
23557 * math/s_catanf.c (__catanf): Likewise.
23558 * math/s_catanl.c (__catanl): Likewise.
23559 * math/s_catanh.c (__catanh): Calculate real part of result with
23560 log1p not log unless computing log of number close to 0.
23561 * math/s_catanhf.c (__catanhf): Likewise.
23562 * math/s_catanhl.c (__catanhl): Likewise.
23563 * math/libm-test.inc (catan_test): Add more tests.
23564 (catanh_test): Likewise.
23565 * sysdeps/i386/fpu/libm-test-ulps: Update.
23566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23568 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23570 * benchtests/Makefile: Mention files in which fast and slow
23571 paths of math functions are implemented.
23573 2013-04-23 Roland McGrath <roland@hack.frob.com>
23575 * sysdeps/posix/timespec_get.c: New file.
23577 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23579 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23581 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23583 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23584 powerpc/power5/fpu folders.
23585 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23586 * benchtests/Makefile: Add modf testcase.
23587 * benchtests/bench-modf.c: New file: Benchmark test for mo
23589 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23592 * time/Makefile (tests): Add tst-strptime-whitespace.
23593 * time/strptime_l.c (get_number): Use ISSPACE.
23594 (__strptime_internal): Likewise.
23595 * time/tst-strptime-whitespace.c: New test case.
23597 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23599 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23601 (_nss_files_init): Set it here.
23603 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23605 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23606 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23609 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23611 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23613 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23618 2013-04-21 David S. Miller <davem@davemloft.net>
23620 * po/ru.po: Update Russion translation from translation project.
23622 2013-04-17 Adam Conrad <adconrad@0c3.net>
23624 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23627 2013-04-17 Carlos O'Donell <carlos@redhat.com>
23629 * configure.in: Remove i386 configure warning. Remove i386 case.
23630 * configure: Regenerate.
23631 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23632 Add example to error message.
23633 * sysdeps/i386/configure: Regenerate.
23635 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23637 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23639 * benchtests/cos-inputs: New file.
23640 * benchtests/slowcos-inputs: New file.
23641 * benchtests/slowcos.c: New file.
23642 * benchtests/slowtan-inputs: New file.
23643 * benchtests/slowtan.c: New file.
23644 * benchtests/tan-inputs: New file.
23646 2013-04-16 Roland McGrath <roland@hack.frob.com>
23648 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23651 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23653 * benchtests/Makefile: Include cppflags-iterator.mk to add
23654 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23656 * Makefile.in (bench-clean): New target.
23657 * benchtests/Makefile (bench-clean): Likewise.
23659 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23661 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23663 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23665 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23667 2013-04-15 Andreas Schwab <schwab@suse.de>
23669 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23670 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23671 * nscd/pwdcache.c (cache_addpw): Likewise.
23672 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23675 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23677 * benchtests/Makefile (bench): Write all output to
23678 bench-out.tmp together.
23680 2013-04-15 Andreas Schwab <schwab@suse.de>
23682 * nscd/nscd.c (main): Don't fork again after closing files.
23684 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23686 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23688 * benchtests/Rules (bench-deps): Collect dependencies into a
23689 single variable. Add Makefile to dependencies.
23690 ($(objpfx)bench-%.c): Depend on bench-deps.
23692 2013-04-12 Roland McGrath <roland@hack.frob.com>
23693 Xavier Roche <roche+kml2@exalead.com>
23696 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23697 just that it's a file descriptor.
23698 * manual/llio.texi (Synchronizing AIO Operations): Update description
23699 for EBADF error from aio_fsync.
23701 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23703 * Rules (bench): Move target definition...
23704 * benchtests/Makefile: ... here.
23706 2013-04-11 Carlos O'Donell <carlos@redhat.com>
23708 * math/libm-test.inc (cos_test): Fix PI/2 test.
23709 (sincos_test): Likewise.
23710 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23711 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23713 2013-04-11 Andreas Schwab <schwab@suse.de>
23716 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23717 accept exponent character only when digits were seen.
23718 * stdio-common/Makefile (tests): Add bug26.
23719 * stdio-common/bug26.c: New file.
23722 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23725 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23727 * Makeconfig (rtld-prefix): Define built linker prefix.
23728 * Rules (run-bench): Use it.
23729 * math/Makefile (run-regen-ulps): Likewise.
23731 * Rules (bench): Remove eval.
23733 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23734 Roland McGrath <roland@hack.frob.com>
23735 Ondrej Bilka <neleai@seznam.cz>
23738 * time/getdate.c: Include ctype.h and alloca.h.
23739 (__getdate_r): Trim leading and trailing spaces of input.
23740 * time/tst-getdate.c (tests): Add tests with leading and
23743 2013-04-08 Roland McGrath <roland@hack.frob.com>
23746 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23747 when computing value.
23749 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23751 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23752 Use testrun.sh to run libm tests.
23755 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23757 2013-04-06 Marko Myllynen <myllynen@redhat.com>
23760 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23762 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23764 * Makefile.in (regen-ulps): New target.
23765 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23766 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23767 [ifneq (no,$(PERL)] (regen-ulps): New target.
23768 [ifeq (no,$(PERL)] (regen-ulps): New target.
23769 * math/libm-test.inc (ulps_file_name): Define.
23770 (output_dir): New variable.
23771 (options): Add "output-dir" option.
23772 (parse_opt): Handle 'o' case.
23773 (main): If output_dir is non-NULL use it as a prefix
23775 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23777 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23779 [BZ #10060, #10062]
23780 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23781 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23782 fail configure if __sync_val_compare_and_swap is not inlined.
23783 * sysdeps/i386/configure: Regenerate.
23784 * configure.in: Build for i686 when configured for i386.
23785 * configure: Regenerate.
23786 * README: Remove i386 reference.
23788 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23790 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23791 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23793 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23795 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23796 (lmsnanval): New variables.
23797 (F): Add conversion tests.
23798 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23799 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23801 * stdio-common/tstdiomisc.c (F): Properly collect individual
23804 [BZ #14686, #15336]
23805 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23806 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23807 Instead, use input NaN values or generate a qNaN by arithmetic
23808 operation. Also fix bugs to comply with the standard.
23809 * math/libm-test.inc (remainder_test): Add more tests.
23811 [BZ #15335, #15342]
23812 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23814 input NaN values or generate a qNaN by arithmetic operation.
23816 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23819 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23822 2013-04-03 Joseph Myers <joseph@codesourcery.com>
23825 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23826 underflowed result.
23827 * math/s_cexpf.c (__cexpf): Likewise.
23828 * math/s_cexpl.c (__cexpl): Likewise.
23829 * math/libm-test.inc (cexp_test): Add more tests.
23831 2013-04-03 Andreas Schwab <schwab@suse.de>
23834 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23835 order arrays from heap if bigger than alloca cutoff.
23837 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23839 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23840 (SNAN_TESTS_double): Refer to GCC PR56831.
23841 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23844 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23846 * Rules (bench): Move bench.out after the run is complete.
23848 * Rules (bench): Echo currently running benchmark.
23850 * benchtests/Makefile (bench): Add atan and slowatan.
23851 * benchtests/atan-inputs: New file.
23852 * benchtests/slowatan-inputs: New file.
23853 * benchtests/slowatan.c: New file.
23855 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23856 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23860 * sysdeps/unix/sysv/linux/kernel-features.h
23861 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23862 __ASSUME_XFS_RESTRICTED_CHOWN.
23863 * sysdeps/unix/sysv/linux/pathconf.c
23864 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23865 Save and restore errno.
23867 2013-04-02 Joseph Myers <joseph@codesourcery.com>
23870 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23871 arguments using __kernel_casinh.
23872 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23873 arguments using __kernel_casinhf.
23874 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23875 arguments using __kernel_casinhl.
23876 * math/libm-test.inc (cacosh_test): Add more tests.
23877 * sysdeps/i386/fpu/libm-test-ulps: Update.
23878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23880 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23882 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23885 * bench/Makefile (bench): Add sin and slowsin.
23886 * benchtests/sin-inputs: New file.
23887 * benchtests/slowsin-inputs: New file.
23888 * benchtests/slowsin.c: New file.
23890 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23891 (bench): Add slowexp and slowpow.
23892 (exp-ITER): Increase iterations.
23893 (pow-ITER): Likewise.
23894 * benchtests/exp-inputs: Change input.
23895 * benchtests/pow-inputs: Likewise.
23896 * benchtests/slowexp-inputs: New file.
23897 * benchtests/slowexp.c: New file.
23898 * benchtests/slowpow-inputs: New file.
23899 * benchtests/slowpow.c: New file.
23901 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23903 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23905 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23906 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23907 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23908 * benchtests/Makefile: Add rint benchtest.
23909 * benchtests/rint-inputs: Input for rint benchtest.
23911 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23913 * Versions.def (libm): Add GLIBC_2.18.
23914 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23915 hidden libm prototypes.
23916 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23917 * math/Makefile (libm-calls): Add s_issignaling.
23918 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23919 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23920 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23922 * math/math.h [__USE_GNU] (issignaling): New macro.
23923 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23924 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23925 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23926 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23927 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23928 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23929 * manual/arith.texi (issignaling): New section.
23930 * manual/libm-err-tab.pl (@all_functions): Update comment.
23931 * math/gen-libm-test.pl (parse_args): Apply special handling for
23933 * math/libm-test.inc (print_float, issignaling_test): New
23935 (check_float_internal): Add issignaling checks.
23936 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23937 default definition.
23938 * sysdeps/powerpc/math-tests.h: New file.
23939 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23941 * math/test-snan.c (TEST_FUNC): Likewise.
23943 2013-03-30 David S. Miller <davem@davemloft.net>
23945 * po/de.po: Update from translation team.
23947 2013-03-30 Joseph Myers <joseph@codesourcery.com>
23950 * math/k_casinh.c (__kernel_casinh): Handle arguments with
23951 imaginary part less than 1.0 and real part less than 0.5
23953 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23954 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23955 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23956 (cacos_test): Add more tests.
23957 (casin_test): Likewise.
23958 (casinh_test): Likewise.
23959 * sysdeps/i386/fpu/libm-test-ulps: Update.
23960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23962 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23964 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23965 ONE with its value.
23967 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23968 (__pow_mp): Replace ONE and MONE with their values.
23969 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23970 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23971 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23972 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23973 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23974 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23976 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23978 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23979 (__pow_mp): Replace ZERO and MZERO with their values.
23980 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23981 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23982 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23984 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23985 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23988 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23990 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23992 2013-03-28 Roland McGrath <roland@hack.frob.com>
23994 * include/stdlib.h [!SHARED] (__call_tls_dtors):
23995 Declare with __attribute__ ((weak)).
23996 * stdlib/exit.c (__libc_atexit) [!SHARED]:
23997 Call __call_tls_dtors only if it's not NULL.
23999 2013-03-28 Roland McGrath <roland@hack.frob.com>
24001 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24002 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24003 magic __ehdr_start linker symbol if it's defined.
24004 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24005 them up here if it was already done.
24007 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24008 (_dl_aux_init): Use const in cast when setting it.
24009 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24010 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24011 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24013 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24015 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24016 * csu/libc-tls.c: Nor here.
24017 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24019 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24020 (__libc_message): Never call vsyslog.
24022 2013-03-28 Alan Modra <amodra@gmail.com>
24024 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24026 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24029 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24032 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24036 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24039 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24040 Don't add gid passed as argument.
24042 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24044 2013-03-27 Joseph Myers <joseph@codesourcery.com>
24047 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24048 imaginary part between 1.0 and 1.5 and real part less than 0.5
24050 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24051 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24052 * math/libm-test.inc (cacos_test): Add more tests.
24053 (casin_test): Likewise.
24054 (casinh_test): Likewise.
24055 * sysdeps/i386/fpu/libm-test-ulps: Update.
24056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24058 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24060 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24063 (denorm): Likewise.
24064 (__dbl_mp): Likewise.
24065 (add_magnitudes): Likewise.
24066 (sub_magnitudes): Likewise.
24074 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24076 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24077 (__dubcos): Likewise.
24078 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24079 (__ieee754_acos): Likewise.
24080 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24081 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24082 (__exp1): Likewise.
24083 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24084 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24086 (my_log2): Likewise.
24087 (checkint): Likewise.
24088 * sysdeps/ieee754/dbl-64/e_remainder.c
24089 (__ieee754_remainder): Likewise.
24090 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24092 (bsloww): Likewise.
24093 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24095 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24096 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24097 MANTISSA_STORE_T to store computations on mantissa. Use
24098 macros for rounding and division.
24099 (denorm): Likewise.
24100 (__dbl_mp): Likewise.
24101 (add_magnitudes): Likewise.
24102 (sub_magnitudes): Likewise.
24105 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24106 powers of two in terms of TWOPOW macro.
24107 (mp_no): Make type of mantissa as MANTISSA_T.
24108 [!RADIXI]: Define RADIXI.
24109 [!TWO52]: Define TWO52.
24110 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24112 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24114 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24115 llroundl symbol when building for PPC32.
24117 2013-03-24 Mark H Weaver <mhw@netris.org>
24119 * manual/arith.texi (Normalization Functions): Fix prototypes for
24120 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24122 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24126 high value to check if expl overflow.
24127 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24128 to check for underflow and overflow.
24129 * math/libm-test.inc: Add exp test.
24131 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24134 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24137 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24139 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24142 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24144 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24145 wrap blocks consisting of several statements.
24147 * sysdeps/generic/math-tests.h: New file.
24148 * sysdeps/i386/fpu/math-tests.h: Likewise.
24149 * math/test-snan.c: Include it.
24150 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24152 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24156 (__ieee754_j0l): Do not improve calculations using cos of twice
24157 input for inputs above LDBL_MAX / 2.0L.
24158 (__ieee754_y0l): Likewise.
24159 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24160 (__ieee754_j1l): Do not improve calculations using cos of twice
24161 input for inputs above LDBL_MAX / 2.0L.
24162 (__ieee754_y1l): Likewise.
24163 * math/libm-test.inc (j0_test): Add another test.
24164 (j1_test): Likewise.
24165 (y0_test): Likewise.
24166 (y1_test): Likewise.
24167 * sysdeps/i386/fpu/libm-test-ulps: Update.
24169 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24171 * Rules ($(objpfx)bench-%.c): Include code from a C source
24174 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24177 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24178 imaginary part 1.0 and real part less than 0.5 specially.
24179 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24180 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24181 * math/libm-test.inc (cacos_test): Add more tests.
24182 (casin_test): Likewise.
24183 (casinh_test): Likewise.
24184 * sysdeps/i386/fpu/libm-test-ulps: Update.
24185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24187 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24189 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24190 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24192 2013-03-20 Joseph Myers <joseph@codesourcery.com>
24194 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24195 * config.make.in (config-cflags-sse4): Remove variable.
24196 (config-cflags-avx): Likewise.
24197 (config-cflags-sse2avx): Likewise.
24198 (config-cflags-novzeroupper): Likewise.
24199 (config-asflags-i686): Likewise.
24200 (have-mfma4): Likewise.
24201 (have-as-vis3): Likewise.
24203 * configure.in (MIG): Do not AC_SUBST.
24204 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24205 (libc_cv_cc_sse4): Do not AC_SUBST.
24206 (libc_cv_cc_avx): Likewise.
24207 (libc_cv_cc_sse2avx): Likewise.
24208 (libc_cv_cc_novzeroupper): Likewise.
24209 (libc_cv_cc_fma4): Likewise.
24210 (libc_cv_as_i686): Likewise.
24211 (libc_cv_sparc_as_vis3): Likewise.
24212 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24214 (config-asflags-i686): Likewise.
24215 (config-cflags-avx): Likewise.
24216 (config-cflags-sse2avx): Likewise.
24217 (have-mfma4): Likewise.
24218 (config-cflags-novzeroupper): Likewise.
24219 * sysdeps/mach/configure.in (MIG): Likewise.
24220 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24221 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24223 (config-cflags-avx): Likewise.
24224 (config-cflags-sse2avx): Likewise.
24225 (have-mfma4): Likewise.
24226 (config-cflags-novzeroupper): Likewise.
24227 * configure: Regenerated.
24228 * sysdeps/i386/configure: Likewise.
24229 * sysdeps/mach/configure: Likewise.
24230 * sysdeps/sparc/configure: Likewise.
24231 * sysdeps/x86_64/configure: Likewise.
24233 2013-03-20 Roland McGrath <roland@hack.frob.com>
24236 * locale/programs/localedef.c (options): Put N_ translation marker
24237 on argument names, not just descriptions.
24239 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24241 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24243 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
24246 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24248 2013-03-19 Roland McGrath <roland@hack.frob.com>
24250 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24251 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24252 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24253 [!BEFORE_ABORT] (before_abort): New function.
24254 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24255 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24256 (writev_for_fatal): New function.
24257 (WRITEV_FOR_FATAL): New macro; call that.
24258 (backtrace_and_maps): New function.
24259 (BEFORE_ABORT): New macro; call that.
24260 (struct str_list): Type removed.
24261 (__libc_message, __libc_fatal): Functions removed.
24262 Include <sysdeps/posix/libc_fatal.c> instead.
24264 2013-03-19 Joseph Myers <joseph@codesourcery.com>
24266 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24268 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24271 2013-03-19 Andreas Schwab <schwab@suse.de>
24273 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24274 * sysdeps/gnu/configure: Regenerate.
24276 * configure.in: Substitute libc_cv_rtlddir.
24277 * configure: Regenerate.
24278 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24279 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24280 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24281 * elf/Makefile (install-others, CFLAGS-interp.c)
24282 (ldso_install, common-ldd-rewrite): Likewise.
24283 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24284 $(inst_slibdir)/$(rtld-installed-name).
24285 * scripts/rellns-sh: Add -p option.
24286 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24289 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24291 * manual/nptl.texi: Renamed to ...
24292 * manual/threads.texi: ... this.
24293 * manual/Makefile (chapters): Update.
24295 2013-03-18 Roland McGrath <roland@hack.frob.com>
24298 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24299 on argument names, not just descriptions.
24300 * malloc/memusagestat.c (options): Likewise.
24301 * nss/getent.c (options): Likewise.
24303 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
24306 * iconv/iconv_prog.c (options): Put N_ translation marker
24307 on argument names, not just descriptions.
24308 * iconv/iconvconfig.c (options): Likewise.
24310 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
24312 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24313 implementation which is faster on all x86_64 architectures.
24314 Tested on AMD, Intel Nehalem, SNB, IVB.
24315 * sysdeps/x86_64/strnlen.S: Likewise.
24317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24318 Remove all multiarch strlen and strnlen versions.
24319 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24320 Remove strlen and strnlen related parts.
24322 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24323 Inline strlen part.
24324 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24326 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24327 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24328 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24329 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24330 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24331 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24333 2013-03-17 Carlos O'Donell <carlos@redhat.com>
24335 * manual/memory.texi (Malloc Tunable Parameters):
24336 Sort parameters alphabetically. Add comments for missing entries.
24338 2013-03-17 David S. Miller <davem@davemloft.net>
24340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24342 2013-03-16 Joseph Myers <joseph@codesourcery.com>
24345 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24346 for arguments at most half maximum finite value.
24347 * math/libm-test.inc (j0_test): Add more tests.
24348 (j1_test): Likewise.
24349 (y0_test): Likewise.
24350 (y1_test): Likewise.
24351 * sysdeps/i386/fpu/libm-test-ulps: Update.
24352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24355 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24356 1 / x and functions P and Q for arguments above 0x1p256L.
24357 (__ieee754_y0l): Likewise.
24358 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24359 (__ieee754_y1l): Likewise.
24360 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24361 (j1_test): Likewise.
24362 (y0_test): Likewise.
24363 (y1_test): Likewise.
24365 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24367 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24370 2013-03-15 Roland McGrath <roland@hack.frob.com>
24372 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24373 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24374 zero since it's initialized to EXEC_PAGESIZE.
24376 * sysdeps/unix/sysv/linux/ldsodefs.h
24377 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24378 * sysdeps/generic/ldsodefs.h: ... here.
24380 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24382 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24384 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24386 * math/test-snan.c: Renamed from
24387 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24388 * math/Makefile (tests): Add test-snan.
24389 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24392 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24393 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24395 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24396 __builtin_nan family of functions.
24397 * math/libm-test.inc (initialize): Initialize qnan_value with
24398 __builtin_nan family of functions.
24399 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24401 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24403 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24404 storage class. Initialize qNaN_var and sNaN_var with
24405 __builtin_nan and __builtin_nans families of functions,
24408 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24409 (sqrt_test): Remove duplicate test with qNaN input.
24410 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24411 (round_test, signbit_test, significand_test): Note missing +/-Inf
24412 as well as qNaN tests.
24414 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24415 qNaN_var. Fix a few strings, too.
24416 * math/libm-test.inc (nan_value): Rename to qnan_value.
24417 * math/gen-libm-test.pl (%beautify): Adjust to that.
24418 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24419 * math/test-misc.c (main): Likewise.
24420 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24421 to __qnan_bytes, and __qnan_union, respectively.
24422 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24424 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24425 and lqnanval, respectively.
24426 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24427 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24428 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24429 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24431 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24432 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24435 * math/test-misc.c (main): Fix copy'n'pastos.
24436 * misc/tst-efgcvt.c (special): Likewise.
24438 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24439 Remove declarations.
24441 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24443 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24444 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24445 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24446 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24448 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24450 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24451 macro to return vdso values correctly in IFUNC implementations.
24452 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24453 Optimization by using IFUNC.
24455 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24456 Richard Henderson <rth@redhat.com>
24457 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24459 * Makefile.in (bench): New target.
24460 * NEWS: Mention the benchmark framework.
24461 * Rules (bench): Likewise.
24462 (binaries-bench): Generate binaries for functions to
24464 * benchtests/Makefile: New makefile for benchmark tests.
24465 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24467 * benchtests/exp-inputs: New input file for EXP function.
24468 * benchtests/pow-inputs: New input file for POW function.
24469 * scripts/bench.pl: New script to generate source files for
24470 benchmark programs.
24472 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24474 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24475 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24476 computations on mantissa. Use macros for rounding and
24478 (denorm): Likewise.
24479 (__dbl_mp): Likewise.
24480 (add_magnitudes): Likewise.
24481 (sub_magnitudes): Likewise.
24484 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24485 powers of two in terms of TWOPOW macro.
24486 (mp_no): Make type of mantissa as MANTISSA_T.
24487 [!RADIXI]: Define RADIXI.
24488 [!TWO52]: Define TWO52.
24489 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24491 * manual/nptl.texi (cindex): Modify threads to pthreads.
24493 2013-03-15 Joseph Myers <joseph@codesourcery.com>
24495 * sysdeps/x86_64/preconfigure: Regenerated.
24497 2013-03-14 Joseph Myers <joseph@codesourcery.com>
24500 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24502 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24503 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24505 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24506 * math/libm-test.inc (j0_test): Do not allow one spurious
24507 underflow exception.
24508 (y1_test): Likewise.
24510 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24512 * manual/Makefile (chapters): Add nptl.
24513 * manual/debug.texi (Debugging Support): Add link to Threads
24515 * manual/nptl.texi: New file.
24517 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24519 2013-03-14 Petr Baudis <pasky@ucw.cz>
24521 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24522 for non-NULL pointer before the memory validity test. Pointed
24523 out by Holger Brunck <holger.brunck@keymile.com>.
24525 2013-03-13 Andreas Schwab <schwab@suse.de>
24527 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24530 2013-03-13 Joseph Myers <joseph@codesourcery.com>
24532 * timezone/zic.c: Update from tzcode 2013b.
24534 2013-03-12 Carlos O'Donell <carlos@redhat.com>
24536 * manual/install.texi (Configuring and compiling):
24537 Mention i686 and i586.
24538 * INSTALL: Regenerate.
24540 2013-03-12 Roland McGrath <roland@hack.frob.com>
24542 * sysdeps/init_array/elf-init.c: New file.
24544 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24545 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24547 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24548 __gmon_start__ as global, but as static with a .preinit_array pointer.
24549 * sysdeps/init_array/gmon-start.c: New file. Use that.
24550 * sysdeps/init_array/crti.S: New file, empty except for comments.
24551 * sysdeps/init_array/crtn.S: Likewise.
24553 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
24555 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24558 Remove Prefer_SSE_for_memop.
24559 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24560 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24561 HAS_PREFER_SSE_FOR_MEMOP.
24562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24564 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24565 Remove bzero, memset ifunc support.
24566 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24567 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24568 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24569 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24571 2013-03-11 Andreas Schwab <schwab@suse.de>
24574 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24577 (GLIBC_2.16): Remove pthread_atfork.
24579 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24581 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24582 (ptestcases.h): Likewise.
24584 2013-03-08 Roland McGrath <roland@hack.frob.com>
24586 * Makeconfig ($(common-objpfx)config.status): Depend on
24587 sysdeps/*/preconfigure{,.in} too.
24589 2013-03-08 Joseph Myers <joseph@codesourcery.com>
24591 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24592 (__free_hook): Use void * instead of __malloc_ptr_t.
24593 (__malloc_hook): Likewise.
24594 (__realloc_hook): Likewise.
24595 (__memalign_hook): Likewise.
24596 (__after_morecore_hook): Likewise.
24597 * malloc/arena.c (save_malloc_hook): Likewise.
24598 (save_free_hook): Likewise.
24599 * malloc/hooks.c (malloc_hook_ini): Likewise.
24600 (realloc_hook_ini): Likewise.
24601 (memalign_hook_ini): Likewise.
24602 * malloc/malloc.c (malloc_hook_ini): Likewise.
24603 (realloc_hook_ini): Likewise.
24604 (memalign_hook_ini): Likewise.
24605 (__free_hook): Likewise.
24606 (__malloc_hook): Likewise.
24607 (__realloc_hook): Likewise.
24608 (__memalign_hook): Likewise.
24609 (__libc_malloc): Likewise.
24610 (__libc_free): Likewise.
24611 (__libc_realloc): Likewise.
24612 (__libc_memalign): Likewise.
24613 (__libc_valloc): Likewise.
24614 (__libc_pvalloc): Likewise.
24615 (__libc_calloc): Likewise.
24616 (__posix_memalign): Likewise.
24617 * malloc/morecore.c (__sbrk): Likewise.
24618 (__default_morecore): Likewise.
24620 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24622 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24623 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24624 __malloc_ptrdiff_t.
24626 * malloc/malloc.h (__malloc_size_t): Remove macro.
24627 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24629 (old_memalign_hook): Likewise.
24630 (old_realloc_hook): Likewise.
24631 (struct hdr): Likewise.
24633 (mallochook): Likewise.
24634 (memalignhook): Likewise.
24635 (reallochook): Likewise.
24636 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24637 (tr_old_realloc_hook): Likewise.
24638 (tr_old_memalign_hook): Likewise.
24639 (tr_mallochook): Likewise.
24640 (tr_reallochook): Likewise.
24641 (tr_memalignhook): Likewise.
24643 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24645 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24646 default_ldbl_pack and using as default implementation.
24647 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24649 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24650 redundant definition.
24651 (ldbl_insert_mantissa): Likewise.
24652 (ldbl_canonicalize): Likewise.
24653 (ldbl_nearbyint): Likewise.
24654 (ldbl_pack): Rename to ldbl_pack_ppc.
24655 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24656 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24657 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24659 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24662 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24663 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24664 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24666 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24667 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24668 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24670 2013-03-07 Andreas Jaeger <aj@suse.de>
24672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24675 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24677 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24678 Include mpa.h and declare __MPEXP.
24679 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24680 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24681 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24682 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24683 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24684 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24685 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24687 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24688 (__slowpow): Use long double EXPL and LOGL functions to
24690 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24691 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24692 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24693 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24694 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24695 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24698 intermediate variable to calculate exponent.
24700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24704 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24705 [!NO__SQR]: Define __sqr.
24706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24707 and NO__SQR. Remove all code except __mul and __sqr. Include
24708 sysdeps/ieee754/dbl-64/mpa.c.
24709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24712 * posix/Makefile (tests): Add tst-pathconf.
24713 * posix/tst-pathconf.c: New test case.
24714 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24716 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24718 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
24720 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24722 2013-03-06 Andreas Jaeger <aj@suse.de>
24724 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24725 definition via __MAP_ANONYMOUS.
24727 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24728 it's not part of Linux headers.
24730 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24731 (MAP_HUGE_MASK): Define.
24733 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24735 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24736 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24738 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24739 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24741 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24742 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24744 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24746 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24747 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24748 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24749 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24750 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24751 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24753 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24756 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24757 Handle f2fs and efivarfs.
24759 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24762 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24763 (EFIVARFS_MAGIC): Add.
24764 (F2FS_LINK_MAX): Add.
24766 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24768 * stdio-common/vfprintf.c: Replace __builtin_expect with
24771 2013-03-06 Joseph Myers <joseph@codesourcery.com>
24774 * sysdeps/generic/bp-sym.h: Remove file.
24775 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24776 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24777 <bp-sym.h> and <bp-asm.h>.
24778 (__longjmp): Don't use BP_SYM.
24779 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24781 (memcpy): Don't use BP_SYM.
24782 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24783 <bp-sym.h> and <bp-asm.h>.
24784 (memcpy): Don't use BP_SYM.
24785 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24787 (memcpy): Don't use BP_SYM.
24788 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24790 (memset): Don't use BP_SYM.
24791 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24792 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24793 (__bzero): Don't use BP_SYM.
24794 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24795 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24796 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24797 <bp-sym.h> and <bp-asm.h>.
24798 (memcmp): Don't use BP_SYM. Remove comment about bounded
24800 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24801 <bp-sym.h> and <bp-asm.h>.
24802 (memcpy): Don't use BP_SYM.
24803 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24804 <bp-sym.h> and <bp-asm.h>.
24805 (memset): Don't use BP_SYM.
24806 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24807 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24808 (__bzero): Don't use BP_SYM.
24809 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24810 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24811 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24812 <bp-sym.h> and <bp-asm.h>.
24813 (strncmp): Don't use BP_SYM. Remove comment about bounded
24815 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24816 <bp-sym.h> and <bp-asm.h>.
24817 (memcpy): Don't use BP_SYM.
24818 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24819 <bp-sym.h> and <bp-asm.h>.
24820 (memset): Don't use BP_SYM.
24821 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24822 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24823 (__bzero): Don't use BP_SYM.
24824 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24825 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24826 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24827 <bp-sym.h> and <bp-asm.h>.
24828 (__memchr): Don't use BP_SYM.
24829 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24830 <bp-sym.h> and <bp-asm.h>.
24831 (memcmp): Don't use BP_SYM. Remove comment about bounded
24833 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24834 <bp-sym.h> and <bp-asm.h>.
24835 (memcpy): Don't use BP_SYM.
24836 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24837 <bp-sym.h> and <bp-asm.h>.
24838 (__mempcpy): Don't use BP_SYM.
24839 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24840 <bp-sym.h> and <bp-asm.h>.
24841 (__memrchr): Don't use BP_SYM.
24842 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24843 <bp-sym.h> and <bp-asm.h>.
24844 (memset): Don't use BP_SYM.
24845 (__bzero): Likewise.
24846 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24847 <bp-sym.h> and <bp-asm.h>.
24848 (__rawmemchr): Don't use BP_SYM.
24849 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24850 <bp-sym.h> and <bp-asm.h>.
24851 (__STRCMP): Don't use BP_SYM.
24852 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24853 <bp-sym.h> and <bp-asm.h>.
24854 (strchr): Don't use BP_SYM.
24855 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24856 <bp-sym.h> and <bp-asm.h>.
24857 (__strchrnul): Don't use BP_SYM.
24858 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24859 <bp-sym.h> and <bp-asm.h>.
24860 (strlen): Don't use BP_SYM.
24861 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24862 <bp-sym.h> and <bp-asm.h>.
24863 (strncmp): Don't use BP_SYM. Remove comment about bounded
24865 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24866 <bp-sym.h> and <bp-asm.h>.
24867 (__strnlen): Don't use BP_SYM.
24868 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24869 <bp-sym.h> and <bp-asm.h>.
24870 (__GI__setjmp): Don't use BP_SYM.
24871 (_setjmp): Likewise.
24872 (__sigsetjmp): Likewise.
24873 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24874 (L(start_addresses)): Don't use BP_SYM.
24875 (_start): Likewise.
24876 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24878 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24879 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24880 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24881 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24882 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24884 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24885 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24886 about bounded pointers.
24887 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24888 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24889 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24891 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24892 about bounded pointers. Remove GKM FIXME comments.
24893 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24894 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24896 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24897 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24898 Remove GKM FIXME comments.
24899 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24900 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24901 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24903 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24904 about bounded pointers. Remove GKM FIXME comment.
24905 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24907 (strncmp): Don't use BP_SYM. Remove comment about bounded
24909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24910 <bp-sym.h> and <bp-asm.h>.
24911 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24913 <bp-sym.h> and <bp-asm.h>.
24914 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24917 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24919 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24922 2013-03-05 David S. Miller <davem@davemloft.net>
24924 * po/es.po: Update from translation team.
24926 2013-03-05 Andreas Jaeger <aj@suse.de>
24928 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24929 <bits/mman-linux.h>.
24930 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24932 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24933 <bits/mman-linux.h> to end of file.
24934 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24936 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24937 <bits/mman-linux.h> to end of file.
24938 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24941 <bits/mman-linux.h> to end of file.
24943 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24944 (MCL_CURRENT, MCL_FUTURE): Define here.
24946 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24949 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24951 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24953 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24955 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24956 fourth parameter needed for rt_sigprocmask syscall.
24957 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24958 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24959 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24960 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24961 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24962 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24964 2013-03-04 Joseph Myers <joseph@codesourcery.com>
24967 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24968 comment about bounded pointers.
24969 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24970 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24972 2013-03-04 Andreas Jaeger <aj@suse.de>
24974 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24975 common definitions.
24977 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24978 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24979 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24980 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24981 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24982 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24984 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24987 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24988 __ieee754_sqrl instead of __sqrl.
24990 2013-03-01 Joseph Myers <joseph@codesourcery.com>
24992 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24993 * sysdeps/powerpc/fpu_control.h: ... here.
24994 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24995 * sysdeps/powerpc/bits/fenvinline.h: ... here.
24996 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24997 * sysdeps/powerpc/bits/mathinline.h: ... here.
24999 2013-03-01 Roland McGrath <roland@hack.frob.com>
25001 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25002 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25003 to just [NEED_DL_SYSINFO_DSO].
25004 * elf/dl-support.c: Likewise.
25005 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25006 * elf/rtld.c (dl_main): Likewise.
25007 * elf/setup-vdso.h (setup_vdso): Likewise.
25008 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25009 * sysdeps/unix/sysv/linux/dl-sysdep.c
25010 (_dl_discover_osversion): Likewise.
25012 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25014 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25015 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25017 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25019 * NEWS: Mention libm performance improvements and non-x86 PI
25022 * csu/libc-start.c (__pthread_initialize_minimal): Change
25023 function arguments.
25024 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25026 2013-02-28 Joseph Myers <joseph@codesourcery.com>
25029 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25030 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25031 <bp-sym.h> and <bp-asm.h>.
25032 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25033 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25035 (memcpy): Don't use BP_SYM.
25036 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25038 (__mpn_add_n): Don't use BP_SYM.
25039 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25040 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25042 (__mpn_addmul_1): Don't use BP_SYM.
25043 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25044 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25046 (_setjmp): Don't use BP_SYM.
25047 (__novmx_setjmp): Likewise.
25048 (__GI__setjmp): Likewise.
25049 (__vmx_setjmp): Likewise.
25050 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25052 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25053 (__bzero): Don't use BP_SYM.
25054 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25055 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25056 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25057 <bp-sym.h> and <bp-asm.h>.
25058 (memcpy): Don't use BP_SYM.
25059 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25060 <bp-sym.h> and <bp-asm.h>.
25061 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25062 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25063 <bp-sym.h> and <bp-asm.h>.
25064 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25065 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25067 (__mpn_lshift): Don't use BP_SYM.
25068 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25069 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25071 (memset): Don't use BP_SYM.
25072 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25073 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25074 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25076 (__mpn_mul_1): Don't use BP_SYM.
25077 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25078 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25079 <bp-sym.h> and <bp-asm.h>.
25080 (memcmp): Don't use BP_SYM.
25081 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25082 <bp-sym.h> and <bp-asm.h>.
25083 (memcpy): Don't use BP_SYM.
25084 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25085 <bp-sym.h> and <bp-asm.h>.
25086 (memset): Don't use BP_SYM.
25087 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25088 <bp-sym.h> and <bp-asm.h>.
25089 (strncmp): Don't use BP_SYM.
25090 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25091 <bp-sym.h> and <bp-asm.h>.
25092 (memcpy): Don't use BP_SYM.
25093 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25094 <bp-sym.h> and <bp-asm.h>.
25095 (memset): Don't use BP_SYM.
25096 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25097 <bp-sym.h> and <bp-asm.h>.
25098 (__memchr): Don't use BP_SYM.
25099 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25100 <bp-sym.h> and <bp-asm.h>.
25101 (memcmp): Don't use BP_SYM.
25102 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25103 <bp-sym.h> and <bp-asm.h>.
25104 (memcpy): Don't use BP_SYM.
25105 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25106 <bp-sym.h> and <bp-asm.h>.
25107 (__mempcpy): Don't use BP_SYM.
25108 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25109 <bp-sym.h> and <bp-asm.h>.
25110 (__memrchr): Don't use BP_SYM.
25111 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25112 <bp-sym.h> and <bp-asm.h>.
25113 (memset): Don't use BP_SYM.
25114 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25115 <bp-sym.h> and <bp-asm.h>.
25116 (__rawmemchr): Don't use BP_SYM.
25117 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25118 <bp-sym.h> and <bp-asm.h>.
25119 (__STRCMP): Don't use BP_SYM.
25120 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25121 <bp-sym.h> and <bp-asm.h>.
25122 (strchr): Don't use BP_SYM.
25123 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25124 <bp-sym.h> and <bp-asm.h>.
25125 (__strchrnul): Don't use BP_SYM.
25126 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25127 <bp-sym.h> and <bp-asm.h>.
25128 (strlen): Don't use BP_SYM.
25129 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25130 <bp-sym.h> and <bp-asm.h>.
25131 (strncmp): Don't use BP_SYM.
25132 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25133 <bp-sym.h> and <bp-asm.h>.
25134 (__strnlen): Don't use BP_SYM.
25135 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25137 (__mpn_rshift): Don't use BP_SYM.
25138 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25139 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25140 <bp-sym.h> and <bp-asm.h>.
25141 (__sigsetjmp): Don't use BP_SYM.
25142 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25143 (L(start_addresses)): Don't use BP_SYM.
25144 (_start): Likewise.
25145 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25147 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25148 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25149 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25150 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25152 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25153 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25154 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25155 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25157 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25159 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25160 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25162 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25164 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25165 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25166 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25168 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25170 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25172 (strncmp): Don't use BP_SYM,
25173 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25175 (__mpn_sub_n): Don't use BP_SYM.
25176 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25177 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25179 (__mpn_submul_1): Don't use BP_SYM.
25180 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25182 <bp-sym.h> and <bp-asm.h>.
25183 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25185 <bp-sym.h> and <bp-asm.h>.
25186 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25189 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25192 Use ZK to minimize writes to Z.
25193 (sub_magnitudes): Simplify code a bit.
25194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25195 Use ZK to minimize writes to Z.
25196 (sub_magnitudes): Simplify code a bit.
25198 2013-02-27 Roland McGrath <roland@hack.frob.com>
25200 * csu/gmon-start.c: Add special exception to license text.
25202 2013-02-27 Richard Henderson <rth@redhat.com>
25204 * scripts/config.guess: Update from config.git.
25205 * scripts/config.sub: Likewise.
25207 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25209 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25211 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25213 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25215 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25217 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25219 2013-02-26 Roland McGrath <roland@hack.frob.com>
25221 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25222 [$(build-shared = yes].
25224 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25226 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25227 (__mul): Reduce iterations for calculating mantissa.
25229 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25231 (__mpranred): Likewise.
25234 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25235 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25237 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25239 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25240 Define __attribute__.
25242 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25244 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25246 * posix/regex_internal.h (__attribute): Remove.
25247 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25248 (re_string_context_at): Likewise.
25249 (bitset_not): Use __attribute__ and mark function as possibly
25251 (bitset_merge): Likewise.
25252 (bitset_mask): Likewise.
25253 (re_string_char_size_at): Likewise.
25254 (re_string_wchar_at): Likewise.
25255 (re_string_elem_size_at): Likewise.
25257 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25259 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25263 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25267 (denorm): Likewise.
25268 (__dbl_mp): Likewise.
25269 (add_magnitudes): Likewise.
25270 (sub_magnitudes): Likewise.
25274 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25277 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25280 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25284 up changes with default code.
25285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25288 2013-02-24 Allan McRae <allan@archlinux.org>
25290 * manual/socket.texi (The Internet Namespace): Order menu items
25291 to match that in the file.
25293 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25294 node listing of the info page menu.
25296 2013-02-21 Joseph Myers <joseph@codesourcery.com>
25299 * sysdeps/i386/bp-asm.h: Remove file.
25300 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25301 (PARMS): Do not use macros from bp-asm.h.
25305 (__mpn_add_n): Do not use BP_SYM
25306 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25308 (PARMS): Do not use macros from bp-asm.h.
25311 (__mpn_addmul_1): Do not use BP_SYM
25312 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25314 (PARMS): Do not use macros from bp-asm.h.
25315 (SIGMSK): Likewise.
25316 (_setjmp): Likewise. Do not use BP_SYM.
25317 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25319 (PARMS): Do not use macros from bp-asm.h.
25320 (SIGMSK): Likewise.
25321 (setjmp): Likewise. Do not use BP_SYM.
25322 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25324 (PARMS): Do not use macros from bp-asm.h.
25325 (__frexp): Do not use BP_SYM.
25327 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25329 (PARMS): Do not use macros from bp-asm.h.
25330 (__frexpf): Do not use BP_SYM.
25331 (frexpf): Likewise.
25332 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25334 (PARMS): Do not use macros from bp-asm.h.
25335 (__frexpl): Do not use BP_SYM.
25336 (frexpl): Likewise.
25337 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25339 (PARMS): Do not use macros from bp-asm.h.
25340 (__remquo): Do not use BP_SYM.
25341 (remquo): Likewise.
25342 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25344 (PARMS): Do not use macros from bp-asm.h.
25345 (__remquof): Do not use BP_SYM.
25346 (remquof): Likewise.
25347 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25349 (PARMS): Do not use macros from bp-asm.h.
25350 (__remquol): Do not use BP_SYM.
25351 (remquol): Likewise.
25352 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25354 (PARMS): Do not use macros from bp-asm.h.
25357 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25358 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25360 (PARMS): Do not use macros from bp-asm.h.
25361 (strlen): Do not use BP_SYM.
25362 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25364 (PARMS): Do not use macros from bp-asm.h.
25368 (__mpn_add_n): Do not use BP_SYM.
25369 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25371 (PARMS): Do not use macros from bp-asm.h.
25374 (__mpn_addmul_1): Do not use BP_SYM.
25375 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25378 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25380 (PARMS): Do not use macros from bp-asm.h.
25383 (__mpn_lshift): Do not use BP_SYM.
25384 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25386 (PARMS): Do not use macros from bp-asm.h.
25390 (memcpy): Likewise. Do not use BP_SYM.
25391 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25392 libc_hidden_def and weak_alias.
25393 (mempcpy): Do not use BP_SYM in weak_alias.
25394 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25396 (PARMS): Do not use macros from bp-asm.h.
25399 [!BZERO_P] (CHR): Likewise.
25400 (memset): Likewise. Do not use BP_SYM.
25401 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25403 (PARMS): Do not use macros from bp-asm.h.
25406 (__mpn_mul_1): Do not use BP_SYM.
25407 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25409 (PARMS): Do not use macros from bp-asm.h.
25412 (__mpn_rshift): Do not use BP_SYM.
25413 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25415 (PARMS): Do not use macros from bp-asm.h.
25418 (strchr): Likewise. Do not use BP_SYM.
25419 (index): Do not use BP_SYM in weak_alias.
25420 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25422 (PARMS): Do not use macros from bp-asm.h.
25425 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25426 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25428 (PARMS): Do not use macros from bp-asm.h.
25429 (strlen): Do not use BP_SYM.
25430 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25432 (PARMS): Do not use macros from bp-asm.h.
25436 (__mpn_sub_n): Do not use BP_SYM.
25437 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25439 (PARMS): Do not use macros from bp-asm.h.
25442 (__mpn_submul_1): Do not use BP_SYM.
25443 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25445 (PARMS): Do not use macros from bp-asm.h.
25449 (__mpn_add_n): Do not use BP_SYM.
25450 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25453 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25455 (PARMS): Do not use macros from bp-asm.h.
25458 (memcmp): Do not use BP_SYM.
25459 (bcmp): Do not use BP_SYM in weak_alias.
25460 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25462 (PARMS): Do not use macros from bp-asm.h.
25466 (memcpy): Likewise. Do not use BP_SYM.
25467 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25469 (PARMS): Do not use macros from bp-asm.h.
25473 (memmove): Likewise. Do not use BP_SYM.
25474 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25476 (PARMS): Do not use macros from bp-asm.h.
25480 (__mempcpy): Likewise. Do not use BP_SYM.
25481 (mempcpy): Do not use BP_SYM in weak_alias.
25482 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25484 (PARMS): Do not use macros from bp-asm.h.
25487 [!BZERO_P] (CHR): Likewise.
25488 (memset): Likewise. Do not use BP_SYM.
25489 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25491 (PARMS): Do not use macros from bp-asm.h.
25493 (strcmp): Do not use BP_SYM.
25494 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25496 (PARMS): Do not use macros from bp-asm.h.
25499 [USE_AS_STRTOK_R] (SAVE): Likewise.
25500 (FUNCTION): Likewise. Do not use BP_SYM.
25501 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25503 (strtok_r): Likewise.
25504 (__GI___strtok_r): Likewise.
25505 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25506 (PARMS): Do not use macros from bp-asm.h.
25509 (__mpn_lshift): Do not use BP_SYM.
25510 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25511 (PARMS): Do not use macros from bp-asm.h.
25514 (__memchr): Do not use BP_SYM.
25515 (memchr): Do not use BP_SYM in weak_alias.
25516 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25517 (PARMS): Do not use macros from bp-asm.h.
25520 (memcmp): Do not use BP_SYM.
25521 (bcmp): Do not use BP_SYM in weak_alias.
25522 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25523 (PARMS): Do not use macros from bp-asm.h.
25526 (__mpn_mul_1): Do not use BP_SYM.
25527 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25529 (PARMS): Do not use macros from bp-asm.h.
25532 (__rawmemchr): Do not use BP_SYM.
25533 (rawmemchr): Do not use BP_SYM in weak_alias.
25534 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25535 (PARMS): Do not use macros from bp-asm.h.
25538 (__mpn_rshift): Do not use BP_SYM.
25539 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25540 (PARMS): Do not use macros from bp-asm.h.
25541 (SIGMSK): Likewise.
25542 (__sigsetjmp): Likewise. Do not use BP_SYM.
25543 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25544 (_start): Do not use BP_SYM.
25545 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25546 (PARMS): Do not use macros from bp-asm.h.
25549 (__stpcpy): Likewise. Do not use BP_SYM.
25550 (stpcpy): Do not use BP_SYM in weak_alias.
25551 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25553 (PARMS): Do not use macros from bp-asm.h.
25557 (__stpncpy): Likewise. Do not use BP_SYM.
25558 (stpncpy): Do not use BP_SYM in weak_alias.
25559 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25560 (PARMS): Do not use macros from bp-asm.h.
25563 (strchr): Likewise. Do not use BP_SYM.
25564 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25566 (PARMS): Do not use macros from bp-asm.h.
25569 (__strchrnul): Likewise. Do not use BP_SYM.
25570 (strchrnul): Do not use BP_SYM in weak_alias.
25571 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25573 (PARMS): Do not use macros from bp-asm.h.
25575 (strcspn): Do not use BP_SYM.
25576 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25578 (PARMS): Do not use macros from bp-asm.h.
25581 (strpbrk): Likewise. Do not use BP_SYM.
25582 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25584 (PARMS): Do not use macros from bp-asm.h.
25587 (strrchr): Likewise. Do not use BP_SYM.
25588 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25589 (PARMS): Do not use macros from bp-asm.h.
25591 (strspn): Do not use BP_SYM.
25592 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25593 (PARMS): Do not use macros from bp-asm.h.
25597 (FUNCTION): Likewise. Do not use BP_SYM.
25598 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25600 (strtok_r): Likewise.
25601 (__GI___strtok_r): Likewise.
25602 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25603 (PARMS): Do not use macros from bp-asm.h.
25607 (__mpn_sub_n): Do not use BP_SYM.
25608 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25610 (PARMS): Do not use macros from bp-asm.h.
25613 (__mpn_submul_1): Do not use BP_SYM.
25614 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25616 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25618 (PARMS): Do not use macros from bp-asm.h.
25623 (__clone): Do not use BP_SYM.
25624 (clone): Do not use BP_SYM in weak_alias.
25625 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25627 (PARMS): Do not use macros from bp-asm.h.
25629 (__mmap64): Do not use BP_SYM.
25630 (mmap64): Do not use BP_SYM in weak_alias.
25631 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25632 <bp-sym.h> and <bp-asm.h>.
25633 (PARMS): Do not use macros from bp-asm.h.
25634 (__posix_fadvise64_l64): Do not use BP_SYM.
25635 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25636 (PARMS): Do not use macros from bp-asm.h.
25638 (semtimedop): Do not use BP_SYM.
25639 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25642 2013-02-21 Allan McRae <allan@archlinux.org>
25644 * manual/message.texi (Charset conversion in gettext):
25645 Move @end statement to beginning of line.
25647 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25654 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25655 (denorm): Likewise.
25656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25659 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25661 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25662 tail-call to the resolved function if pltexit isn't needed.
25664 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25667 or Y being zero as being unlikely.
25668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25671 2013-02-20 Carlos O'Donell <carlos@redhat.com>
25673 * manual/nss.texi (System Databases and Name Service Switch):
25674 Remove frobnicate @pxref.
25676 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25678 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25679 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25681 2013-02-20 Petr Machata <pmachata@redhat.com>
25683 * elf/elf.h (R_ARM_TARGET1): New macro.
25684 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25685 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25686 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25687 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25688 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25689 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25690 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25691 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25692 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25693 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25694 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25695 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25696 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25697 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25698 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25699 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25700 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25701 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25702 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25703 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25704 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25705 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25706 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25707 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25708 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25709 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25710 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25711 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25712 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25713 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25714 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25715 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25716 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25717 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25718 (R_ARM_THM_GOT_BREL12): Likewise.
25719 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25720 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25721 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25722 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25723 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25724 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25725 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25726 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25727 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25729 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25731 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25732 __attribute_used__ to __attribute__ ((unused)).
25734 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25736 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25739 comment formatting.
25740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25742 2013-02-19 Joseph Myers <joseph@codesourcery.com>
25745 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25747 (ENTER): Remove both macro definitions.
25749 (CHECK_BOUNDS_LOW): Likewise.
25750 (CHECK_BOUNDS_HIGH): Likewise.
25751 (CHECK_BOUNDS_BOTH): Likewise.
25752 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25753 (RETURN_BOUNDED_POINTER): Likewise.
25754 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25755 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25756 (POP_ERRNO_LOCATION_RETURN): Likewise.
25757 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25758 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25759 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25761 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25762 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25763 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25764 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25765 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25766 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25767 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25768 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25769 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25770 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25771 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25772 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25773 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25774 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25776 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25777 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25779 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25780 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25781 * sysdeps/i386/i586/memset.S (memset): Likewise.
25782 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25783 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25784 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25786 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25787 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25788 Change uses of L(2) to L(out).
25789 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25790 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25791 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25792 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25793 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25795 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25796 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25798 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25799 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25800 (RETURN): Do not use macro LEAVE.
25801 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25802 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25803 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25804 * sysdeps/i386/i686/memset.S (memset): Likewise.
25805 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25806 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25807 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25808 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25810 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25811 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25812 L(1_2) and L(1_3) into L(1).
25813 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25814 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25815 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25816 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25817 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25818 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25819 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25820 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25821 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25823 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25824 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25825 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25826 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25827 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25828 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25829 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25830 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25831 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25832 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25833 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25834 * sysdeps/i386/strspn.S (strspn): Likewise.
25835 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25837 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25838 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25839 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25840 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25841 L(1_3) into L(1_1).
25842 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25843 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25844 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25846 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25848 2013-02-19 Jakub Jelinek <jakub@redhat.com>
25850 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25853 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25855 * math/atest-exp.c (exp_mpn): Remove ROUND.
25856 * math/atest-exp2.c (exp_mpn): Likewise.
25857 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25859 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25860 * stdlib/tst-tls-atexit-lib.c: Likewise.
25861 * stdlib/tst-tls-atexit.c: Likewise.
25863 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25865 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25866 and __attribute_alloc_size__.
25868 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25870 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25871 __attribute_alloc_size__.
25872 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25873 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25875 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25877 * include/programs/xmalloc.h: New file.
25878 * catgets/gencat.c: Include it.
25879 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25880 * elf/pldd.c: Likewise.
25881 * iconv/iconv_charmap.c: Likewise.
25882 * iconv/iconvconfig.c: Likewise.
25883 * iconv/strtab.c: Likewise.
25884 * locale/programs/locale.c: Likewise.
25885 * locale/programs/localedef.h: Likewise.
25886 * locale/programs/simple-hash.c: Likewise.
25887 * nscd/nscd.h: Likewise.
25888 * nss/makedb.c: Likewise.
25889 * sysdeps/generic/ldconfig.h: Likewise.
25891 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25893 * Versions.def: Add GLIBC_2.18.
25894 * include/link.h (struct link_map): New member l_tls_dtor_count.
25895 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25896 (__call_tls_dtors): Likewise.
25897 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25898 __cxa_thread_atexit_impl.
25899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25907 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25915 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25916 (tests): Add test case tst-tls-atexit.
25917 (modules-names): Add shared library for tst-tls-atexit.
25918 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25919 (GLIBC_PRIVATE): Add __call_tls_dtors.
25920 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25922 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25923 * stdlib/tst-tls-atexit.c: New test case.
25924 * stdlib/tst-tls-atexit-lib.c: New test case.
25926 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25928 * elf/Versions (ld): Add _dl_find_dso_for_object.
25929 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25930 * elf/dl-open.c (_dl_find_dso_for_object): New function.
25931 (dl_open_worker): Use _dl_find_dso_for_object.
25932 * elf/dl-sym.c (do_sym): Likewise.
25933 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25935 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25937 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25938 Syntactic changes only.
25939 (_dl_runtime_profile): Do a tail-call to the resolved function.
25941 2013-02-17 Joseph Myers <joseph@codesourcery.com>
25944 * sysdeps/x86_64/bp-asm.h: Remove file.
25945 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25946 <bp-sym.h> and <bp-asm.h>.
25947 (__clone): Do not use BP_SYM.
25948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25949 <bp-sym.h> and <bp-asm.h>.
25950 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25951 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25953 (_setjmp): Do not use BP_SYM.
25954 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25956 (setjmp): Do not use BP_SYM.
25957 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25959 (mempcpy): Do not use BP_SYM in weak_alias.
25960 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25962 (strchr): Do not use BP_SYM.
25963 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25965 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25966 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25967 (_start): Do not use BP_SYM.
25968 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25970 (strcat): Do not use BP_SYM.
25971 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25973 (STRCMP): Do not use BP_SYM.
25974 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25976 (STRCPY): Do not use BP_SYM.
25977 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25979 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25981 (FUNCTION): Do not use BP_SYM.
25982 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25984 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25986 2013-02-17 Andreas Jaeger <aj@suse.de>
25988 * time/Versions: Sort entries.
25989 * string/Versions: Likewise.
25990 * resolv/Versions: Likewise.
25991 * posix/Versions: Likewise.
25992 * iconv/Versions: Likewise.
25993 * elf/Versions: Likewise.
25994 * wcsmbs/Versions: Likewise.
25996 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25998 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25999 loop termination condition.
26001 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26002 variable to calculate EZ.
26005 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26006 the lower precision input.
26008 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26011 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26012 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26013 (run-via-rtld-prefix): Do not handle %-bp tests.
26014 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26015 (all-object-suffixes): Remove .ob.
26016 (bppfx): Remove variable.
26017 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26018 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26019 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26020 [$(build-bounded) = yes] (libtype.ob): Likewise.
26021 * Makerules (elide-routines.ob): Remove variable.
26022 (do-tests-clean): Do not handle *-bp.out.
26023 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26024 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26025 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26026 (tests): Do not include $(tests-bp.out).
26027 (xtests): Do not include $(xtests-bp.out).
26028 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26029 [$(build-bounded) = yes] ($(addprefix
26030 $(objpfx),$(binaries-bounded))): Remove rule.
26031 ($(objpfx)%-bp.out): Remove rule.
26032 * config.make.in (build-bounded): Remove variable.
26033 * crypt/Makefile [$(build-bounded) = yes]
26034 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26035 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26036 append to variable.
26037 [$(build-bounded) = yes] (install-lib): Likewise.
26038 [$(build-bounded) = yes] (generated): Likewise.
26039 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26041 * intl/Makefile [$(build-bounded) = yes]
26042 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26043 * math/Makefile [$(build-bounded) = yes]
26044 ($(tests:%=$(objpfx)%-bp): Likewise.
26045 * misc/Makefile [$(build-bounded) = yes]
26046 ($(objpfx)tst-tsearch-bp): Likewise.
26047 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26048 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26050 * string/Makefile (o-objects.ob): Remove variable.
26051 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26052 (CFLAGS-.ob): Remove variable.
26053 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26054 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26055 both definitions of variable.
26056 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26057 (ASFLAGS-.ob): Remove variable.
26059 2013-02-14 Joseph Myers <joseph@codesourcery.com>
26062 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26063 Remove __BOUNDED_POINTERS__ from condition.
26064 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26065 * string/bits/string2.h [!__NO_STRING_INLINES &&
26066 !__BOUNDED_POINTERS__]: Likewise.
26067 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26069 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26070 Remove conditional code.
26071 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26072 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26073 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26077 * csu/libc-start.c: Do not include <bp-sym.h>.
26078 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26079 * elf/dl-open.c: Do not include <bp-sym.h>.
26080 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26081 * math/fegetenv.c: Do not include <bp-sym.h>.
26082 (fegetenv): Do not use BP_SYM in versioned symbols.
26083 * nptl/sysdeps/pthread/bits/libc-lockP.h
26084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26087 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26089 (__pthread_mutex_destroy): Likewise.
26090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26091 (__pthread_mutex_lock): Likewise.
26092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26093 (__pthread_mutex_trylock): Likewise.
26094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26095 (__pthread_mutex_unlock): Likewise.
26096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26097 (__pthread_mutexattr_init): Likewise.
26098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26099 (__pthread_mutexattr_destroy): Likewise.
26100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26101 (__pthread_mutexattr_settype): Likewise.
26102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26103 (__pthread_rwlock_init): Likewise.
26104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26105 (__pthread_rwlock_destroy): Likewise.
26106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26107 (__pthread_rwlock_rdlock): Likewise.
26108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26109 (__pthread_rwlock_tryrdlock): Likewise.
26110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26111 (__pthread_rwlock_wrlock): Likewise.
26112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26113 (__pthread_rwlock_trywrlock): Likewise.
26114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26115 (__pthread_rwlock_unlock): Likewise.
26116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26117 (__pthread_key_create): Likewise.
26118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26119 (__pthread_setspecific): Likewise.
26120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26121 (__pthread_getspecific): Likewise.
26122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26125 (_pthread_cleanup_push_defer): Likewise.
26126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26127 (_pthread_cleanup_pop_restore): Likewise.
26128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26129 (pthread_setcancelstate): Likewise.
26130 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26132 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26133 (memchr): Do not use BP_SYM in weak_alias.
26134 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26135 (fegetenv): Do not use BP_SYM in versioned symbols.
26136 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26137 (fesetenv): Do not use BP_SYM in versioned symbols.
26138 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26139 (feupdateenv): Do not use BP_SYM in versioned symbols.
26140 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26141 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26142 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26143 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26144 (open64): Do not use BP_SYM in weak_alias.
26145 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26146 (fegetenv): Do not use BP_SYM in versioned symbols.
26147 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26148 (fesetenv): Do not use BP_SYM in versioned symbols.
26149 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26150 (feupdateenv): Do not use BP_SYM in versioned symbols.
26151 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26152 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26153 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26154 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26155 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26156 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26157 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26159 (__libc_start_main): Do not use BP_SYM.
26161 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26164 redundant return line.
26166 (denorm): Likewise.
26167 (dbl_mp): Likewise.
26168 (sub_magnitudes): Likewise.
26174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26176 (denorm): Likewise.
26177 (dbl_mp): Likewise.
26178 (sub_magnitudes): Likewise.
26185 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26187 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26188 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26191 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26192 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26194 of __mul for squares.
26195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26199 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26200 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26202 2013-02-13 Joseph Myers <joseph@codesourcery.com>
26205 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26207 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26208 prototype or function definition. Rename ubp_* variables and
26209 parameters. Remove argv definitions conditional on
26210 [__BOUNDED_POINTERS__].
26211 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26212 * elf/dl-runtime.c (_dl_fixup): Likewise.
26213 * include/set-hooks.h (RUN_HOOK): Likewise.
26214 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26216 * string/strcpy.c (strcpy): Do not use __unbounded.
26217 * sysdeps/generic/frame.h (struct layout): Likewise.
26218 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26219 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26220 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26221 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26222 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26223 (__backtrace): Likewise.
26224 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26226 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26227 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26228 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26230 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26231 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26232 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26233 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26234 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26235 Do not use __unbounded.
26236 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26237 Rename __unboundedrlimits parameter to rlimits in prototype.
26238 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26239 Do not use __unbounded.
26240 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26241 not use __ptrvalue.
26242 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26243 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26244 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26245 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26246 __ptrvalue or __unbounded.
26247 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26248 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26250 (__new_msgctl): Do not use __ptrvalue.
26251 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26253 (__libc_msgrcv): Do not use __ptrvalue.
26254 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26255 startup_info): Do not use __unbounded.
26256 (__libc_start_main): Likewise. Rename ubp_* variables and
26257 parameters. Remove argv definitions conditional on
26258 [__BOUNDED_POINTERS__].
26259 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26261 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26263 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26265 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26267 (__new_shmctl): Do not use __ptrvalue.
26268 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26269 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26271 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26272 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26273 (__libc_sigaction): Likewise.
26274 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26275 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26277 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26279 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
26281 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26283 * string/mempcpy.c: Implement by calling memcpy.
26285 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26287 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26292 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26293 values in the mantissa.
26295 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26296 minimize writes to Z.
26297 (sub_magnitudes): Simplify code a bit.
26299 2013-02-12 Roland McGrath <roland@hack.frob.com>
26301 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26302 from the message. The linker prefixes all warnings with that already.
26304 2013-02-12 Andreas Schwab <schwab@suse.de>
26307 * posix/regexec.c (extend_buffers): Add parameter min_len.
26308 (check_matching): Pass minimum needed length.
26309 (clean_state_log_if_needed): Likewise.
26310 (get_subexp): Likewise.
26311 * posix/Makefile (tests): Add bug-regex34.
26312 (bug-regex34-ENV): Define.
26313 * posix/bug-regex34.c: New file.
26316 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26317 elements compare against the byte sequence of it, not its name.
26318 * posix/Makefile (tests): Add bug-regex35.
26319 (bug-regex35-ENV): Define.
26320 * posix/bug-regex35.c: New file.
26322 2013-02-11 Tom de Vries <tom@codesourcery.com>
26324 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26326 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26327 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26328 (CHECK_EOL): Add undef.
26330 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
26332 * bits/stdlib-bsearch.h: New file.
26333 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26334 * stdlib/stdlib.h: Likewise.
26336 2013-02-11 Roland McGrath <roland@hack.frob.com>
26338 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26339 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26341 * manual/search.texi (Array Search Function): Add missing const in
26343 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26344 declaration to use rlim_t.
26345 (Basic Scheduling Functions): Remove erroneous const from
26346 sched_getparam prototype. Remove erroneous * from
26347 sched_get_priority_max and sched_get_priority_min prototypes.
26348 (Resource Usage): Fix summary @comment on vtimes to refer to
26349 sys/vtimes.h rather than vtimes.h.
26350 Add missing *s in vtimes prototype.
26351 (Limits on Resources): Fix ulimit prototype to return long int.
26352 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26353 prototypes to use long int rather than double.
26354 (BSD Random): Fix initstate and setstate to use char *, not void *.
26355 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26356 prototype to make second argument 'struct aiocb64 *const[]'.
26357 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26358 (Status of AIO Operations): Remove erroneous const in aio_return and
26359 aio_return64 prototypes.
26360 (Synchronizing I/O): Fix sync prototype to return void.
26361 * manual/startup.texi (Suboptions): Remove an erroneous const in
26362 getsubopt prototype.
26363 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26364 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26365 use size_t rather than int.
26366 (Scanning All Users): Likewise for getpwent_r.
26367 (Setting Groups): Add missing const to setgroups prototype.
26368 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26369 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26370 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26371 'const void *' rather than 'const char *'.
26372 (Host Address Functions): Likewise for inet_ntop.
26373 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26374 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26375 ssize_t for return value.
26376 (Sending Data): Likewise for send, sendto, sendmsg.
26377 (Socket Option Functions): Add a missing const in setsockopt prototype.
26378 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26379 use wchar_t for the argument.
26380 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26381 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26383 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26384 double/float/long double for second argument.
26385 Fix return types of significand, significandf, significandl.
26386 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26387 argument in fchmod prototype.
26388 (File Owner): Use uid_t and gid_t in fchown prototype.
26389 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26390 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26391 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26392 use 'const struct dirent **' as argument types to CMP function pointer
26394 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26395 (File Times): Fix summary magic @comment for struct utimbuf and utime
26396 to refer to utime.h, not time.h.
26397 * manual/string.texi (Argz Functions): Add missing const in
26398 argz_extract and argz_next prototypes.
26399 (Finding Tokens in a String): Likewise for basename.
26400 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26401 (Copying and Concatenation): Fix typo in wmemmove prototype.
26402 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26403 (Signal Stack): Remove erroneous const in sigstack prototype.
26404 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26406 (Simple Calendar Time): Likewise for stime.
26407 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26409 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26410 say sys/sysctl.h instead.
26411 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26412 and vsyslog prototypes.
26414 2013-02-11 Tom de Vries <tom@codesourcery.com>
26416 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26419 2013-02-11 Roland McGrath <roland@hack.frob.com>
26421 * misc/sys/mman.h: Fix typo in mremap comment.
26423 2013-02-08 Roland McGrath <roland@hack.frob.com>
26425 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26426 the '\0' terminator.
26428 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26431 * debug/segfault.c: Don't include <bp-checks.h>.
26432 * sysdeps/generic/bp-checks.h: Remove file.
26433 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26434 (__GETDENTS): Don't use CHECK_N.
26435 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26436 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26437 (__getgroups): Don't use CHECK_N.
26438 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26439 (setgroups): Don't use CHECK_N.
26440 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26441 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26442 (__libc_msgrcv): Don't use CHECK_N.
26443 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26444 (__libc_msgsnd): Don't use CHECK_N.
26445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26447 (__libc_pread): Don't use CHECK_N.
26448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26449 include <bp-checks.h>.
26450 (__libc_pread64): Don't use CHECK_N.
26451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26452 include <bp-checks.h>.
26453 (__libc_pwrite): Don't use CHECK_N.
26454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26455 include <bp-checks.h>.
26456 (__libc_pwrite64): Don't use CHECK_N.
26457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26459 (__libc_pread): Don't use CHECK_N.
26460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26461 include <bp-checks.h>.
26462 (__libc_pread64): Don't use CHECK_N.
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26464 include <bp-checks.h>.
26465 (__libc_pwrite): Don't use CHECK_N.
26466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26467 include <bp-checks.h>.
26468 (__libc_pwrite64): Don't use CHECK_N.
26469 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26470 (do_pread): Don't use CHECK_N.
26471 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26472 (do_pread64): Don't use CHECK_N.
26473 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26474 (do_pwrite): Don't use CHECK_N.
26475 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26476 (do_pwrite64): Don't use CHECK_N.
26477 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26478 (__libc_readv): Don't use CHECK_N.
26479 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26480 (semop): Don't use CHECK_N.
26481 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26483 (semtimedop): Don't use CHECK_N.
26484 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26485 (__libc_pread): Don't use CHECK_N.
26486 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26488 (__libc_pread64): Don't use CHECK_N.
26489 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26491 (__libc_pwrite): Don't use CHECK_N.
26492 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26494 (__libc_pwrite64): Don't use CHECK_N.
26495 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26497 (__libc_msgrcv): Don't use CHECK_N.
26498 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26499 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26500 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26501 (__libc_writev): Don't use CHECK_N.
26503 2013-02-08 Roland McGrath <roland@hack.frob.com>
26505 * string/strcpy.c: Removed unused variable.
26507 * Makeconfig (+sysdep-includes): Define with := rather than =.
26508 Use an existing include/ subdir of each sysdeps dir before it.
26510 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26512 * nscd/connection.c (register_traced_file): Comment function.
26513 [HAVE_INOTIFY] (union __inev): Define.
26514 [HAVE_INOTIFY] (inotify_check_files): New function.
26515 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26516 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26518 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26520 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26522 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26523 loaded if not already and that a failure is permanent.
26525 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26528 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26529 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26531 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26534 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26535 (CHECK_1_NULL_OK): Likewise.
26536 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26537 (__fxstat): Do not use CHECK_1.
26538 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26540 (___fxstat64): Do not use CHECK_1.
26541 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26543 (__fxstatat): Do not use CHECK_1.
26544 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26546 (__fxstatat64): Do not use CHECK_1.
26547 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26549 (__fxstat): Do not use CHECK_1.
26550 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26552 (__fxstatat): Do not use CHECK_1.
26553 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26555 (__getresgid): Do not use CHECK_1.
26556 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26558 (__getresuid): Do not use CHECK_1.
26559 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26561 (__lxstat): Do not use CHECK_1.
26562 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26564 (__old_msgctl): Do not use CHECK_1.
26565 (__new_msgctl): Likewise.
26566 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26568 (__new_setrlimit): Do not use CHECK_1.
26569 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26571 (__old_shmctl): Do not use CHECK_1.
26572 (__new_shmctl): Likewise.
26573 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26575 (__xstat): Do not use CHECK_1.
26576 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26577 (__lxstat): Do not use CHECK_1.
26578 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26580 (___lxstat64): Do not use CHECK_1.
26581 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26582 (__old_msgctl): Do not use CHECK_1.
26583 (__new_msgctl): Likewise.
26584 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26586 (__gettimeofday): Do not use CHECK_1.
26587 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26588 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26589 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26591 (__gettimeofday): Do not use CHECK_1.
26592 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26593 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26594 (__new_shmctl): Do not use CHECK_1.
26595 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26597 (do_sigtimedwait): Do not use CHECK_1.
26598 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26600 (do_sigwaitinfo): Do not use CHECK_1.
26601 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26603 (msgctl): Do not use CHECK_1.
26604 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26606 (shmctl): Do not use CHECK_1.
26607 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26608 (ustat): Do not use CHECK_1.
26609 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26611 (__fxstat): Do not use CHECK_1.
26612 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26614 (__fxstatat): Do not use CHECK_1.
26615 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26617 (__lxstat): Do not use CHECK_1.
26618 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26620 (__xstat): Do not use CHECK_1.
26621 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26622 (__xstat): Do not use CHECK_1.
26623 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26624 (___xstat64): Do not use CHECK_1.
26627 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26629 (CHECK_BOUNDS_HIGH): Likewise.
26630 * string/strcpy.c: Do not include <bp-checks.h>.
26631 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26633 2013-02-07 Roland McGrath <roland@hack.frob.com>
26635 * nscd/nscd-client.h (__nscd_drop_map_ref):
26636 Add __attribute__ ((unused)).
26637 * nis/nss-nisplus.h (niserr2nss): Likewise.
26639 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26640 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26642 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26643 Remove inline keyword.
26644 * include/rounding-mode.h (round_away): Likewise.
26645 * libio/wfileops.c (adjust_wide_data): Likewise.
26646 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26647 (__m128i_strloadu_tolower): Likewise.
26648 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26649 (__m128i_strloadu_tolower): Likewise.
26650 * time/mktime.c (ydhms_diff): Likewise.
26651 * locale/elem-hash.h (elem_hash): Likewise.
26652 * locale/setlocale.c (setdata): Likewise.
26653 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26654 (re_string_wchar_at): Likewise.
26655 (bitset_not, bitset_merge, bitset_mask): Likewise.
26656 [!(__GNUC__ > 3)] (inline): Remove macro.
26657 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26658 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26659 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26660 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26661 * string/memcmp.c (memcmp_bytes): Likewise.
26662 * locale/programs/locarchive.c (compute_hashval): Likewise.
26663 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26664 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26665 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26666 * nss/getent.c (print_rpc, print_protocols): Likewise.
26667 (print_passwd, print_group, print_aliases): Likewise.
26668 * nis/nss-nisplus.h (niserr2nss): Likewise.
26669 * nscd/connections.c (restart_p): Likewise.
26670 Change return type to bool.
26672 2013-02-05 Roland McGrath <roland@hack.frob.com>
26674 * Makeconfig (all-Depend-files): Add existing
26675 $(sorted-subdirs:=/Depend) files.
26676 (all-subdirs): Remove nss.
26677 * sysdeps/unix/inet/Subdirs: Add it here instead.
26678 * hesiod/Depend: New file.
26680 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26681 instead of calling alloca.
26683 * io/lseek.c (__lseek): Rename to __libc_lseek.
26684 Define __lseek as an alias.
26686 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26688 2013-02-04 Carlos O'Donell <carlos@redhat.com>
26690 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26691 else clause and remove check for non-standard endianness.
26693 2013-02-04 David S. Miller <davem@davemloft.net>
26695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26697 2013-02-04 Joseph Myers <joseph@codesourcery.com>
26700 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26701 (__ubp_memchr): Remove prototype.
26702 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26703 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26704 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26705 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26706 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26708 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26709 (__ubp_memchr): Likewise.
26710 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26711 (__ubp_memchr): Likewise.
26712 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26713 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26714 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26715 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26717 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26718 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26719 (__getcwd): Do not use CHECK_STRING.
26720 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26722 (__real_chown): Do not use CHECK_STRING.
26723 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26725 (fchownat): Do not use CHECK_STRING.
26726 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26728 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26730 (__lchown): Do not use CHECK_STRING.
26731 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26732 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26733 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26734 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26736 include <bp-checks.h>.
26737 (truncate64): Do not use CHECK_STRING.
26738 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26740 (__real_chown): Do not use CHECK_STRING.
26741 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26743 (__lchown): Do not use CHECK_STRING.
26744 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26746 (__chown): Do not use CHECK_STRING.
26747 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26749 (truncate64): Do not use CHECK_STRING.
26750 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26752 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26753 (__xmknod): Do not use CHECK_STRING.
26754 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26756 (__xmknodat): Do not use CHECK_STRING.
26757 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26758 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26760 2013-02-04 Andreas Schwab <schwab@suse.de>
26763 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26764 * include/netdb.h: Likewise for h_errno.
26765 * elf/tst-stackguard1.c: Include <tls.h>.
26767 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26769 * elf/link.h (struct link_map): Extend the l_addr comment.
26770 * include/link.h (struct link_map): Likewise.
26772 2013-02-01 Joseph Myers <joseph@codesourcery.com>
26775 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26776 (BOUNDED_1): Remove macro.
26777 * debug/backtrace.c: Don't include <bp-checks.h>.
26778 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26779 (__backtrace): Likewise.
26780 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26782 (__backtrace): Don't use BOUNDED_1.
26783 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26785 (__backtrace): Don't use BOUNDED_1.
26786 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26787 (__backtrace): Don't use BOUNDED_1.
26788 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26789 (shmat): Don't use BOUNDED_N.
26791 2013-01-31 Joseph Myers <joseph@codesourcery.com>
26794 * sysdeps/generic/bp-start.h: Remove file.
26795 * csu/libc-start.c: Don't include <bp-start.h>.
26796 (LIBC_START_MAIN): Set up __environ directly instead of using
26797 INIT_ARGV_and_ENVIRON.
26798 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26802 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26804 (CHECK_FCNTL): Likewise.
26805 (CHECK_N_PAGES): Likewise.
26808 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26810 (CHECK_SIGSET_NULL_OK): Likewise.
26811 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26813 (sigpending): Don't use CHECK_SIGSET.
26814 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26816 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26817 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26819 (do_sigsuspend): Don't use CHECK_SIGSET.
26820 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26822 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26823 (do_sigwait): Don't use CHECK_SIGSET.
26824 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26826 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26827 include <bp-checks.h>.
26828 (sigpending): Don't use CHECK_SIGSET.
26829 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26830 include <bp-checks.h>.
26831 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26832 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26834 (sigpending): Don't use CHECK_SIGSET.
26835 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26837 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26840 * sysdeps/generic/bp-semctl.h: Remove file.
26841 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26842 <bp-checks.h> and <bp-semctl.h>.
26843 (__old_semctl): Don't use CHECK_SEMCTL.
26844 (__new_semctl): Likewise.
26845 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26847 (__old_semctl): Don't use CHECK_SEMCTL.
26848 (__new_semctl): Likewise.
26849 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26850 <bp-checks.h> and <bp-semctl.h>.
26851 (__old_semctl): Don't use CHECK_SEMCTL.
26852 (__new_semctl): Likewise.
26853 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26854 <bp-checks.h> and <bp-semctl.h>.
26855 (semctl): Don't use CHECK_SEMCTL.
26858 * Makerules (elide-bp-thunks): Remove variable.
26859 (elide-routines.oS): Don't use $(elide-bp-thunks).
26860 (elide-routines.os): Likewise.
26861 (elide-routines.o): Likewise.
26862 (elide-routines.op): Likewise.
26863 (elide-routines.og): Likewise.
26864 (objects): Don't use $(bp-thunks).
26865 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26867 (common-generated): Do not add s-proto-bp.d.
26868 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26871 Do not generate makefile rules for bounded-pointer thunks.
26872 * sysdeps/generic/bp-thunks.h: Remove file.
26873 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26874 * sysdeps/unix/s-proto-bp.S: Likewise.
26877 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26878 parts of result separately when argument is not close to line from
26879 -i to i and one part of argument is small.
26880 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26881 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26882 * math/libm-test.inc (cacos_test): Add more tests.
26883 (casin_test): Likewise.
26884 (casinh_test): Likewise.
26885 * sysdeps/i386/fpu/libm-test-ulps: Update.
26886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26888 2013-01-31 David S. Miller <davem@davemloft.net>
26890 * po/de.po: Update from translation team.
26892 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26894 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26896 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26898 * configure.in (_AC_PROG_CC_C89): New definition.
26899 * configure: Regenerate.
26901 * configure.in (AC_PROG_CPP): New definition.
26902 * configure: Regenerate.
26904 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26906 * debug/tst-backtrace.h: New file.
26907 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26908 (ret): Remove variable.
26910 (FAIL): Remove macro.
26911 (NO_INLINE): Likewise.
26912 (fn1): Use match function instead of strstr.
26913 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26914 (ret): Remove variable.
26916 (FAIL): Remove macro.
26917 (NO_INLINE): Likewise.
26918 (fn): Use match function instead of strstr.
26919 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26920 (ret): Remove variable.
26922 (FAIL): Remove macro.
26923 (NO_INLINE): Likewise.
26924 (handle_signal): Use match function instead of strstr.
26925 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26926 (ret): Remove variable.
26928 (FAIL): Remove macro.
26929 (NO_INLINE): Likewise.
26930 (handle_signal): Use match function instead of strstr.
26932 2013-01-23 Roland McGrath <roland@hack.frob.com>
26934 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26936 2013-01-23 David S. Miller <davem@davemloft.net>
26938 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26939 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26940 argument of CAS if possible.
26941 * sysdeps/sparc/sparc64/bits/atomic.h
26942 (__arch_compare_and_exchange_val_32_acq): Likewise.
26943 (__arch_compare_and_exchange_val_64_acq): Likewise.
26945 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
26947 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26948 * sysdeps/posix/ulimit.c: ... this.
26949 Include <limits.h>.
26950 * sysdeps/unix/bsd/ulimit.c: Remove file.
26952 2013-01-23 Adam Conrad <adconrad@0c3.net>
26954 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26955 (LDFLAGS-tst-array5): Likewise.
26957 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26960 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26961 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26962 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26963 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26965 2013-01-21 David S. Miller <davem@davemloft.net>
26967 * sysdeps/sparc/backtrace.c: New file.
26968 * sysdeps/sparc/sparc32/backtrace.h: New file.
26969 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26970 * sysdeps/sparc/sparc64/backtrace.h: New file.
26971 * sysdeps/sparc/sparc64/backtrace.c: Delete.
26972 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26975 2013-01-21 Andreas Schwab <schwab@suse.de>
26978 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26981 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
26983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26987 2013-01-18 Joseph Myers <joseph@codesourcery.com>
26988 Mark Mitchell <mark@codesourcery.com>
26989 Tom de Vries <tom@codesourcery.com>
26990 Paul Pluzhnikov <ppluzhnikov@google.com>
26992 * debug/tst-backtrace2.c: New file.
26993 * debug/tst-backtrace3.c: Likewise.
26994 * debug/tst-backtrace4.c: Likewise.
26995 * debug/tst-backtrace5.c: Likewise.
26996 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26997 (CFLAGS-tst-backtrace3.c): Likewise.
26998 (CFLAGS-tst-backtrace4.c): Likewise.
26999 (CFLAGS-tst-backtrace5.c): Likewise.
27000 (LDFLAGS-tst-backtrace2): Likewise.
27001 (LDFLAGS-tst-backtrace3): Likewise.
27002 (LDFLAGS-tst-backtrace4): Likewise.
27003 (LDFLAGS-tst-backtrace5): Likewise.
27004 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27005 tst-backtrace4 and tst-backtrace5.
27007 2013-01-18 Anton Blanchard <anton@samba.org>
27008 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27010 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27011 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27012 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27013 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27015 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27016 "+r" and remove output regs list as redundant. Add explicit inline
27017 asm to specify register of return val to work around compiler codegen
27018 bug. Remove (int) cast on return value. Add return type parameter to
27019 use in macro so that this macro does not truncate return value for
27021 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27022 pass to INTERNAL_VSYSCALL_NCS.
27023 (INLINE_VSYSCALL): Add 'long int' as return type to
27024 INTERNAL_VSYSCALL_NCS macro invocation.
27025 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27026 INTERNAL_VSYSCALL_NCS macro invocation.
27027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27029 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27032 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27033 Fix application of SIMD FP exception mask.
27035 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27036 mp_no from a power of two.
27037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27038 __mpexp_twomm1. Use __pow_mp.
27040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27043 2013-01-17 David S. Miller <davem@davemloft.net>
27045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27047 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27050 * include/complex.h: Condition contents on [!_COMPLEX_H].
27051 (__kernel_casinhf): New prototype.
27052 (__kernel_casinh): Likewise.
27053 (__kernel_casinhl): Likewise.
27054 * math/Makefile (libm_calls): Add k_casinh.
27055 * math/k_casinh.c: New file.
27056 * math/k_casinhf.c: Likewise.
27057 * math/k_casinhl.c: Likewise.
27058 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27059 finite nonzero arguments.
27060 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27061 finite nonzero arguments.
27062 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27063 finite nonzero arguments.
27064 * math/s_casinh.c: Do not include <float.h>.
27065 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27066 * math/s_casinhf.c: Do not include <float.h>.
27067 (__casinhf): Move code for finite nonzero arguments to
27069 * math/s_casinhl.c: Do not include <float.h>.
27070 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27072 (__casinhl): Move code for finite nonzero arguments to
27074 * math/libm-test.inc (cacos_test): Add more tests.
27075 * sysdeps/i386/fpu/libm-test-ulps: Update.
27076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27078 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27080 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27081 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27082 [!HAVE_MREMAP]: Remove [defined linux] case.
27083 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27085 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27087 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27089 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
27091 * elf/elf.h (R_386_SIZE32): New relocation.
27092 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27094 (elf_machine_rela): Likewise.
27095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27096 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27098 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27100 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27101 (FP_FAST_FMA): Do not define.
27102 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27103 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27104 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27105 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27106 !_SOFT_FLOAT]: Likewise.
27107 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27108 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27110 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27111 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27112 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27113 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27114 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27115 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27118 2013-01-16 Andreas Schwab <schwab@suse.de>
27121 * include/stdlib.h (__mktemp): Add declaration.
27122 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27123 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27125 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27127 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27129 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27130 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27131 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27133 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27134 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27136 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27138 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27139 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27140 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27142 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27143 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27145 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27147 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27149 2013-01-15 David S. Miller <davem@davemloft.net>
27151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27152 trunc{,f} to libm-sysdep_routes.
27153 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27163 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27164 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27165 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27166 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27167 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27168 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27171 nearbyint{,f} to libm-sysdep_routes.
27172 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27183 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27185 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27186 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27188 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27189 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27190 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27192 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27193 libc_feholdexcept and libc_fesetenv.
27195 2013-01-15 Mike Frysinger <vapier@gentoo.org>
27197 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27199 2013-01-14 David S. Miller <davem@davemloft.net>
27201 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27202 (SPARC_ASM_VIS2_IFUNC): Likewise.
27203 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27205 use of 'siam' instruction.
27206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27213 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27239 routines to libm-sysdep_routines.
27240 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27243 fdim/fdimf to libm-sysdep_routines.
27244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27252 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27253 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27254 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27255 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27257 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27259 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27260 to optimize copies.
27262 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27267 local variable MPTWO.
27268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27271 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27273 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27276 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27278 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27280 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27282 * manual/pattern.texi (glob_t): Document gl_flags.
27283 (glob64_t): Likewise.
27285 2013-01-11 David S. Miller <davem@davemloft.net>
27287 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27288 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27289 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
27290 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27291 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27292 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27293 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27294 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27295 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27296 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27297 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27298 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27299 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27301 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27302 sparc V9 rather than using V8 code.
27303 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27304 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27306 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27308 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27311 2013-01-11 Roland McGrath <roland@hack.frob.com>
27313 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27314 not in the main loop.
27315 * configure: Regenerated.
27317 2013-01-11 Joseph Myers <joseph@codesourcery.com>
27319 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27320 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27322 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27323 [!__GLIBC_HAVE_LONG_LONG] case.
27324 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27325 condition to just #else.
27326 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27327 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27328 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27329 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27331 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27332 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27333 #elif condition to just #else.
27334 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27335 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27336 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27337 #elif condition to just #else.
27339 2013-01-11 Steve Ellcey <sellcey@mips.com>
27341 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27342 (EF_MIPS_ARCH_64): Fix value.
27343 (EF_MIPS_ARCH_32R2): New.
27344 (EF_MIPS_ARCH_64R2): New.
27346 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27348 * Makeconfig (+link-pie-before-libc): New.
27349 (+link-pie-after-libc): Likewise.
27350 (+link-pie-tests): Likewise.
27351 (+link-pie): Rewritten.
27352 (link-before-libc): Remove $(config-LDFLAGS).
27353 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27354 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27355 (config-LDFLAGS): Renamed to ...
27356 (rtld-LDFLAGS): This.
27357 (rtld-tests-LDFLAGS): New macro.
27358 (link-libc-rpath-link): Likewise.
27359 (link-libc-tests-rpath-link): Likewise.
27360 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27361 (link-libc): Prepand $(link-libc-rpath-link).
27362 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27363 (test-program-prefix): New macro.
27364 (test-via-rtld-prefix): Likewise.
27365 (test-program-cmd): Likewise.
27366 (host-test-program-cmd): Likewise.
27367 * Makefile ($(common-objpfx)testrun.sh): Replace
27368 $(run-program-prefix) with $(test-program-prefix).
27369 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27371 ($(common-objpfx)shlib.lds): Likewise.
27372 (build-module-helper): Likewise.
27373 ($(common-objpfx)format.lds): Likewise.
27374 * Rules (binaries-pie-tests): New.
27375 (binaries-pie-notests): Likewise.
27376 (binaries-pie): Rewritten.
27377 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27378 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27379 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27380 (make-test-out): Replace $(host-built-program-cmd) with
27381 $(host-test-program-cmd).
27382 * config.make.in (build-hardcoded-path-in-tests): New variable.
27383 * configure.in (--enable-hardcoded-path-in-tests): New configure
27385 (hardcoded_path_in_tests): New AC_SUBST.
27386 * configure: Regenerated.
27387 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27388 $(built-program-cmd) with $(test-program-cmd).
27389 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27390 (test_program_cmd): This.
27391 * elf/Makefile ($(objpfx)order.out): Run test with
27392 $(test-program-prefix).
27393 ($(objpfx)order2.out): Likewise.
27394 ($(objpfx)tst-initorder.out): Likewise.
27395 ($(objpfx)tst-initorder2.out): Likewise.
27396 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27397 $(test-program-cmd).
27398 ($(objpfx)tst-array1-static.out): Likewise.
27399 ($(objpfx)tst-array2.out): Likewise.
27400 ($(objpfx)tst-array3.out): Likewise.
27401 ($(objpfx)tst-array4.out): Likewise.
27402 ($(objpfx)tst-array5.out): Likewise.
27403 ($(objpfx)tst-array5-static.out): Likewise.
27404 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27405 $(test-program-cmd).
27406 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27407 $(run-program-prefix) with $(test-program-prefix).
27408 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27409 (test_program_prefix): This.
27410 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27411 $(run-program-prefix) with $(test-program-prefix).
27412 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27413 (test_program_prefix): This.
27414 * iconvdata/tst-tables.sh: Likewise.
27415 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27416 $(run-program-prefix) with $(test-program-prefix).
27417 ($(objpfx)tst-translit.out): Likewise.
27418 ($(objpfx)tst-gettext2.out): Likewise.
27419 ($(objpfx)tst-gettext4.out): Likewise.
27420 ($(objpfx)tst-gettext6.out): Likewise.
27421 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27422 (test_program_prefix): This.
27423 * intl/tst-gettext2.sh: Likewise.
27424 * intl/tst-gettext4.sh Likewise.
27425 * intl/tst-gettext6.sh: Likewise.
27426 * intl/tst-translit.sh: Likewise.
27427 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27428 with $(test-program-cmd).
27429 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27430 $(run-program-prefix) with $(test-program-prefix).
27431 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27432 (test_program_prefix): This.
27433 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27434 $(run-program-prefix) with $(test-program-prefix).
27435 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27436 (test_program_prefix): This.
27437 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27438 * posix/Makefile ($(objpfx)globtest.out): Replace
27439 $(run-via-rtld-prefix) and $(test-wrapper) with
27440 $(test-program-prefix) and $(test-via-rtld-prefix).
27441 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27442 $(test-program-prefix).
27443 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27444 $(host-test-program-cmd).
27445 (tst-spawn-ARGS): Likewise.
27446 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27447 $(test-program-prefix).
27448 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27449 (test_via_rtld_prefix): This.
27450 (test_wrapper): Renamed to ...
27451 (test_program_prefix): This.
27452 (run_program_prefix): Replaced by test_program_prefix.
27453 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27454 (test_program_prefix): This.
27455 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27456 with $(host-test-program-cmd).
27457 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27458 $(run-program-prefix) with $(test-program-prefix).
27459 ($(objpfx)tst-printf.out): Likewise.
27460 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27461 $(test-program-cmd).
27462 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27463 (test_program_prefix): This.
27464 * stdio-common/tst-unbputc.sh: Likewise.
27465 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27466 $(run-program-prefix) with $(test-program-prefix).
27467 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27468 (test_program_prefix): This.
27469 * string/Makefile ($(objpfx)tst-svc.out): Replace
27470 $(built-program-cmd) with $(test-program-cmd).
27472 2013-01-11 Andreas Jaeger <aj@suse.de>
27475 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27476 value. Sync with Linux 3.7.
27478 2013-01-10 David S. Miller <davem@davemloft.net>
27480 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27481 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27482 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27484 2013-01-10 Roland McGrath <roland@hack.frob.com>
27486 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27488 * configure: Regenerated.
27490 2013-01-10 David S. Miller <davem@davemloft.net>
27492 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27493 sparc V9 rather than using V8 code.
27494 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27495 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27497 2013-01-10 Roland McGrath <roland@hack.frob.com>
27499 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27500 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27501 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27502 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27503 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27504 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27505 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27506 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27507 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27508 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27509 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27510 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27511 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27512 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27513 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27514 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27515 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27516 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27517 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27518 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27519 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27520 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27521 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27522 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27523 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27524 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27525 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27527 2013-01-10 David S. Miller <davem@davemloft.net>
27529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27531 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27533 * posix/Makefile (tests-static): New variable.
27534 (tests): Add $(tests-static).
27535 (tst-exec-static-ARGS): New variable.
27536 (tst-spawn-static-ARGS): Likewise.
27537 * posix/tst-exec-static.c: New file.
27538 * posix/tst-spawn-static.c: Likewise.
27539 * posix/tst-exec.c: Support run directly.
27540 * posix/tst-spawn.c: Likewise.
27542 2013-01-10 Joseph Myers <joseph@codesourcery.com>
27544 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27546 * math/bits/mathcalls.h (llrint): Likewise.
27547 (llround): Likewise.
27548 * stdlib/stdlib.h (struct drand48_data): Likewise.
27549 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27550 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27551 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27553 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27555 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27556 (elf_greg_t): Likewise.
27557 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27558 (__jmp_buf): Likewise.
27559 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27561 (llrint): Likewise, for all definitions.
27562 (llrintl): Likewise.
27564 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27565 Remove [__GNUC__] condition.
27566 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27567 condition to just [__USE_ISOC99].
27568 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27570 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27573 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27574 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27576 (_POSIX_V6_ILP32_OFF32): Likewise.
27577 (_XBS5_ILP32_OFF32): Likewise.
27578 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27579 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27581 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27583 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27585 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27586 doubles __mpexp_twomm1. Adjust usage.
27587 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27590 2013-01-10 Andreas Schwab <schwab@suse.de>
27593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27594 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27596 2013-01-09 David S. Miller <davem@davemloft.net>
27599 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27600 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27601 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27602 (TCP_FASTOPEN): Define.
27603 (tcp_repair_opt): New structure.
27604 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27606 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27607 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27608 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27609 (tcp_cookie_transactions): New structure.
27611 2013-01-09 Anton Blanchard <anton@samba.org>
27613 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27614 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27615 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27616 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27618 2013-01-09 Joseph Myers <joseph@codesourcery.com>
27620 * include/features.h (__USE_ANSI): Remove.
27622 2013-01-09 Roland McGrath <roland@hack.frob.com>
27624 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27626 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27628 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27630 * sysdeps/s390/fpu/libm-test-ulps: Update.
27632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27634 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27638 (denorm): Likewise.
27639 (__mp_dbl): Likewise.
27640 (__dbl_mp): Likewise.
27641 (add_magnitudes): Likewise.
27642 (sub_magnitudes): Likewise.
27648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27652 (denorm): Likewise.
27653 (__mp_dbl): Likewise.
27654 (__dbl_mp): Likewise.
27655 (add_magnitudes): Likewise.
27656 (sub_magnitudes): Likewise.
27662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27666 (denorm): Likewise.
27667 (__mp_dbl): Likewise.
27668 (__dbl_mp): Likewise.
27669 (add_magnitudes): Likewise.
27670 (sub_magnitudes): Likewise.
27677 2013-01-08 Joseph Myers <joseph@codesourcery.com>
27679 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27680 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27681 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27682 2 && __USE_EXTERN_INLINES]: Likewise.
27684 2013-01-08 Andreas Jaeger <aj@suse.de>
27687 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27689 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27690 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27692 2013-01-07 Anton Blanchard <anton@samba.org>
27694 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27695 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27696 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27697 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27698 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27699 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27700 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27701 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27703 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27704 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27705 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27706 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27707 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27708 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27709 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27710 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27711 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27712 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27713 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27714 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27715 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27716 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27717 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27718 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27719 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27720 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27721 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27723 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27724 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27726 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27727 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27728 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27729 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27730 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27731 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27732 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27733 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27734 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27736 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27738 2013-01-07 Joseph Myers <joseph@codesourcery.com>
27740 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27741 (__MALLOC_PMT): Likewise.
27742 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27743 [__GNUC__], only on [_LIBC].
27744 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27745 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27746 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27747 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27748 forward declaration.
27749 (realloc_hook_ini): Likewise.
27750 (memalign_hook_ini): Likewise.
27751 (__libc_memalign): Do not use __MALLOC_PMT in variable
27753 (__libc_valloc): Likewise.
27754 (__libc_pvalloc): Likewise.
27755 (__libc_calloc): Likewise.
27756 (__posix_memalign): Likewise.
27759 * math/s_casinh.c: Include <float.h>.
27760 (__casinh): Do not do computation with squaring and square root
27761 for large arguments.
27762 * math/s_casinhf.c: Include <float.h>.
27763 (__casinhf): Do not do computation with squaring and square root
27764 for large arguments.
27765 * math/s_casinhl.c: Include <float.h>.
27766 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27767 (__casinhl): Do not do computation with squaring and square root
27768 for large arguments.
27769 * math/libm-test.inc (casin_test): Add more tests.
27770 (casinh_test): Likewise.
27771 * sysdeps/i386/fpu/libm-test-ulps: Update.
27772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27774 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27776 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27777 (__x86_64_raw_data_cache_size): Likewise.
27778 (__x86_64_data_cache_size_half): Likewise.
27779 (__x86_64_raw_data_cache_size_half): Likewise.
27780 (__x86_64_shared_cache_size): Likewise.
27781 (__x86_64_raw_shared_cache_size): Likewise.
27782 (__x86_64_shared_cache_size_half): Likewise.
27783 (__x86_64_raw_shared_cache_size_half): Likewise.
27784 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27786 (__x86_data_cache_size): This.
27787 (__x86_64_raw_data_cache_size): Renamed to ...
27788 (__x86_raw_data_cache_size): This.
27789 (__x86_64_data_cache_size_half): Renamed to ...
27790 (__x86_data_cache_size_half): This.
27791 (__x86_64_raw_data_cache_size_half): Renamed to ...
27792 (__x86_raw_data_cache_size_half): This.
27793 (__x86_64_shared_cache_size): Renamed to ...
27794 (__x86_shared_cache_size): This.
27795 (__x86_64_raw_shared_cache_size): Renamed to ...
27796 (__x86_raw_shared_cache_size): This.
27797 (__x86_64_shared_cache_size_half): Renamed to ...
27798 (__x86_shared_cache_size_half): This.
27799 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27800 (__x86_raw_shared_cache_size_half): This.
27801 * sysdeps/x86_64/memcpy.S: Updated.
27802 * sysdeps/x86_64/memset.S: Likewise.
27803 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27804 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27805 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27807 2013-01-04 David S. Miller <davem@davemloft.net>
27809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27811 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27813 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27814 1 to avoid redefinition warning.
27815 (__USE_GNU): Don't define.
27816 (init_signaling_nan): Protoize.
27818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27820 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27822 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27824 (__cpymn): Likewise.
27825 (norm): Remove commented code.
27826 (denorm): Likewise.
27827 (__mp_dbl): Likewise.
27829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27830 (__cpymn): Likewise.
27831 (norm): Remove commented code.
27832 (denorm): Likewise.
27833 (__mp_dbl): Likewise.
27836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27837 mp_no value for 1.0 and 2.0.
27838 (norm): Use RADIXI instead of radixi.d.
27839 (denorm): Likewise.
27840 (__mul): Use 0.0 instead of zero.d.
27841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27842 mp_no value for 1.0 and 2.0.
27843 (norm): Use RADIXI instead of radixi.d.
27844 (denorm): Likewise.
27845 (__mul): Use 0.0 instead of zero.d.
27847 2013-01-04 Joseph Myers <joseph@codesourcery.com>
27850 * math/s_casinh.c (__casinh): Reduce finite argument to first
27851 quadrant then set signs of results at the end.
27852 * math/s_casinhf.c (__casinhf): Likewise.
27853 * math/s_casinhl.c (__casinhl): Likewise.
27854 * math/libm-test.inc (casin_test): Add more tests.
27855 (casinh_test): Likewise.
27856 * sysdeps/i386/fpu/libm-test-ulps: Update.
27857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27859 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27861 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27863 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27865 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27867 (denorm): Likewise.
27868 (__mp_dbl): Likewise.
27871 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27872 and adjust the header comment.
27874 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27875 variable name from declaration.
27877 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27880 Initialize COMMON_CPUID_INDEX_7 element.
27881 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27882 (CPUID_RTM): Likewise.
27883 (HAS_RTM): Likewise.
27884 (COMMON_CPUID_INDEX_7): New enum.
27886 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27889 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27890 size is zero, record memory as freed.
27892 2013-01-03 Andreas Jaeger <aj@suse.de>
27894 * po/ia.po: Add new Interlingua translation.
27896 2012-01-03 Allan McRae <allan@archlinux.org>
27898 * locale/programs/localedef.c: Fix description of '--posix' flag.
27900 2013-01-02 Joseph Myers <joseph@codesourcery.com>
27902 * NEWS: Update dates in second copyright notice.
27903 * README: Update copyright dates in example.
27904 * manual/libc.texinfo: Update copyright dates.
27905 * scripts/test-installation.pl: Update copyright date in --version
27908 * hurd/ctty-input.c: Fix copyright notice formatting.
27909 * hurd/ctty-output.c: Likewise.
27910 * hurd/dtable.c: Likewise.
27911 * hurd/hurd-raise.c: Likewise.
27912 * hurd/hurdprio.c: Likewise.
27913 * hurd/msgportdemux.c: Likewise.
27914 * misc/sys/file.h: Likewise.
27915 * misc/sys/ioctl.h: Likewise.
27916 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27917 * sysdeps/mach/hurd/chdir.c: Likewise.
27918 * sysdeps/mach/hurd/fchdir.c: Likewise.
27919 * sysdeps/mach/hurd/rename.c: Likewise.
27920 * sysdeps/mach/hurd/rmdir.c: Likewise.
27921 * sysdeps/mach/hurd/seekdir.c: Likewise.
27922 * sysdeps/mach/hurd/setsid.c: Likewise.
27923 * sysdeps/posix/wait3.c: Likewise.
27925 * All files with FSF copyright notices: Update copyright dates
27926 using scripts/update-copyrights.
27927 * intl/plural.c: Regenerated.
27928 * locale/programs/charmap-kw.h: Likewise.
27929 * locale/programs/locfile-kw.h: Likewise.
27931 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27933 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27936 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27937 calculation loop and add branch prediction.
27939 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27940 check access beyond bounds of m1np.
27942 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27944 (__inv): Remove local variable MPTWO to use the global
27946 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27947 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27949 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27950 MP3HALFS static const.
27952 2013-01-01 David S. Miller <davem@davemloft.net>
27954 * po/ca.po: Update from translation team.
27956 2013-01-01 Joseph Myers <joseph@codesourcery.com>
27958 * scripts/update-copyrights: New file.
27959 * Makeconfig: Reformat copyright notice.
27960 * ctype/ctype.h: Likewise.
27961 * debug/swprintf_chk.c: Likewise.
27962 * elf/dl-cache.c: Likewise.
27963 * elf/dl-debug.c: Likewise.
27964 * elf/dl-object.c: Likewise.
27965 * grp/initgroups.c: Likewise.
27966 * hurd/Makefile: Likewise.
27967 * hurd/hurd/signal.h: Likewise.
27968 * hurd/hurdfault.c: Likewise.
27969 * hurd/hurdioctl.c: Likewise.
27970 * hurd/hurdlookup.c: Likewise.
27971 * hurd/intr-msg.c: Likewise.
27972 * iconv/gconv_open.c: Likewise.
27973 * libio/swprintf.c: Likewise.
27974 * locale/lc-ctype.c: Likewise.
27975 * locale/nl_langinfo.c: Likewise.
27976 * mach/Machrules: Likewise.
27977 * mach/Makefile: Likewise.
27978 * malloc/obstack.h: Likewise.
27979 * manual/Makefile: Likewise.
27980 * manual/tsort.awk: Likewise.
27981 * misc/bits/stab.def: Likewise.
27982 * nis/nis_print_group_entry.c: Likewise.
27983 * nis/nis_table.c: Likewise.
27984 * nis/nss_compat/compat-pwd.c: Likewise.
27985 * nis/nss_compat/compat-spwd.c: Likewise.
27986 * po/Makefile: Likewise.
27987 * posix/fnmatch.c: Likewise.
27988 * posix/regex.h: Likewise.
27989 * resolv/Makefile: Likewise.
27990 * resolv/nss_dns/dns-network.c: Likewise.
27991 * resolv/res_hconf.c: Likewise.
27992 * scripts/gen-sorted.awk: Likewise.
27993 * soft-fp/soft-fp.h: Likewise.
27994 * stdio-common/printf.h: Likewise.
27995 * stdlib/monetary.h: Likewise.
27996 * stdlib/random.c: Likewise.
27997 * stdlib/random_r.c: Likewise.
27998 * sysdeps/generic/Makefile: Likewise.
27999 * sysdeps/gnu/Makefile: Likewise.
28000 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28001 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28002 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28003 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28004 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28007 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28008 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28010 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28011 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28012 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28013 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28014 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28015 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28016 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28017 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28018 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28019 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28020 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28021 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28022 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28023 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28024 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28025 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28026 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28027 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28028 * sysdeps/mach/hurd/errnos.awk: Likewise.
28029 * sysdeps/mach/hurd/fork.c: Likewise.
28030 * sysdeps/mach/hurd/getcwd.c: Likewise.
28031 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28032 * sysdeps/mach/hurd/mmap.c: Likewise.
28033 * sysdeps/mach/hurd/utimes.c: Likewise.
28034 * sysdeps/mach/hurd/xmknod.c: Likewise.
28035 * sysdeps/posix/profil.c: Likewise.
28036 * sysdeps/posix/readdir_r.c: Likewise.
28037 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28038 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28039 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28040 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28042 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28043 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28044 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28046 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28047 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28048 * sysdeps/pthread/lio_listio.c: Likewise.
28049 * sysdeps/sparc/dl-procinfo.h: Likewise.
28050 * sysdeps/unix/i386/sysdep.S: Likewise.
28051 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28052 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28053 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28054 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28056 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28057 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28058 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28059 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28060 * sysdeps/wordsize-32/divdi3.c: Likewise.
28061 * time/sys/time.h: Likewise.
28062 * wcsmbs/Makefile: Likewise.
28064 2013-01-01 David S. Miller <davem@davemloft.net>
28066 * po/fr.po: Update from translation team.
28068 * catgets/gencat.c: Update copyright year.
28069 * csu/version.c: Likewise.
28070 * debug/catchsegv.sh: Likewise.
28071 * debug/pcprofiledump.c: Likewise.
28072 * debug/xtrace.sh: Likewise.
28073 * elf/ldconfig.c: Likewise.
28074 * elf/ldd.bash.in: Likewise.
28075 * elf/pldd.c: Likewise.
28076 * elf/sotruss.ksh: Likewise.
28077 * elf/sprof.c: Likewise.
28078 * iconv/iconv_prog.c: Likewise.
28079 * iconv/iconvconfig.c: Likewise.
28080 * locale/programs/locale.c: Likewise.
28081 * locale/programs/localedef.c: Likewise.
28082 * login/programs/pt_chown.c: Likewise.
28083 * malloc/memusage.sh: Likewise.
28084 * malloc/memusagestat.c: Likewise.
28085 * malloc/mtrace.pl: Likewise.
28086 * nscd/nscd.c: Likewise.
28087 * nss/getent.c: Likewise.
28088 * nss/makedb.c: Likewise.
28089 * posix/getconf.c: Likewise.
28091 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28093 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28096 2012-12-30 Mike Frysinger <vapier@gentoo.org>
28098 * math/bits/mathcalls.h (modf): Use __nonnull.
28100 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28102 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28103 (split): Use macro CN instead of the bare value.
28104 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28106 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28107 instead of the bare value.
28108 (power1): Likewise.
28110 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28112 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28114 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28116 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28118 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28119 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28120 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28121 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28123 2012-12-28 Andreas Jaeger <aj@suse.de>
28125 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28126 values are from Linux 3.7.
28128 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28129 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28131 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28133 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28136 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28138 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28139 variables with preprocessor constants.
28140 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28141 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28142 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28144 2012-12-27 Bruno Haible <bruno@clisp.org>
28147 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28150 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28153 and use variable directly.
28154 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28156 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28158 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28159 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28161 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28163 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28164 include directive. Remove local variable MPONE.
28165 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28166 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28167 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28169 2012-12-25 David S. Miller <davem@davemloft.net>
28171 * version.h (RELEASE): Set to "development".
28172 (VERSION): Set to "2.17.90".
28173 * NEWS: Add 2.18 section.
28175 2012-12-21 David S. Miller <davem@davemloft.net>
28177 * po/hr.po: Update from translation team.
28179 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28181 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28183 2012-12-19 Steve Ellcey <sellcey@mips.com>
28185 * NEWS: Mention new memcpy for MIPS.
28187 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28189 * manual/contrib.texi (Contributors): Spelling correction.
28191 2012-12-15 David S. Miller <davem@davemloft.net>
28193 * po/ru.po: Update from translation team.
28195 2012-12-13 David S. Miller <davem@davemloft.net>
28197 * NEWS: Mention IFUNC testsuite enhancements.
28199 * po/pl.po: Update from translation team.
28200 * po/bg.po: Likewise.
28202 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28203 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28205 2012-12-11 David S. Miller <davem@davemloft.net>
28207 * po/sv.po: Update from translation team.
28209 * po/vi.po: Update from translation team.
28211 * po/cs.po: Update from translation team.
28213 * po/de.po: Update from translation team.
28214 * po/eo.po: Likewise.
28215 * po/nl.po: Likewise.
28217 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28220 * manual/argp.texi (Argp Helper Functions): Move node to follow
28221 Argp Parsing State.
28224 * manual/conf.texi (Limits on File System Capacity): Mention if
28225 terminating null is included in the max size.
28227 2012-12-10 Andreas Jaeger <aj@suse.de>
28229 * po/cs.po: Update from translation team.
28231 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28233 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28234 void pointer and cast to uintptr_t.
28235 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28237 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28238 * sysdeps/s390/s390-64/memset.S: Likewise.
28240 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
28243 * menual/message.texi (Message Translation): Fix typos.
28244 (Helper programs for gettext): Likewise.
28246 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28249 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28252 2012-12-07 David S. Miller <davem@davemloft.net>
28254 * po/libc.pot: Update.
28256 2012-12-07 Richard Henderson <rth@redhat.com>
28259 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28260 normal/normal case to before the switch.
28261 (_FP_DIV): Likewise.
28263 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28264 Mike Frysinger <vapier@gentoo.org>
28266 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28267 check for __NR_fadvise64_64.
28269 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28271 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28272 0, not just to plain "0" as a statement.
28273 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28276 2012-12-06 Joseph Myers <joseph@codesourcery.com>
28278 * NEWS: Use sourceware.org in Bugzilla URL.
28280 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28283 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28285 * stdio-common/tst-put-error.c (do_test): Add newline to the
28286 padded test to ensure flush.
28288 2012-12-05 Jeff Law <law@redhat.com>
28290 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28292 2012-12-05 Joseph Myers <joseph@codesourcery.com>
28294 * README: Don't refer to ports add-on as distributed separately.
28295 Mention AArch64 in list of systems supported in the ports add-on.
28297 * LICENSES: Add more non-FSF copyright and license notices.
28299 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28302 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28304 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28305 10000 as width of padded output.
28307 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28309 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28311 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28312 variable LX with __attribute__ ((unused)).
28313 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28315 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28316 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28317 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28318 with __attribute__ ((unused)).
28320 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
28322 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28324 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28326 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28327 (CFLAGS-nldbl-acos.c): New variable.
28328 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28329 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28330 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28331 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28332 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28333 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28334 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28335 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28336 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28337 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28338 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28339 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28340 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28341 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28342 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28343 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28344 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28345 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28346 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28347 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28348 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28349 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28350 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28351 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28352 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28353 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28354 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28355 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28356 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28357 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28358 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28359 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28360 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28361 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28362 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28363 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28364 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28365 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28366 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28367 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28368 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28369 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28370 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28371 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28372 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28373 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28374 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28375 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28376 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28377 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28378 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28379 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28380 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28381 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28382 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28383 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28384 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28385 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28386 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28387 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28388 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28389 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28390 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28391 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28392 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28393 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28394 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28395 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28396 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28397 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28398 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28399 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28400 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28401 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28402 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28403 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28404 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28405 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28406 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28407 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28408 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28409 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28410 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28411 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28412 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28413 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28414 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28415 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28416 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28417 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28418 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28419 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28420 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28421 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28422 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28423 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28424 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28427 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28430 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28431 whole low double instead of just low 47 bits when splitting values
28434 2012-12-03 Allan McRae <allan@archlinux.org>
28436 * manual/stdio.texi (Predefined Printf Handlers): Remove
28437 @hsep and @vsep usage.
28439 2012-12-03 Mike Frysinger <vapier@gentoo.org>
28441 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28442 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28444 2012-12-03 Jeff Law <law@redhat.com>
28446 * time/sys/time.h (settimeofday): Do not mark TV argument
28449 2012-12-01 Mike Frysinger <vapier@gentoo.org>
28451 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28452 when currently writing and seek to current position when not.
28453 * libio/Makefile (tests): Remove bug-fclose1.
28454 * libio/bug-fclose1.c: Delete.
28456 2012-12-01 Joseph Myers <joseph@codesourcery.com>
28458 * manual/arith.texi (feenableexcept): Fix typo.
28459 (fedisableexcept): Likewise.
28461 2012-11-30 Roland McGrath <roland@hack.frob.com>
28463 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28464 second, differently-typed declaration, rather than a cast.
28466 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28468 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28469 * include/rpc/svc.h: ... here.
28471 2012-11-30 Aurelien Jarno <aurel32@debian.org>
28474 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28475 depending n and resplen2 to catch cases where answer
28478 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28480 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28481 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28483 2012-11-29 Mike Frysinger <vapier@gentoo.org>
28485 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28487 2012-11-29 Roland McGrath <roland@hack.frob.com>
28489 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28491 2012-11-28 Jeff Law <law@redhat.com>
28494 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28495 dataset_temporary. Track alloca usage into alloca_used.
28496 If dataset is large allocate and release it via malloc/free.
28498 2012-06-04 Florian Weimer <fweimer@redhat.com>
28501 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28503 2012-11-28 David S. Miller <davem@davemloft.net>
28505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28507 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28510 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28511 of pi/2 rounded to nearest to 64 bits.
28512 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28513 nearest to 64 bits.
28514 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28517 2012-11-28 Jeff Law <law@redhat.com>
28518 Martin Osvald <mosvald@redhat.com>
28521 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28522 * sunrpc/svc.c: Include time.h.
28523 (__svc_accept_failed): New function.
28524 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28525 any reason other than EINTR, call __svc_accept_failed.
28526 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28527 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28529 2012-11-28 Andreas Schwab <schwab@suse.de>
28531 * scripts/abilist.awk: Also handle indirect functions in .opd
28534 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28537 * sysdeps/x86/fpu/powl_helper.c: New file.
28538 * sysdeps/x86/fpu/Makefile: Likewise.
28539 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28541 (__ieee754_powl): Use __powl_helper for finite arguments except
28542 integer exponents below 8.
28543 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28545 (__ieee754_powl): Use __powl_helper for finite arguments except
28546 integer exponents below 8.
28547 * math/libm-test.inc (pow_test): Add more tests and enable some
28548 previously disabled tests.
28549 * sysdeps/i386/fpu/libm-test-ulps: Update.
28550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28552 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28553 Carlos O'Donell <carlos_odonell@mentor.com>
28555 * nss/makedb.c (is_prime): Assert that input is odd and greater
28556 than 4. Note that fact in a comment too.
28557 (next_prime): Add 4 to input.
28559 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28562 * libio/Makefile (tests): Add test case tst-fwrite-error.
28563 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28564 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28565 * libio/tst-fwrite-error.c: New test case.
28567 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28569 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28570 before casting to void *.
28571 * include/libc-internal.h (__pointer_type): New macro.
28572 (__integer_if_pointer_type_sub): Likewise.
28573 (__integer_if_pointer_type): Likewise.
28574 (cast_to_integer): Likewise.
28575 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28576 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28577 before casting to atomic64_t.
28578 (atomic_exchange_acq): Likewise.
28579 (__arch_exchange_and_add_body): Likewise.
28580 (__arch_add_body): Likewise.
28581 (atomic_add_negative): Likewise.
28582 (atomic_add_zero): Likewise.
28584 2012-11-26 Joseph Myers <joseph@codesourcery.com>
28586 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28587 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28588 (add_fdes): Likewise.
28589 (linear_search_fdes): Likewise.
28590 (binary_search_unencoded_fdes): Likewise.
28592 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28594 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28596 2012-11-24 Adam Conrad <adconrad@0c3.net>
28598 * configure.in: Autodetect C++ header directories.
28599 * configure: Regenerated.
28601 2012-11-23 Mike Frysinger <vapier@gentoo.org>
28603 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28605 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28609 2012-11-22 Joseph Myers <joseph@codesourcery.com>
28611 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28612 LDBL_MANT_DIG == 106]: Disable some tests.
28613 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28615 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28619 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28620 input for small inputs. Return +/- pi/2 for large inputs.
28621 * math/libm-test.inc (atan_test): Add more tests.
28623 * sysdeps/generic/unwind-dw2-fde-glibc.c
28624 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28625 __attribute__ ((unused)).
28628 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28629 x * y if x and y are nonzero and z is zero.
28632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28633 nonzero exponents with absolute value below 0x1p-117 to +/-
28637 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28638 up arguments below 2**-450, not just those below 2**-500.
28639 * math/libm-test.inc (hypot_test): Add another test.
28642 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28643 Return a+b for ratio over 2**120, not 2**60.
28644 * math/libm-test.inc (hypot_test): Add another test.
28646 * math/libm-test.inc (clog_test): Use
28647 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28648 (clog10_test): Likewise.
28651 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28653 2012-11-22 Andreas Schwab <schwab@suse.de>
28655 * sysdeps/i386/fpu/libm-test-ulps: Update.
28657 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28659 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28660 printf output with newline.
28662 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28665 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28666 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28667 -z nodlopen, -z initfirst and -z execstack support.
28668 * configure: Regenerated.
28670 * elf/elf.h (DF_1_NODIRECT): New macro.
28671 (DF_1_IGNMULDEF): Likewise.
28672 (DF_1_NOKSYMS): Likewise.
28673 (DF_1_NOHDR): Likewise.
28674 (DF_1_EDITED): Likewise.
28675 (DF_1_NORELOC): Likewise.
28676 (DF_1_SYMINTPOSE): Likewise.
28677 (DF_1_GLOBAUDIT): Likewise.
28678 (DF_1_SINGLETON): Likewise.
28679 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28680 DT_1_SUPPORTED_MASK bits.
28681 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28683 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28685 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28687 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28689 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28692 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28693 (sendmmsg): Move declarations...
28694 * socket/sys/socket.h: ... here.
28695 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28696 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28698 * socket/recvmmsg.c: ... this new file.
28699 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28700 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28701 definition of __sendmmsg hidden.
28702 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28703 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28704 Move ENOSYS stub into and include it from...
28705 * socket/sendmmsg.c: ... this new file.
28706 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28707 (sysdep_routines): Move recvmmsg and sendmmsg...
28708 * socket/Makefile (routines): ... here.
28709 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28710 (GLIBC_PRIVATE): Add __sendmmsg.
28711 * include/sys/socket.h (__sendmmsg): Add declarations.
28712 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28715 2012-11-20 Joseph Myers <joseph@codesourcery.com>
28717 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28718 variable I1 with __attribute__ ((unused)).
28719 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28721 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28723 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28724 DUMMY variables with __attribute__ ((unused)).
28726 * bits/byteswap.h: Include <bits/types.h>.
28727 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28729 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28731 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28732 string_t. Do not manually set errno.
28733 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28734 length with __strnlen. Make sure to both set errno and return it on
28737 2012-11-19 David S. Miller <davem@davemloft.net>
28739 With help from Joseph Myers.
28740 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28741 very large arguments properly.
28742 * math/libm-test.inc (atan_test): New tests.
28743 (atan2_test): New tests.
28744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28747 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28750 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28753 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28754 [POSIX] (EADDRNOTAVAIL): Likewise.
28755 [POSIX] (EAFNOSUPPORT): Likewise.
28756 [POSIX] (EALREADY): Likewise.
28757 [POSIX] (ECONNABORTED): Likewise.
28758 [POSIX] (ECONNREFUSED): Likewise.
28759 [POSIX] (ECONNRESET): Likewise.
28760 [POSIX] (EDESTADDRREQ): Likewise.
28761 [POSIX] (EDQUOT): Likewise.
28762 [POSIX] (EHOSTUNREACH): Likewise.
28763 [POSIX] (EIDRM): Likewise.
28764 [POSIX] (EISCONN): Likewise.
28765 [POSIX] (ELOOP): Likewise.
28766 [POSIX] (EMULTIHOP): Likewise.
28767 [POSIX] (ENETDOWN): Likewise.
28768 [POSIX] (ENETUNREACH): Likewise.
28769 [POSIX] (ENOBUFS): Likewise.
28770 [POSIX] (ENODATA): Likewise.
28771 [POSIX] (ENOLINK): Likewise.
28772 [POSIX] (ENOMSG): Likewise.
28773 [POSIX] (ENOPROTOOPT): Likewise.
28774 [POSIX] (ENOSR): Likewise.
28775 [POSIX] (ENOSTR): Likewise.
28776 [POSIX] (ENOTCONN): Likewise.
28777 [POSIX] (ENOTSOCK): Likewise.
28778 [POSIX] (EOPNOTSUPP): Likewise.
28779 [POSIX] (EOVERFLOW): Likewise.
28780 [POSIX] (EPROTO): Likewise.
28781 [POSIX] (EPROTONOSUPPORT): Likewise.
28782 [POSIX] (EPROTOTYPE): Likewise.
28783 [POSIX] (ESTALE): Likewise.
28784 [POSIX] (ETIME): Likewise.
28785 [POSIX] (ETXTBSY): Likewise.
28786 [POSIX] (EWOULDBLOCK): Likewise.
28787 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28788 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28789 [POSIX] (SEEK_CUR): Likewise.
28790 [POSIX] (SEEK_END): Likewise.
28791 [POSIX || UNIX98] (mode_t): Do not require.
28792 [POSIX] (off_t): Likewise.
28793 [POSIX] (pid_t): Likewise.
28794 [POSIX] (sys/stat.h): Do not allow header.
28795 [POSIX] (unistd.h): Likewise.
28796 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28797 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28798 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28799 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28801 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28802 sigevent): Specify elements.
28803 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28805 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28806 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28808 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28809 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28810 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28811 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28812 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28813 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28814 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28815 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28816 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28817 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28818 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28819 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28820 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28821 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28823 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28825 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28827 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28829 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28830 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28831 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28832 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28833 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28834 Specify lower bound on value.
28835 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28836 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28837 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28838 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28839 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28840 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28841 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28842 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28844 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28846 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28847 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28848 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28849 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28850 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28851 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28852 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28853 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28854 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28855 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28856 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28857 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28858 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28859 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28860 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28861 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28863 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28865 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28866 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28867 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28868 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28869 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28870 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28872 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28873 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28874 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28875 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28876 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28877 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28878 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28880 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28881 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28882 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28883 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28884 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28885 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28886 specify as optional.
28887 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28888 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28889 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28890 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28891 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28892 [XPG3] (NL_LANGMAX): Likewise.
28893 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28894 [POSIX || XPG3] (NL_NMAX): Likewise.
28895 [POSIX || XPG3] (NL_SETMAX): Likewise.
28896 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28897 [XPG3] (NZERO): Likewise.
28898 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28899 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28900 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28901 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28902 (REG_ERANGE): Expect.
28903 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28905 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28906 Use (void) in prototype.
28907 [POSIX] (*_t): Allow.
28908 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28909 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28910 (WRDE_BADVAL): Expect.
28912 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28914 [XPG3 || XPG4] (O_RSYNC): Likewise.
28915 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28917 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28918 [XPG3 || XPG4] (sigqueue): Likewise.
28919 [XPG3 || XPG4] (sigtimedwait): Likewise.
28920 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28921 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28922 [XPG3 || XPG4] (vsnprintf): Likewise.
28923 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28925 [XPG3 || XPG4] (blksize_t): Likewise.
28926 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28928 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28929 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28930 [XPG3 || XPG4] (struct itimerspec): Likewise.
28931 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28932 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28933 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28934 [XPG3 || XPG4] (clockid_t): Likewise.
28935 [XPG3 || XPG4] (timer_t): Likewise.
28936 [XPG3 || XPG4] (clock_getres): Likewise.
28937 [XPG3 || XPG4] (clock_gettime): Likewise.
28938 [XPG3 || XPG4] (clock_settime): Likewise.
28939 [XPG3 || XPG4] (nanosleep): Likewise.
28940 [XPG3 || XPG4] (timer_create): Likewise.
28941 [XPG3 || XPG4] (timer_delete): Likewise.
28942 [XPG3 || XPG4] (timer_gettime): Likewise.
28943 [XPG3 || XPG4] (timer_getoverrun): Likewise.
28944 [XPG3 || XPG4] (timer_settime): Likewise.
28945 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28946 [XPG3 || XPG4] (getlogin_r): Likewise.
28947 [XPG3 || XPG4] (pread): Likewise.
28948 [XPG3 || XPG4] (pthread_atfork): Likewise.
28949 [XPG3 || XPG4] (pwrite): Likewise.
28952 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28955 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28957 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28958 finalizing MALLSTREAM.
28960 * sysdeps/mach/hurd/syncfs.c: New file.
28962 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28965 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28966 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28967 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28968 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28969 (_nss_dns_gethostbyname4_r): Likewise.
28970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28971 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28973 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
28976 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28978 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
28980 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28981 * elf/cache.c (print_entry): Print ",AArch64" for
28984 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28985 * elf/cache.c (print_entry): Print ",hard-float" for
28988 2012-11-18 David S. Miller <davem@davemloft.net>
28990 With help from Joseph Myers.
28991 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28993 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28995 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28996 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28998 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28999 * math/libm-test.inc (y0_test): New tests.
29000 (y1_test): New tests.
29001 * sysdeps/i386/fpu/libm-test-ulps: Update.
29002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29005 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29007 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29009 * configure: Regenerated.
29011 2012-11-17 David S. Miller <davem@davemloft.net>
29014 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29015 nonzero exponents with absolute value below 0x1p-128 to +/-
29018 2012-11-17 Joseph Myers <joseph@codesourcery.com>
29020 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29022 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29024 * posix/getconf-speclist.c: New file.
29025 * posix/posix-envs.def: Likewise.
29026 * posix/confstr.c (START_ENV_GROUP): New macro.
29027 (END_ENV_GROUP): Likewise.
29028 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29029 (KNOWN_PRESENT_ENV_STRING): Likewise.
29030 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29031 (UNKNOWN_ENVIRONMENT): Likewise.
29032 (confstr): Include posix-envs.def instead of handling
29033 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29034 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29035 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29036 (END_ENV_GROUP): Likewise.
29037 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29038 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29039 (UNKNOWN_ENVIRONMENT): Likewise.
29040 (__sysconf): Include posix-envs.def instead of handling associated
29041 cases directly here.
29042 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29043 preprocessing getconf-speclist.c rather than running getconf or
29044 generating empty file.
29046 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29048 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29050 2012-11-16 Andrej Lajovic <natrij@gmail.com>
29053 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29055 2012-11-16 David S. Miller <davem@davemloft.net>
29057 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29058 smaller than LDBL_EPSILON/2.0L, just return xm1.
29060 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29062 * elf/tst-array1.c (init): Set constructor priority to 1000.
29063 (fini): Set destructor priority to 1000.
29064 * elf/tst-array2dep.c: Likewise.
29066 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29069 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29070 (_IO_new_file_xsputn): Also return EOF if none of the input
29071 data was written when overflow failed.
29072 * libio/iopadn.c (_IO_padn): Likewise.
29073 * libio/iowpadn.c (_IO_wpadn): Likewise.
29074 * stdio-common/tst-put-error.c: Add copyright notice.
29075 (do_test): Add case for printing padded string.
29076 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29077 _IO_padn returned error.
29078 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29079 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29082 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29084 * libio/libioP.h: Add comment note that the references to C++
29085 bits are now obsolete.
29087 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29089 * math/libm-test.inc (check_complex): Use asprintf.
29091 2012-11-14 Joseph Myers <joseph@codesourcery.com>
29093 * debug/pcprofiledump.c (print_version): Update copyright year.
29094 * malloc/memusagestat.c (print_version): Likewise.
29096 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29099 * elf/Makefile (tests): Add tst-audit8.
29100 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29101 ($(objpfx)tst-audit8.out): New target.
29102 (tst-audit8-ENV): New variable.
29103 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29104 audit if l_reloc_result is NULL.
29105 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29106 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29107 * elf/tst-audit8.c: New file.
29109 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29111 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29112 * misc/Makefile (CFLAGS-select.c): Define.
29113 * posix/Makefile (CFLAGS-pause.c): Define.
29115 2012-11-13 David S. Miller <davem@davemloft.net>
29117 * crypt/Makefile: Move test targets after toplevel Rules
29118 inclusion. Grab any necessary sysdep routines when linking.
29119 * crypt/md5.c (md5_process_block): Remove define, we will always
29120 name it __md5_process_block.
29121 (md5_finish_ctx): Update md5_process_block call.
29122 (md5_stream): Likewise.
29123 (md5_process_bytes): Likewise.
29124 (md5_process_block): Rename to __md5_process_block and move to ...
29125 * crypt/md5-block.c: ... here.
29126 * crypt/sha256.c (sha256_process_block): Move to ...
29127 * crypt/sha256-block.c: ... here.
29128 * crypt/sha512.c (sha512_process_block): Move to ...
29129 * crypt/sha512-block.c: ... here.
29130 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29132 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29133 * sysdeps/sparc/sparc64/multiarch/Makefile
29134 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29136 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29137 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29139 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29140 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29141 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29142 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29143 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29144 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29145 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29146 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29147 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29149 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29150 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29152 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29154 2012-11-13 Joseph Myers <joseph@codesourcery.com>
29156 * timezone/tzselect.ksh: Update from tzcode git revision
29157 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29158 * timezone/zdump.c: Likewise.
29159 * timezone/zic.c: Likewise.
29160 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29161 in TZVERSION setting, not $(PKGVERSION).
29162 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29163 REPORT_BUGS_TO settings.
29166 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29169 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29171 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29172 detection to immediately after _FP_ROUND().
29173 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29176 2012-11-11 David S. Miller <davem@davemloft.net>
29178 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29180 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29181 __close rather than their public counterparts.
29183 2012-11-10 Joseph Myers <joseph@codesourcery.com>
29185 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29187 [UNIX98] (sem_timedwait): Do not expect.
29188 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29189 [XPG4 || UNIX98] (sockatmark): Do not expect.
29190 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29191 (clock_getcpuclockid): Do not expect.
29192 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29193 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29195 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29196 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29197 [UNIX98] (vwscanf): Likewise.
29198 [UNIX98] (vswscanf): Likewise.
29200 2012-11-09 Joseph Myers <joseph@codesourcery.com>
29202 * timezone/version.h: Remove file.
29203 * timezone/README: Do not refer to version.h.
29204 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29205 $(objpfx)version.h.
29206 ($(objpfx)zdump.o): Likewise.
29207 ($(objpfx)version.h): New target.
29209 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29211 * timezone/README: Don't mention modification to tzselect.ksh.
29212 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29213 work on unmodified tzselect.ksh. Substitute version numbers in
29216 * Makefile (format-me): Remove.
29217 (INSTALL): Adjust indentation. Use commands directly instead of
29218 using $(format-me).
29220 * aclocal.m4 (ACX_PKGVERSION): New macro.
29221 (ACX_BUGURL): Likewise.
29222 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29223 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29224 (REPORT_BUGS_TO): Likewise.
29225 * configure: Regenerated.
29226 * config.h.in (PKGVERSION): New macro.
29227 (REPORT_BUGS_TO): Likewise.
29228 * config.make.in (PKGVERSION): New variable.
29229 (PKGVERSION_TEXI): Likewise.
29230 (REPORT_BUGS_TO): Likewise.
29231 (REPORT_BUGS_TEXI): Likewise.
29232 * Makefile (format-me): Use -I$(common-objpfx)manual.
29233 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29234 ($(common-objpfx)manual/%): New target.
29235 (manual/%): Remove target.
29236 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29237 (print_version): Use PKGVERSION.
29238 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29239 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29240 and REPORT_BUGS_TO.
29241 ($(objpfx)xtrace): Likewise.
29242 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29243 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29244 (print_version): Use PKGVERSION.
29245 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29246 (do_version): Use PKGVERSION.
29247 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29249 (common-ldd-rewrite): Likewise.
29250 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29251 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29252 (print_version): Use PKGVERSION.
29253 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29254 * elf/pldd.c (argp_program_bug_address): Remove variable.
29255 (more_help): New function.
29256 (argp): Use more_help.
29257 (print_version): Use PKGVERSION.
29258 * elf/sln.c (main): Use PKGVERSION.
29259 (usage): Use REPORT_BUGS_TO.
29260 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29261 (top level): Use PKGVERSION.
29262 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29263 (print_version): Use PKGVERSION.
29264 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29265 (print_version): Use PKGVERSION.
29266 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29267 (print_version): Use PKGVERSION.
29268 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29269 (print_version): Use PKGVERSION.
29270 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29271 (print_version): Use PKGVERSION.
29272 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29273 (print_version): Use PKGVERSION.
29274 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29276 ($(objpfx)memusage): Likewise.
29277 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29278 (do_version): Use PKGVERSION.
29279 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29280 (print_version): Use PKGVERSION.
29281 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29282 ($PKGVERSION): New variable.
29283 ($REPORT_BUGS_TO): Likewise.
29284 (usage): Use $REPORT_BUGS_TO.
29285 (top level): Use $PKGVERSION.
29286 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29287 ($(objpfx)pkgvers.texi): New rule.
29288 ($(objpfx)stamp-pkgvers): Likewise.
29289 * manual/install.texi: Include pkgvers.texi.
29290 (--with-pkgversion): Document new configure option.
29291 (--with-bugurl): Likewise.
29292 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29293 than necessarily for this particular distribution. Use
29294 REPORT_BUGS_TO for where to report bugs.
29295 * INSTALL: Regenerated.
29296 * manual/libc.texinfo: Include pkgvers.texi.
29297 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29298 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29299 (print_version): Use PKGVERSION.
29300 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29301 (print_version): Use PKGVERSION.
29302 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29303 (print_version): Use PKGVERSION.
29304 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29305 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29307 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29308 (print_version): Use PKGVERSION.
29309 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29310 (print_version): Use PKGVERSION.
29311 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29314 * timezone/checktab.awk: Update from tzcode 2012i.
29315 * timezone/ialloc.c: Likewise.
29316 * timezone/private.h: Likewise.
29317 * timezone/scheck.c: Likewise.
29318 * timezone/tzfile.h: Likewise.
29319 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29320 (TZVERSION): Hardcode tzcode version number.
29321 * timezone/zdump.c: Update from tzcode 2012i.
29322 * timezone/zic.c: Likewise.
29323 * timezone/version.h: New file.
29324 * timezone/README: Describe version.h. Update upstream location.
29327 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29328 (mktemp): Enable declaration.
29329 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29331 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29336 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29346 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29347 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29348 for copies of such integer values.
29349 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29350 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29352 2012-11-09 Andreas Jaeger <aj@suse.de>
29354 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29355 definitions and declarations that are provided by
29356 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29358 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29360 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29361 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29362 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29365 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29367 * elf/elf.h: Update comment before AArch64 relocations.
29369 2012-11-07 David S. Miller <davem@davemloft.net>
29371 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29372 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29373 (__start_context): Declare.
29374 (__makecontext_ret): Delete.
29375 (__makecontext): Hook up __start_context instead of
29377 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29378 (sysdep_routines): Add __start_context when in stdlib.
29380 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29382 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29383 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29384 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29386 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29387 (READELF): New variable. Use it instead of hardcoded "readelf".
29389 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29391 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29392 * sysdeps/x86/Makefile: Here.
29393 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29394 * sysdeps/x86/tst-xmmymm.sh: This.
29396 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29398 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29400 [UNIX98] (pthread_barrier_t): Do not expect.
29401 [UNIX98] (pthread_barrierattr_t): Likewise.
29402 [UNIX98] (pthread_spinlock_t): Likewise.
29403 [UNIX98] (pthread_barrier_destroy): Likewise.
29404 [UNIX98] (pthread_barrier_init): Likewise.
29405 [UNIX98] (pthread_barrier_wait): Likewise.
29406 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29407 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29408 [UNIX98] (pthread_barrierattr_init): Likewise.
29409 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29410 [UNIX98] (pthread_getcpuclockid): Likewise.
29411 [UNIX98] (pthread_mutex_timedlock): Likewise.
29412 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29413 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29414 [UNIX98] (pthread_sigmask): Likewise.
29415 [UNIX98] (pthread_spin_destroy): Likewise.
29416 [UNIX98] (pthread_spin_init): Likewise.
29417 [UNIX98] (pthread_spin_lock): Likewise.
29418 [UNIX98] (pthread_spin_trylock): Likewise.
29419 [UNIX98] (pthread_spin_unlock): Likewise.
29420 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29422 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29423 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29424 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29425 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29426 [XPG3 || XPG4] (pthread_key_t): Likewise.
29427 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29428 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29429 [XPG3 || XPG4] (pthread_once_t): Likewise.
29430 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29431 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29432 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29433 [XPG3 || XPG4] (pthread_t): Likewise.
29435 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29437 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29439 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29440 Change function return type to int.
29442 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29443 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29444 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29445 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29446 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29447 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29448 [!POSIX] (posix_madvise): Likewise.
29449 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29451 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29452 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29453 (mode_t): Likewise.
29454 (posix_mem_offset): Likewise.
29455 (posix_typed_mem_get_info): Likewise.
29456 (posix_typed_mem_open): Likewise.
29458 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29459 Change condition to [XOPEN2K8].
29461 * conform/conformtest.pl: Preprocess allow-header data with -x c
29462 instead of from stdin.
29463 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29464 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29465 [C99-based standards] (cerfc): Likewise.
29466 [C99-based standards] (cexp2): Likewise.
29467 [C99-based standards] (cexpm1): Likewise.
29468 [C99-based standards] (clog10): Likewise.
29469 [C99-based standards] (clog1p): Likewise.
29470 [C99-based standards] (clog2): Likewise.
29471 [C99-based standards] (clgamma): Likewise.
29472 [C99-based standards] (ctgamma): Likewise.
29473 [C99-based standards] (cerff): Likewise.
29474 [C99-based standards] (cerfcf): Likewise.
29475 [C99-based standards] (cexp2f): Likewise.
29476 [C99-based standards] (cexpm1f): Likewise.
29477 [C99-based standards] (clog10f): Likewise.
29478 [C99-based standards] (clog1pf): Likewise.
29479 [C99-based standards] (clog2f): Likewise.
29480 [C99-based standards] (clgammaf): Likewise.
29481 [C99-based standards] (ctgammaf): Likewise.
29482 [C99-based standards] (cerfl): Likewise.
29483 [C99-based standards] (cerfcl): Likewise.
29484 [C99-based standards] (cexp2l): Likewise.
29485 [C99-based standards] (cexpm1l): Likewise.
29486 [C99-based standards] (clog10l): Likewise.
29487 [C99-based standards] (clog1pl): Likewise.
29488 [C99-based standards] (clog2l): Likewise.
29489 [C99-based standards] (clgammal): Likewise.
29490 [C99-based standards] (ctgammal): Likewise.
29491 * conform/data/inttypes.h-data [C99-based standards]: Include
29492 stdint.h-data. Remove all expectations for stdint.h contents.
29493 [C99-based standards] (PRI*): Do not allow.
29494 [C99-based standards] (SCN*): Likewise.
29495 [C99-based standards] (*_t): Likewise.
29496 [C99-based-standards] (PRId8): Expect macro.
29497 [C99-based-standards] (PRIi8): Likewise.
29498 [C99-based-standards] (PRIo8): Likewise.
29499 [C99-based-standards] (PRIu8): Likewise.
29500 [C99-based-standards] (PRIx8): Likewise.
29501 [C99-based-standards] (PRIX8): Likewise.
29502 [C99-based-standards] (SCNd8): Likewise.
29503 [C99-based-standards] (SCNi8): Likewise.
29504 [C99-based-standards] (SCNo8): Likewise.
29505 [C99-based-standards] (SCNu8): Likewise.
29506 [C99-based-standards] (SCNx8): Likewise.
29507 [C99-based-standards] (PRIdLEAST8): Likewise.
29508 [C99-based-standards] (PRIiLEAST8): Likewise.
29509 [C99-based-standards] (PRIoLEAST8): Likewise.
29510 [C99-based-standards] (PRIuLEAST8): Likewise.
29511 [C99-based-standards] (PRIxLEAST8): Likewise.
29512 [C99-based-standards] (PRIXLEAST8): Likewise.
29513 [C99-based-standards] (SCNdLEAST8): Likewise.
29514 [C99-based-standards] (SCNiLEAST8): Likewise.
29515 [C99-based-standards] (SCNoLEAST8): Likewise.
29516 [C99-based-standards] (SCNuLEAST8): Likewise.
29517 [C99-based-standards] (SCNxLEAST8): Likewise.
29518 [C99-based-standards] (PRIdFAST8): Likewise.
29519 [C99-based-standards] (PRIiFAST8): Likewise.
29520 [C99-based-standards] (PRIoFAST8): Likewise.
29521 [C99-based-standards] (PRIuFAST8): Likewise.
29522 [C99-based-standards] (PRIxFAST8): Likewise.
29523 [C99-based-standards] (PRIXFAST8): Likewise.
29524 [C99-based-standards] (SCNdFAST8): Likewise.
29525 [C99-based-standards] (SCNiFAST8): Likewise.
29526 [C99-based-standards] (SCNoFAST8): Likewise.
29527 [C99-based-standards] (SCNuFAST8): Likewise.
29528 [C99-based-standards] (SCNxFAST8): Likewise.
29529 [C99-based-standards] (PRId16): Likewise.
29530 [C99-based-standards] (PRIi16): Likewise.
29531 [C99-based-standards] (PRIo16): Likewise.
29532 [C99-based-standards] (PRIu16): Likewise.
29533 [C99-based-standards] (PRIx16): Likewise.
29534 [C99-based-standards] (PRIX16): Likewise.
29535 [C99-based-standards] (SCNd16): Likewise.
29536 [C99-based-standards] (SCNi16): Likewise.
29537 [C99-based-standards] (SCNo16): Likewise.
29538 [C99-based-standards] (SCNu16): Likewise.
29539 [C99-based-standards] (SCNx16): Likewise.
29540 [C99-based-standards] (PRIdLEAST16): Likewise.
29541 [C99-based-standards] (PRIiLEAST16): Likewise.
29542 [C99-based-standards] (PRIoLEAST16): Likewise.
29543 [C99-based-standards] (PRIuLEAST16): Likewise.
29544 [C99-based-standards] (PRIxLEAST16): Likewise.
29545 [C99-based-standards] (PRIXLEAST16): Likewise.
29546 [C99-based-standards] (SCNdLEAST16): Likewise.
29547 [C99-based-standards] (SCNiLEAST16): Likewise.
29548 [C99-based-standards] (SCNoLEAST16): Likewise.
29549 [C99-based-standards] (SCNuLEAST16): Likewise.
29550 [C99-based-standards] (SCNxLEAST16): Likewise.
29551 [C99-based-standards] (PRIdFAST16): Likewise.
29552 [C99-based-standards] (PRIiFAST16): Likewise.
29553 [C99-based-standards] (PRIoFAST16): Likewise.
29554 [C99-based-standards] (PRIuFAST16): Likewise.
29555 [C99-based-standards] (PRIxFAST16): Likewise.
29556 [C99-based-standards] (PRIXFAST16): Likewise.
29557 [C99-based-standards] (SCNdFAST16): Likewise.
29558 [C99-based-standards] (SCNiFAST16): Likewise.
29559 [C99-based-standards] (SCNoFAST16): Likewise.
29560 [C99-based-standards] (SCNuFAST16): Likewise.
29561 [C99-based-standards] (SCNxFAST16): Likewise.
29562 [C99-based-standards] (PRId32): Likewise.
29563 [C99-based-standards] (PRIi32): Likewise.
29564 [C99-based-standards] (PRIo32): Likewise.
29565 [C99-based-standards] (PRIu32): Likewise.
29566 [C99-based-standards] (PRIx32): Likewise.
29567 [C99-based-standards] (PRIX32): Likewise.
29568 [C99-based-standards] (SCNd32): Likewise.
29569 [C99-based-standards] (SCNi32): Likewise.
29570 [C99-based-standards] (SCNo32): Likewise.
29571 [C99-based-standards] (SCNu32): Likewise.
29572 [C99-based-standards] (SCNx32): Likewise.
29573 [C99-based-standards] (PRIdLEAST32): Likewise.
29574 [C99-based-standards] (PRIiLEAST32): Likewise.
29575 [C99-based-standards] (PRIoLEAST32): Likewise.
29576 [C99-based-standards] (PRIuLEAST32): Likewise.
29577 [C99-based-standards] (PRIxLEAST32): Likewise.
29578 [C99-based-standards] (PRIXLEAST32): Likewise.
29579 [C99-based-standards] (SCNdLEAST32): Likewise.
29580 [C99-based-standards] (SCNiLEAST32): Likewise.
29581 [C99-based-standards] (SCNoLEAST32): Likewise.
29582 [C99-based-standards] (SCNuLEAST32): Likewise.
29583 [C99-based-standards] (SCNxLEAST32): Likewise.
29584 [C99-based-standards] (PRIdFAST32): Likewise.
29585 [C99-based-standards] (PRIiFAST32): Likewise.
29586 [C99-based-standards] (PRIoFAST32): Likewise.
29587 [C99-based-standards] (PRIuFAST32): Likewise.
29588 [C99-based-standards] (PRIxFAST32): Likewise.
29589 [C99-based-standards] (PRIXFAST32): Likewise.
29590 [C99-based-standards] (SCNdFAST32): Likewise.
29591 [C99-based-standards] (SCNiFAST32): Likewise.
29592 [C99-based-standards] (SCNoFAST32): Likewise.
29593 [C99-based-standards] (SCNuFAST32): Likewise.
29594 [C99-based-standards] (SCNxFAST32): Likewise.
29595 [C99-based-standards] (PRId64): Likewise.
29596 [C99-based-standards] (PRIi64): Likewise.
29597 [C99-based-standards] (PRIo64): Likewise.
29598 [C99-based-standards] (PRIu64): Likewise.
29599 [C99-based-standards] (PRIx64): Likewise.
29600 [C99-based-standards] (PRIX64): Likewise.
29601 [C99-based-standards] (SCNd64): Likewise.
29602 [C99-based-standards] (SCNi64): Likewise.
29603 [C99-based-standards] (SCNo64): Likewise.
29604 [C99-based-standards] (SCNu64): Likewise.
29605 [C99-based-standards] (SCNx64): Likewise.
29606 [C99-based-standards] (PRIdLEAST64): Likewise.
29607 [C99-based-standards] (PRIiLEAST64): Likewise.
29608 [C99-based-standards] (PRIoLEAST64): Likewise.
29609 [C99-based-standards] (PRIuLEAST64): Likewise.
29610 [C99-based-standards] (PRIxLEAST64): Likewise.
29611 [C99-based-standards] (PRIXLEAST64): Likewise.
29612 [C99-based-standards] (SCNdLEAST64): Likewise.
29613 [C99-based-standards] (SCNiLEAST64): Likewise.
29614 [C99-based-standards] (SCNoLEAST64): Likewise.
29615 [C99-based-standards] (SCNuLEAST64): Likewise.
29616 [C99-based-standards] (SCNxLEAST64): Likewise.
29617 [C99-based-standards] (PRIdFAST64): Likewise.
29618 [C99-based-standards] (PRIiFAST64): Likewise.
29619 [C99-based-standards] (PRIoFAST64): Likewise.
29620 [C99-based-standards] (PRIuFAST64): Likewise.
29621 [C99-based-standards] (PRIxFAST64): Likewise.
29622 [C99-based-standards] (PRIXFAST64): Likewise.
29623 [C99-based-standards] (SCNdFAST64): Likewise.
29624 [C99-based-standards] (SCNiFAST64): Likewise.
29625 [C99-based-standards] (SCNoFAST64): Likewise.
29626 [C99-based-standards] (SCNuFAST64): Likewise.
29627 [C99-based-standards] (SCNxFAST64): Likewise.
29628 [C99-based-standards] (PRIdMAX): Likewise.
29629 [C99-based-standards] (PRIiMAX): Likewise.
29630 [C99-based-standards] (PRIoMAX): Likewise.
29631 [C99-based-standards] (PRIuMAX): Likewise.
29632 [C99-based-standards] (PRIxMAX): Likewise.
29633 [C99-based-standards] (PRIXMAX): Likewise.
29634 [C99-based-standards] (SCNdMAX): Likewise.
29635 [C99-based-standards] (SCNiMAX): Likewise.
29636 [C99-based-standards] (SCNoMAX): Likewise.
29637 [C99-based-standards] (SCNuMAX): Likewise.
29638 [C99-based-standards] (SCNxMAX): Likewise.
29639 [C99-based-standards] (PRIdPTR): Likewise.
29640 [C99-based-standards] (PRIiPTR): Likewise.
29641 [C99-based-standards] (PRIoPTR): Likewise.
29642 [C99-based-standards] (PRIuPTR): Likewise.
29643 [C99-based-standards] (PRIxPTR): Likewise.
29644 [C99-based-standards] (PRIXPTR): Likewise.
29645 [C99-based-standards] (SCNdPTR): Likewise.
29646 [C99-based-standards] (SCNiPTR): Likewise.
29647 [C99-based-standards] (SCNoPTR): Likewise.
29648 [C99-based-standards] (SCNuPTR): Likewise.
29649 [C99-based-standards] (SCNxPTR): Likewise.
29650 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29652 * conform/data/stdint.h-data: Update comments to clarify
29654 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29656 [C99-based standards] (INT8_MAX): Likewise.
29657 [C99-based standards] (INT16_MIN): Likewise.
29658 [C99-based standards] (INT16_MAX): Likewise.
29659 [C99-based standards] (INT32_MIN): Likewise.
29660 [C99-based standards] (INT32_MAX): Likewise.
29661 [C99-based standards] (INT64_MIN): Likewise.
29662 [C99-based standards] (INT64_MAX): Likewise.
29663 [C99-based standards] (UINT8_MAX): Likewise.
29664 [C99-based standards] (UINT16_MAX): Likewise.
29665 [C99-based standards] (UINT32_MAX): Likewise.
29666 [C99-based standards] (UINT64_MAX): Likewise.
29667 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29668 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29669 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29670 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29671 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29672 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29673 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29674 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29675 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29676 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29677 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29678 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29679 [C99-based standards] (INT_FAST8_MIN): Likewise.
29680 [C99-based standards] (INT_FAST8_MAX): Likewise.
29681 [C99-based standards] (INT_FAST16_MIN): Likewise.
29682 [C99-based standards] (INT_FAST16_MAX): Likewise.
29683 [C99-based standards] (INT_FAST32_MIN): Likewise.
29684 [C99-based standards] (INT_FAST32_MAX): Likewise.
29685 [C99-based standards] (INT_FAST64_MIN): Likewise.
29686 [C99-based standards] (INT_FAST64_MAX): Likewise.
29687 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29688 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29689 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29690 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29691 [C99-based standards] (INTPTR_MIN): Likewise.
29692 [C99-based standards] (INTPTR_MAX): Likewise.
29693 [C99-based standards] (UINTPTR_MAX): Likewise.
29694 [C99-based standards] (INTMAX_MIN): Likewise.
29695 [C99-based standards] (INTMAX_MAX): Likewise.
29696 [C99-based standards] (UINTMAX_MAX): Likewise.
29697 [C99-based standards] (PTRDIFF_MIN): Likewise.
29698 [C99-based standards] (PTRDIFF_MAX): Likewise.
29699 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29700 [C99-based standards] (SIZE_MAX): Likewise.
29701 [C99-based standards] (WCHAR_MAX): Likewise.
29702 [C99-based standards] (WINT_MAX): Likewise.
29703 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29704 constraint on value.
29705 [C99-based standards] (WCHAR_MIN): Likewise.
29706 [C99-based standards] (WINT_MIN): Likewise.
29707 [C99-based standards] (*_t): Allow.
29708 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29709 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29710 Include math.h-data and complex.h-data. Remove all expectations
29711 of math.h and complex.h contents.
29712 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29714 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29715 (struct tm): Expect tag.
29716 [C99-based-standards] (wcstof): Expect function.
29717 [C99-based-standards] (wcstold): Likewise.
29718 [C99-based-standards] (wcstoll): Likewise.
29719 [C99-based-standards] (wcstoull): Likewise.
29720 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29721 macro-int-constant. Specify type.
29722 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29723 constraint on value.
29724 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29726 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29728 [ISO C standards]: Do not allow headers.
29729 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29730 wcs[abcdefghijklmnopqrstuvwxyz]*.
29731 [ISO C standards] (*_t): Do not allow.
29732 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29734 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29735 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29737 [ISO C standards]: Do not allow headers.
29738 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29739 is[abcdefghijklmnopqrstuvwxyz]*.
29740 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29741 to[abcdefghijklmnopqrstuvwxyz]*.
29742 [ISO C standards] (*_t): Do not allow.
29743 * conform/data/stdalign.h-data: New file.
29744 * conform/data/stdbool.h-data: Likewise.
29745 * conform/data/stdnoreturn.h-data: Likewise.
29747 2012-11-07 Roland McGrath <roland@hack.frob.com>
29750 * manual/filesys.texi (Directory Entries): Typo fix.
29751 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29753 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29755 * elf/elf.h (EM_AARCH64): New macro.
29756 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29757 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29758 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29759 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29760 (R_AARCH64_TLSDESC): Likewise.
29761 (NT_ARM_TLS): Likewise.
29762 (NT_ARM_HW_BREAK): Likewise.
29763 (NT_ARM_HW_WATCH): Likewise.
29765 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29768 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29769 (__ieee754_powl): Saturate nonzero exponents with absolute value
29770 below 0x1p-79 to +/- 0x1p-79.
29771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29772 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29773 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29774 nonzero exponents with absolute value below 0x1p-32 to +/-
29776 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29777 (__ieee754_powl): Saturate nonzero exponents with absolute value
29778 below 0x1p-79 to +/- 0x1p-79.
29779 * math/libm-test.inc (pow_test): Add more tests.
29781 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29783 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29784 _dl_s390_cap_flags with kernel. Increase string length.
29785 (_dl_s390_platforms): Add z196 and zEC12.
29787 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29789 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29790 Change XOPEN21K to XOPEN2K.
29792 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29794 * string/memmove.c: Use memcpy when possible.
29796 2012-11-06 Andreas Jaeger <aj@suse.de>
29798 * po/eo.po: Update from translation team.
29800 2012-11-06 Joseph Myers <joseph@codesourcery.com>
29803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29804 exponent and small x and y exponents, scale x or y up. Increase
29805 by 2 the exponent used in scaling up.
29806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29808 * math/libm-test.inc (fma_test): Add more tests.
29809 (fma_test_towardzero): Likewise.
29810 (fma_test_downward): Likewise.
29811 (fma_test_upward): Likewise.
29813 2012-11-05 Joseph Myers <joseph@codesourcery.com>
29816 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29820 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29821 namespace for names of struct fields.
29822 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29824 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29825 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29827 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29830 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29832 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29834 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29838 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29841 2012-11-04 Joseph Myers <joseph@codesourcery.com>
29844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29845 definitely overflow as x * y not x * y + z.
29846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29848 * math/libm-test.inc (fma_test): Add more tests.
29849 (fma_test_towardzero): Likewise.
29850 (fma_test_downward): Likewise.
29851 (fma_test_upward): Likewise.
29853 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29857 * include/stub-tag.h: Remove file.
29858 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29860 * manual/maint.texi (Porting): Don't reference it.
29861 * Makerules ($(objpfx)stubs): Likewise.
29862 * dirent/closedir.c: Don't include <stub-tag.h>.
29863 * dirent/dirfd.c: Likewise.
29864 * dirent/fdopendir.c: Likewise.
29865 * dirent/getdents.c: Likewise.
29866 * dirent/getdents64.c: Likewise.
29867 * dirent/opendir.c: Likewise.
29868 * dirent/readdir.c: Likewise.
29869 * dirent/readdir64.c: Likewise.
29870 * dirent/readdir64_r.c: Likewise.
29871 * dirent/readdir_r.c: Likewise.
29872 * dirent/rewinddir.c: Likewise.
29873 * dirent/seekdir.c: Likewise.
29874 * dirent/telldir.c: Likewise.
29875 * gmon/profil.c: Likewise.
29876 * grp/setgroups.c: Likewise.
29877 * inet/if_index.c: Likewise.
29878 * io/access.c: Likewise.
29879 * io/chdir.c: Likewise.
29880 * io/chmod.c: Likewise.
29881 * io/chown.c: Likewise.
29882 * io/close.c: Likewise.
29883 * io/dup.c: Likewise.
29884 * io/dup2.c: Likewise.
29885 * io/dup3.c: Likewise.
29886 * io/euidaccess.c: Likewise.
29887 * io/faccessat.c: Likewise.
29888 * io/fchdir.c: Likewise.
29889 * io/fchmod.c: Likewise.
29890 * io/fchmodat.c: Likewise.
29891 * io/fchown.c: Likewise.
29892 * io/fchownat.c: Likewise.
29893 * io/fcntl.c: Likewise.
29894 * io/flock.c: Likewise.
29895 * io/fstatfs.c: Likewise.
29896 * io/fstatfs64.c: Likewise.
29897 * io/fstatvfs.c: Likewise.
29898 * io/fstatvfs64.c: Likewise.
29899 * io/futimens.c: Likewise.
29900 * io/fxstat.c: Likewise.
29901 * io/fxstat64.c: Likewise.
29902 * io/fxstatat.c: Likewise.
29903 * io/fxstatat64.c: Likewise.
29904 * io/getcwd.c: Likewise.
29905 * io/isatty.c: Likewise.
29906 * io/lchmod.c: Likewise.
29907 * io/lchown.c: Likewise.
29908 * io/link.c: Likewise.
29909 * io/linkat.c: Likewise.
29910 * io/lseek.c: Likewise.
29911 * io/lseek64.c: Likewise.
29912 * io/lxstat64.c: Likewise.
29913 * io/mkdir.c: Likewise.
29914 * io/mkdirat.c: Likewise.
29915 * io/mkfifo.c: Likewise.
29916 * io/mkfifoat.c: Likewise.
29917 * io/open.c: Likewise.
29918 * io/open64.c: Likewise.
29919 * io/openat.c: Likewise.
29920 * io/openat64.c: Likewise.
29921 * io/pipe.c: Likewise.
29922 * io/pipe2.c: Likewise.
29923 * io/poll.c: Likewise.
29924 * io/posix_fadvise.c: Likewise.
29925 * io/posix_fadvise64.c: Likewise.
29926 * io/posix_fallocate.c: Likewise.
29927 * io/posix_fallocate64.c: Likewise.
29928 * io/read.c: Likewise.
29929 * io/readlink.c: Likewise.
29930 * io/readlinkat.c: Likewise.
29931 * io/rmdir.c: Likewise.
29932 * io/sendfile.c: Likewise.
29933 * io/sendfile64.c: Likewise.
29934 * io/statfs.c: Likewise.
29935 * io/statfs64.c: Likewise.
29936 * io/statvfs.c: Likewise.
29937 * io/statvfs64.c: Likewise.
29938 * io/symlink.c: Likewise.
29939 * io/symlinkat.c: Likewise.
29940 * io/ttyname.c: Likewise.
29941 * io/ttyname_r.c: Likewise.
29942 * io/umask.c: Likewise.
29943 * io/unlink.c: Likewise.
29944 * io/unlinkat.c: Likewise.
29945 * io/utime.c: Likewise.
29946 * io/utimensat.c: Likewise.
29947 * io/write.c: Likewise.
29948 * io/xmknod.c: Likewise.
29949 * io/xmknodat.c: Likewise.
29950 * io/xstat.c: Likewise.
29951 * io/xstat64.c: Likewise.
29952 * login/getpt.c: Likewise.
29953 * login/grantpt.c: Likewise.
29954 * login/unlockpt.c: Likewise.
29955 * math/e_acoshl.c: Likewise.
29956 * math/e_acosl.c: Likewise.
29957 * math/e_asinl.c: Likewise.
29958 * math/e_atan2l.c: Likewise.
29959 * math/e_atanhl.c: Likewise.
29960 * math/e_coshl.c: Likewise.
29961 * math/e_expl.c: Likewise.
29962 * math/e_fmodl.c: Likewise.
29963 * math/e_gammal_r.c: Likewise.
29964 * math/e_hypotl.c: Likewise.
29965 * math/e_j0l.c: Likewise.
29966 * math/e_j1l.c: Likewise.
29967 * math/e_jnl.c: Likewise.
29968 * math/e_lgammal_r.c: Likewise.
29969 * math/e_log10l.c: Likewise.
29970 * math/e_log2l.c: Likewise.
29971 * math/e_logl.c: Likewise.
29972 * math/e_powl.c: Likewise.
29973 * math/e_rem_pio2l.c: Likewise.
29974 * math/e_sinhl.c: Likewise.
29975 * math/e_sqrtl.c: Likewise.
29976 * math/fclrexcpt.c: Likewise.
29977 * math/fedisblxcpt.c: Likewise.
29978 * math/feenablxcpt.c: Likewise.
29979 * math/fegetenv.c: Likewise.
29980 * math/fegetexcept.c: Likewise.
29981 * math/fegetround.c: Likewise.
29982 * math/feholdexcpt.c: Likewise.
29983 * math/fesetenv.c: Likewise.
29984 * math/fesetround.c: Likewise.
29985 * math/feupdateenv.c: Likewise.
29986 * math/fgetexcptflg.c: Likewise.
29987 * math/fraiseexcpt.c: Likewise.
29988 * math/fsetexcptflg.c: Likewise.
29989 * math/ftestexcept.c: Likewise.
29990 * math/k_cosl.c: Likewise.
29991 * math/k_rem_pio2l.c: Likewise.
29992 * math/k_sinl.c: Likewise.
29993 * math/k_tanl.c: Likewise.
29994 * math/s_asinhl.c: Likewise.
29995 * math/s_atanl.c: Likewise.
29996 * math/s_cbrtl.c: Likewise.
29997 * math/s_erfl.c: Likewise.
29998 * math/s_expm1l.c: Likewise.
29999 * math/s_log1pl.c: Likewise.
30000 * math/s_tanhl.c: Likewise.
30001 * misc/acct.c: Likewise.
30002 * misc/brk.c: Likewise.
30003 * misc/chflags.c: Likewise.
30004 * misc/chroot.c: Likewise.
30005 * misc/fchflags.c: Likewise.
30006 * misc/fgetxattr.c: Likewise.
30007 * misc/flistxattr.c: Likewise.
30008 * misc/fremovexattr.c: Likewise.
30009 * misc/fsetxattr.c: Likewise.
30010 * misc/fsync.c: Likewise.
30011 * misc/ftruncate.c: Likewise.
30012 * misc/futimes.c: Likewise.
30013 * misc/futimesat.c: Likewise.
30014 * misc/getdomain.c: Likewise.
30015 * misc/getdtsz.c: Likewise.
30016 * misc/gethostid.c: Likewise.
30017 * misc/gethostname.c: Likewise.
30018 * misc/getloadavg.c: Likewise.
30019 * misc/getpagesize.c: Likewise.
30020 * misc/getsysstats.c: Likewise.
30021 * misc/getxattr.c: Likewise.
30022 * misc/gtty.c: Likewise.
30023 * misc/ioctl.c: Likewise.
30024 * misc/lgetxattr.c: Likewise.
30025 * misc/listxattr.c: Likewise.
30026 * misc/llistxattr.c: Likewise.
30027 * misc/lremovexattr.c: Likewise.
30028 * misc/lsetxattr.c: Likewise.
30029 * misc/lutimes.c: Likewise.
30030 * misc/madvise.c: Likewise.
30031 * misc/mincore.c: Likewise.
30032 * misc/mlock.c: Likewise.
30033 * misc/mlockall.c: Likewise.
30034 * misc/mmap.c: Likewise.
30035 * misc/mprotect.c: Likewise.
30036 * misc/msync.c: Likewise.
30037 * misc/munlock.c: Likewise.
30038 * misc/munlockall.c: Likewise.
30039 * misc/munmap.c: Likewise.
30040 * misc/preadv.c: Likewise.
30041 * misc/preadv64.c: Likewise.
30042 * misc/ptrace.c: Likewise.
30043 * misc/pwritev.c: Likewise.
30044 * misc/pwritev64.c: Likewise.
30045 * misc/readv.c: Likewise.
30046 * misc/reboot.c: Likewise.
30047 * misc/remap_file_pages.c: Likewise.
30048 * misc/removexattr.c: Likewise.
30049 * misc/revoke.c: Likewise.
30050 * misc/select.c: Likewise.
30051 * misc/setdomain.c: Likewise.
30052 * misc/setegid.c: Likewise.
30053 * misc/seteuid.c: Likewise.
30054 * misc/sethostid.c: Likewise.
30055 * misc/sethostname.c: Likewise.
30056 * misc/setregid.c: Likewise.
30057 * misc/setreuid.c: Likewise.
30058 * misc/setxattr.c: Likewise.
30059 * misc/sstk.c: Likewise.
30060 * misc/stty.c: Likewise.
30061 * misc/swapoff.c: Likewise.
30062 * misc/swapon.c: Likewise.
30063 * misc/sync.c: Likewise.
30064 * misc/syncfs.c: Likewise.
30065 * misc/syscall.c: Likewise.
30066 * misc/truncate.c: Likewise.
30067 * misc/ualarm.c: Likewise.
30068 * misc/usleep.c: Likewise.
30069 * misc/ustat.c: Likewise.
30070 * misc/utimes.c: Likewise.
30071 * misc/vhangup.c: Likewise.
30072 * misc/writev.c: Likewise.
30073 * posix/_exit.c: Likewise.
30074 * posix/alarm.c: Likewise.
30075 * posix/execve.c: Likewise.
30076 * posix/fexecve.c: Likewise.
30077 * posix/fork.c: Likewise.
30078 * posix/fpathconf.c: Likewise.
30079 * posix/getaddrinfo.c: Likewise.
30080 * posix/getegid.c: Likewise.
30081 * posix/geteuid.c: Likewise.
30082 * posix/getgid.c: Likewise.
30083 * posix/getgroups.c: Likewise.
30084 * posix/getlogin.c: Likewise.
30085 * posix/getlogin_r.c: Likewise.
30086 * posix/getpgid.c: Likewise.
30087 * posix/getpid.c: Likewise.
30088 * posix/getppid.c: Likewise.
30089 * posix/getresgid.c: Likewise.
30090 * posix/getresuid.c: Likewise.
30091 * posix/getsid.c: Likewise.
30092 * posix/getuid.c: Likewise.
30093 * posix/glob64.c: Likewise.
30094 * posix/nanosleep.c: Likewise.
30095 * posix/pathconf.c: Likewise.
30096 * posix/pause.c: Likewise.
30097 * posix/posix_madvise.c: Likewise.
30098 * posix/pread.c: Likewise.
30099 * posix/pread64.c: Likewise.
30100 * posix/pwrite.c: Likewise.
30101 * posix/pwrite64.c: Likewise.
30102 * posix/sched_getaffinity.c: Likewise.
30103 * posix/sched_getp.c: Likewise.
30104 * posix/sched_gets.c: Likewise.
30105 * posix/sched_primax.c: Likewise.
30106 * posix/sched_primin.c: Likewise.
30107 * posix/sched_rr_gi.c: Likewise.
30108 * posix/sched_setaffinity.c: Likewise.
30109 * posix/sched_setp.c: Likewise.
30110 * posix/sched_sets.c: Likewise.
30111 * posix/sched_yield.c: Likewise.
30112 * posix/setgid.c: Likewise.
30113 * posix/setlogin.c: Likewise.
30114 * posix/setpgid.c: Likewise.
30115 * posix/setresgid.c: Likewise.
30116 * posix/setresuid.c: Likewise.
30117 * posix/setsid.c: Likewise.
30118 * posix/setuid.c: Likewise.
30119 * posix/sleep.c: Likewise.
30120 * posix/spawni.c: Likewise.
30121 * posix/sysconf.c: Likewise.
30122 * posix/times.c: Likewise.
30123 * posix/wait.c: Likewise.
30124 * posix/wait3.c: Likewise.
30125 * posix/wait4.c: Likewise.
30126 * posix/waitpid.c: Likewise.
30127 * resolv/gai_sigqueue.c: Likewise.
30128 * resource/getpriority.c: Likewise.
30129 * resource/getrlimit.c: Likewise.
30130 * resource/getrusage.c: Likewise.
30131 * resource/nice.c: Likewise.
30132 * resource/setpriority.c: Likewise.
30133 * resource/setrlimit.c: Likewise.
30134 * resource/ulimit.c: Likewise.
30135 * rt/aio_cancel.c: Likewise.
30136 * rt/aio_fsync.c: Likewise.
30137 * rt/aio_read.c: Likewise.
30138 * rt/aio_sigqueue.c: Likewise.
30139 * rt/aio_suspend.c: Likewise.
30140 * rt/aio_write.c: Likewise.
30141 * rt/clock_getres.c: Likewise.
30142 * rt/clock_gettime.c: Likewise.
30143 * rt/clock_nanosleep.c: Likewise.
30144 * rt/clock_settime.c: Likewise.
30145 * rt/lio_listio.c: Likewise.
30146 * rt/mq_close.c: Likewise.
30147 * rt/mq_getattr.c: Likewise.
30148 * rt/mq_notify.c: Likewise.
30149 * rt/mq_open.c: Likewise.
30150 * rt/mq_receive.c: Likewise.
30151 * rt/mq_send.c: Likewise.
30152 * rt/mq_setattr.c: Likewise.
30153 * rt/mq_timedreceive.c: Likewise.
30154 * rt/mq_timedsend.c: Likewise.
30155 * rt/mq_unlink.c: Likewise.
30156 * rt/shm_open.c: Likewise.
30157 * rt/shm_unlink.c: Likewise.
30158 * rt/timer_create.c: Likewise.
30159 * rt/timer_delete.c: Likewise.
30160 * rt/timer_getoverr.c: Likewise.
30161 * rt/timer_gettime.c: Likewise.
30162 * rt/timer_settime.c: Likewise.
30163 * setjmp/__longjmp.c: Likewise.
30164 * setjmp/setjmp.c: Likewise.
30165 * signal/kill.c: Likewise.
30166 * signal/killpg.c: Likewise.
30167 * signal/raise.c: Likewise.
30168 * signal/sigaction.c: Likewise.
30169 * signal/sigaltstack.c: Likewise.
30170 * signal/sigblock.c: Likewise.
30171 * signal/sigignore.c: Likewise.
30172 * signal/sigintr.c: Likewise.
30173 * signal/signal.c: Likewise.
30174 * signal/sigpause.c: Likewise.
30175 * signal/sigpending.c: Likewise.
30176 * signal/sigqueue.c: Likewise.
30177 * signal/sigreturn.c: Likewise.
30178 * signal/sigset.c: Likewise.
30179 * signal/sigsetmask.c: Likewise.
30180 * signal/sigstack.c: Likewise.
30181 * signal/sigsuspend.c: Likewise.
30182 * signal/sigtimedwait.c: Likewise.
30183 * signal/sigvec.c: Likewise.
30184 * signal/sigwait.c: Likewise.
30185 * signal/sigwaitinfo.c: Likewise.
30186 * signal/sysv_signal.c: Likewise.
30187 * socket/accept.c: Likewise.
30188 * socket/accept4.c: Likewise.
30189 * socket/bind.c: Likewise.
30190 * socket/connect.c: Likewise.
30191 * socket/getpeername.c: Likewise.
30192 * socket/getsockname.c: Likewise.
30193 * socket/getsockopt.c: Likewise.
30194 * socket/isfdtype.c: Likewise.
30195 * socket/listen.c: Likewise.
30196 * socket/recv.c: Likewise.
30197 * socket/recvfrom.c: Likewise.
30198 * socket/recvmsg.c: Likewise.
30199 * socket/send.c: Likewise.
30200 * socket/sendmsg.c: Likewise.
30201 * socket/sendto.c: Likewise.
30202 * socket/setsockopt.c: Likewise.
30203 * socket/shutdown.c: Likewise.
30204 * socket/sockatmark.c: Likewise.
30205 * socket/socket.c: Likewise.
30206 * socket/socketpair.c: Likewise.
30207 * stdio-common/ctermid.c: Likewise.
30208 * stdio-common/cuserid.c: Likewise.
30209 * stdio-common/remove.c: Likewise.
30210 * stdio-common/rename.c: Likewise.
30211 * stdio-common/renameat.c: Likewise.
30212 * stdio-common/tempname.c: Likewise.
30213 * stdlib/getcontext.c: Likewise.
30214 * stdlib/makecontext.c: Likewise.
30215 * stdlib/setcontext.c: Likewise.
30216 * stdlib/swapcontext.c: Likewise.
30217 * stdlib/system.c: Likewise.
30218 * streams/fattach.c: Likewise.
30219 * streams/fdetach.c: Likewise.
30220 * streams/getmsg.c: Likewise.
30221 * streams/getpmsg.c: Likewise.
30222 * streams/putmsg.c: Likewise.
30223 * streams/putpmsg.c: Likewise.
30224 * sysdeps/unix/bsd/getpt.c: Likewise.
30225 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30226 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30227 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30230 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30231 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30232 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30233 * sysvipc/msgctl.c: Likewise.
30234 * sysvipc/msgget.c: Likewise.
30235 * sysvipc/msgrcv.c: Likewise.
30236 * sysvipc/msgsnd.c: Likewise.
30237 * sysvipc/semctl.c: Likewise.
30238 * sysvipc/semget.c: Likewise.
30239 * sysvipc/semop.c: Likewise.
30240 * sysvipc/semtimedop.c: Likewise.
30241 * sysvipc/shmat.c: Likewise.
30242 * sysvipc/shmctl.c: Likewise.
30243 * sysvipc/shmdt.c: Likewise.
30244 * sysvipc/shmget.c: Likewise.
30245 * termios/tcdrain.c: Likewise.
30246 * termios/tcflow.c: Likewise.
30247 * termios/tcflush.c: Likewise.
30248 * termios/tcgetattr.c: Likewise.
30249 * termios/tcgetpgrp.c: Likewise.
30250 * termios/tcsendbrk.c: Likewise.
30251 * termios/tcsetattr.c: Likewise.
30252 * termios/tcsetpgrp.c: Likewise.
30253 * time/adjtime.c: Likewise.
30254 * time/clock.c: Likewise.
30255 * time/getitimer.c: Likewise.
30256 * time/gettimeofday.c: Likewise.
30257 * time/setitimer.c: Likewise.
30258 * time/settimeofday.c: Likewise.
30259 * time/stime.c: Likewise.
30260 * time/time.c: Likewise.
30262 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
30264 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30267 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30269 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30271 2012-11-03 Joseph Myers <joseph@codesourcery.com>
30274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30275 FE_TONEAREST before applying Dekker multiplication and Knuth
30276 addition. Clear inexact exceptions and check for exact zero
30277 results afterwards.
30278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30279 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30280 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30281 * math/libm-test.inc (fma_test): Add more tests.
30282 (fma_test_towardzero): Likewise.
30283 (fma_test_downward): Likewise.
30284 (fma_test_upward): Likewise.
30285 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30287 (libc_fesetround): New macro.
30288 (libc_fesetroundf): Likewise.
30289 (libc_fesetroundl): Likewise.
30290 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30292 (libc_fesetround_387): Likewise.
30293 (libc_fesetroundf): New macro.
30294 (libc_fesetround): Likewise.
30295 (libc_fesetroundl): Likewise.
30296 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30298 (libc_fesetroundf): New macro.
30299 (libc_fesetround): Likewise.
30300 (libc_fesetroundl): Likewise.
30301 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30302 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30303 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30305 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30306 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30308 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30309 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30311 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30315 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30316 integer constant usable in #if and use that to give value to enum
30318 (FE_DIVBYZERO): Likewise.
30319 (FE_UNDERFLOW): Likewise.
30320 (FE_OVERFLOW): Likewise.
30321 (FE_INVALID): Likewise.
30322 (FE_INVALID_SNAN): Likewise.
30323 (FE_INVALID_ISI): Likewise.
30324 (FE_INVALID_IDI): Likewise.
30325 (FE_INVALID_ZDZ): Likewise.
30326 (FE_INVALID_IMZ): Likewise.
30327 (FE_INVALID_COMPARE): Likewise.
30328 (FE_INVALID_SOFTWARE): Likewise.
30329 (FE_INVALID_SQRT): Likewise.
30330 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30331 (FE_TONEAREST): Likewise.
30332 (FE_TOWARDZERO): Likewise.
30333 (FE_UPWARD): Likewise.
30334 (FE_DOWNWARD): Likewise.
30335 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30336 (FE_DIVBYZERO): Likewise.
30337 (FE_OVERFLOW): Likewise.
30338 (FE_UNDERFLOW): Likewise.
30339 (FE_INEXACT): Likewise.
30340 (FE_TONEAREST): Likewise.
30341 (FE_DOWNWARD): Likewise.
30342 (FE_UPWARD): Likewise.
30343 (FE_TOWARDZERO): Likewise.
30344 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30345 (FE_UNDERFLOW): Likewise.
30346 (FE_OVERFLOW): Likewise.
30347 (FE_DIVBYZERO): Likewise.
30348 (FE_INVALID): Likewise.
30349 (FE_TONEAREST): Likewise.
30350 (FE_TOWARDZERO): Likewise.
30351 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30352 (FE_OVERFLOW): Likewise.
30353 (FE_UNDERFLOW): Likewise.
30354 (FE_DIVBYZERO): Likewise.
30355 (FE_INEXACT): Likewise.
30356 (FE_TONEAREST): Likewise.
30357 (FE_TOWARDZERO): Likewise.
30358 (FE_UPWARD): Likewise.
30359 (FE_DOWNWARD): Likewise.
30360 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30361 (FE_DIVBYZERO): Likewise.
30362 (FE_OVERFLOW): Likewise.
30363 (FE_UNDERFLOW): Likewise.
30364 (FE_INEXACT): Likewise.
30365 (FE_TONEAREST): Likewise.
30366 (FE_DOWNWARD): Likewise.
30367 (FE_UPWARD): Likewise.
30368 (FE_TOWARDZERO): Likewise.
30370 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30372 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30374 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30376 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30377 commands. Quote $PWD.
30378 (blacklist_exports): Don't use remove_newlines. Replace "declare
30380 (remove_newlines): Remove.
30382 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30384 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30385 * stdlib/stdlib.h (atof): Moved to ...
30386 * include/bits/stdlib-float.h: Here. New file.
30387 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30388 * stdlib/bits/stdlib-float.h: New file.
30389 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30391 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30394 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30396 * conform/conformtest.pl (@headers): Add fenv.h.
30397 * conform/data/fenv.h-data: New file.
30398 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30399 include of <math/fenv.h>.
30401 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30402 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30403 && !UNIX98]. Enables tests for XOPEN2K8.
30404 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30405 POSIX2008]: Likewise.
30407 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30408 (struct rusage): Do not expect type or its members.
30411 * math/math.h (FP_NAN): Define macro to integer constant usable in
30412 #if and use that to give value to enum constant.
30413 (FP_INFINITE): Likewise.
30414 (FP_ZERO): Likewise.
30415 (FP_SUBNORMAL): Likewise.
30416 (FP_NORMAL): Likewise.
30418 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30420 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30421 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30424 2012-11-02 Roland McGrath <roland@hack.frob.com>
30426 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30427 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30428 autoconf-time if not.
30429 * configure.in: Remove AC_PREREQ.
30431 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30433 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30434 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30435 of the internal implementation.
30437 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30439 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30440 except include of <misc/sys/syslog.h>.
30442 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30445 function returns with a NULL context exit with zero.
30447 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30449 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30451 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30453 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30454 (run_program_cmd): This.
30455 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30456 (tst_langinfo): New variable. Use it.
30458 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30460 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30461 floating point opcodes.
30463 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30465 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30468 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30470 * sysdeps/mach/hurd/powerpc: Remove directory.
30471 * sysdeps/mach/powerpc: Likewise.
30473 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30475 * scripts/check-local-headers.sh: Ignore c++ headers.
30477 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30479 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30480 __libc_cleanup_region_start argument.
30482 2012-11-01 Joseph Myers <joseph@codesourcery.com>
30486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30487 x * y using scaling, not as x * y + z.
30488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30489 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30490 * math/libm-test.inc (fma_test): Add more tests.
30491 (fma_test_towardzero): Likewise.
30492 (fma_test_downward): Likewise.
30493 (fma_test_upward): Likewise.
30495 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30497 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30499 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30501 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30504 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30506 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30508 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30515 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30518 Fix the order of the list for glibc 2.17.
30519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30522 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30526 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30529 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30530 for low part of x being zero before using __atanl (y).
30531 * math/libm-test.inc (atan2_test): Add another test.
30533 * manual/install.texi (Configuring and compiling): Document
30534 general use of test-wrapper and test-wrapper-env.
30535 * INSTALL: Regenerated.
30537 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30538 (__fma): Do not extract and scale down low bits on after-rounding
30539 systems when result rounded to normal precision would have normal
30541 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30542 (__fmal): Do not extract and scale down low bits on after-rounding
30543 systems when result rounded to normal precision would have normal
30545 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30546 (__fmal): Do not extract and scale down low bits on after-rounding
30547 systems when result rounded to normal precision would have normal
30549 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30551 (fma_test): Add more tests.
30552 (fma_test_towardzero): Likewise.
30553 (fma_test_downward): Likewise.
30554 (fma_test_upward): Likewise.
30556 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30558 * sysdeps/i386/tininess.h: Renamed to ...
30559 * sysdeps/x86/tininess.h: This.
30560 * sysdeps/x86_64/tininess.h: Removed.
30562 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30564 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30565 input. Use $(build-program-cmd).
30566 ($(objpfx)tst-array1-static.out): Likewise.
30567 ($(objpfx)tst-array2.out): Likewise.
30568 ($(objpfx)tst-array3.out): Likewise.
30569 ($(objpfx)tst-array4.out): Likewise.
30570 ($(objpfx)tst-array5.out): Likewise.
30571 ($(objpfx)tst-array5-static.out): Likewise.
30573 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30575 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30578 * nss/nsswitch.h (nss_interface_function): Provide new
30579 macro for use with NSS functions.
30580 * grp/initgroups.c: Use new macro.
30581 * nss/getXXbyYY.c: Likewise.
30582 * nss/getXXbyYY_r.c: Likewise.
30583 * nss/getXXent.c: Likewise.
30584 * nss/getXXent_r.c: Likewise.
30585 * sysdeps/posix/getaddrinfo.c: Likewise.
30587 2012-10-30 Andreas Jaeger <aj@suse.de>
30589 * po/ru.po: Update Russion translation from translation project.
30591 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30596 result and shift together with sticky bit instead of replicating
30597 round-to-nearest rounding.
30598 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30599 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30600 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30601 missing underflow exceptions.
30602 (fma_test_towardzero): Add more tests.
30603 (fma_test_downward): Likewise.
30604 (fma_test_upward): Likewise.
30607 * sysdeps/generic/tininess.h: New file.
30608 * sysdeps/i386/tininess.h: Likewise.
30609 * sysdeps/sh/tininess.h: Likewise.
30610 * sysdeps/x86_64/tininess.h: Likewise.
30611 * stdlib/tst-strtod-underflow.c: Likewise.
30612 * stdlib/tst-tininess.c: Likewise.
30613 * stdlib/strtod_l.c: Include <tininess.h>.
30614 (round_and_return): Do not set errno for exact underflow cases.
30615 Force an underflow exception when setting errno for underflow.
30616 Determine underflow based on rounding to normal precision if
30617 TININESS_AFTER_ROUNDING.
30618 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30619 ERANGE for exact underflow cases.
30620 * stdlib/Makefile (tests): Add tst-tininess and
30621 tst-strtod-underflow.
30622 ($(objpfx)tst-tininess): Use $(link-libm).
30623 ($(objpfx)tst-strtod-underflow): Likewise.
30625 2012-10-30 Andreas Jaeger <aj@suse.de>
30628 * elf/Makefile (tests): Remove conditional for have-initfini-array
30629 since this is now always required and the variable does not exist
30631 (tests-static): Likewise.
30632 (modules-names): Likewise.
30634 * po/eo.po: Add Esperanto translation from translation project.
30636 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30637 merged with constructor/destructor.
30638 (init_array): Likewise.
30639 * elf/tst-array2dep.c (fini_array): Likewise.
30640 (init_array): Likewise.
30642 2012-10-29 Mike Frysinger <vapier@gentoo.org>
30644 * manual/message.texi: Delete @cartouche tags.
30646 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30648 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30650 * sysdeps/mach/hurd/fsync.c: Likewise.
30652 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30653 [_POSIX_REALTIME_SIGNALS]: Change condition to
30654 [_POSIX_REALTIME_SIGNALS > 0].
30656 2012-10-27 Andreas Jaeger <aj@suse.de>
30658 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30659 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30661 [__WORDSIZE != 64]: Likewise.
30663 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30665 * iconvdata/tst-table.sh: Remove ${SHELL}.
30666 * iconvdata/tst-tables.sh: Likewise.
30668 2012-10-25 David S. Miller <davem@davemloft.net>
30670 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30671 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30677 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30678 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30681 2012-10-25 Roland McGrath <roland@hack.frob.com>
30683 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30684 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30687 2012-10-25 Joseph Myers <joseph@codesourcery.com>
30688 Jim Blandy <jimb@codesourcery.com>
30690 * scripts/cross-test-ssh.sh: New file.
30691 * manual/install.texi (Configuring and compiling): Document use of
30693 * INSTALL: Regenerated.
30695 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30697 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30700 2012-10-25 Joseph Myers <joseph@codesourcery.com>
30702 * Makeconfig (run-program-prefix): Fix comment.
30704 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30705 Jim Blandy <jimb@codesourcery.com>
30707 * Makeconfig (test-wrapper): New variable,
30708 (test-wrapper-env): Likewise.
30709 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30710 (run-built-tests): Define to yes.
30711 (run-program-prefix): Use $(test-wrapper).
30712 (built-program-cmd): Likewise.
30713 * Rules (make-test-out): Use $(test-wrapper-env) and
30714 $(host-built-program-cmd).
30715 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30716 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30718 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30719 $(test-wrapper-env) to tst-rtld-load-self.sh.
30720 ($(objpfx)order2.out): Use $(test-wrapper).
30721 ($(objpfx)tst-initorder.out): Likewise.
30722 ($(objpfx)tst-initorder2.out): Likewise.
30723 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30724 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30725 (test_wrapper_env): New variable. Use it to run ld.so.
30726 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30727 Use it to run ld.so.
30728 (test_wrapper_env): Likewise.
30729 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30730 $(test-wrapper) to run-iconv-test.sh.
30731 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30732 (ICONV): Use $test_wrapper.
30733 * posix/Makefile ($(objpfx)globtest.out): Pass
30734 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30735 globtest.sh, not $(run-program-prefix).
30736 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30737 (test_wrapper): Likewise.
30738 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30739 set together with run_via_rtld_prefix.
30740 (run_program_prefix): Define in terms of test_wrapper and
30741 run_via_rtld_prefix.
30743 2012-10-24 Roland McGrath <roland@hack.frob.com>
30745 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30746 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30750 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30751 Declare __clock_getres, __clock_gettime, __clock_settime,
30752 __clock_nanosleep, and __clock_getcpuclockid.
30753 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30754 Remove librt_hidden_def (clock_gettime).
30755 * sysdeps/unix/clock_gettime.c: Likewise.
30756 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30757 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30758 * rt/clock_getres.c: Define __clock_getres as an alias.
30759 * sysdeps/posix/clock_getres.c: Likewise.
30760 * rt/clock_settime.c: Define __clock_settime as an alias.
30761 * sysdeps/unix/clock_settime.c: Likewise.
30762 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30763 * sysdeps/unix/clock_nanosleep.c: Likewise.
30764 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30765 * rt/clock-compat.c: New file.
30766 * rt/Makefile (librt-routines): Add clock-compat and move
30767 $(clock-routines) to ...
30768 (routines): ... here, new variable.
30769 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30770 Don't add get_clockfreq here.
30771 * rt/Versions (libc: GLIBC_2.17): New version set.
30772 Add clock_* symbols here.
30773 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30774 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30775 (GLIBC_2.17): Add clock_* symbols.
30776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30778 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30787 * NEWS: Mention the move.
30789 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30790 Use __open, __read, __close rather than their public counterparts.
30791 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30792 (__get_clockfreq_via_cpuinfo): Likewise.
30793 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30794 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30796 * config.h.in (HAVE_IFUNC): New #undef.
30797 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30799 * configure: Regenerated.
30801 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30803 * configure.in: Move READELF check to start of file.
30804 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30805 libc_cv_asm_gnu_indirect_function in the process.
30806 * configure: Regenerated.
30808 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30810 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30811 send the output to /dev/null.
30812 (libc_cv_cc_with_libunwind): Likewise.
30813 (libc_cv_as_noexecstack): Likewise.
30814 * configure: Regenerate.
30816 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30818 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30820 * posix/globtest.sh (TMPDIR): Do not set.
30821 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30822 (testout): Likewise.
30824 2012-10-24 Andreas Jaeger <aj@suse.de>
30826 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30827 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30828 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30829 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30830 posix_fadvise64, posix_fallocate64.
30832 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30833 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30834 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30836 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30838 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30840 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30841 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30842 <bits/fcntl-linux.h>.
30843 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30845 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30846 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30847 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30848 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30849 [__WORDSIZE != 64]: Likewise.
30851 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30853 * Makeconfig (run-built-tests): New variable.
30854 * Rules [$(cross-compiling) = yes]: Change condition to
30855 [$(run-built-tests) = no].
30856 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30857 to [$(run-built-tests) = yes].
30858 * elf/Makefile [$(cross-compiling) = no]: Likewise
30859 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30860 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30861 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30862 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30863 * io/Makefile [$(cross-compiling) = no]: Likewise.
30864 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30865 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30866 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30867 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30868 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30869 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30870 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30871 * string/Makefile [$(cross-compiling) = no]: Likewise.
30873 * posix/Makefile ($(objpfx)globtest.out): Pass
30874 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30875 $(rtld-installed-name).
30876 * posix/globtest.sh (elf_objpfx): Remove variable.
30877 (rtld_installed_name): Likewise.
30878 (library_path): Likewise.
30879 (run_program_prefix): New variable. Use for running globtest
30882 2012-10-23 Jim Blandy <jimb@codesourcery.com>
30883 Joseph Myers <joseph@codesourcery.com>
30885 * Makeconfig (host-built-program-cmd): New variable.
30886 * elf/Makefile (tst-stackguard1-ARGS): Use
30887 $(host-built-program-cmd).
30888 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30889 (tst-spawn-ARGS): Likewise.
30890 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30892 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30893 Jim Blandy <jimb@codesourcery.com>
30895 * Makeconfig (run-via-rtld-prefix): New variable.
30896 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30897 (built-program-cmd): Likewise.
30899 2012-10-22 Andreas Jaeger <aj@suse.de>
30901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30902 __O_RSYNC if it exists, otherwise to O_SYNC.
30904 2012-10-22 Jim Blandy <jimb@codesourcery.com>
30905 Joseph Myers <joseph@codesourcery.com>
30907 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30909 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30911 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30914 2012-10-22 Andreas Jaeger <aj@suse.de>
30916 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30921 bits/fcntl-linux.h.
30923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30924 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30931 2012-10-21 Jim Blandy <jimb@codesourcery.com>
30932 Joseph Myers <joseph@codesourcery.com>
30934 * config.make.in (NM): New variable.
30936 2012-10-21 Andreas Jaeger <aj@suse.de>
30938 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30939 definitions and declarations that are provided by
30940 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30942 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30945 * elf/Makefile (tests-static): Add tst-leaks1-static.
30946 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30947 ($(objpfx)tst-leaks1-static): New rule.
30948 ($(objpfx)tst-leaks1-static-mem): Likewise.
30949 (tst-leaks1-static-ENV): New macro.
30950 * elf/dl-open.c (dl_open_worker): Check the main application
30951 only if SHARED is defined.
30952 * elf/tst-leaks1-static.c: New file.
30954 2012-10-20 Andreas Jaeger <aj@suse.de>
30956 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30957 generic values for Linux.
30958 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30959 and declarations that are provided by <bits/fcntl-linux.h> and
30960 include <bits/fcntl-linux.h>.
30961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30964 2012-10-20 Roland McGrath <roland@hack.frob.com>
30966 * io/fcntl.h: Move include of <bits/types.h> to the top and
30967 include it unconditionally.
30969 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
30971 * wcsmbs/Makefile (tests-ifunc): New variable.
30972 (tests): Add $(tests-ifunc).
30973 * wcsmbs/test-wcschr-ifunc.c: New file.
30974 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30975 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30976 * wcsmbs/test-wcslen-ifunc.c: Likewise.
30977 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30978 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30980 * string/Makefile (tests-ifunc): New variable.
30981 (tests): Add $(tests-ifunc).
30982 * string/test-memccpy.c (TEST_NAME): New macro.
30983 * string/test-memchr.c (TEST_NAME): Likewise.
30984 * string/test-memcmp.c (TEST_NAME): Likewise.
30985 * string/test-memcpy.c (TEST_NAME): Likewise.
30986 * string/test-memmem.c (TEST_NAME): Likewise.
30987 * string/test-memmove.c (TEST_NAME): Likewise.
30988 * string/test-memset.c (TEST_NAME): Likewise.
30989 * string/test-rawmemchr.c (TEST_NAME): Likewise.
30990 * string/test-stpcpy.c (TEST_NAME): Likewise.
30991 * string/test-stpncpy.c (TEST_NAME): Likewise.
30992 * string/test-strcasecmp.c (TEST_NAME): Likewise.
30993 * string/test-strcasestr.c (TEST_NAME): Likewise.
30994 * string/test-strcat.c (TEST_NAME): Likewise.
30995 * string/test-strchr.c (TEST_NAME): Likewise.
30996 * string/test-strcmp.c(TEST_NAME): Likewise.
30997 * string/test-strcpy.c (TEST_NAME): Likewise.
30998 * string/test-strcspn.c (TEST_NAME): Likewise.
30999 * string/test-strlen.c (TEST_NAME): Likewise.
31000 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31001 * string/test-strncmp.c (TEST_NAME): Likewise.
31002 * string/test-strncpy.c (TEST_NAME): Likewise.
31003 * string/test-strnlen.c (TEST_NAME): Likewise.
31004 * string/test-strpbrk.c (TEST_NAME): Likewise.
31005 * string/test-strrchr.c (TEST_NAME): Likewise.
31006 * string/test-strspn.c (TEST_NAME): Likewise.
31007 * string/test-strstr.c (TEST_NAME): Likewise.
31008 * string/test-bcopy-ifunc.c: New file.
31009 * string/test-bzero-ifunc.c: Likewise.
31010 * string/test-memccpy-ifunc.c: Likewise.
31011 * string/test-memchr-ifunc.c: Likewise.
31012 * string/test-memcmp-ifunc.c: Likewise.
31013 * string/test-memcpy-ifunc.c: Likewise.
31014 * string/test-memmem-ifunc.c: Likewise.
31015 * string/test-memmove-ifunc.c: Likewise.
31016 * string/test-mempcpy-ifunc.c: Likewise.
31017 * string/test-memset-ifunc.c: Likewise.
31018 * string/test-rawmemchr-ifunc.c: Likewise.
31019 * string/test-stpcpy-ifunc.c: Likewise.
31020 * string/test-stpncpy-ifunc.c: Likewise.
31021 * string/test-strcasecmp-ifunc.c: Likewise.
31022 * string/test-strcasestr-ifunc.c: Likewise.
31023 * string/test-strcat-ifunc.c: Likewise.
31024 * string/test-strchr-ifunc.c: Likewise.
31025 * string/test-strchrnul-ifunc.c: Likewise.
31026 * string/test-strcmp-ifunc.c: Likewise.
31027 * string/test-strcpy-ifunc.c: Likewise.
31028 * string/test-strcspn-ifunc.c: Likewise.
31029 * string/test-strlen-ifunc.c: Likewise.
31030 * string/test-strncasecmp-ifunc.c: Likewise.
31031 * string/test-strncat-ifunc.c: Likewise.
31032 * string/test-strncmp-ifunc.c: Likewise.
31033 * string/test-strncpy-ifunc.c: Likewise.
31034 * string/test-strnlen-ifunc.c: Likewise.
31035 * string/test-strpbrk-ifunc.c: Likewise.
31036 * string/test-strrchr-ifunc.c: Likewise.
31037 * string/test-strspn-ifunc.c: Likewise.
31038 * string/test-strstr-ifunc.c: Likewise.
31040 * debug/Makefile (tests-ifunc): New variable.
31041 (tests): Add $(tests-ifunc).
31042 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31043 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31044 * debug/test-stpcpy_chk-ifunc.c: New file.
31045 * debug/test-strcpy_chk-ifunc.c: Likewise.
31047 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31050 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31051 header is not read in.
31053 2012-10-19 Joseph Myers <joseph@codesourcery.com>
31055 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31056 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31057 directly. Pass built executable to script as
31058 $(built-program-cmd).
31059 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31060 $testprogram without using LD_LIBRARY_PATH and $ldso.
31062 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31063 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31064 $(rtld-installed-name).
31065 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31066 (rtld_installed_name): Likewise.
31067 (library_path): Likewise.
31068 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31069 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31070 $(run-program-prefix) to tst-tables.sh.
31071 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31072 it to run tst-table-from and tst-table-to.
31073 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31074 Pass it to tst-table.sh.
31075 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31076 $(run-program-prefix) to tst-gettext.sh.
31077 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31079 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31081 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31082 to run tst-gettext.
31083 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31084 to run tst-gettext2.
31085 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31086 to run tst-translit.
31087 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31088 $(run-program-prefix) to tst-mtrace.sh.
31089 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31091 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31092 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31093 $(rtld-installed-name).
31094 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31095 (rtld_installed_name): Likewise.
31096 (run_program_prefix): New variable. Use it to run wordexp-test.
31098 * Makeconfig (ARCH): Remove all definitions.
31099 (machine): Likewise.
31100 [ARCH]: Remove conditional code.
31101 [!objdir]: Give error.
31102 [!objdir] (objpfx): Remove.
31103 [!objdir] (common-objpfx): Likewise.
31104 [!objdir] (common-objdir): Likewise.
31105 * configure.in (config_makefile): Remove. Hardcode Makefile in
31106 AC_CONFIG_FILES call.
31107 * configure: Regenerated.
31110 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31112 (testout): Likewise.
31114 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31115 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31116 $(rtld-installed-name).
31117 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31118 (rtld_installed_name): Likwise.
31119 (runit): Remove function.
31120 (run_getconf): New variable, Use it for running getconf binary.
31122 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31125 * string/test-memmem.c (check_result): New function.
31126 (do_one_test): Use it.
31127 (check1): New function.
31128 (test_main): Use it.
31130 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31132 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31134 2012-10-18 Joseph Myers <joseph@codesourcery.com>
31136 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31137 (_G_LSEEK64): Likewise.
31138 (_G_MMAP64): Likewise.
31139 (_G_FSTAT64): Likewise.
31140 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31141 (_G_LSEEK64): Likewise.
31142 (_G_MMAP64): Likewise.
31143 (_G_FSTAT64): Likewise.
31144 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31145 unconditional. Call __mmap64 directly.
31146 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31147 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31148 __lseek64 directly.
31149 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31150 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31152 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31153 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31154 __lseek64 directly.
31155 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31156 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31157 __lseek64 directly.
31158 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31159 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31160 __lseek64 directly.
31161 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31162 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31163 __fxstat64 directly.
31164 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31165 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31167 (freopen64) [!_G_OPEN64]: Remove conditional code.
31168 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31170 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31171 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31173 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31174 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31176 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31177 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31179 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31180 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31182 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31183 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31185 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31186 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31188 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31190 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31193 * manual/memory.texi (Malloc Tunable Parameters): Add note
31194 about free list pointers overwriting some perturb bytes.
31195 Wording suggested by Roland McGrath.
31197 2012-10-17 Joseph Myers <joseph@codesourcery.com>
31199 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31200 (lgamma_test): Likewise.
31201 (tgamma_test): Likewise.
31203 2012-10-16 Florian Weimer <fweimer@redhat.com>
31206 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31207 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31209 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31211 * NEWS: Mention BZ #14716.
31212 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31213 when removing AVAILABLE1_USES_J macro.
31215 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31217 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31218 (__bswap_64): __uint64_t for unsigned 64-bit int.
31220 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31222 * include/string.h (memmem): Declare libc hidden alias.
31223 * string/memmem.c (memmem): Define libc hidden alias.
31224 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31225 __read, __close instead of open, read, close.
31227 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31229 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31230 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31232 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31233 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31234 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31236 (__rawmemchr_sse2): Likewise.
31237 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31238 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31239 (__strchr_sse2): Likewise.
31240 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31241 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31242 (__strcasecmp_sse2): Likewise.
31243 (__strncasecmp_sse2): Likewise.
31244 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31245 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31246 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31247 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31248 (__strrchr_sse2): Likewise.
31249 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31251 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31252 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31253 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31254 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31255 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31256 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31257 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31258 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31259 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31260 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31261 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31262 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31263 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31264 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31265 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31266 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31267 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31268 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31269 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31270 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31271 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31272 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31273 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31274 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31275 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31276 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31277 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31278 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31279 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31280 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31282 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31284 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31285 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31286 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31287 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31289 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31291 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31292 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31293 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31294 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31296 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31297 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31298 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31299 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31300 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31301 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31302 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31303 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31304 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31305 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31306 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31307 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31308 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31309 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31310 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31311 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31312 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31313 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31314 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31315 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31316 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31317 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31318 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31319 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31320 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31321 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31322 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31323 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31324 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31325 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31326 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31327 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31328 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31329 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31330 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31331 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31332 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31333 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31334 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31335 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31336 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31338 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31339 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31340 * include/ifunc-impl-list.h: New file.
31341 * misc/ifunc-impl-list.c: Likewise.
31342 * misc/Makefile (routines): Add ifunc-impl-list.
31343 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31344 * string/test-string.h: Include <ifunc-impl-list.h>.
31345 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31346 TEST_NAME]: New variables.
31347 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31349 (test_init): Call __libc_ifunc_impl_list to initialize
31350 func_list if TEST_IFUNC and TEST_NAME are defined.
31352 * string/Makefile (strop-tests): Add bcopy and bzero.
31353 * string/test-bcopy.c: New file.
31354 * string/test-bzero.c: Likewise.
31355 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31357 * string/test-memset.c: Support bzero test if TEST_BZERO is
31359 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31361 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31363 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31366 2012-10-10 Joseph Myers <joseph@codesourcery.com>
31368 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31369 * configure: Regenerated.
31371 * Makeconfig (+link-static-before-libc): Don't include
31372 $(link-static-libc).
31374 * libio/libio.h (_IO_pos_t): Remove.
31376 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31378 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31381 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31383 * crypt/crypt-entry.c: Include fips-private.h.
31384 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31385 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31386 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31387 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31389 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31391 * crypt/crypt-private.h: Include stdbool.h.
31392 (_ufc_setup_salt_r): Return bool.
31393 * crypt/crypt-entry.c: Include errno.h.
31394 (__crypt_r): Return NULL with EINVAL for bad salt.
31395 * crypt/crypt_util.c (bad_for_salt): New.
31396 (_ufc_setup_salt_r): Check that salt is long enough and within
31397 the specified alphabet.
31398 * crypt/badsalttest.c: New file.
31399 * crypt/Makefile (tests): Add it.
31400 ($(objpfx)badsalttest): New.
31402 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31404 * NEWS: Add entry for BZ #14602.
31406 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31408 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31410 * math/libm-test.inc: Update comment listing what functions and
31412 (isgreater_test): New function.
31413 (isgreaterequal_test): Likewise.
31414 (isless_test): Likewise.
31415 (islessequal_test): Likewise.
31416 (islessgreater_test): Likewise.
31417 (isunordered_test): Likewise.
31418 (main): Call the new functions.
31420 2012-10-09 Roland McGrath <roland@hack.frob.com>
31422 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31423 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31424 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31425 * sysdeps/i386/configure: Regenerated.
31426 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31427 * sysdeps/mach/configure: Regenerated.
31428 * sysdeps/mach/hurd/configure: Regenerated.
31429 * sysdeps/powerpc/configure: Regenerated.
31430 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31431 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31432 * sysdeps/s390/s390-32/configure: Regenerated.
31433 * sysdeps/s390/s390-64/configure: Regenerated.
31434 * sysdeps/sh/configure: Regenerated.
31435 * sysdeps/sparc/configure: Regenerated.
31436 * sysdeps/unix/sysv/linux/configure: Regenerated.
31437 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31438 * sysdeps/x86_64/configure: Regenerated.
31440 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31441 defined. Don't check if MAP is NULL.
31443 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31445 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31446 (_G_stat64): Likewise.
31447 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31448 (_G_stat64): Likewise.
31449 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31450 instead of struct _G_stat64.
31451 * libio/fileops.c (mmap_remap_check): Likewise.
31452 (decide_maybe_mmap): Likewise.
31453 (_IO_new_file_seekoff): Likewise.
31454 (_IO_file_stat): Likewise.
31455 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31457 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31458 instead of struct _G_stat64.
31459 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31461 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31464 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31466 (CHECK_EOL): New macro.
31467 (two_way_short_needle): Check beginning of haystack for EOL. Use
31469 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31470 Replace with CHECK_EOL.
31471 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31472 Replace with CHECK_EOL.
31474 2012-10-08 Joseph Myers <joseph@codesourcery.com>
31476 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31478 * math/libm-test.inc: Update comment listing what functions and
31480 (finite_test): New function.
31481 (isinf_test): Likewise.
31482 (isnan_test): Likewise.
31483 (fpclassify_test): Test subnormal input.
31484 (isfinite_test): Likewise.
31485 (isnormal_test): Likewise.
31486 (main): Call the new functions.
31488 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31491 * Makerules (%.dynsym): Force C locale when running
31492 $(OBJDUMP) --dynamic-syms.
31494 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31496 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31499 2012-10-06 David S. Miller <davem@davemloft.net>
31501 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31502 upper 32-bits of the length value in %o2 since we use branch-on-register
31503 tests which consider the entire 64-bit register.
31505 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31507 * string/test-strstr.c (check2): Add a test for page boundary.
31509 2012-10-05 David S. Miller <davem@davemloft.net>
31511 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31512 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31514 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31516 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31517 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31518 and bzero when HWCAP_SPARC_CRYPTO is present.
31520 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31523 * string/test-strstr.c (check2): New function.
31524 (test_main): Call check2.
31526 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31528 * string/bug-strcasestr1.c (do_test): Moved to ...
31529 * string/test-strcasestr.c (check1): Here. New function.
31530 (do_one_test): Break out result checking code into ...
31531 (check_result): This. New function.
31532 (do_one_test): Call check_result.
31533 (test_main): Call check1.
31534 * string/bug-strchr1.c (do_test): Moved to ...
31535 * string/test-strchr.c (check1): Here. New function.
31536 (do_one_test): Break out result checking code into ...
31537 (check_result): This. New function.
31538 (do_one_test): Call check_result.
31539 (test_main): Call check1.
31540 * string/bug-strstr1.c (main): Moved to ...
31541 * string/test-strstr.c (check1): Here. New function.
31542 (do_one_test): Break out result checking code into ...
31543 (check_result): This. New function.
31544 (do_one_test): Call check_result.
31545 (test_main): Call check1.
31546 * string/bug-strcasestr1.c: Removed.
31547 * string/bug-strchr1.c: Likewise.
31548 * string/bug-strstr1.c: Likewise.
31550 * elf/Makefile (dl-routines): Add hwcaps.
31551 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31552 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31553 (_dl_important_hwcaps): Moved to ...
31554 * elf/dl-hwcaps.c: Here. New file.
31555 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31558 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31559 if IS_IN_rtld isn't defined.
31561 * elf/dl-support.c (_dl_sysinfo_map): New.
31562 Include "get-dynamic-info.h" and "setup-vdso.h".
31563 (_dl_non_dynamic_init): Call setup_vdso.
31564 * elf/dynamic-link.h: Don't include <assert.h>.
31565 (elf_get_dynamic_info): Moved to ...
31566 * elf/get-dynamic-info.h: Here. New file.
31567 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31568 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31569 * elf/setup-vdso.h: Here. New file.
31570 * elf/rtld.c: Include "setup-vdso.h".
31571 (dl_main): Call setup_vdso.
31573 2012-10-05 Joseph Myers <joseph@codesourcery.com>
31575 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31576 creal in comment listing functions tested. List finite, isinf,
31577 isnan, isless, islessequal, isgreater, isgreaterequal,
31578 islessgreater, isunordered, lgamma_r and pow10 as functions and
31579 macros not tested. Mention which functions not tested are aliases
31580 for other functions. Fix typo. Note that signs of NaNs are not
31583 * scripts/config.guess: Update from config.git.
31584 * scripts/config.sub: Likewise.
31586 2012-10-04 Roland McGrath <roland@hack.frob.com>
31588 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31589 * misc/madvise.c (madvise): Renamed to __madvise.
31590 Make madvise a weak alias.
31591 * include/sys/mman.h: Declare __madvise.
31592 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31593 * sysdeps/unix/syscalls.list
31594 (madvise): Make __madvise the strong name, and madvise a weak alias.
31595 * sysdeps/unix/sysv/linux/syscalls.list
31596 (madvise, mmap): Remove redundant entries.
31597 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31598 * malloc/malloc.c (mtrim): Likewise.
31599 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31601 2012-10-03 Roland McGrath <roland@hack.frob.com>
31603 * sysdeps/mach/hurd/dl-cache.c: File removed.
31604 * config.h.in (USE_LDCONFIG): New #undef.
31605 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31606 * configure: Regenerated.
31607 * elf/Makefile (dl-routines): Add dl-cache only under
31608 [$(use-ldconfig) = yes].
31609 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31610 cache on [USE_LDCONFIG].
31611 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31613 * elf/rtld.c (dl_main): Likewise.
31615 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31617 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31618 _SC_LEVEL4_CACHE_LINESIZE.
31620 2012-10-03 Roland McGrath <roland@hack.frob.com>
31622 * sysdeps/unix/bsd/confstr.h: File removed.
31624 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
31626 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31629 2012-10-02 Roland McGrath <roland@hack.frob.com>
31631 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31632 Make 'mapoff' field ElfW(Off) rather than off_t.
31634 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31636 * nscd/Makefile: Remove nscd-cflags and all its users.
31637 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31638 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31641 * malloc.c (malloc_printerr): Clarify error message.
31643 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31647 Set bit_FMA_Usable if FMA is supported.
31648 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31650 (bit_FMA4_Usable): Updated.
31651 (index_FMA_Usable): New macro.
31652 (CPUID_FMA): Likewise
31653 (HAS_FMA): Defined with bit_FMA_Usable.
31655 2012-10-01 Roland McGrath <roland@hack.frob.com>
31657 * bits/types.h (__swblk_t): Type removed.
31658 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31659 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31661 (__SWBLK_T_TYPE): Likewise.
31662 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31663 (__SWBLK_T_TYPE): Likewise.
31664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31665 (__SWBLK_T_TYPE): Likewise.
31666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31667 (__SWBLK_T_TYPE): Likewise.
31669 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
31670 Honza Horak <hhorak@redhat.com>
31672 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31673 (xdr_mapname): Use YPMAXMAP as maxsize.
31674 (xdr_peername): Use YPMAXPEER as maxsize.
31675 (xdr_keydat): Use YPAXRECORD as maxsize.
31676 (xdr_valdat): Use YPMAXRECORD as maxsize.
31678 2012-10-01 Roland McGrath <roland@hack.frob.com>
31680 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31682 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31683 * csu/init-first.c: ... here.
31684 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31685 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31686 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31687 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31688 * sysdeps/i386/init-first.c: File removed.
31689 * sysdeps/sh/init-first.c: File removed.
31691 2012-10-01 Joseph Myers <joseph@codesourcery.com>
31694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31695 if x * y might underflow to zero and z is zero.
31696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31698 * math/libm-test.inc (min_subnorm_value): New variable.
31699 (fma_test): Add more tests.
31700 (fma_test_towardzero): Likewise.
31701 (fma_test_downward): Likewise
31702 (fma_test_upward): Likewise.
31703 (initialize): Set min_subnorm_value.
31705 2012-09-29 Joseph Myers <joseph@codesourcery.com>
31708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31710 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31711 mode for addition resulting in exact zero.
31712 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31715 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31717 * math/libm-test.inc (fma_test): Add more tests.
31718 (fma_test_towardzero): New function.
31719 (fma_test_downward): Likewise.
31720 (fma_test_upward): Likewise.
31721 (main): Call the new functions.
31723 2012-09-28 David S. Miller <davem@davemloft.net>
31725 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31727 2012-09-28 Roland McGrath <roland@hack.frob.com>
31729 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31730 instead of SIGALRM.
31732 * sysdeps/gnu/_G_config.h: Moved to ...
31733 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31734 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31735 * sysdeps/generic/_G_config.h: ... here.
31737 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31739 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31741 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31742 Conditionalize target on [libnss_test1.so-version].
31744 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31746 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31747 (elfobjdir): Move out of conditionals.
31749 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31750 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31751 (__nss_lookup_function): Conditionalize label remove_from_tree on
31752 [!DO_STATIC_NSS || SHARED], matching its only use.
31754 2012-09-28 David S. Miller <davem@davemloft.net>
31756 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31757 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31759 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31761 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31762 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31763 when HWCAP_SPARC_CRYPTO is present.
31765 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31767 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31769 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31772 * stdio-common/vfprintf.c (process_string_arg): Revert
31775 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31777 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31779 * stdio-common/tst-sprintf.c: Include <locale.h>
31780 (main): Test sprintf's handling of incomplete multibyte
31783 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31785 * elf/dl-runtime.c (VERSYMIDX): Removed.
31786 * elf/dl-version.c (VERSYMIDX): Likewise.
31787 * elf/do-rel.h (VERSYMIDX): Likewise.
31788 (VALIDX): Likewise.
31789 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31790 * elf/rtld.c (VALIDX): Likewise.
31791 (ADDRIDX): Likewise.
31792 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31793 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31794 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31795 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31796 (VALIDX): Likewise.
31797 (ADDRIDX): Likewise.
31799 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31801 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31803 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31806 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31808 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31809 addresses are in the same scope as 192.0.2/24.
31810 * posix/gai.conf: Document new scope table defaults.
31812 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31815 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31816 for ftell. Compute offsets from write pointers instead.
31817 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31819 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31822 * libio/Makefile (tests): New test case tst-fseek.
31823 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31824 combination works in wide mode.
31825 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31826 state when the external buffer state changes.
31828 2012-09-27 David S. Miller <davem@davemloft.net>
31831 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31832 pass reloc->r_addend in as the 'high' argument to
31833 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31837 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31839 * rt/tst-aio2.c: Include <pthread.h>.
31840 * rt/tst-aio3.c: Likewise.
31842 2012-09-27 Steve Ellcey <sellcey@mips.com>
31844 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31846 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31848 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31849 contents on [SHARED].
31851 2012-09-26 Marek Polacek <polacek@redhat.com>
31855 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31856 for C++ and GCC <4.3 as well as for non GCC compilers.
31858 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31862 2012-09-25 Roland McGrath <roland@hack.frob.com>
31864 * Makefile.in (all, install): Declare with .PHONY.
31865 Reported by Michael Hope <michael.hope@linaro.org>.
31867 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31869 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31870 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31872 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31874 (sydep_routines): Add the new and the internal functions.
31875 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31876 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31878 (GLIBC_2.17): Add the new function.
31879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31880 (GLIBC_2.17): Likewise.
31881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31882 (GLIBC_2.17): Likewise.
31883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31884 (GLIBC_2.17): Likewise.
31885 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31887 2012-09-25 Alan Modra <amodra@gmail.com>
31889 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31890 Add release barrier before setting once_control to say
31891 initialisation is done. Add hints on lwarx. Use macro in
31893 (clear_once_control): Add release barrier.
31895 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31898 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31900 * math/s_clog10.c (__clog10): Likewise.
31901 * math/s_clog10f.c (__clog10f): Likewise.
31902 * math/s_clog10l.c (__clog10l): Likewise.
31903 * math/s_clogf.c (__clogf): Likewise.
31904 * math/s_clogl.c (__clogl): Likewise.
31905 * math/Makefile (libm-calls): Add x2y2m1.
31906 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31907 (__x2y2m1): Likewise.
31908 (__x2y2m1l): Likewise.
31909 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31910 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31911 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31912 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31913 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31914 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31915 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31916 * sysdeps/i386/fpu/libm-test-ulps: Update.
31917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31920 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31921 int as type of variable DEPTH.
31922 (glob): Use size_t instead of int as type of variables NEWCOUNT
31925 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31927 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31928 Add s_sincosf-sse2.
31929 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31930 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31931 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31932 macros for using routine as __sincosf_ia32.
31933 Use macro for function declaration and weak_alias.
31934 * sysdeps/i386/fpu/libm-test-ulps: Update.
31936 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31939 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31940 subnormal argument.
31941 * math/s_cexpf.c (__cexpf): Likewise.
31942 * math/s_csinf.c (__csinf): Likewise.
31943 * math/s_csinhf.c (__csinhf): Likewise.
31944 * math/s_ctanf.c (__ctanf): Likewise.
31945 * math/s_ctanhf.c (__ctanhf): Likewise.
31946 * math/s_ccosh.c (__ccoshf): Likewise.
31947 * math/s_cexp.c (__cexpl): Likewise.
31948 * math/s_csin.c (__csin): Likewise.
31949 * math/s_csinh.c (__csinh): Likewise.
31950 * math/s_ctan.c (__ctan): Likewise.
31951 * math/s_ctanh.c (ctanh): Likewise.
31952 * math/s_ccoshl.c (__ccoshl): Likewise.
31953 * math/s_cexpl.c (__cexpl): Likewise.
31954 * math/s_csinl.c (__csinl): Likewise.
31955 * math/s_csinhl.c (__csinhl): Likewise.
31956 * math/s_ctanl.c (__ctanl): Likewise.
31957 * math/s_ctanhl.c (__ctanhl): Likewise.
31959 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31961 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31962 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31963 (_IO_off_t): Define to __off_t, not _G_off_t.
31964 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31965 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31966 (_IO_wint_t): Define to wint_t, not _G_wint_t.
31967 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31968 type of __dummy and __dummy2 fields.
31969 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31970 (_G_ssize_t): Likewise.
31971 (_G_off_t): Likewise.
31972 (_G_pid_t): Likewise.
31973 (_G_uid_t): Likewise.
31974 (_G_wchar_t): Likewise.
31975 (_G_wint_t): Likewise.
31976 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31977 (_G_ssize_t): Likewise.
31978 (_G_off_t): Likewise.
31979 (_G_pid_t): Likewise.
31980 (_G_uid_t): Likewise.
31981 (_G_wchar_t): Likewise.
31982 (_G_wint_t): Likewise.
31983 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31984 (_G_ssize_t): Likewise.
31985 (_G_off_t): Likewise.
31986 (_G_pid_t): Likewise.
31987 (_G_uid_t): Likewise.
31988 (_G_wchar_t): Likewise.
31989 (_G_wint_t): Likewise.
31991 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31993 * malloc/arena.c: Include malloc-sysdep.h.
31994 (shrink_heap): Use check_may_shrink_heap to decide if madvise
31995 is sufficient to shrink the heap or an unmap is needed.
31996 * sysdeps/generic/malloc-sysdep.h: New file. Define
31997 new function check_may_shrink_heap.
31998 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
31999 new function check_may_shrink_heap.
32001 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32003 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32006 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32008 * catgets/test-gencat.sh: Add "set -e".
32009 * elf/tst-pathopt.sh: Likewise.
32010 * grp/tst_fgetgrent.sh: Likewise.
32011 * iconvdata/run-iconv-test.sh: Likewise.
32012 * intl/tst-gettext.sh: Likewise.
32013 * intl/tst-gettext2.sh: Likewise.
32014 * intl/tst-gettext4.sh: Likewise.
32015 * intl/tst-gettext6.sh: Likewise.
32016 * intl/tst-translit.sh: Likewise.
32017 * io/ftwtest-sh: Likewise.
32018 * libio/test-freopen.sh: Likewise.
32019 * malloc/tst-mtrace.sh: Likewise.
32020 * posix/globtest.sh: Likewise.
32021 * posix/tst-getconf.sh: Likewise.
32022 * posix/wordexp-tst.sh: Likewise.
32023 * stdio-common/tst-printf.sh: Likewise.
32024 * stdio-common/tst-unbputc.sh: Likewise.
32025 * stdlib/tst-fmtmsg.sh: Likewise.
32026 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32027 * catgets/Makefile: Do not specify -e option when running
32028 testsuite shell scripts.
32029 * elf/Makefile: Likewise.
32030 * grp/Makefile: Likewise.
32031 * iconvdata/Makefile: Likewise.
32032 * intl/Makefile: Likewise.
32033 * io/Makefile: Likewise.
32034 * libio/Makefile: Likewise.
32035 * malloc/Makefile: Likewise.
32036 * posix/Makefile: Likewise.
32037 * stdio-common/Makefile: Likewise.
32038 * stdlib/Makefile: Likewise.
32039 * sysdeps/x86_64/Makefile: Likewise.
32041 * io/ftwtest-sh: Add copyright header.
32042 * posix/globtest.sh: Likewise.
32043 * posix/tst-getconf.sh: Likewise.
32044 * posix/wordexp-tst.sh: Likewise.
32045 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32047 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32050 * Makeconfig (+link): Defined as $(+link-static) if
32051 $(build-shared) isn't yes.
32052 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32054 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32056 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32059 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32060 new chunk size with MALLOC_ALIGN_MASK.
32062 2012-09-24 Joseph Myers <joseph@codesourcery.com>
32065 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32067 (__printf_fphex): Determine rounding using get_rounding_mode and
32069 * stdio-common/tst-printf-round.c (struct hex_test): New
32071 (hex_tests): New variable.
32072 (test_hex_in_one_mode): New function.
32073 (do_test): Also run tests for hex float output.
32075 2012-09-21 Joseph Myers <joseph@codesourcery.com>
32077 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32078 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32079 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32080 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32081 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32082 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32083 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32084 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32086 2012-09-20 Joseph Myers <joseph@codesourcery.com>
32088 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32089 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32090 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32091 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32093 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32096 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32098 * elf/tst-rtld-load-self.sh: New test.
32099 * elf/Makefile: Run it.
32101 2012-09-18 Joseph Myers <joseph@codesourcery.com>
32103 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32104 (tst-writev-ENV): Remove.
32105 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32107 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32109 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32111 2012-09-17 Joseph Myers <joseph@codesourcery.com>
32113 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32115 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32117 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32118 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32119 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32122 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32125 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32126 * config.make.in (have-cpp-asm-debuginfo): Removed.
32127 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32128 * configure: Regenerated.
32130 2012-09-14 Joseph Myers <joseph@codesourcery.com>
32133 * stdio-common/printf_fp.c: Include <stdbool.h> and
32135 (___printf_fp): Determine rounding using get_rounding_mode and
32137 * stdio-common/tst-printf-round.c: New file.
32138 * stdio-common/Makefile (tests): Add tst-printf-round.
32139 (link-libm): New variable.
32140 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32142 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32145 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32146 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32148 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32151 2012-09-13 Joseph Myers <joseph@codesourcery.com>
32153 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32154 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32155 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32156 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32158 2012-09-12 Joseph Myers <joseph@codesourcery.com>
32161 * include/rounding-mode.h: New file.
32162 * sysdeps/generic/get-rounding-mode.h: Likewise.
32163 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32164 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32165 (MAX_VALUE): New macro.
32166 (MIN_VALUE): Likewise.
32167 (overflow_value): New function.
32168 (underflow_value): Likewise.
32169 (round_and_return): Use overflow_value and underflow_value to
32170 determine return values in overflow and underflow cases. Use
32171 round_away to determine rounding depending on rounding mode.
32172 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32173 determine return values in overflow and underflow cases.
32174 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32175 (struct test_results): New structure.
32176 (struct test): Use struct test_results to store expected results
32177 for all rounding modes.
32178 (TEST): Include expected results for all rounding modes.
32179 (test_in_one_mode): New function.
32180 (do_test): Use test_in_one_mode to compute and check results.
32181 Check results for all rounding modes.
32182 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32185 2012-12-09 Allan McRae <allan@archlinux.org>
32187 * sysdeps/i386/fpu/libm-test-ulps: Update
32189 2012-09-11 Joseph Myers <joseph@codesourcery.com>
32191 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32192 (_G_int32_t): Likewise.
32193 (_G_uint16_t): Likewise.
32194 (_G_uint32_t): Likewise.
32195 (_G_HAVE_BOOL): Likewise.
32196 (_G_HAVE_ATEXIT): Likewise.
32197 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32198 (_G_HAVE_IO_FILE_OPEN): Likewise.
32199 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32200 (_G_int32_t): Likewise.
32201 (_G_uint16_t): Likewise.
32202 (_G_uint32_t): Likewise.
32203 (_G_HAVE_BOOL): Likewise.
32204 (_G_HAVE_ATEXIT): Likewise.
32205 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32206 (_G_HAVE_IO_FILE_OPEN): Likewise.
32207 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32208 (_G_int32_t): Likewise.
32209 (_G_uint16_t): Likewise.
32210 (_G_uint32_t): Likewise.
32211 (_G_HAVE_BOOL): Likewise.
32212 (_G_HAVE_ATEXIT): Likewise.
32213 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32214 (_G_HAVE_IO_FILE_OPEN): Likewise.
32216 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32218 * csu/libc-tls.c: Update copyright years.
32220 2012-09-10 Joseph Myers <joseph@codesourcery.com>
32222 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32223 [!_G_USING_THUNKS]: Remove conditional code.
32224 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32225 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32227 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32228 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32229 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32230 (_G_VTABLE_LABEL_PREFIX): Likewise.
32231 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32232 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32233 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32234 (_G_VTABLE_LABEL_PREFIX): Likewise.
32235 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32236 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32237 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32238 (_G_VTABLE_LABEL_PREFIX): Likewise.
32239 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32241 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32243 * libio/Makefile: Include ../Makeconfig before tests.
32244 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32245 only if $(build-shared) is yes.
32247 * iconv/gconv_db.c: Update copyright years.
32249 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32251 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32252 unwind info if defined PIC. Fix special cases description.
32253 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32255 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32257 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32259 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32261 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32263 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32266 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32267 (LDLIBS-tst-chk4): This.
32268 (LDFLAGS-tst-chk5): Renamed to ...
32269 (LDLIBS-tst-chk5): This.
32270 (LDFLAGS-tst-chk6): Renamed to ...
32271 (LDLIBS-tst-chk6): This.
32272 (LDFLAGS-tst-lfschk4): Renamed to ...
32273 (LDLIBS-tst-lfschk4): This.
32274 (LDFLAGS-tst-lfschk5): Renamed to ...
32275 (LDLIBS-tst-lfschk5): This.
32276 (LDFLAGS-tst-lfschk6): Renamed to ...
32277 (LDLIBS-tst-lfschk6): This.
32279 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32280 on $(common-objpfx)soversions.mk.
32282 2012-09-07 Joseph Myers <joseph@codesourcery.com>
32285 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32288 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32290 * malloc/arena.c (arena_get_retry): New function that gets
32291 another arena for the caller to try its request on.
32292 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32293 current arena cannot fulfill the request.
32294 (__libc_memalign): Likewise.
32295 (__libc_memalign): Likewise.
32296 (__libc_pvalloc): Likewise.
32297 (__libc_calloc): Likewise.
32299 2012-09-05 John Tobey <john.tobey@gmail.com>
32302 * manual/arith.texi (Operations on Complex): Fix description
32303 of carg branch cut.
32305 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32308 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32312 * manual/memory.texi (Memory): Make order of menu items match
32315 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32317 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32318 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32319 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32321 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32323 * csu/libc-tls.c (static_dtv): Renamed to ...
32324 (_dl_static_dtv): This. Make it global.
32325 (_dl_initial_dtv): Removed.
32326 (__libc_setup_tls): Updated.
32327 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32328 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32331 2012-09-06 Petr Machata <pmachata@redhat.com>
32333 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32334 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32335 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32336 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32338 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32341 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32342 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32345 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32348 * Makeconfig (link-static-before-libc): Replace $(+prector)
32350 (link-static-after-libc): Replace $(+postctor) with
32352 (link-bounded): Replace $(+prector)/$(+postctor) with
32353 $(+prectorT)/$(+postctorT).
32354 (+prectorT): New macro.
32355 (+postctorT): Likewise.
32357 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32359 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32360 (round_str): Handle values above the maximum for IBM long double
32362 * stdlib/tst-strtod-round.c (tests): Regenerated.
32364 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32366 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32368 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32369 zarch_nohighgprs around the zarch optimized routines.
32370 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32371 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32372 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32375 2012-09-05 David S. Miller <davem@davemloft.net>
32377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32379 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32380 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32381 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32382 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32385 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32387 * malloc/arena.c: Fold copyright years.
32388 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32390 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32392 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32394 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32396 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32398 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32400 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32401 change internal state upon failure.
32403 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32405 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32406 * malloc/memusage.c (mmap): Likewise.
32407 (mmap64, mremap): Likewise. Adjust name in comment.
32409 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32411 * libio/fileops.c: Fix typos in comments.
32412 * libio/oldfileops.c: Likewise.
32413 * libio/wfileops.c: Likewise.
32415 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32418 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32419 (tst-malloc-usable-ENV): Set environment for test case.
32420 * malloc/hooks.c (malloc_check_get_size): New function to get
32422 * malloc/malloc.c (musable): Use malloc_check_get_size.
32423 * malloc/tst-malloc-usable.c: New test case.
32425 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32427 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32429 2012-09-05 Allan McRae <allan@archlinux.org>
32432 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32433 determine header location.
32434 * configure: Regenerated.
32436 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32438 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32440 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32441 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32443 (test): Regenerate.
32445 2012-09-04 David S. Miller <davem@davemloft.net>
32447 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32448 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32449 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32451 2012-09-04 Florian Weimer <fweimer@redhat.com>
32453 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32456 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32458 2012-09-04 Joseph Myers <joseph@codesourcery.com>
32461 * libio/iogetdelim.c: Include <limits.h>.
32462 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32463 + len + 1 would overflow.
32465 2012-09-03 Andreas Jaeger <aj@suse.de>
32467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32468 * sysdeps/i386/fpu/libm-test-ulps: Update.
32470 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32472 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32473 Add s_sinf-sse2, s_conf-sse2.
32475 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32476 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32477 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32478 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32480 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32481 for using routine as __sinf_ia32.
32482 Use macro for function declaration and weak_alias.
32483 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32484 for using routine as __cosf_ia32.
32485 Use macro for function declaration and weak_alias.
32487 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32488 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32490 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32491 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32494 * math/libm-test.inc (cos_test): Add more test cases.
32495 (sin_test): Likewise.
32496 (sincos_test): Likewise.
32498 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32500 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32501 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32503 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32505 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32508 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32509 first element of the GOT.
32510 (elf_machine_load_address): Return the difference between
32511 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32513 2012-09-01 Allan McRae <allan@archlinux.org>
32516 * configure.in (AWK): Require gawk version 3.0 or later.
32517 * configure: Regenerated.
32519 2012-09-01 Joseph Myers <joseph@codesourcery.com>
32521 * sysdeps/unix/sysv/linux/kernel-features.h
32522 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32523 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32524 [__NR_clock_getres]: Make code unconditional.
32525 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32526 (clock_getcpuclockid): Remove code left unreachable by removal of
32528 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32529 code unconditional.
32530 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32531 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32532 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32533 Make code unconditional.
32534 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32535 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32536 * sysdeps/unix/sysv/linux/clock_settime.c
32537 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32539 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32540 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32542 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32545 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32546 scripts/test-installation.pl.
32548 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32549 and $ld_so_version if it is set.
32551 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32554 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32555 failure if reading from procfs failed.
32556 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32558 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32560 * sysdeps/unix/sysv/linux/kernel-features.h
32561 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32562 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32563 Remove conditional code.
32564 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32565 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32566 Remove conditional code.
32567 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32568 * sysdeps/unix/sysv/linux/i386/fxstat.c
32569 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32570 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32571 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32572 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32573 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32574 * sysdeps/unix/sysv/linux/i386/lxstat.c
32575 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32576 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32577 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32578 Remove conditional code.
32579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32580 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32581 Remove conditional code.
32582 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32583 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32584 <kernel-features.h>.
32585 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32587 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32588 Remove conditional code.
32589 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32590 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32591 Remove conditional.
32593 2012-08-27 Mike Frysinger <vapier@gentoo.org>
32596 * NEWS: Add fixed bug number.
32598 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32601 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32602 underflowing exponent in case of negative sign.
32603 * stdlib/tst-strtod-round-data: Add more tests.
32604 * stdlib/tst-strtod-round.c (tests): Regenerated.
32607 * stdlib/strtod_l.c (NDIG): Remove.
32608 (HEXNDIG): Likewise.
32609 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32610 smallest representable value.
32611 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32612 lie within an exact representation of 1/2 ulp of the result.
32613 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32615 (TENS_P9_IDX): Define unconditionally.
32616 (TENS_P9_SIZE): Likewise.
32617 (TENS_P10_IDX): Likewise.
32618 (TENS_P10_SIZE): Likewise.
32619 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32620 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32621 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32622 entries for 10^2^13 and 10^2^14.
32623 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32624 (TENS_P13_IDX): Define.
32625 (TENS_P13_SIZE): Likewise.
32626 (TENS_P14_IDX): Likewise.
32627 (TENS_P14_SIZE): Likewise.
32628 (_fpioconst_pow10): Change array size to
32629 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32631 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32632 1024]: Add entries for 10^2^13 and 10^2^14.
32633 [LAST_POW10 > _LAST_POW10]: Remove #error.
32634 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32635 (_fpioconst_pow10): Change array size to
32636 FPIOCONST_POW10_ARRAY_SIZE.
32637 * stdlib/gen-fpioconst.c: New file.
32638 * stdlib/gen-tst-strtod-round.c: Likewise.
32639 * stdlib/tst-strtod-round-data: Likewise.
32640 * stdlib/tst-strtod-round.c: Likewise.
32641 * stdlib/Makefile (tests): Add tst-strtod-round.
32644 * stdlib/strtod_l.c: Include <stdint.h>.
32645 (NDEBUG): Do not define.
32646 (round_and_return): Change EXPONENT parameter to type intmax_t.
32647 Rearrange calculations to avoid internal overflow possibilities.
32648 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32649 Rearrange calculations to avoid internal overflow possibilities.
32650 Assert that number fits inside MPNSIZE limbs.
32651 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32652 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32653 calculations and add assertions to avoid internal overflow
32654 possibilities. Add casts to avoid signed/unsigned operations.
32655 * stdlib/tst-strtod-overflow.c: New file.
32656 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32658 2012-08-25 Marek Polacek <polacek@redhat.com>
32660 * time/time.h: Fix some typos in comments.
32662 2012-08-23 Roland McGrath <roland@hack.frob.com>
32664 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32665 * posix/tst-rfc3484-2.c: Likewise.
32666 * posix/tst-rfc3484-3.c: Likewise.
32668 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32670 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32671 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32673 2012-08-23 Joseph Myers <joseph@codesourcery.com>
32675 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32676 #include of fxstatat64.c.
32678 2012-08-22 Roland McGrath <roland@hack.frob.com>
32680 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32681 * shadow/getspent_r.c: Likewise.
32682 * shadow/getspnam.c: Likewise.
32683 * shadow/getspnam_r.c: Likewise.
32684 * gshadow/getsgent.c: Likewise.
32685 * gshadow/getsgent_r.c: Likewise.
32686 * gshadow/getsgnam.c: Likewise.
32687 * gshadow/getsgnam_r.c: Likewise.
32688 * inet/getnetbyad.c: Likewise.
32689 * inet/getnetbyad_r.c: Likewise.
32690 * inet/getnetbynm.c: Likewise.
32691 * inet/getnetbynm_r.c: Likewise.
32692 * inet/getnetent.c: Likewise.
32693 * inet/getnetent_r.c: Likewise.
32694 * inet/getproto.c: Likewise.
32695 * inet/getproto_r.c: Likewise.
32696 * inet/getprtent.c: Likewise.
32697 * inet/getprtent_r.c: Likewise.
32698 * inet/getprtname.c: Likewise.
32699 * inet/getprtname_r.c: Likewise.
32700 * inet/getrpcbyname.c: Likewise.
32701 * inet/getrpcbyname_r.c: Likewise.
32702 * inet/getrpcbynumber.c: Likewise.
32703 * inet/getrpcbynumber_r.c: Likewise.
32704 * inet/getrpcent.c: Likewise.
32705 * inet/getrpcent_r.c: Likewise.
32706 * inet/getaliasent.c: Likewise.
32707 * inet/getaliasent_r.c: Likewise.
32708 * inet/getaliasname.c: Likewise.
32709 * inet/getaliasname_r.c: Likewise.
32710 * nscd/getgrgid_r.c: Likewise.
32711 * nscd/getgrnam_r.c: Likewise.
32712 * nscd/gethstbyad_r.c: Likewise.
32713 * nscd/gethstbynm3_r.c: Likewise.
32714 * nscd/getpwnam_r.c: Likewise.
32715 * nscd/getpwuid_r.c: Likewise.
32716 * nscd/getsrvbynm_r.c: Likewise.
32717 * nscd/getsrvbypt_r.c: Likewise.
32718 * nscd/gai.c: Likewise.
32720 * configure.in (build_nscd): New substituted variable, set
32721 by --disable-build-nscd and defaults to $use_nscd.
32722 * configure: Regenerated.
32723 * config.make.in (build-nscd): New substituted variable.
32724 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32725 Change conditional to require [$(build-nscd) = yes] as well.
32726 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32729 * configure.in (use_nscd): New substituted variable, set by
32730 --disable-nscd. If enabled, define USE_NSCD.
32731 * configure: Regenerated.
32732 * config.h.in: Add USE_NSCD.
32733 * config.make.in (use-nscd): New substituted variable.
32734 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32735 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32736 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32737 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32738 (CFLAGS-getgrnam_r.c): Likewise.
32739 (CFLAGS-initgroups.c): Likewise.
32740 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32741 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32743 * inet/getnetgrent_r.c
32744 (nscd_setnetgrent): New function, broken out of ...
32745 (setnetgrent): ... here. Call it.
32746 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32747 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32748 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32749 * nscd/Makefile (routines, aux): Move definitions after include of
32750 Makeconfig. Conditionalize on [$(use-nscd) != no].
32751 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32752 Conditionalize on [USE_NSCD].
32753 (is_nscd, nscd_init_cb): Likewise.
32754 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32755 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32756 * nss/nss_db/db-init.c: Likewise.
32757 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32759 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32760 (make_request): Use it.
32761 (cache_valid_p): New function.
32762 (__check_pf): Use it.
32763 * NEWS: Add item for --disable-nscd.
32765 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32767 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32768 to support sed >= 4.2.1-20-ga9bf076.
32769 * configure: Regenerated.
32771 2012-08-22 Roland McGrath <roland@hack.frob.com>
32773 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32774 Conditionalize whole body on [IREL].
32776 2012-08-22 Jeff Law <law@redhat.com>
32779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32780 if the family is PF_UNSPEC.
32782 2012-08-22 Mike Frysinger <vapier@gentoo.org>
32784 * Makerules (lib-version): Rename from V.
32785 (install-lib-nosubdir): Change V to lib-version.
32787 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32790 * powerpc32/power6/wcschr.c: New file.
32791 * powerpc32/power6/wcscpy.c: New file.
32792 * powerpc32/power6/wcsrchr.c: New file.
32793 * powerpc64/power6/wcschr.c: New file.
32794 * powerpc64/power6/wcscpy.c: New file.
32795 * powerpc64/power6/wcsrchr.c: New file.
32797 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32799 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32800 (two_way_short_needle): Use it.
32801 * string/strstr.c (AVAILABLE1_USES_J): Define.
32802 * string/strcasestr.c: Likewise.
32804 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32806 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32809 * NEWS: Add an entry.
32810 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32811 define their defaults.
32812 (two_way_short_needle): Detect end-of-string on-the-fly.
32813 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32814 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32815 * string/bug-strcasestr1.c: New test.
32816 * string/Makefile: Run it.
32818 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32821 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32822 the first character.
32824 2012-08-21 Roland McGrath <roland@hack.frob.com>
32826 * csu/elf-init.c (__libc_csu_irel): Function removed.
32827 * csu/libc-start.c (apply_irel): New function.
32828 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32830 2012-08-21 Joseph Myers <joseph@codesourcery.com>
32832 * sysdeps/unix/sysv/linux/kernel-features.h
32833 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32834 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32835 <kernel-features.h>.
32836 [__NR_fadvise64_64]: Make code unconditional.
32837 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32838 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32839 !__NR_fadvise64_64)]: Likewise.
32840 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32841 !__NR_fadvise64_64))]: Likewise.
32842 [__NR_fadvise64]: Make code unconditional.
32843 [!__NR_fadvise64]: Remove conditional code.
32844 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32845 <kernel-features.h>.
32846 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32848 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32851 not include <kernel-features.h>.
32852 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32854 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32856 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32857 include <kernel-features.h>.
32858 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32860 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32863 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32865 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32866 slight instruction rearrangements per scrollpipe analysis.
32867 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32869 2012-08-20 Roland McGrath <roland@hack.frob.com>
32871 * manual/syslog.texi (syslog; vsyslog, closelog):
32872 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32873 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32875 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32876 DSOCAPS to match condition on defining it.
32878 2012-08-20 Joseph Myers <joseph@codesourcery.com>
32880 * sysdeps/unix/sysv/linux/kernel-features.h
32881 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32883 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32884 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32886 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32887 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32889 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32890 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32892 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32893 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32895 * sysdeps/unix/sysv/linux/kernel-features.h
32896 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32897 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32899 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32900 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32901 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32902 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32903 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32904 Make code unconditional.
32905 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32906 (__mmap64) [!__NR_mmap2]: Likewise.
32907 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32908 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32909 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32910 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32911 [__NR_mmap2]: Make code unconditional.
32912 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32913 (__mmap64) [!__NR_mmap2]: Likewise.
32915 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32917 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32919 2012-08-18 Andreas Jaeger <aj@suse.de>
32921 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32923 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32925 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32926 * include/unistd.h (__have_sock_cloexec): Likewise.
32927 (__have_pipe2): Likewise.
32928 (__have_dup3): Likewise.
32930 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32933 * include/unistd.h (__have_pipe2): Change define into an extern int.
32934 (__have_dup3): Likewise.
32935 * socket/have_sock_cloexec.c: Include fcntl.h.
32936 (__have_pipe2): New variable.
32937 (__have_dup3): Likewise.
32939 2012-08-17 Mike Frysinger <vapier@gentoo.org>
32941 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32943 2012-08-17 Marek Polacek <polacek@redhat.com>
32945 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32946 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32948 2012-08-17 Roland McGrath <roland@hack.frob.com>
32950 * configure.in: Add AC_SUBST for sysheaders.
32951 * configure: Regenerated.
32952 * config.make.in (sysheaders): New substituted variable.
32954 * sysdeps/unix/mkfifo.c: Moved ...
32955 * sysdeps/posix/mkfifo.c: ... here.
32956 * sysdeps/unix/mkfifoat.c: Moved ...
32957 * sysdeps/posix/mkfifoat.c: ... here.
32959 * sysdeps/unix/utime.c: Moved ...
32960 * sysdeps/posix/utime.c: ... here.
32962 * sysdeps/unix/time.c: Moved ...
32963 * sysdeps/posix/time.c: ... here.
32964 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32965 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32967 * sysdeps/unix/nice.c: Moved ...
32968 * sysdeps/posix/nice.c: ... here.
32970 * sysdeps/unix/alarm.c: Moved ...
32971 * sysdeps/posix/alarm.c: ... here.
32973 * intl/Makefile ($(codeset_mo)): Depend on the input file.
32975 2012-08-17 Jeff Law <law@redhat.com>
32977 * intl/Makefile (codeset_mo): New variable.
32978 ($(codeset_mo)): New target.
32979 (tst-codeset.out): Depend on that. Remove explicit rule.
32980 (tst-gettext3.out, tst-gettext5.out): Likewise.
32981 (LOCPATH-ENV, tst-codeset-ENV): New variables.
32982 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32983 * intl/tst-codeset.sh: Remove.
32984 * intl/tst-gettext3.sh: Likewise.
32985 * intl/tst-gettext5.sh: Likewise.
32987 2012-08-17 Roland McGrath <roland@hack.frob.com>
32989 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
32990 * sysdeps/unix/syscalls.list: ... here.
32992 * sysdeps/posix/getaddrinfo.c
32993 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32994 (gaiconf_init, gaiconf_reload): Use them.
32995 [!_STATBUF_ST_NSEC]
32996 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32997 Define using time_t rather than struct timespec.
32999 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33000 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33002 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33004 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33005 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33008 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33009 __libc_cleanup_push argument.
33011 * bits/param.h: New file.
33012 * misc/sys/param.h: New file.
33013 * include/sys/param.h: New file.
33014 * misc/Makefile (headers): Add bits/param.h.
33015 * sysdeps/generic/sys/param.h: File removed.
33016 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33017 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33018 * sysdeps/mach/hurd/bits/param.h: New file.
33019 * sysdeps/mach/hurd/sys/param.h: File removed.
33021 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33024 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33026 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33027 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33030 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33031 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33032 rather than -D_IO_MTSAFE_IO conditionally.
33033 * stdio-common/Makefile (CPPFLAGS): Likewise.
33034 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33035 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33036 Use $(libio-mtsafe).
33037 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33038 of -D_IO_MTSAFE_IO.
33039 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33040 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33041 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33042 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33043 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33044 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33045 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33046 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33047 (CFLAGS-fread_u_chk.c): Likewise.
33048 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33049 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33050 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33051 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33052 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33053 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33054 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33055 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33056 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33058 * libio/Makefile: Test [$(libc-reentrant) = yes]
33059 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33062 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33063 * sysdeps/pthread/configure: File removed.
33064 * sysdeps/pthread/Makeconfig: New file.
33065 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33066 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33068 2012-08-16 Gary Benson <gbenson@redhat.com>
33070 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33071 unmapping the first object in a namespace.
33073 2012-08-16 Roland McGrath <roland@hack.frob.com>
33075 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33076 (__internal_setnetgrent): ... this. Add internal_function to
33077 definition. Add libc_hidden_def.
33078 (setnetgrent): Update caller.
33079 (internal_endnetgrent): Renamed to ...
33080 (__internal_endnetgrent): ... this. Add internal_function to
33081 definition. Add libc_hidden_def.
33082 (endnetgrent): Update caller.
33083 (internal_getnetgrent_r): Renamed to ...
33084 (__internal_getnetgrent_r): ... this. Add internal_function to
33085 definition. Add libc_hidden_def.
33086 (__getnetgrent_r): Update caller.
33087 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33089 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33091 * stdlib/longlong.h: Update from GCC.
33093 2012-08-16 Roland McGrath <roland@hack.frob.com>
33095 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33096 on _QL, which is set by umul_ppmm but never used.
33097 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33098 variables, which are set by GMP macros but never used.
33099 * stdio-common/_itowa.c (_itowa): Likewise.
33100 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33101 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33103 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33105 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33106 struct La_sh_regs is not constant.
33107 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33108 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33109 and struct La_sparc64_regs are not constant.
33111 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33113 * sysdeps/unix/sysv/linux/kernel-features.h
33114 (__ASSUME_POSIX_TIMERS): Remove.
33115 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33116 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33117 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33118 Make code unconditional.
33119 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33120 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33121 Make code unconditional.
33122 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33123 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33124 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33125 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33126 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33127 Make code unconditional.
33128 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33129 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33130 (__libc_missing_posix_timers): Remove.
33132 2012-08-15 Roland McGrath <roland@hack.frob.com>
33134 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33135 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33137 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33139 * elf/dl-sym.c: Include <stdlib.h>.
33141 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33142 constants, which avoids warnings in 32-bit builds.
33144 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33145 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33147 * misc/lseek.c: File moved to ...
33148 * io/lseek.c: ... here.
33150 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33152 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33153 shifting LEN more than 31 bits at once.
33155 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33158 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33159 segmentation fault for a case of two empty input strings.
33160 * string/test-strncasecmp.c (check1): Renamed to...
33161 (bz12205): ...this.
33162 (bz14195): Add new testcase for two empty input strings and N > 0.
33163 (test_main): Call new testcase, adapt for renamed function.
33165 2012-08-15 Andreas Jaeger <aj@suse.de>
33168 * crypt/md5test2.c: New test, based on test supplied by Serge
33169 Belyshev <belyshev@depni.sinp.msu.ru>.
33170 * crypt/Makefile (xtests): Add md5test-giant..
33171 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33173 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33176 * crypt/md5.c (md5_process_block): Don't assume the buffer
33177 length is less than 2**32.
33178 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33179 length is less than 2**64.
33181 2012-08-15 Roland McGrath <roland@hack.frob.com>
33183 * string/str-two-way.h: Include <sys/param.h>.
33184 (MAX): Macro removed.
33186 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33187 Move #define and #undef of memmove to just before and after
33188 including <string.h>.
33190 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33191 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33192 and after including <string.h>. Move declarations of
33193 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33194 to before #include "string/memmove.c".
33196 * include/dirent.h: Declare __getdirentries.
33198 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33199 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33201 2012-08-14 Mike Frysinger <vapier@gentoo.org>
33203 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33204 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33205 * sysdeps/i386/configure: Regenerated.
33206 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33207 STABS_CURRENT_FILE, and STABS_FUN.
33208 (END): Remove call to STABS_FUN_END.
33209 (STABS_CURRENT_FILE1): Delete.
33210 (STABS_CURRENT_FILE): Likewise.
33211 (STABS_FUN): Likewise.
33212 (STABS_FUN_END): Likewise.
33213 (STABS_FUN2): Likewise.
33214 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33215 * sysdeps/x86_64/configure: Regenerated.
33217 2012-08-14 Roland McGrath <roland@hack.frob.com>
33219 * elf/dl-open.c: Include <atomic.h>.
33220 * elf/dl-lookup.c: Likewise.
33222 2012-08-14 Joseph Myers <joseph@codesourcery.com>
33224 * sysdeps/unix/sysv/linux/kernel-features.h
33225 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33226 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33228 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33230 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33231 condition on __ASSUME_CLONE_THREAD_FLAGS.
33233 2012-08-14 Andreas Jaeger <aj@suse.de>
33235 * sysdeps/i386/fpu/libm-test-ulps: Update.
33237 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33239 * include/atomic.h (atomic_exchange_and_add): Split into ...
33240 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33243 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33247 2012-08-13 Jeff Law <law@redhat.com>
33249 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33250 null byte in the output string.
33252 2012-08-10 Joseph Myers <joseph@codesourcery.com>
33254 * sysdeps/unix/sysv/linux/kernel-features.h
33255 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33256 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33257 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33258 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33259 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33260 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33261 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33263 2012-08-09 Jeff Law <law@redhat.com>
33266 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33267 When avoid_arena is set, don't retry in the that arena. Pick the
33268 next one, whatever it might be.
33269 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33270 (arena_lock): Pass in new parameter to arena_get2.
33271 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33273 (__libc_malloc): Unify retrying after main arena failure with
33274 __libc_memalign version.
33275 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33277 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33280 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33281 to __redirect_strstr.
33282 (__strstr_sse42): Use typeof __redirect_strstr.
33283 (__strstr_ia32): Likewise.
33284 (__libc_strstr): New prototype.
33285 (strstr): Renamed to ...
33286 (__libc_strstr): This.
33287 (strstr): New strong alias of __libc_strstr.
33288 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33289 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33292 (__libc_time): New prototype.
33293 (time_ifunc): Replace time with __libc_time.
33294 (time): New strong alias and hidden definition of __libc_time.
33295 (__GI_time): Remove strong alias.
33296 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33297 Include <stddef.h>.
33298 (memmove): Redefined to __redirect_memmove.
33299 (__memmove_sse2): Use typeof __redirect_memmove.
33300 (__memmove_ssse3): Likewise.
33301 (__memmove_ssse3_back): Likewise.
33302 (__libc_memmove): New prototype.
33303 (memmove): Renamed to ...
33304 (__libc_memmove): This.
33305 (memmove): New strong alias of __libc_memmove.
33307 2012-08-08 Mark Salter <msalter@redhat.com>
33310 (R_MN10300_TLS_GD): Define.
33311 (R_MN10300_TLS_LD): Likewise.
33312 (R_MN10300_TLS_LDO): Likewise.
33313 (R_MN10300_TLS_GOTIE): Likewise.
33314 (R_MN10300_TLS_IE): Likewise.
33315 (R_MN10300_TLS_LE): Likewise.
33316 (R_MN10300_TLS_DTPMOD): Likewise.
33317 (R_MN10300_TLS_DTPOFF): Likewise.
33318 (R_MN10300_TLS_TPOFF): Likewise.
33319 (R_MN10300_SYM_DIFF): Likewise.
33320 (R_MN10300_ALIGN): Likewise.
33321 (R_MN10300_NUM): Update.
33323 2012-08-08 Joseph Myers <joseph@codesourcery.com>
33325 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33328 2012-08-08 Roland McGrath <roland@hack.frob.com>
33330 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33332 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33333 sysdeps/unix -> sysdeps/posix move.
33334 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33336 2012-08-07 Allan McRae <allan@archlinux.org>
33339 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33340 (SUNOS_CPP): Likewise.
33341 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33343 (open_input): Call CPP using execvp.
33345 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33347 * sysdeps/unix/sysv/linux/kernel-features.h
33348 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33349 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33350 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33351 (__ASSUME_WAITID_SYSCALL): Likewise.
33352 * sysdeps/unix/sysv/linux/dl-execstack.c
33353 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33354 code unconditional.
33355 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33357 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33358 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33359 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33361 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33363 [__ASSUME_WAITID_SYSCALL]: Likewise.
33364 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33366 2012-08-07 Roland McGrath <roland@hack.frob.com>
33368 * sysdeps/unix/closedir.c: Renamed to ...
33369 * sysdeps/posix/closedir.c: ... here.
33370 * sysdeps/unix/dirfd.c: Renamed to ...
33371 * sysdeps/posix/dirfd.c: ... here.
33372 * sysdeps/unix/dirstream.h: Renamed to ...
33373 * sysdeps/posix/dirstream.h: ... here.
33374 * sysdeps/unix/fdopendir.c: Renamed to ...
33375 * sysdeps/posix/fdopendir.c: ... here.
33376 * sysdeps/unix/opendir.c: Renamed to ...
33377 * sysdeps/posix/opendir.c: ... here.
33378 * sysdeps/unix/readdir.c: Renamed to ...
33379 * sysdeps/posix/readdir.c: ... here.
33380 * sysdeps/unix/readdir_r.c: Renamed to ...
33381 * sysdeps/posix/readdir_r.c: ... here.
33382 * sysdeps/unix/rewinddir.c: Renamed to ...
33383 * sysdeps/posix/rewinddir.c: ... here.
33384 * sysdeps/unix/seekdir.c: Renamed to ...
33385 * sysdeps/posix/seekdir.c: ... here.
33386 * sysdeps/unix/telldir.c: Renamed to ...
33387 * sysdeps/posix/telldir.c: ... here.
33388 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33389 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33390 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33391 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33393 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33394 * bits/fcntl.h: ... here.
33396 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33398 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33399 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33400 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33401 (struct flock): Move l_start, l_len to the beginning.
33402 Use __pid_t for l_pid.
33403 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33404 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33405 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33406 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33407 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33408 [__USE_LARGEFILE64] (struct flock64): New type.
33409 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33411 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33412 * bits/dirent.h: ... here.
33414 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33415 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33417 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33419 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33420 Change from 2.6.0 to 2.6.16.
33421 * sysdeps/unix/sysv/linux/configure: Regenerated.
33422 * sysdeps/unix/sysv/linux/kernel-features.h
33423 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33424 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33426 (__ASSUME_UTIMES): Likewise.
33427 (__ASSUME_CLONE_STOPPED): Remove.
33428 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33429 architectures, not kernel version.
33430 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33431 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33432 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33433 (__ASSUME_WAITID_SYSCALL): Likewise.
33434 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33435 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33436 * README: State 2.6.16 as minimum Linux kernel version. Do not
33437 refer to older versions.
33439 2012-08-06 Roland McGrath <roland@hack.frob.com>
33441 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33442 Define alphasort64 as an alias.
33443 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33444 Define versionsort64 as an alias.
33445 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33446 Define scandir64 as an alias.
33447 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33448 Define scandirat64 as an alias.
33449 * dirent/alphasort64.c (alphasort64):
33450 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33451 * dirent/versionsort64.c: Likewise.
33452 * dirent/scandir64.c: Likewise.
33453 * dirent/scandirat64.c: Likewise.
33454 * sysdeps/wordsize-64/alphasort.c: File removed.
33455 * sysdeps/wordsize-64/alphasort64.c: File removed.
33456 * sysdeps/wordsize-64/scandir.c: File removed.
33457 * sysdeps/wordsize-64/scandir64.c: File removed.
33458 * sysdeps/wordsize-64/scandirat.c: File removed.
33459 * sysdeps/wordsize-64/scandirat64.c: File removed.
33460 * sysdeps/wordsize-64/versionsort.c: File removed.
33461 * sysdeps/wordsize-64/versionsort64.c: File removed.
33462 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33463 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33464 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33465 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33466 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33467 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33468 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33469 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33471 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33473 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33474 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33475 [defined __arch64__ || defined __sparcv9]
33476 (__INO_T_MATCHES_INO64_T): New macro.
33477 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33478 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33479 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33480 * sysdeps/unix/sysv/linux/bits/dirent.h
33481 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33482 (_DIRENT_MATCHES_DIRENT64): New macro.
33484 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33485 Define lockf64 as an alias.
33486 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33487 Define fseeko64 as an alias.
33488 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33489 Define ftello64 as an alias.
33490 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33491 Define _IO_fgetpos64 and fgetpos64 as aliases.
33492 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33493 Define _IO_fsetpos64 and fsetpos64 as aliases.
33494 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33495 Conditionalize body on this.
33496 * libio/fseeko64.c: Likewise.
33497 * libio/ftello64.c: Likewise.
33498 * libio/iofgetpos64.c: Likewise.
33499 * libio/iofsetpos64.c: Likewise.
33500 * sysdeps/wordsize-64/lockf.c: File removed.
33501 * sysdeps/wordsize-64/lockf64.c: File removed.
33502 * sysdeps/wordsize-64/fseeko.c: File removed.
33503 * sysdeps/wordsize-64/fseeko64.c: File removed.
33504 * sysdeps/wordsize-64/ftello.c: File removed.
33505 * sysdeps/wordsize-64/ftello64.c: File removed.
33506 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33507 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33508 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33509 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33510 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33511 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33512 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33513 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33514 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33515 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33516 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33517 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33518 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33519 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33521 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33522 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33523 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33524 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33525 [defined __arch64__ || defined __sparcv9]
33526 (__OFF_T_MATCHES_OFF64_T): New macro.
33527 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33528 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33530 (__OFF_T_MATCHES_OFF64_T): New macro.
33532 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33534 * stdlib/secure-getenv.c (__secure_getenv): Replace
33535 GLIBC_2_16 with GLIBC_2_17.
33537 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33539 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33540 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33542 2012-08-03 David S. Miller <davem@davemloft.net>
33544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33546 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33548 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33550 (__ASSUME_CORRECT_SI_PID): Likewise.
33551 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33552 (__ASSUME_TMPFS_NAME): Likewise.
33553 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33554 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33555 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33556 (HAVE_AUX_SECURE): Make definition unconditional.
33557 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33558 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33560 2012-08-03 Roland McGrath <roland@hack.frob.com>
33562 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33563 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33564 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33565 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33566 __eloop_threshold instead of SYMLOOP_MAX.
33568 * sysdeps/generic/eloop-threshold.h: New file.
33569 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33571 * elf/chroot_canon.c (chroot_canon): Likewise.
33573 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33576 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33577 Change to 2.6.0 everywhere.
33578 * sysdeps/unix/sysv/linux/configure: Regenerated.
33579 * sysdeps/unix/sysv/linux/kernel-features.h
33580 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33581 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33583 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33584 (__ASSUME_FUTEX_REQUEUE): Remove.
33585 (__ASSUME_STATFS64): Define unconditionally.
33586 (__ASSUME_AT_SECURE): Likewise.
33587 (__ASSUME_CORRECT_SI_PID): Likewise.
33588 (__ASSUME_TGKILL): Define without depending on kernel version for
33590 (__ASSUME_UTIMES): Likewise.
33591 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33593 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33594 (__ASSUME_TMPFS_NAME): Likewise.
33595 * README: Update reference to Linux kernel versions.
33597 2012-08-02 Marek Polacek <polacek@redhat.com>
33600 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33601 libc_cv_asm_type_prefix with %.
33602 * configure: Regenerated.
33603 * include/libc-symbols.h: Remove comment about
33604 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33605 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33606 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33607 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33608 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33609 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33610 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33611 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33612 * elf/tst-unique2mod1.c: Likewise.
33613 * elf/tst-unique1mod2.c: Likewise.
33614 * elf/tst-unique1mod1.c: Likewise.
33615 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33616 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33617 Replace ASM_TYPE_DIRECTIVE with .type.
33618 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33619 * sysdeps/i386/sysdep.h: Likewise.
33620 * sysdeps/x86_64/sysdep.h: Likewise.
33621 * sysdeps/sh/sysdep.h: Likewise.
33622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33623 Do not define ASM_TYPE_DIRECTIVE.
33624 * sysdeps/powerpc/sysdep.h: Likewise.
33625 * sysdeps/powerpc/powerpc32/sysdep.h:
33626 Replace ASM_TYPE_DIRECTIVE with .type.
33627 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33628 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33629 * sysdeps/i386/fpu/e_powf.S: Likewise.
33630 * sysdeps/i386/fpu/e_expl.S: Likewise.
33631 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33632 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33633 * sysdeps/i386/fpu/e_pow.S: Likewise.
33634 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33635 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33636 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33637 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33638 * sysdeps/i386/fpu/e_log2.S: Likewise.
33639 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33640 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33641 * sysdeps/i386/fpu/e_powl.S: Likewise.
33642 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33643 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33644 * sysdeps/i386/fpu/e_logl.S: Likewise.
33645 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33646 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33647 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33648 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33649 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33650 * sysdeps/i386/fpu/e_log.S: Likewise.
33651 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33652 * sysdeps/i386/fpu/e_logf.S: Likewise.
33653 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33654 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33655 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33656 * sysdeps/i386/fpu/e_log10.S: Likewise.
33657 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33658 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33659 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33660 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33661 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33662 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33663 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33664 * sysdeps/i386/i686/strtok.S: Likewise.
33665 * sysdeps/i386/i386-mcount.S: Likewise.
33666 * sysdeps/i386/strtok.S: Likewise.
33667 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33668 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33669 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33670 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33671 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33672 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33673 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33674 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33675 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33676 * sysdeps/x86_64/_mcount.S: Likewise.
33677 * sysdeps/x86_64/strtok.S: Likewise.
33678 * sysdeps/sh/_mcount.S: Likewise.
33680 2012-08-01 Roland McGrath <roland@hack.frob.com>
33682 * libio/iofopen.c: Include <fcntl.h>.
33683 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33684 (_IO_fopen64, fopen64): Define as aliases.
33685 * libio/iofopen64.c: Include <fcntl.h>.
33686 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33687 Conditionalize body on this.
33688 * sysdeps/wordsize-64/iofopen.c: File removed.
33689 * sysdeps/wordsize-64/iofopen64.c: File removed.
33691 2012-08-01 Marek Polacek <polacek@redhat.com>
33693 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33694 Use dlfcn directly instead of a variable.
33695 (binfmt-subdir): Do not define.
33698 2012-08-01 Joseph Myers <joseph@codesourcery.com>
33700 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33701 Remove all definitions.
33702 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33703 <kernel-features.h>.
33704 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33705 (miss_F_GETOWN_EX): Remove all definitions.
33706 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33708 [!__ASSUME_FCNTL64]: Remove conditional code.
33709 [__ASSUME_FCNTL64]: Make code unconditional.
33710 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33711 <kernel-features.h>.
33712 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33713 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33714 (lockf64) [__NR_fcntl64]: Make code unconditional.
33715 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33717 * sysdeps/unix/sysv/linux/kernel-features.h
33718 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33719 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33720 Make code unconditional.
33721 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33722 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33724 [__NR_vfork]: Make code unconditional.
33725 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33726 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33728 [__NR_vfork]: Make code unconditional.
33729 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33730 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33732 2012-08-01 Roland McGrath <roland@hack.frob.com>
33734 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33735 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33737 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33738 Define mkstemp64 as an alias.
33739 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33740 Define mkstemps64 as an alias.
33741 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33742 Define mkostemp64 as an alias.
33743 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33744 Define mkostemps64 as an alias.
33745 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33746 Conditionalize body on this.
33747 * misc/mkostemp64.c: Likewise.
33748 * misc/mkostemps64.c: Likewise.
33749 * misc/mkstemps64.c: Likewise.
33750 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33751 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33752 * sysdeps/wordsize-64/mkostemp.c: File removed.
33753 * sysdeps/wordsize-64/mkstemp.c: File removed.
33754 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33755 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33756 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33757 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33760 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33761 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33762 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33763 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33765 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33766 compat_symbol macros from <shlib-compat.h> rather than the underlying
33767 default_symbol_version and symbol_version macros, so that DEFAULT
33768 lines in shlib-versions are respected.
33769 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33771 2012-08-01 Florian Weimer <fweimer@redhat.com>
33773 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33774 Declare with warn_unused_result.
33775 (setgid, setregid, setegid, setresgid): Likewise.
33776 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33778 * WUR-REPORT: Remove set*id functions.
33780 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33782 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33784 2012-07-31 Roland McGrath <roland@hack.frob.com>
33787 * include/sys/socket.h (__libc_accept, __libc_accept4):
33788 Add attribute_hidden.
33789 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33791 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33793 * inet/getnetgrent_r.c (setup): Likewise.
33795 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33797 2012-07-31 David S. Miller <davem@davemloft.net>
33799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33801 2012-07-31 Joseph Myers <joseph@codesourcery.com>
33804 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33805 value between 1.0 and 2.0 and smaller part has absolute value less
33807 * math/s_clog10.c (__clog10): Likewise.
33808 * math/s_clog10f.c (__clog10f): Likewise.
33809 * math/s_clog10l.c (__clog10l): Likewise.
33810 * math/s_clogf.c (__clogf): Likewise.
33811 * math/s_clogl.c (__clogl): Likewise.
33812 * math/libm-test.inc (clog_test): Add more tests.
33813 (clog10_test): Likewise.
33814 * sysdeps/i386/fpu/libm-test-ulps: Update.
33815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33817 2012-07-31 Florian Weimer <fweimer@redhat.com>
33819 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33820 Exit with zero in case no suitable GID is found, and write a
33821 message to standard error.
33823 2012-07-30 Roland McGrath <roland@hack.frob.com>
33825 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33827 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33828 (MAXPATHLEN): Removed.
33829 (NOGROUP, NODEV): New macros.
33830 (setbit, clrbit, isset, isclr): New macros.
33831 (howmany, roundup, powerof2): New macros.
33832 (DEV_BSIZE): New macro.
33834 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33835 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33837 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33838 definition on [!__NO_LONG_DOUBLE_MATH].
33840 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33841 PTR_MANGLE and PTR_DEMANGLE.
33843 * socket/accept4.c (accept4): Rename to __libc_accept4.
33844 Define accept4 as a weak alias.
33846 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33847 on [_DIRENT_HAVE_D_TYPE].
33848 * io/ftw.c (ftw_dir): Likewise.
33850 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33852 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33854 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33855 Use the BSD numbers rather than the arbitrary ones we had.
33856 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33857 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33858 (SIGXCPU, SIGXFSZ): New macros.
33861 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33862 initializer on [_LIBC_REENTRANT].
33864 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33865 definitions inside [_POSIX_MAPPED_FILES].
33867 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33869 * dirent/opendir.c: Include <fcntl.h>.
33871 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33872 (__libc_getspecific): Likewise.
33873 (__libc_key_create): Likewise.
33875 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33876 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33877 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33878 (tmpfile64): Define as alias.
33879 * sysdeps/wordsize-64/tmpfile.c: File removed.
33880 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33881 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33882 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33884 * stdio-common/vfscanf.c: Include <stdbool.h>.
33885 * nss/makedb.c: Likewise.
33886 * stdio-common/_i18n_number.h: Likewise.
33887 * argp/argp-help.c: Likewise.
33888 * posix/wordexp.c: Likewise.
33889 * sysdeps/posix/spawni.c: Likewise.
33890 * nss/nss_files/files-initgroups.c: Likewise.
33891 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33892 * nss/nss_files/files-initgroups.c: Likewise.
33893 * nss/nss_db/db-netgrp.c: Likewise.
33894 * nss/nss_db/db-initgroups.c: Likewise.
33895 * io/fchmodat.c: Include <sys/stat.h>.
33897 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33898 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33900 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33903 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33904 Add multiple inclusion protection.
33906 2012-07-27 David S. Miller <davem@davemloft.net>
33908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33910 2012-07-27 Gary Benson <gbenson@redhat.com>
33913 * elf/rtld.c: Include <stap-probe.h>.
33914 (dl_main): Added static probes "init_start" and "init_complete".
33915 * elf/dl-load.c: Include <stap-probe.h>.
33916 (lose): Take new parameter "nsid".
33917 Added static probe "map_failed".
33918 (_dl_map_object_from_fd): Pass namespace id to lose.
33919 Added static probe "map_start".
33920 (open_verify): Pass namespace id to lose.
33921 * elf/dl-open.c: Include <stap-probe.h>.
33922 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33923 and "reloc_complete".
33924 * elf/dl-close.c: Include <stap-probe.h>.
33925 (_dl_close_worker): Added static probes "unmap_start" and
33927 * elf/rtld-debugger-interface.txt: New file documenting the above.
33929 2012-07-26 Roland McGrath <roland@hack.frob.com>
33931 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33932 rather than a string variable.
33933 * sunrpc/rpc_main.c (h_output): Likewise.
33934 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33936 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
33938 * inet/check_native.c: New file.
33940 2012-07-26 Joseph Myers <joseph@codesourcery.com>
33943 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33944 if larger part has absolute value 1.0.
33945 * math/s_clog10.c (__clog10): Likewise.
33946 * math/s_clog10f.c (__clog10f): Likewise.
33947 * math/s_clog10l.c (__clog10l): Likewise.
33948 * math/s_clogf.c (__clogf): Likewise.
33949 * math/s_clogl.c (__clogl): Likewise.
33950 * math/libm-test.inc (clog_test): Add more tests.
33951 (clog10_test): Likewise.
33952 * sysdeps/i386/fpu/libm-test-ulps: Update.
33953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33955 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33956 (pltexit): Likewise.
33957 (La_regs): Likewise.
33958 (La_retval): Likewise.
33959 (int_retval): Likewise.
33960 Update #error for removed macros to refer only to definitions in
33962 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33964 (pltexit): Likewise.
33965 (La_regs): Likewise.
33966 (La_retval): Likewise.
33967 (int_retval): Likewise.
33968 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33970 (pltexit): Likewise.
33971 (La_regs): Likewise.
33972 (La_retval): Likewise.
33973 (int_retval): Likewise.
33974 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33976 (pltexit): Likewise.
33977 (La_regs): Likewise.
33978 (La_retval): Likewise.
33979 (int_retval): Likewise.
33980 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33982 (pltexit): Likewise.
33983 (La_regs): Likewise.
33984 (La_retval): Likewise.
33985 (int_retval): Likewise.
33986 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33988 (pltexit): Likewise.
33989 (La_regs): Likewise.
33990 (La_retval): Likewise.
33991 (int_retval): Likewise.
33992 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33994 (pltexit): Likewise.
33995 (La_regs): Likewise.
33996 (La_retval): Likewise.
33997 (int_retval): Likewise.
33998 * sysdeps/generic/tst-audit.h: Update comment to refer only to
33999 macro definitions in tst-audit.h.
34000 * sysdeps/i386/tst-audit.h: New file.
34001 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34002 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34003 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34004 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34005 * sysdeps/sh/tst-audit.h: Likewise.
34006 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34007 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34008 * sysdeps/x86_64/tst-audit.h: Likewise.
34010 2012-07-26 Andreas Jaeger <aj@suse.de>
34012 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34015 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34016 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34017 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34019 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34020 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34021 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34023 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34026 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34028 (si_call_addr, si_syscall, si_arch): Define new macro.
34029 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34031 (si_call_addr, si_syscall, si_arch): Define new marcro.
34032 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34034 (si_call_addr, si_syscall, si_arch): Define new macro.
34035 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34037 (si_call_addr, si_syscall, si_arch): Define new macro.
34039 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34042 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34043 Change to 2.4.21 where previously 2.4.1.
34044 * sysdeps/unix/sysv/linux/configure: Regenerated.
34045 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34046 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34047 Linux kernel version.
34048 (__ASSUME_STD_AUXV): Remove.
34049 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34051 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34052 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34053 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34054 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34055 (__ASSUME_NETLINK_SUPPORT): Likewise.
34056 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34057 (__no_netlink_support): Remove conditional definition.
34058 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34060 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34061 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34062 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34063 (if_nameindex_ioctl): Remove.
34064 (if_nameindex_netlink): Do not handle __no_netlink_support.
34065 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34067 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34068 Remove conditional code.
34069 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34071 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34073 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34074 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34075 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34077 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34078 [!__ASSUME_STD_AUXV]: Remove conditional code.
34079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34080 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34081 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34083 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34084 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34086 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34088 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34089 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34091 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34093 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34096 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34099 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34100 code unconditional.
34101 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34103 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34105 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34108 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34110 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34113 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34114 code unconditional.
34115 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34117 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34119 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34122 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34123 code unconditional.
34124 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34126 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34128 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34131 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34133 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34134 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34135 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34136 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34137 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34138 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34139 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34140 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34141 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34142 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34143 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34144 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34145 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34146 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34147 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34148 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34149 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34150 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34151 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34153 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34154 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34155 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34157 2012-07-25 Florian Weimer <fweimer@redhat.com>
34159 * Versions.def: Add GLIBC_2.17.
34160 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34161 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34162 Introduce __libc_secure_getenv.
34163 * stdlib/Versions (2.17): Add secure_getenv
34164 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34165 * stdlib/secure-getenv.c: Rename __secure_getenv to
34166 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34167 symbol __secure_getenv for GLIBC_2.0.
34168 * stdlib/tst-secure-getenv.c: New.
34169 * stdlib/Makefile (tests): Add testcase.
34170 * manual/startup.texi (Environment Access): Document
34172 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34173 __libc_secure_getenv.
34174 * inet/ruserpass.c (ruserpass): Likewise.
34175 * malloc/mtrace.c (mtrace): Likewise.
34176 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34177 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34178 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34179 * sysdeps/posix/tempname.c: Likewise. Evaluate
34180 HAVE_SECURE_GETENV.
34181 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34182 __secure_getenv to __libc_secure_getenv.
34183 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34190 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34196 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34198 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34199 (struct La_i86_retval): Likewise.
34200 (struct La_x86_64_regs): Likewise.
34201 (struct La_x86_64_retval): Likewise.
34202 (struct La_x32_regs): Likewise.
34203 (struct La_x32_retval): Likewise.
34204 (struct La_ppc32_regs): Likewise.
34205 (struct La_ppc32_retval): Likewise.
34206 (struct La_ppc64_regs): Likewise.
34207 (struct La_ppc64_retval): Likewise.
34208 (struct La_sh_regs): Likewise.
34209 (struct La_sh_retval): Likewise.
34210 (struct La_s390_32_regs): Likewise.
34211 (struct La_s390_32_retval): Likewise.
34212 (struct La_s390_64_regs): Likewise.
34213 (struct La_s390_64_retval): Likewise.
34214 (struct La_sparc32_regs): Likewise.
34215 (struct La_sparc32_retval): Likewise.
34216 (struct La_sparc64_regs): Likewise.
34217 (struct La_sparc64_retval): Likewise.
34218 (struct audit_ifaces): Remove architecture-specific pltenter and
34220 * sysdeps/i386/ldsodefs.h: New file.
34221 * sysdeps/powerpc/ldsodefs.h: Likewise.
34222 * sysdeps/s390/ldsodefs.h: Likewise.
34223 * sysdeps/sh/ldsodefs.h: Likewise.
34224 * sysdeps/sparc/ldsodefs.h: Likewise.
34225 * sysdeps/x86_64/ldsodefs.h: Likewise.
34227 2012-07-25 Marek Polacek <polacek@redhat.com>
34230 * math/libm-test.inc (yn_test): Add another test.
34231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34232 to ERANGE when the result is +-Inf.
34233 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34234 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34235 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34236 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34238 2012-07-24 Joseph Myers <joseph@codesourcery.com>
34240 * conform/data/time.h-data (NULL): Use macro-constant. Require
34242 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34244 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34246 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34248 * configure.in <sysdeps resolving>: Correct printing
34250 * configure: Regenerate.
34252 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34254 * math/w_ilogb.c: Include <limits.h>.
34255 * math/w_ilogbl.c: Likewise.
34257 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34259 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34260 va_copy. Document allowing for unavailable va_copy only as
34261 pre-C99 compatibility.
34262 * manual/string.texi (Copying and Concatenation): Use va_copy
34263 instead of __va_copy in concat example.
34265 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34267 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34268 (__sendto): Use create_address_port. Initialize APORT and deallocate
34271 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34272 with O_NOLINK passed to __file_name_lookup.
34274 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34275 with O_NOLINK passed to __file_name_lookup.
34277 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34278 negative N or less than NGIDS.
34280 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34281 type to string_t. Set ERANGE as errno and return it if NAME is not big
34282 enough. Use memcpy instead of strncpy.
34284 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34286 * elf/Makefile (check-data): Remove.
34287 (localplt.data): New vpath directive.
34288 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34289 instead of $(check-data).
34290 * scripts/data/localplt-generic.data: Move to ...
34291 * sysdeps/generic/localplt.data: ... here.
34292 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34293 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34294 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34297 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34300 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34303 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34306 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34309 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34313 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34315 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34316 PPC32 and PPC64 files.
34317 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34318 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34320 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34322 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34323 __makecontext_ret to ...
34324 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34325 ... here and call exit if uc_link is NULL. New file.
34326 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34327 __makecontext_ret.S.
34328 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34329 __makecontext_ret to ...
34330 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34331 ... here and call exit if uc_link is NULL. New file.
34332 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34333 __makecontext_ret.S.
34335 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34337 * elf/elf.h (R_390_IRELATIVE): New definition.
34338 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34339 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34340 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34341 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34342 (elf_machine_lazy_rel): Likewise.
34343 * sysdeps/s390/dl-irel.h: New file.
34344 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34345 * sysdeps/s390/s390-64/memset.S: New asm code.
34346 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34347 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34348 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34349 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34350 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34351 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34352 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34353 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34354 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34355 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34356 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34357 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34358 * sysdeps/s390/s390-32/memset.S: New asm code.
34359 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34361 2012-07-17 Marek Polacek <polacek@redhat.com>
34364 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34365 * sysdeps/s390/s390-64/configure.in: Likewise.
34366 * sysdeps/sparc/configure.in: Likewise.
34367 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34368 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34369 * sysdeps/i386/configure.in: Likewise.
34370 * sysdeps/x86_64/configure.in: Likewise.
34371 * sysdeps/sh/configure.in: Likewise.
34372 * sysdeps/s390/s390-32/configure: Regenerated.
34373 * sysdeps/s390/s390-64/configure: Likewise.
34374 * sysdeps/x86_64/configure: Likewise.
34375 * sysdeps/sh/configure: Likewise.
34376 * sysdeps/powerpc/powerpc64/configure: Likewise.
34377 * sysdeps/powerpc/powerpc32/configure: Likewise.
34378 * sysdeps/sparc/configure: Likwise.
34379 * sysdeps/i386/configure: Likewise.
34381 * elf/dl-open.c: Comment fixes.
34383 2012-07-17 Joseph Myers <joseph@codesourcery.com>
34385 * Makefile [CXX] (check-data): Remove.
34386 [CXX] (c++-types.data): New vpath directive.
34387 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34388 vpath. Do not allow for C++ type data being missing.
34389 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34390 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34391 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34392 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34393 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34394 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34395 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34398 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34401 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34404 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34407 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34410 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34413 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34416 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34419 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34420 definitions to architecture-specific files.
34421 (TLS_IE): Likewise.
34422 (TLS_LD): Likewise.
34423 (TLS_GD): Likewise.
34424 * sysdeps/i386/tls-macros.h: New file.
34425 * sysdeps/powerpc/tls-macros.h: Likewise.
34426 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34427 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34428 * sysdeps/sh/tls-macros.h: Likewise.
34429 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34430 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34431 * sysdeps/x86_64/tls-macros.h: Likewise.
34433 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34435 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34436 zero value for regular exit case.
34438 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34439 (__start_context): Preserve zero value for regular exit case.
34441 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34442 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34444 * manual/setjmp.texi (setcontext): Clarify normal process
34445 termination when uc_link is the null pointer.
34446 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34449 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34451 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34452 preprocessor. Test for each exception mask separately.
34454 2012-07-16 Andreas Jaeger <aj@suse.de>
34456 * po/ru.po: Update from translation team.
34458 2012-07-15 Joseph Myers <joseph@codesourcery.com>
34460 * conform/data/string.h-data (NULL): Use macro-constant. Require
34462 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34463 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34464 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34465 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34468 2012-07-13 Andreas Jaeger <aj@suse.de>
34470 * po/fr.po: Update from translation team.
34472 2012-07-12 Marek Polacek <polacek@redhat.com>
34475 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34476 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34479 2012-07-12 Joseph Myers <joseph@codesourcery.com>
34482 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34483 Change to 2.4.1 where previously 2.4.0.
34484 * sysdeps/unix/sysv/linux/configure: Regenerated.
34485 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34486 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34488 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34489 (__ASSUME_AT_CLKTCK): Remove.
34490 (__ASSUME_AT_PAGESIZE): Likewise.
34491 (__ASSUME_AT_XID): Likewise.
34492 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34493 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34494 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34496 (HAVE_AUX_PAGESIZE): Likewise.
34497 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34498 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34499 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34501 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34505 the temporary buffer used to invoke __gethostbyname2_r,
34506 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34507 host_data / struct gaih_addrtuple.
34508 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34509 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34510 header file nss/nsswitch.h.
34511 * nss/nsswitch.h (global scope): Add definition of implementation
34512 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34513 resolv/nss_dns/dns-host.c).
34515 2012-07-11 Andreas Jaeger <aj@suse.de>
34517 * po/fr.po: Update from translation team.
34519 * po/sv.po: Update from translation team
34520 * po/fr.po: Another update from translation team.
34522 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34524 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34525 for subnormals or multiply small sinh result by itself.
34526 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34529 2012-07-11 David S. Miller <davem@davemloft.net>
34531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34533 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34536 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34537 (INTERNAL_MARK): Shift it here.
34539 2012-07-10 Marek Polacek <polacek@redhat.com>
34542 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34543 libc_cv_asm_global_directive with .globl.
34544 * configure: Regenerated.
34545 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34547 * sysdeps/i386/configure: Regenerated.
34548 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34550 * sysdeps/x86_64/configure: Regenerated.
34551 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34552 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34553 * elf/tst-unique2mod2.c: Likewise.
34554 * elf/tst-unique2mod1.c: Likewise.
34555 * elf/tst-unique1mod2.c: Likewise.
34556 * elf/tst-unique1mod1.c: Likewise.
34557 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34558 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34559 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34560 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34561 * sysdeps/mach/sysdep.h: Likewise.
34562 * sysdeps/i386/sysdep.h: Likewise.
34563 * sysdeps/i386/i386-mcount.S: Likewise.
34564 * sysdeps/x86_64/_mcount.S: Likewise.
34565 * sysdeps/x86_64/sysdep.h: Likewise.
34566 * sysdeps/sh/_mcount.S: Likewise.
34567 * sysdeps/sh/sysdep.h: Likewise.
34568 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34569 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34570 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34571 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34572 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34573 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34574 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34575 * locale/localeinfo.h: Likewise.
34576 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34577 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34579 2012-07-09 Roland McGrath <roland@hack.frob.com>
34582 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34584 * manual/message.texi (The Uniforum approach): Likewise.
34585 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34586 (glibc iconv Implementation): Likewise.
34588 2012-07-09 Joseph Myers <joseph@codesourcery.com>
34591 * math/s_clog.c (__clog): Avoid scaling a value down where that
34592 could result in underflow.
34593 * math/s_clog10.c (__clog10): Likewise.
34594 * math/s_clog10f.c (__clog10f): Likewise.
34595 * math/s_clog10l.c (__clog10l): Likewise.
34596 * math/s_clogf.c (__clogf): Likewise.
34597 * math/s_clogl.c (__clogl): Likewise.
34598 * math/libm-test.inc (clog_test): Add more tests.
34599 (clog10_test): Likewise.
34600 * sysdeps/i386/fpu/libm-test-ulps: Update.
34601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34603 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34606 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34607 by 7 not 8 to examine high bit of fractional part.
34610 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34611 for call to __mcount_internal.
34612 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34613 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34614 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34616 2012-07-06 Joseph Myers <joseph@codesourcery.com>
34619 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34620 approximation for values within 0x1p-13f of an odd multiple of
34622 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34623 exception. Add more tests.
34624 * sysdeps/i386/fpu/libm-test-ulps: Update.
34627 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34628 inputs and return -1 for them. Do not check for +Inf in case not
34629 reachable for +Inf.
34630 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34631 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34632 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34633 and return -1 for them. Do not check for +Inf in case not
34634 reachable for +Inf.
34635 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34637 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34638 and return -1 for them. Do not check for +Inf in case not
34639 reachable for +Inf.
34640 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34641 spurious underflow.
34642 * sysdeps/i386/fpu/libm-test-ulps: Update.
34643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34645 2012-07-06 Mike Frysinger <vapier@gentoo.org>
34647 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34649 2012-07-05 Joseph Myers <joseph@codesourcery.com>
34653 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34654 could result in spurious underflow. Scale down values above
34655 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34656 * math/s_csqrtf.c (__csqrtf): Likewise.
34657 * math/s_csqrtl.c (__csqrtl): Likewise.
34658 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34659 spurious underflow.
34660 * sysdeps/i386/fpu/libm-test-ulps: Update.
34661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34663 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34665 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34667 * catgets/xopen-msg.awk: New file.
34668 * catgets/xopen-msg.sed: Removed.
34670 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34672 * intl/po2test.awk: New file.
34673 * intl/po2test.sed: Removed.
34675 2012-07-04 Joseph Myers <joseph@codesourcery.com>
34678 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34679 or multiply small sinh result by itself.
34680 * math/s_ctanf.c (__ctanf): Likewise.
34681 * math/s_ctanh.c (__ctanh): Likewise.
34682 * math/s_ctanhf.c (__ctanhf): Likewise.
34683 * math/s_ctanhl.c (__ctanhl): Likewise.
34684 * math/s_ctanl.c (__ctanl): Likewise.
34685 * math/libm-test.inc (ctan_test_tonearest): New function.
34686 (ctan_test_towardzero): Likewise.
34687 (ctan_test_downward): Likewise.
34688 (ctan_test_upward): Likewise.
34689 (ctanh_test_tonearest): Likewise.
34690 (ctanh_test_towardzero): Likewise.
34691 (ctanh_test_downward): Likewise.
34692 (ctanh_test_upward): Likewise.
34693 (main): Call these new functions.
34694 * sysdeps/i386/fpu/libm-test-ulps: Update.
34695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34697 2012-07-03 Mike Frysinger <vapier@gentoo.org>
34699 * .gitignore: Delete /ports entry.
34701 2012-07-03 Andreas Jaeger <aj@suse.de>
34703 * po/bg.po: Update from translation team.
34704 * po/cs.po: Likewise.
34705 * po/de.po: Likewise.
34706 * po/hr.po: Likewise.
34707 * po/nl.pl: Likewise.
34708 * po/pl.po: Likewise.
34709 * po/vi.po: Likewise.
34711 2012-07-03 Joseph Myers <joseph@codesourcery.com>
34713 * Makeconfig [!+link] (+link-before-libc): New variable.
34714 [!+link] (+link-after-libc): Likewise.
34715 [!+link] (+link-tests): Likewise.
34716 [!+link] (+link): Define in terms of $(+link-before-libc) and
34717 $(+link-after-libc).
34718 [!+link-static] (+link-static-before-libc): New variable.
34719 [!+link-static] (+link-static-after-libc): Likewise.
34720 [!+link-static] (+link-static-tests): Likewise.
34721 [!+link-static] (+link-static): Define in terms of
34722 $(+link-static-before-libc) and $(+link-static-after-libc).
34723 [build-shared] (link-libc-before-gnulib): New variable.
34724 [build-shared] (link-libc-tests): Likewise.
34725 [build-shared] (link-libc): Define in terms of
34726 $(link-libc-before-gnulib).
34727 [!build-shared] (link-libc-tests): New variable.
34728 (link-libc-static-tests): New variable.
34729 [!gnulib] (gnulib-arch): New variable.
34730 [!gnulib] (gnulib-tests): Likewise.
34731 [!gnulib] (static-gnulib-arch): Likewise.
34732 [!gnulib] (static-gnulib-tests): Likewise.
34733 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34734 Define with "=" instead of ":=".
34735 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34736 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34737 * Rules (binaries-all-notests): New variable.
34738 (binaries-all-tests): Likewise.
34739 (binaries-static-notests): Likewise.
34740 (binaries-static-tests): Likewise.
34741 (binaries-all): Define using $(binaries-all-notests) and
34742 $(binaries-all-tests).
34743 (binaries-static): Define using $(binaries-static-notests) and
34744 $(binaries-static-tests).
34745 (binaries-shared-tests): New variable.
34746 (binaries-shared-notests): Likewise.
34747 (binaries-shared): Remove variable.
34748 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34749 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34750 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34751 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34752 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34753 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34754 * elf/Makefile (sln-modules): New variable.
34755 (extra-objs): Add $(sln-modules:=.o).
34756 (ldconfig-modules): Add static-stubs.
34757 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34758 * elf/static-stubs.c: New file.
34761 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34762 by 7 not 8 to examine high bit of fractional part. Use volatile
34763 variables when splitting into final array of floats if
34764 __FLT_EVAL_METHOD__ != 0.
34765 * math/libm-test.inc (cos_test): Add another test.
34766 (sin_test): Likewise.
34767 * sysdeps/i386/fpu/libm-test-ulps: Update.
34770 * math/libm-test.inc (cosh_test): Add more tests.
34772 * version.h (RELEASE): Set to "development".
34773 (VERSION): Set to "2.16.90".
34775 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34777 * NEWS: Update copyright. Remove last-updated date.
34778 Mention math library bug fixes and timezone data changes.
34779 * README: Mention GNU/Hurd, x32, and HPPA support status.
34781 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34783 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34785 2012-06-27 Andreas Jaeger <aj@suse.de>
34787 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34789 2012-06-25 Andreas Jaeger <aj@suse.de>
34791 * sysdeps/s390/fpu/libm-test-ulps: Update.
34793 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34794 Thomas Schwinge <thomas@codesourcery.com>
34796 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34797 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34801 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34803 * sysdeps/mach/start.c: Remove file.
34804 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34805 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34806 * sysdeps/sh/init-first.c: Likewise.
34808 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34809 registers for frame unwinding purposes, add CFI directives.
34810 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34811 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34812 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34815 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34816 __fortify_fail returning.
34817 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34819 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34820 sysdeps/sh/____longjmp_chk.S.
34821 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34822 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34823 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34824 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34826 * sysdeps/sh/abort-instr.h: New file.
34827 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34828 process in case exit returns.
34830 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34831 initialize the GOT register before use.
34833 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34834 calculation of ARGC > 4.
34836 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34837 meaningful names to some local labels.
34839 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34840 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34842 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34843 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34844 (__arch_compare_and_exchange_val_16_acq): Likewise.
34845 (__arch_compare_and_exchange_val_32_acq): Likewise.
34846 (atomic_exchange_and_add): Fix gUSA sequence.
34847 (atomic_add): Likewise.
34848 (atomic_add_negative): Likewise.
34849 (atomic_add_zero): Likewise.
34850 (atomic_bit_test_set): Likewise.
34852 2012-06-22 Andreas Schwab <schwab@redhat.com>
34855 * include/link.h (struct link_map): Add l_free_initfini.
34856 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34858 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34859 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34860 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34863 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34865 * configure.in: Use AC_LANG_SOURCE.
34866 * configure: Regenerate.
34868 2012-06-22 Roland McGrath <roland@hack.frob.com>
34870 * configure.in (libc_cv_localstatedir): New substituted variable.
34871 * configure: Regenerated.
34872 * config.make.in (localstatedir): New variable, substituted from
34873 libc_cv_localstatedir.
34874 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34875 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34876 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34877 * sysdeps/gnu/configure: Regenerated.
34879 2012-06-21 Jeff Law <law@redhat.com>
34882 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34883 free. Simplify list management for _LIBC case.
34885 2012-06-21 Joseph Myers <joseph@codesourcery.com>
34888 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34889 Clear sign bit of 64-bit integer value before comparing against
34892 * sysdeps/mach/configure: Regenerated.
34894 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34897 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34899 2012-06-21 Jeff Law <law@redhat.com>
34902 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34903 uint16_t for elements in the "seen" array to avoid char overflows.
34904 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34905 * elf/dl-open.c (dl_open_worker): Likewise.
34907 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34909 * scripts/list-sources.sh: Scan PORTS for translations.
34910 * po/libc.pot: Regenerated.
34912 2012-06-21 Andreas Jaeger <aj@suse.de>
34915 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34917 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34918 * bits/byteswap-16.h (__bswap_16): Likewise.
34919 * bits/byteswap.h (__bswap_constant_16): Likewise.
34921 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34924 * sysdeps/i386/fpu_control.h: Removed.
34925 * sysdeps/x86_64/fpu_control.h: Moved to ...
34926 * sysdeps/x86/fpu_control.h: Here.
34928 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34929 (_FPU_SETCW): Likewise.
34931 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
34934 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34935 * sysdeps/x86/fpu/bits/mathinline.h: This.
34936 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34940 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34941 functions if __x86_64__ is defined.
34943 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
34945 * string/endian.h: Add !__ASSEMBLER__ condition for including
34946 conversion interfaces.
34948 2012-06-15 Joseph Myers <joseph@codesourcery.com>
34951 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34952 of ABS(x) in calculating zero to negative powers other than odd
34954 * math/libm-test.inc (pow_test): Add more tests.
34956 2012-06-15 Andreas Jaeger <aj@suse.de>
34958 * manual/contrib.texi (Contributors): Update entry of Liubov
34959 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34962 2012-06-15 Cyril Hrubis <metan@ucw.cz>
34964 * string/string.h: Add __wur to GNU version of strerror_r.
34966 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
34969 * string/Makefile (tests): Add tst-strtok_r.
34970 * string/tst-strtok_r.c: New file.
34971 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34972 RAX_LP/RDX_LP on SAVE_PTR.
34974 2012-06-14 Roland McGrath <roland@hack.frob.com>
34976 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34978 2012-06-14 Joseph Myers <joseph@codesourcery.com>
34980 * libm_test.inc (csqrt_test): Allow more spurious underflow
34982 (j0_test): Likewise.
34983 (j1_test): Likewise.
34984 (y0_test): Likewise.
34985 (y1_test): Likewise.
34987 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
34989 * po/Makefile (libc.pot): Use UTF-8 charset.
34991 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
34994 Suppress sign-conversion warning from FD_SET.
34995 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34996 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34997 not unsigned long int.
34998 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35000 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35004 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35005 __extern_always_inline instead of __extern_inline.
35006 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35007 (__signbit): Likewise.
35008 (__signbitl): Support C++ namespace.
35009 (lrintf): New inline function.
35011 (llrintf): Likewise.
35012 (llrint): Likewise.
35022 (floorf): Likewise.
35023 (nearbyint): Likewise.
35024 (nearbyintf): Likewise.
35026 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35028 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35029 non-default versions.
35031 2012-06-11 Roland McGrath <roland@hack.frob.com>
35034 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35036 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35038 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35039 (FE_UPWARD, FE_DOWNWARD): Don't define.
35040 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35041 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35043 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35045 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35046 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35048 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35050 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35051 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35052 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35053 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35055 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35058 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35059 * sysdeps/i386/fpu/Implies: New file.
35060 * sysdeps/x86_64/fpu/Implies: Likewise.
35061 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35062 * sysdeps/x86/fpu/bits/fenv.h: This.
35064 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35067 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35070 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35071 character 0xffff that matches the last element of the
35074 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35076 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35079 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35081 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35082 values higher than 25.6283.
35084 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35086 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35087 subnormal exponent extraction and add some __builtin_expect.
35088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35089 Fix for subnormal mantissa calculation.
35091 2012-06-04 Mike Frysinger <vapier@gentoo.org>
35093 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35094 cpu2 is -1 and errno is not ENOSYS.
35096 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35099 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35100 * sysdeps/x86/bits/string.h: This.
35101 * sysdeps/x86_64/bits/string.h: Removed.
35103 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35104 if not compiling for x86-64, but compiling for >= i486.
35106 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35107 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35109 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35110 New macro from Linux kernel 3.4.0.
35111 (FP_XSTATE_MAGIC2): Likewise.
35112 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35113 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35114 (struct _fpx_sw_bytes): New struct.
35115 (struct _xsave_hdr): Likewise.
35116 (struct _ymmh_state): Likewise.
35117 (struct _xstate): Likewise.
35119 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35120 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35121 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35122 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35123 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35124 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35126 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35127 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35128 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35129 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35130 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35131 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35133 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35136 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35137 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35138 (sysdep_headers): Include sys/platform/ppc.h.
35139 * sysdeps/powerpc/test-gettimebase.c: Test for
35140 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35141 * manual/Makefile (appendices): Include platform.texi.
35142 * manual/contrib.texi (Contributors): Update @node pointers.
35143 * manual/maint.texi (Maintenance): Likewise.
35144 (Platform): New node.
35145 * manual/platform.texi: New file. Document the new features.
35147 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35148 Jakub Jelinek <jakub@redhat.com>
35151 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35152 where __builtin_expect is unavailable.
35154 2012-06-03 David S. Miller <davem@davemloft.net>
35156 * stdlib/longlong.h: Updated from GCC.
35158 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35161 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35162 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35165 (GLIBC_2.16): Likewise.
35167 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35169 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35171 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35174 (default-abi): New variable.
35175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35176 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35178 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35180 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35182 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35185 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35186 definition. Document in comment.
35188 2012-06-01 David S. Miller <davem@davemloft.net>
35190 * stdlib/longlong.h: Updated from GCC.
35192 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35195 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35196 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35197 sys/debugreg.h sys/io.h here.
35198 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35199 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35201 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35202 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35203 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35204 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35205 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35206 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35208 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35209 Define only if __x86_64__ is defined.
35211 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35214 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35215 Use int64_t for variable i.
35216 * math/libm-test.inc (fmod_test): Add more tests.
35218 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35219 z computation is not scheduled after fetestexcept.
35220 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35221 Use math_force_eval instead of asm to ensure calculation scheduled
35222 before exception test.
35223 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35224 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35226 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35229 computation is not scheduled after fetestexcept.
35231 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35234 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35235 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35237 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35239 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35240 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35242 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35245 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35247 (__WCHAR_MIN): Support __WORDSIZE == 64.
35248 (__WCHAR_MAX): Likewise.
35250 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35251 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35254 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35255 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35258 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35259 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35261 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35262 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35264 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35265 Defined to 1 if __x86_64__ isn't defined.
35266 (_STAT_VER_LINUX_OLD): New.
35267 (st_atime): Remove duplicate.
35268 (st_mtime): Likewise.
35269 (st_ctime): Likewise.
35271 2012-05-31 David S. Miller <davem@davemloft.net>
35273 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35276 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35278 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35282 * elf/dl-reloc.c: Include <_itoa.h>.
35283 (_dl_reloc_bad_type): Remove use of INTUSE.
35284 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35285 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35286 * stdio-common/psiginfo.c (psiginfo): Likewise.
35287 * stdio-common/psignal.c (psignal): Likewise.
35288 * string/strsignal.c (strsignal): Likewise.
35289 * include/signal.h (_sys_siglist): Declare hidden proto.
35290 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35291 INTVARDEF with libc_hidden_data_def.
35292 * stdio-common/itoa-udigits.c: Likewise.
35293 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35294 (_itoa_lower_digits_internal): Remove declaration.
35295 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35296 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35297 (_sys_sigabbrev_internal): Remove aliases.
35298 (_sys_siglist): Define hidden alias.
35300 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35305 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35308 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35309 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35311 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35312 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35313 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35314 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35315 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35316 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35318 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35319 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35320 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35322 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35330 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35331 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35332 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35334 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35335 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35336 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35337 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35338 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35339 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35341 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35342 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35344 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35345 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35347 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35349 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35351 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35352 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35354 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35356 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35357 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35358 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35360 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35362 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35364 2012-05-31 Joseph Myers <joseph@codesourcery.com>
35366 * math/math.h (M_El): Use two more decimal places.
35367 (M_LOG2El): Likewise.
35368 (M_LOG10El): Likewise.
35369 (M_LN2l): Likewise.
35370 (M_LN10l): Likewise.
35372 (M_PI_2l): Likewise.
35373 (M_PI_4l): Likewise.
35374 (M_1_PIl): Likewise.
35375 (M_2_PIl): Likewise.
35376 (M_2_SQRTPIl): Likewise.
35377 (M_SQRT2l): Likewise.
35378 (M_SQRT1_2l): Likewise.
35380 2012-05-31 David S. Miller <davem@davemloft.net>
35382 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35383 values between float registers.
35384 * sysdeps/sparc/sparc64/memset.S: Likewise.
35385 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35387 2012-05-31 Mike Frysinger <vapier@gentoo.org>
35389 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35390 -D_FORTIFY_SOURCE=1.
35391 (CPPFLAGS-tst-longjmp_chk.c): Define.
35392 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35393 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35394 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35395 CFLAGS-tst-wchar-h.c.
35397 2012-05-31 Marek Polacek <polacek@redhat.com>
35400 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35401 __endmntent_internal): Remove declaration.
35402 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35403 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35404 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35406 2012-05-30 David S. Miller <davem@davemloft.net>
35408 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35409 (___Q_simulate_exceptions): Use real FP ops rather than writing
35411 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35414 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35417 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35418 * sysdeps/x86/bits/xtitypes.h: This.
35420 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35421 * sysdeps/x86/bits/wordsize.h: This.
35423 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35424 * sysdeps/x86/bits/huge_vall.h: This.
35426 * sysdeps/i386/bits/select.h: Removed.
35427 * sysdeps/x86_64/bits/select.h: Renamed to ...
35428 * sysdeps/x86/bits/select.h: This.
35430 * sysdeps/i386/bits/setjmp.h: Removed.
35431 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35432 * sysdeps/x86/bits/setjmp.h: This.
35434 * sysdeps/i386/bits/mathdef.h: Removed.
35435 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35436 * sysdeps/x86/bits/mathdef.h: This.
35438 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35441 * include/sys/socket.h (__connect_internal)
35442 (__libc_sa_len_internal): Remove declaration.
35443 (__connect, __libc_sa_len): Declare hidden_proto.
35444 (SA_LEN): Remove use of INTUSE.
35445 * socket/connect.c: Add libc_hidden_def.
35446 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35447 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35448 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35450 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35451 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35452 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35453 of adding _internal alias.
35455 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35458 * sysdeps/i386/bits/link.h: Removed.
35459 * sysdeps/i386/bits/linkmap.h: Likewise.
35460 * sysdeps/x86_64/bits/link.h: Renamed to ...
35461 * sysdeps/x86/bits/link.h: This.
35462 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35463 * sysdeps/x86/bits/linkmap.h: This.
35465 * sysdeps/i386/bits/endian.h: Removed.
35466 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35467 * sysdeps/x86/bits/endian.h: This.
35469 * sysdeps/i386/bits/byteswap.h: Removed.
35470 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35471 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35472 * sysdeps/x86/bits/byteswap.h: This.
35473 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35474 * sysdeps/x86/bits/byteswap-16.h: This.
35475 * sysdeps/i386/Implies: Add x86.
35476 * sysdeps/x86_64/Implies: Likewise.
35478 2012-05-30 David S. Miller <davem@davemloft.net>
35480 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35481 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35482 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35483 (FP_TRAPPING_EXCEPTIONS): Define.
35484 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35485 (FP_TRAPPING_EXCEPTIONS): Define.
35486 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35487 subnormals only when inexact has been signalled or underflow
35488 exceptions are enabled.
35489 (_FP_PACK_CANONICAL): Likewise.
35491 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35494 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35495 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35497 2012-05-30 Richard Henderson <rth@twiddle.net>
35499 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35500 with #ifndef NOT_IN_libc.
35502 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35503 marked to avoid plt entry.
35505 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35508 * Makeconfig (default-abi): New macro.
35509 (abi-includes): Likewise.
35510 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35511 $(abi-$(default-abi)-lib-soname) for soname if defined.
35512 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35514 * Makefile (installed-stubs): Likewise.
35515 * include/stubs-biarch.h: Removed.
35516 * scripts/lib-names.awk: Only handle one library at a time.
35517 * scripts/soversions.awk: Remove WORDSIZE support.
35518 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35520 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35522 (syscall-list-default-condition): Likewise.
35523 (syscall-list-default-condition): Likewise.
35524 (syscall-list-includes): Likewise.
35525 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35526 syscall-list-* with abi-*. Handle undefined abi-variants.
35527 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35528 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35529 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35530 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35531 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35532 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35534 (syscall-list-32-options): Likewise.
35535 (syscall-list-32-condition): Likewise.
35536 (syscall-list-64-options): Likewise.
35537 (syscall-list-64-condition): Likewise.
35538 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35540 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35543 (abi-64-ld-soname): New macro.
35544 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35545 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35548 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35549 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35551 2012-05-30 Joseph Myers <joseph@codesourcery.com>
35553 * sysdeps/unix/sysv/linux/kernel-features.h
35554 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35555 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35556 include <kernel-features.h>.
35557 [!__NR_ftruncate64]: Remove conditional code.
35558 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35559 [__NR_ftruncate64]: Make code unconditional.
35560 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35561 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35562 include <kernel-features.h>.
35563 [!__NR_ftruncate64]: Remove conditional code.
35564 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35565 [__NR_ftruncate64]: Make code unconditional.
35566 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35568 include <kernel-features.h>.
35569 [!__NR_ftruncate64]: Remove conditional code.
35570 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35571 [__NR_ftruncate64]: Make code unconditional.
35572 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35574 include <kernel-features.h>.
35575 [!__NR_ftruncate64]: Remove conditional code.
35576 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35577 [__NR_ftruncate64]: Make code unconditional.
35578 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35580 * configure.in (libc_cv_fpie): Weaken to a compile test using
35581 LIBC_TRY_CC_OPTION.
35582 * configure: Regenerated.
35584 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35599 2012-05-27 David S. Miller <davem@davemloft.net>
35601 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35603 (__Q_simulate_exceptions): Return void. Change to simulate
35604 exceptions by writing into the %fsr.
35605 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35606 (__Qp_handle_exceptions): Likewise.
35608 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35609 __Qp_handle_exceptions.
35610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35611 __Qp_handle_exceptions.
35612 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35613 as unused and give dummy FP_RND_NEAREST initializer.
35614 (FP_INHIBIT_RESULTS): Define.
35615 (___Q_simulate_exceptions): Update declaration.
35616 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35618 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35619 as unused and give dummy FP_RND_NEAREST initializer.
35620 (__Qp_handle_exceptions): Update declaration.
35621 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35624 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35626 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35627 the temporary FPU control word.
35628 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35629 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35630 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35631 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35632 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35633 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35634 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35635 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35636 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35637 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35638 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35640 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35642 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35645 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35647 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35648 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35649 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35650 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35652 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35653 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35656 2012-05-27 Ulrich Drepper <drepper@gmail.com>
35658 * po/h.po: Update from translation team.
35660 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35662 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35664 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35665 handling of denormals.
35666 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35667 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35668 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35669 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35670 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35671 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35675 2012-05-26 Marek Polacek <polacek@redhat.com>
35678 * math/libm-test.inc (fma_test): Don't always expect underflow
35681 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35684 * elf/tst-execstack.c: Include stackinfo.h.
35685 (do_test): Adjust test case to ensure that pthread_getattr_np
35686 behaviour remains the same after marking stack executable.
35688 2012-05-25 Joseph Myers <joseph@codesourcery.com>
35690 * sysdeps/unix/sysv/linux/kernel-features.h
35691 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35692 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35694 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35695 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35696 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35698 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35699 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35701 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35703 * configure.in: Define the default includes to being none.
35704 * configure: Regenerated.
35706 2012-05-25 Roland McGrath <roland@hack.frob.com>
35708 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35709 * sysdeps/x86_64/setjmp.S: Likewise.
35710 * sysdeps/i386/bsd-setjmp.S: Likewise.
35711 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35712 * sysdeps/i386/setjmp.S: Likewise.
35713 * sysdeps/i386/__longjmp.S: Likewise.
35714 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35715 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35717 * include/stap-probe.h: New file.
35718 * configure.in: Handle --enable-systemtap.
35719 * configure: Regenerated.
35720 * config.h.in (USE_STAP_PROBE): New #undef.
35721 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35722 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35723 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35725 2012-05-25 Joseph Myers <joseph@codesourcery.com>
35728 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35729 to 2.4.0 where earlier.
35730 * sysdeps/unix/sysv/linux/configure: Regenerated.
35731 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35732 <kernel-features.h>.
35733 [__ASSUME_32BITUIDS]: Make code unconditional.
35734 [!__ASSUME_32BITUIDS]: Remove conditional code.
35735 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35736 <kernel-features.h>.
35737 [__ASSUME_32BITUIDS]: Make code unconditional.
35738 [!__ASSUME_32BITUIDS]: Remove conditional code.
35739 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35740 [__ASSUME_32BITUIDS]: Make code unconditional.
35741 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35742 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35743 <kernel-features.h>.
35744 [__ASSUME_32BITUIDS]: Make code unconditional.
35745 [!__ASSUME_32BITUIDS]: Remove conditional code.
35746 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35747 <kernel-features.h>.
35748 [__ASSUME_32BITUIDS]: Make code unconditional.
35749 [!__ASSUME_32BITUIDS]: Remove conditional code.
35750 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35751 <kernel-features.h>.
35752 [__ASSUME_32BITUIDS]: Make code unconditional.
35753 [!__ASSUME_32BITUIDS]: Remove conditional code.
35754 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35755 <kernel-features.h>.
35756 [__ASSUME_32BITUIDS]: Make code unconditional.
35757 [!__ASSUME_32BITUIDS]: Remove conditional code.
35758 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35759 <kernel-features.h>.
35760 [__ASSUME_32BITUIDS]: Make code unconditional.
35761 [!__ASSUME_32BITUIDS]: Remove conditional code.
35762 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35763 <kernel-features.h>.
35764 [__ASSUME_32BITUIDS]: Make code unconditional.
35765 [!__ASSUME_32BITUIDS]: Remove conditional code.
35766 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35767 <kernel-features.h>.
35768 [__ASSUME_32BITUIDS]: Make code unconditional.
35769 [!__ASSUME_32BITUIDS]: Remove conditional code.
35770 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35771 <kernel-features.h>.
35772 [__ASSUME_32BITUIDS]: Make code unconditional.
35773 [!__ASSUME_32BITUIDS]: Remove conditional code.
35774 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35775 <kernel-features.h>.
35776 [__ASSUME_32BITUIDS]: Make code unconditional.
35777 [!__ASSUME_32BITUIDS]: Remove conditional code.
35778 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35779 <kernel-features.h>.
35780 [__ASSUME_32BITUIDS]: Make code unconditional.
35781 [!__ASSUME_32BITUIDS]: Remove conditional code.
35782 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35783 <kernel-features.h>.
35784 [__NR_setresgid] (__setresgid): Do not declare.
35785 [__ASSUME_32BITUIDS]: Make code unconditional.
35786 [!__ASSUME_32BITUIDS]: Remove conditional code.
35787 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35788 <kernel-features.h>.
35789 [__NR_setresuid] (__setresuid): Do not declare.
35790 [__ASSUME_32BITUIDS]: Make code unconditional.
35791 [!__ASSUME_32BITUIDS]: Remove conditional code.
35792 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35793 <kernel-features.h>.
35794 [__ASSUME_32BITUIDS]: Make code unconditional.
35795 [!__ASSUME_32BITUIDS]: Remove conditional code.
35796 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35797 <kernel-features.h>.
35798 [__ASSUME_32BITUIDS]: Make code unconditional.
35799 [!__ASSUME_32BITUIDS]: Remove conditional code.
35800 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35801 <kernel-features.h>.
35802 [__ASSUME_32BITUIDS]: Make code unconditional.
35803 [!__ASSUME_32BITUIDS]: Remove conditional code.
35804 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35805 <kernel-features.h>.
35806 [__ASSUME_32BITUIDS]: Make code unconditional.
35807 [!__ASSUME_32BITUIDS]: Remove conditional code.
35808 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35809 <kernel-features.h>.
35810 [__ASSUME_32BITUIDS]: Make code unconditional.
35811 [!__ASSUME_32BITUIDS]: Remove conditional code.
35812 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35813 <kernel-features.h>.
35814 [__ASSUME_32BITUIDS]: Make code unconditional.
35815 [!__ASSUME_32BITUIDS]: Remove conditional code.
35816 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35817 <kernel-features.h>.
35818 [__ASSUME_32BITUIDS]: Make code unconditional.
35819 [!__ASSUME_32BITUIDS]: Remove conditional code.
35820 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35821 <kernel-features.h>.
35822 [__ASSUME_32BITUIDS]: Make code unconditional.
35823 [!__ASSUME_32BITUIDS]: Remove conditional code.
35824 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35825 <kernel-features.h>.
35826 [__ASSUME_32BITUIDS]: Make code unconditional.
35827 [!__ASSUME_32BITUIDS]: Remove conditional code.
35828 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35829 <kernel-features.h>.
35830 [__ASSUME_32BITUIDS]: Make code unconditional.
35831 [!__ASSUME_32BITUIDS]: Remove conditional code.
35832 * sysdeps/unix/sysv/linux/kernel-features.h
35833 (__ASSUME_SETRESUID_SYSCALL): Remove.
35834 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35835 (__ASSUME_32BITUIDS): Likewise.
35836 (__ASSUME_LDT_WORKS): Likewise.
35837 (__ASSUME_O_DIRECTORY): Likewise.
35838 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35839 architecture but not kernel version.
35840 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35841 (__ASSUME_MMAP2_SYSCALL): Likewise.
35842 (__ASSUME_STAT64_SYSCALL): Likewise.
35843 (__ASSUME_IPC64): Likewise.
35844 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35845 <kernel-features.h>.
35846 [__ASSUME_32BITUIDS]: Make code unconditional.
35847 [!__ASSUME_32BITUIDS]: Remove conditional code.
35848 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35849 <kernel-features.h>.
35850 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35851 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35852 132096]: Remove conditional code.
35853 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35854 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
35863 <kernel-features.h>.
35864 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35866 (__setresgid): Do not declare.
35867 [__ASSUME_32BITUIDS]: Make code unconditional.
35868 [!__ASSUME_32BITUIDS]: Remove conditional code.
35869 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35870 <kernel-features.h>.
35871 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35873 (__setresuid): Do not declare.
35874 [__ASSUME_32BITUIDS]: Make code unconditional.
35875 [!__ASSUME_32BITUIDS]: Remove conditional code.
35876 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
35881 <kernel-features.h>.
35882 [__ASSUME_32BITUIDS]: Make code unconditional.
35883 [!__ASSUME_32BITUIDS]: Remove conditional code.
35885 2012-05-25 Richard Henderson <rth@twiddle.net>
35887 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35888 dl_hwcap to ifunc resolver.
35889 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35891 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35892 dl_hwcap to ifunc resolver.
35893 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35895 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35898 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35899 for |x| <= 2**-26, not 2**-57.
35900 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35903 2012-05-24 Jeff Law <law@redhat.com>
35905 * stdio-common/Makefile (tests): Add bug25.
35906 * stdio-common/bug25.c: New test.
35908 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35911 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35912 multiple of MALLOC_ALIGNMENT in size.
35913 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35915 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35917 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35919 (FILENAME_MAX): Use macro-int-constant.
35920 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35921 (_IOFBF): Use macro-int-constant.
35922 (_IOLBF): Likewise.
35923 (_IONBF): Likewise.
35924 (SEEK_CUR): Likewise.
35925 (SEEK_END): Likewise.
35926 (SEEK_SET): Likewise.
35927 (TMP_MAX): Likewise.
35928 (EOF): Use macro-int-constant. Require < 0.
35929 (NULL): Use macro-constant. Require == 0.
35930 (stdin): Require type to be FILE *.
35931 (stdout): Likewise.
35932 (stderr): Likewise.
35933 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35934 macro-int-constant.
35935 (EXIT_SUCCESS): Likewise.
35936 (NULL): Use macro-constant. Require == 0.
35937 (RAND_MAX): Use macro-int-constant.
35938 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35939 [C99-based standards] (strtof): Require function.
35940 [C99-based standards] (strtold): Likewise.
35941 [C99-based standards] (strtoll): Likewise.
35942 [C99-based standards] (strtoull): Likewise.
35943 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35944 [ISO || ISO99 || ISO11] (limits.h): Likewise.
35945 [ISO || ISO99 || ISO11] (math.h): Likewise.
35946 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35947 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35950 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
35953 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35954 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35955 * intl/dgettext.c (DCGETTEXT): Likewise.
35956 * intl/gettext.c (DCGETTEXT): Likewise.
35957 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35958 * posix/regex_internal.h (gettext): Likewise.
35959 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35960 Remove declaration.
35961 * include/argz.h (__argz_count_internal)
35962 (__argz_stringify_internal): Remove declaration.
35963 (__argz_count, __argz_stringify): Declare hidden proto.
35964 * intl/dcgettext.c: Remove use of INTDEF.
35965 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35966 * string/argz-stringify.c: Likewise.
35967 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35968 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35969 Declare hidden proto.
35970 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35971 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35972 Declare hidden proto.
35973 * include/stdio.h (__asprintf_internal): Don't declare.
35974 (__asprintf): Don't define as macro. Declare hidden proto.
35975 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35976 (__fsetlocking): Declare hidden proto.
35977 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35978 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35980 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35981 (_IO_setlinebuf): Remove use of INTUSE.
35982 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35983 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35984 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35985 Remove declaration.
35986 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35987 (_IO_do_flush): Remove use of INTUSE.
35988 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35989 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35990 (_IO_adjust_column, _IO_least_wmarker)
35991 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35992 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35993 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35994 (_IO_default_doallocate, _IO_wdefault_doallocate)
35995 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35996 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35997 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35998 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35999 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36000 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36001 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36002 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36003 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36004 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36005 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36006 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36007 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36009 (_IO_flush_all_internal, _IO_adjust_column_internal)
36010 (_IO_default_uflow_internal, _IO_default_finish_internal)
36011 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36012 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36013 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36014 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36015 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36016 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36017 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36018 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36019 (_IO_file_close_internal, _IO_file_close_it_internal)
36020 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36021 (_IO_file_init_internal, _IO_file_attach_internal)
36022 (_IO_file_fopen_internal, _IO_file_read_internal)
36023 (_IO_file_sync_internal, _IO_file_seek_internal)
36024 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36025 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36026 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36027 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36028 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36029 (_IO_list_all_internal, _IO_link_in_internal)
36030 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36031 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36032 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36033 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36034 (_IO_do_write_internal, _IO_padn_internal)
36035 (_IO_getline_info_internal, _IO_getline_internal)
36036 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36037 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36038 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36039 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36040 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36041 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36042 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36043 with libc_hidden_ver, remove use of INTUSE.
36044 * libio/genops.c: Likewise.
36045 * libio/freopen.c: Likewise.
36046 * libio/freopen64.c: Likewise.
36047 * libio/iofclose.c: Likewise.
36048 * libio/iofdopen.c: Likewise.
36049 * libio/iofflush.c: Likewise.
36050 * libio/iofflush_u.c: Likewise.
36051 * libio/iofgets.c: Likewise.
36052 * libio/iofgets_u.c: Likewise.
36053 * libio/iofopen.c: Likewise.
36054 * libio/iofopncook.c: Likewise.
36055 * libio/iofread.c: Likewise.
36056 * libio/iofread_u.c: Likewise.
36057 * libio/ioftell.c: Likewise.
36058 * libio/iofwrite.c: Likewise.
36059 * libio/iogetline.c: Likewise.
36060 * libio/iogets.c: Likewise.
36061 * libio/iogetwline.c: Likewise.
36062 * libio/iopadn.c: Likewise.
36063 * libio/iopopen.c: Likewise.
36064 * libio/ioseekoff.c: Likewise.
36065 * libio/ioseekpos.c: Likewise.
36066 * libio/iosetbuffer.c: Likewise.
36067 * libio/iosetvbuf.c: Likewise.
36068 * libio/ioungetc.c: Likewise.
36069 * libio/ioungetwc.c: Likewise.
36070 * libio/iovdprintf.c: Likewise.
36071 * libio/iovsprintf.c: Likewise.
36072 * libio/iovsscanf.c: Likewise.
36073 * libio/memstream.c: Likewise.
36074 * libio/obprintf.c: Likewise.
36075 * libio/oldfileops.c: Likewise.
36076 * libio/oldiofclose.c: Likewise.
36077 * libio/oldiofdopen.c: Likewise.
36078 * libio/oldiofopen.c: Likewise.
36079 * libio/oldiopopen.c: Likewise.
36080 * libio/oldstdfiles.c: Likewise.
36081 * libio/putc.c: Likewise.
36082 * libio/setbuf.c: Likewise.
36083 * libio/setlinebuf.c: Likewise.
36084 * libio/stdfiles.c: Likewise.
36085 * libio/strops.c: Likewise.
36086 * libio/vasprintf.c: Likewise.
36087 * libio/vscanf.c: Likewise.
36088 * libio/vsnprintf.c: Likewise.
36089 * libio/vswprintf.c: Likewise.
36090 * libio/wfiledoalloc.c: Likewise.
36091 * libio/wfileops.c: Likewise.
36092 * libio/wgenops.c: Likewise.
36093 * libio/wmemstream.c: Likewise.
36094 * libio/wstrops.c: Likewise.
36095 * libio/__fpurge.c: Likewise.
36096 * libio/__fsetlocking.c: Likewise.
36097 * assert/assert.c: Likewise.
36098 * debug/fgets_chk.c: Likewise.
36099 * debug/fgets_u_chk.c: Likewise.
36100 * debug/fread_chk.c: Likewise.
36101 * debug/fread_u_chk.c: Likewise.
36102 * debug/gets_chk.c: Likewise.
36103 * debug/obprintf_chk.c: Likewise.
36104 * debug/vasprintf_chk.c: Likewise.
36105 * debug/vdprintf_chk.c: Likewise.
36106 * debug/vsnprintf_chk.c: Likewise.
36107 * debug/vsprintf_chk.c: Likewise.
36108 * malloc/mtrace.c: Likewise.
36109 * misc/error.c: Likewise.
36110 * misc/syslog.c: Likewise.
36111 * stdio-common/asprintf.c: Likewise.
36112 * stdio-common/fxprintf.c: Likewise.
36113 * stdio-common/getw.c: Likewise.
36114 * stdio-common/isoc99_fscanf.c: Likewise.
36115 * stdio-common/isoc99_scanf.c: Likewise.
36116 * stdio-common/isoc99_vfscanf.c: Likewise.
36117 * stdio-common/isoc99_vscanf.c: Likewise.
36118 * stdio-common/isoc99_vsscanf.c: Likewise.
36119 * stdio-common/printf-prs.c: Likewise.
36120 * stdio-common/printf_fp.c: Likewise.
36121 * stdio-common/printf_fphex.c: Likewise.
36122 * stdio-common/printf_size.c: Likewise.
36123 * stdio-common/putw.c: Likewise.
36124 * stdio-common/scanf.c: Likewise.
36125 * stdio-common/sprintf.c: Likewise.
36126 * stdio-common/tmpfile.c: Likewise.
36127 * stdio-common/vfprintf.c: Likewise.
36128 * stdio-common/vfscanf.c: Likewise.
36129 * stdlib/strfmon_l.c: Likewise.
36130 * sunrpc/openchild.c: Likewise.
36131 * sunrpc/xdr_stdio.c: Likewise.
36132 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36133 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36135 2012-05-24 Roland McGrath <roland@hack.frob.com>
36137 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36139 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36140 in the third column, to generate for the shared library an IFUNC
36141 that uses _dl_vdso_vsym.
36142 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36143 * Makeconfig (object-suffixes-noshared): New variable.
36145 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36146 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36147 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36148 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36151 * include/sys/time.h (__gettimeofday): Remove macro.
36152 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36153 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36155 (__gettimeofday): Add libc_hidden_def.
36156 (gettimeofday): Add libc_hidden_weak.
36157 * sysdeps/mach/gettimeofday.c: Likewise.
36158 * sysdeps/posix/gettimeofday.c: Likewise.
36159 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36160 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36162 (__gettimeofday_internal): Remove strong_alias.
36163 (__gettimeofday): Add libc_hidden_def.
36164 (gettimeofday): Add libc_hidden_weak.
36165 * sysdeps/unix/syscalls.list (gettimeofday):
36166 Remove __gettimeofday_internal alias.
36168 2012-05-24 Daniel Jacobowitz <drow@false.org>
36169 H.J. Lu <hongjiu.lu@intel.com>
36172 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36173 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36174 (largebin_index_32_big): New.
36175 (largebin_index): Use it for 16-byte alignment.
36176 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36177 correction with front_misalign.
36179 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36207 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36208 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36210 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36214 * math/libm-test.inc (exp_test): Add test from bug 14036.
36215 (pow_test): Add test from bug 10846.
36217 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36219 (special_function): Do not include flags in test name.
36220 (parse_args): Likewise.
36221 * sysdeps/i386/fpu/libm-test-ulps: Update.
36222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36223 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36224 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36227 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36229 * math/libm-test.inc ("Philosophy"): Update comment about
36231 (UNDERFLOW_EXCEPTION): New macro.
36232 (UNDERFLOW_EXCEPTION_OK): Likewise.
36233 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36234 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36235 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36236 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36237 (INVALID_EXCEPTION_OK): Update value.
36238 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36239 (OVERFLOW_EXCEPTION_OK): Likewise.
36240 (IGNORE_ZERO_INF_SIGN): Likewise.
36241 (test_exceptions): Handle underflow exceptions.
36242 (acos_test): Update for underflow exception expectations.
36243 (cexp_test): Likewise.
36244 (clog_test): Likewise.
36245 (clog10_test): Likewise.
36246 (csqrt_test): Likewise.
36247 (ctan_test): Likewise.
36248 (ctanh_test): Likewise.
36249 (exp_test): Likewise.
36250 (exp10_test): Likewise.
36251 (exp2_test): Likewise.
36252 (expm1_test): Likewise.
36253 (fma_test): Likewise.
36254 (j0_test): Likewise.
36255 (jn_test): Likewise.
36256 (nexttoward_test): Likewise.
36257 (pow_test): Likewise.
36258 (scalbn_test): Likewise.
36259 (scalbln_test): Likewise.
36260 (tan_test): Likewise.
36261 (y1_test): Likewise.
36262 * sysdeps/i386/fpu/libm-test-ulps: Update.
36263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36265 2012-05-23 David S. Miller <davem@davemloft.net>
36267 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36268 (__libc_sigaction): Remove unused local variables.
36270 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36272 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36274 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36276 mktime: avoid signed integer overflow
36277 * time/mktime.c (__mktime_internal): Do not mishandle the case
36278 where diff == INT_MIN.
36280 mktime: simplify computation of average
36281 * time/mktime.c (ranged_convert): Use new time_t_avg function
36282 instead of rolling our own (probably-slower) code.
36284 mktime: do not assume signed right shift propagates sign bit
36285 * time/mktime.c (isdst_differ): New static function.
36286 (__mktime_internal): No need to normalize tm_isdst now.
36287 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36290 mktime: merge another wrapv change from gnulib
36291 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36292 from some compilers.
36294 mktime: remove incorrect attempt at unusual arithmetics
36295 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36296 The code didn't really work on such machines anyway.
36297 (TYPE_MINIMUM): Assume two's complement.
36298 (twos_complement_arithmetic): Verify that long_int and time_t
36299 are two's complement (or unsigned, in the latter case).
36301 mktime: check signed shifts on long_int and time_t, too
36302 * time/mktime.c (SHR): Check that shifts work as desired
36303 on the types long_int and time_t too, as SHR is used on
36306 mktime: do not assume 'long' is wide enough
36307 * time/mktime.c (verify): Move decl up.
36308 (long_int): New type.
36309 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36310 to remove assumption in the code that 'long' is wide enough to
36311 store year values. This assumption is not true on x32 and on
36312 some non-glibc platforms.
36314 mktime: merge wrapv change from gnulib
36315 * time/mktime.c (WRAPV): New macro.
36316 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36317 (guess_time_tm, __mktime_internal): Do not assume that signed
36318 integer overflow wraps around; modern compilers generate code
36319 where this assumption is no longer valid.
36321 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36323 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36324 Replace "jmp L(pseudo_end)" with "ret".
36325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36328 2012-05-23 Andreas Jaeger <aj@suse.de>
36330 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36331 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36333 2012-05-23 Andreas Jaeger <aj@suse.de>
36334 Maximilian Attems <max@stro.at>
36336 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36339 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36341 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36342 code so that pseudo_end is just ret and the stack pointer is
36343 correct also for static library in error case.
36345 2012-05-23 Joseph Myers <joseph@codesourcery.com>
36347 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36348 move to syscalls.list.
36349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36354 * manual/install.texi (Running make install): Do not mention Linux
36355 kernel version for which pt_chown is not needed.
36356 (Linux): Do not mention problems with nscd with 2.0 kernels.
36357 * INSTALL: Regenerated.
36359 2012-05-23 Andreas Jaeger <aj@suse.de>
36361 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36362 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36364 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36365 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36366 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36367 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36368 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36369 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36370 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36371 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36372 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36373 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36374 * sysdeps/unix/sysv/linux/bits/in.h
36375 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36377 2012-05-22 Roland McGrath <roland@hack.frob.com>
36379 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36380 (PREPARE_VERSION): Just use assert instead, it will be elided
36381 under [NDEBUG] anyway.
36383 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36385 * sysdeps/unix/sysv/linux/Makefile: Include
36386 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36387 (sysdep_routines): Remove sysctl.
36388 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36389 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36390 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36391 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36392 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36394 2012-05-22 Andreas Jaeger <aj@suse.de>
36396 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36397 that pseudo_end is just ret and the stack pointer is correct also
36398 for static library in error case.
36400 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36403 * nss/nsswitch.c (defconfig_entries): New variable.
36404 (__nss_database_lookup): Don't leak defconfig entries.
36405 (nss_parse_service_list): Don't leak on error paths.
36406 (free_database_entries): New function.
36407 (free_defconfig): New function.
36408 (free_mem): Move common code to free_database_entries.
36410 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36412 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36414 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36416 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36417 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36420 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36421 (INTERNAL_SYSCALL_TYPES): Likewise.
36422 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36423 (LOAD_REGS_TYPES_[1-6]): Likewise.
36424 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36425 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36427 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36429 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36430 copysignl for GLIBC_2_0.
36431 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36432 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36434 logbl for GLIBC_2_0.
36435 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36436 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36438 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36440 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36441 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36443 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36446 * time/mktime.c: Update copyright years.
36448 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36450 mktime: merge comment-quoting-style change from gnulib
36451 * time/mktime.c: Quote 'like this' in comments.
36452 The GNU coding standards suggest that we no longer quote `like this',
36453 as "`" and "'" are typically rendered asymmetrically nowadays.
36454 The typical gnulib style is to quote 'like this' when quoting
36455 code, and "like this" when quoting English.
36457 * time/mktime.c (compile-command): Add "-I.".
36459 mktime: merge mktime-internal.h change from gnulib
36460 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36462 mktime: merge time_r change from gnulib
36463 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36465 mktime: merge DEBUG change from gnulib
36466 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36467 case system <time.h> has a #define.
36469 mktime: merge <sys/types.h> change from gnulib
36470 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36471 since <time.t> is now guaranteed to define time_t.
36473 mktime: merge HAVE_CONFIG_H change from gnulib
36474 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36476 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36481 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36483 (struct rusage): Use anonymous union to pad each field to
36486 2012-05-21 David S. Miller <davem@davemloft.net>
36488 * Makefules (o-iterator): Remove .s cases.
36489 (compile-command.s): Delete.
36490 (COMPILE.s): Delete.
36491 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36493 2012-05-21 Joseph Myers <joseph@codesourcery.com>
36495 * configure.in (libc_cv_predef_stack_protector): Only consider
36496 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36497 * configure: Regenerated.
36499 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36502 New macro. Use R*LP on int and pointer.
36503 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36504 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36505 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36506 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36508 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36509 [__WORDSIZE_TIME64_COMPAT32] instead of
36510 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36511 (struct utmp): Likewise.
36512 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36513 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36515 (__WORDSIZE_TIME64_COMPAT32): This.
36516 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36517 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36518 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36519 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36520 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36521 (__WORDSIZE_TIME64_COMPAT32): New macro.
36523 2012-05-21 Andreas Jaeger <aj@suse.de>
36525 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36526 only if [SHARED]. Add prototype for __wcschr_ia32.
36528 2012-05-21 Roland McGrath <roland@hack.frob.com>
36530 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36531 of %rbp unmolested in the jmp_buf while mangling the low bits.
36532 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36533 unmolested high bits of %rbp while demangling the low bits.
36534 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36536 2012-05-21 Andreas Jaeger <aj@suse.de>
36538 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36539 * sunrpc/svc_simple.c: Use it for registerrpc.
36540 * sunrpc/xcrypt.c: Use it for passwd2des.
36542 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36544 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36546 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36547 Don't define if [__SYSCALL_WORDSIZE != 32].
36548 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36551 2012-05-21 Bruno Haible <bruno@clisp.org>
36552 Andreas Jaeger <aj@suse.de>
36554 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36555 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36556 inptr and inend for must_buffer_ch.
36557 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36558 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36559 * stdio-common/Makefile (tests): Remove bug15.
36560 (bug15-ENV): Remove macro.
36561 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36564 2012-05-19 Andreas Jaeger <aj@suse.de>
36565 Roland McGrath <roland@hack.frob.com>
36567 * manual/contrib.texi: Completely rewritten. It contains now an
36568 alphabetical list of contributors and their contributions.
36570 2012-05-21 Richard Henderson <rth@twiddle.net>
36572 * misc/getauxval.c (__getauxval): Use unsigned long int.
36573 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36574 (getauxval): Use unsigned long int.
36576 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36578 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36580 2012-05-21 Roland McGrath <roland@hack.frob.com>
36582 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36583 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36584 __alignof__ (long double).
36586 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36590 2012-05-20 Richard Henderson <rth@twiddle.net>
36592 * misc/getauxval.c: New file.
36593 * misc/sys/auxv.h: New file.
36594 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36595 (routines): Add getauxval.
36596 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36597 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36598 * elf/dl-sysdep.c (_dl_auxv): Remove.
36599 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36600 * elf/dl-support.c (_dl_auxv): New variable.
36601 (_dl_aux_init): Initialize it.
36602 * manual/startup.texi (Auxiliary Vector): New node.
36603 * sysdeps/generic/bits/hwcap.h: New file.
36604 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36605 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36606 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36607 * sysdeps/sparc/sysdep.h: ... here. Include it.
36608 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36609 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36621 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36625 2012-05-19 David S. Miller <davem@davemloft.net>
36627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36629 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36632 * math/s_ccosh.c: Include <float.h>
36633 (__ccosh): Avoid internal overflow calculating sinh and cosh
36634 values before multiplying by sin and cos values.
36635 * math/s_ccoshf.c: Likewise.
36636 * math/s_ccoshl.c: Likewise.
36637 * math/s_csin.c: Likewise.
36638 * math/s_csinf.c: Likewise.
36639 * math/s_csinl.c: Likewise.
36640 * math/s_csinh.c: Likewise.
36641 * math/s_csinhf.c: Likewise.
36642 * math/s_csinhl.c: Likewise.
36643 * math/libm-test.inc (ccos_test): Add more tests.
36644 (ccosh_test): Likewise.
36645 (csin_test): Likewise.
36646 (csinh_test): Likewise.
36647 * sysdeps/i386/fpu/libm-test-ulps: Update.
36648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36650 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36652 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36653 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36655 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36657 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36659 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36660 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36661 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36662 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36663 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36664 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36665 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36666 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36667 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36668 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36669 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36670 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36671 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36672 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36673 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36674 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36675 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36676 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36677 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36678 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36679 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36680 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36681 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36682 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36683 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36684 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36685 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36686 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36687 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36688 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36689 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36691 2012-05-18 Andreas Jaeger <aj@suse.de>
36693 * csu/.gitignore: Delete.
36695 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36697 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36698 (timex): Use __syscall_slong_t.
36700 2012-05-18 Andreas Jaeger <aj@suse.de>
36701 Carlos O'Donell <carlos_odonell@mentor.com>
36703 * manual/install.texi (Configuring and compiling): Update
36704 description about files modified in the source directory.
36705 * INSTALL: Regenerated.
36707 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36709 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36710 value. Use "or" to set return value to -1.
36711 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36712 negate return value.
36714 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36716 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36717 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
36718 failure if the compiler has Graphite support disabled.
36719 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36721 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36722 (CFLAGS-memmove.c): Likewise.
36723 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36726 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36728 * sysdeps/x86_64/x32/_itoa.h: New file.
36730 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36731 getdents system call only if kernel and user dirents have the
36732 same d_ino and d_off.
36734 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36735 LLONG_MAX != LONG_MAX.
36736 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36737 (_fitoa_word): Likewise.
36739 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36741 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36742 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36743 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36745 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36746 include <bits/wordsize.h>. Check __x86_64__ instead of
36748 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36749 if __x86_64__ is defined. Use anonymous union on fpstate.
36751 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36754 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36756 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36757 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36758 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36759 Refer to _rtld_local_ro instead of _rtld_global_ro.
36760 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36762 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36764 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36766 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36767 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36768 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36770 * sysdeps/powerpc/powerpc32/dl-machine.c
36771 (__elf_machine_runtime_setup) [PROF]: Don't reference
36774 2012-05-18 Andreas Jaeger <aj@suse.de>
36776 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36777 function only available for GCCs before 3.4 since GCC 3.4
36778 introduced a builtin.
36780 (llrintf): Likewise.
36781 (llrint): Likewise.
36788 (nearbyint): Likewise.
36789 (nearbyintf): Likewise.
36793 (floorf): Likewise.
36795 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36797 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36798 on both fields and cast pointer to __syscall_ulong_t.
36800 * bits/types.h (__fsword_t): New type.
36801 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36802 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36803 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36804 (__FSWORD_T_TYPE): Likewise.
36805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36806 (__FSWORD_T_TYPE): Likewise.
36807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36808 (__FSWORD_T_TYPE): Likewise.
36809 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36810 (__FSWORD_T_TYPE): Likewise.
36811 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36812 __SWORD_TYPE with __fsword_t.
36813 (statfs64): Likewise.
36815 2012-05-17 David S. Miller <davem@davemloft.net>
36817 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36819 2012-05-17 Andreas Jaeger <aj@suse.de>
36821 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36824 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36826 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36828 2012-05-17 Andreas Jaeger <aj@suse.de>
36830 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36833 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36835 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36837 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36839 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36840 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36842 2012-05-17 Andreas Jaeger <aj@suse.de>
36843 Carlos O'Donell <carlos_odonell@mentor.com>
36846 * sysdeps/x86_64/multiarch/init-arch.h
36847 (bit_YMM_Usable): Rename to...
36848 (bit_AVX_Usable): ... this.
36849 (bit_FMA4_Usable): New macro.
36850 (bit_XMM_state): New macro.
36851 (bit_YMM_state): New macro.
36852 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36853 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36854 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36855 (CPUID_OSXSAVE): New macro.
36856 (CPUID_AVX): New macro.
36857 (CPUID_FMA4): New macro.
36858 (index_YMM_Usable): Rename to...
36859 (index_AVX_Usable): ... this.
36860 (HAS_AVX): Use HAS_ARCH_FEATURE.
36861 (HAS_FMA4): Likewise.
36862 (HAS_YMM_USABLE): Remove.
36863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36864 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36866 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36867 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36868 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36869 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36870 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36872 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36874 * math/libm-test.c: Support platforms without multiple rounding modes.
36875 * math/bug-nextafter.c: Support platforms without FP exceptions.
36876 * math/bug-nexttoward.c: Likewise.
36877 * math/test-fenv.c: Likewise.
36878 * math/test-misc.c: Likewise.
36879 * stdlib/bug-getcontext.c: Likewise.
36881 2012-05-17 Andreas Jaeger <aj@suse.de>
36883 * manual/examples/search.c (critter_cmp): Change signature to
36885 * manual/string.texi (Collation Functions): Likewise.
36887 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36889 * bits/types.h: Fold copyright years.
36890 * bits/typesizes.h: Likewise.
36891 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36892 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36895 * time/time.h: Likewise.
36897 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36900 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36901 in instead of returning them. Return void.
36902 (__libc_mallinfo): Accumulate over all arenas.
36903 (__malloc_stats): Adjust for change in int_mallinfo interface.
36905 2012-05-16 Roland McGrath <roland@hack.frob.com>
36908 * configure.in (NM): Add AC_CHECK_TOOL for it.
36909 (libc_extra_cflags): New substituted variable.
36910 Check for -fstack-protector being used implicitly.
36911 * configure: Regenerated.
36912 * config.make.in (config-extra-cflags): New variable,
36913 gets @libc_extra_cflags@.
36914 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36917 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36918 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36919 * configure: Regenerated.
36920 * config.make.in (CPPUNDEFS): New substituted variable.
36921 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36922 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36923 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36925 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36927 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36928 (mq_attr): Use __syscall_slong_t.
36930 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36932 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36933 Check __x86_64__ instead of __WORDSIZE.
36934 (_STAT_VER_LINUX): Likewise.
36935 (stat): Check __x86_64__ instead of __WORDSIZE. Use
36936 __syscall_ulong_t and __syscall_slong_t.
36937 (stat64): Likewise.
36939 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36941 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36943 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36945 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36947 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36949 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36952 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36953 include <bits/wordsize.h>. Check __x86_64__ instead of
36955 (greg_t): Use "__extension__ long long int" if __x86_64__ is
36957 (mcontext_t): Replace "unsigned long" with "unsigned long long".
36959 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36960 include <bits/wordsize.h>. Check __x86_64__ instead of
36962 (user_regs_struct): Use "__extension__ unsigned long long"
36963 instead of "unsigned long" if __x86_64__ is defined.
36964 (user): Likewise. Pad after pointer field if __ILP32__ is
36967 2012-05-16 Joseph Myers <joseph@codesourcery.com>
36969 * configure.in (makeinfo): Require version 4.5 or later. Allow
36971 * configure: Regenerated.
36972 * manual/install.texi (texinfo): Increase version requirement to
36974 * INSTALL: Regenerated.
36976 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36978 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36980 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36982 * sysdeps/x86_64/x32/ffs.c: New file.
36984 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36986 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36987 defined. Use __syscall_ulong_t.
36988 (shminfo): Use __syscall_ulong_t.
36989 (shm_info): Likewise.
36991 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36994 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36996 (msgqnum_t): Use __syscall_ulong_t.
36997 (msglen_t): Likewise.
36998 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37001 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37002 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37004 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37006 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37007 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37009 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37012 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37013 include <bits/wordsize.h>. Check __x86_64__ instead of
37016 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37017 "unsigned long long int" if __x86_64__ is defined.
37018 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37020 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37021 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37022 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37024 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37026 (GET_PC): Cast to uintptr_t first.
37027 (GET_FRAME): Likewise.
37028 (GET_STACK): Likewise.
37030 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37031 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37032 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37033 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37034 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37035 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37036 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37037 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37038 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37039 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37040 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37041 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37042 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37043 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37044 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37045 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37046 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37047 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37048 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37049 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37050 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37051 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37052 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37053 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37054 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37055 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37056 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37057 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37058 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37060 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37062 * Makerules (+depfiles): Also collect depfiles from .oS in
37064 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37065 .oS, $(libnldbl-routines)).
37067 * Makerules (native-compile-mkdep-flags): Define.
37068 * sunrpc/Makefile (extra-objs): Add $(addprefix
37069 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37070 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37071 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37072 calling $(make-target-directory).
37074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37076 * bits/types.h (__snseconds_t): Removed.
37077 * time/time.h (struct timespec): Replace __snseconds_t with
37079 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37080 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37082 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37083 (__SNSECONDS_T_TYPE): Likewise.
37084 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37085 (__SNSECONDS_T_TYPE): Likewise.
37086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37087 (__SNSECONDS_T_TYPE): Likewise.
37089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37091 * sysdeps/mach/hurd/bits/typesizes.h
37092 (__SYSCALL_SLONG_TYPE): New macro.
37093 (__SYSCALL_ULONG_TYPE): Likewise.
37095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37097 * bits/types.h (__syscall_slong_t): New type.
37098 (__syscall_ulong_t): Likewise.
37100 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37101 (__SYSCALL_ULONG_TYPE): Likewise.
37102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37103 (__SYSCALL_SLONG_TYPE): Likewise.
37104 (__SYSCALL_ULONG_TYPE): Likewise.
37105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37106 (__SYSCALL_SLONG_TYPE): Likewise.
37107 (__SYSCALL_ULONG_TYPE): Likewise.
37108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37109 (__SYSCALL_SLONG_TYPE): Likewise.
37110 (__SYSCALL_ULONG_TYPE): Likewise.
37112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37114 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37115 Add sigaltstack-offsets.sym.
37116 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37117 <sigaltstack-offsets.h>.
37118 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37119 longjmp_msg pointer.
37120 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37121 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37123 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37125 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37127 * elf/stackguard-macros.h: Remove file.
37128 * sysdeps/generic/stackguard-macros.h: New file.
37129 * sysdeps/i386/stackguard-macros.h: Likewise.
37130 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37131 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37132 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37133 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37134 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37135 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37136 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37137 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37138 <elf/stackguard-macros.h>.
37141 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37142 __aligned__ in attribute.
37143 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37144 (gregset_t): Likewise.
37146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37148 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37149 * sysdeps/x86_64/64/Implies-after: Here. New file.
37150 * sysdeps/x86_64/x32/Implies-after: New file.
37152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37154 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37155 and access return value for _dl_profile_fixup. Use R10_LP to
37158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37160 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37164 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37165 * sysdeps/x86_64/x32/sysdep.h: New file.
37167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37169 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37170 * sysdeps/x86_64/setjmp.S: Likewise.
37172 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37174 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37175 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37176 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37177 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37178 remove unused global constant.
37180 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37182 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37183 include of <not-cancel.h>.
37185 2012-05-15 Roland McGrath <roland@hack.frob.com>
37187 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37189 2012-05-15 Jeff Law <law@redhat.com>
37190 Andreas Jaeger <aj@suse.de>
37193 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37195 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37196 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37197 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37198 code changing __hst_map_handle.map.
37200 2012-05-15 Roland McGrath <roland@hack.frob.com>
37202 * configure.in (sysnames): Look for Implies-before and Implies-after
37204 * configure: Regenerated.
37206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37208 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37209 8-byte data alignment with LP_SIZE alignment.
37211 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37213 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37218 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37222 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37223 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37224 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37226 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37228 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37230 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37231 (stackinfo_sub_sp): Likewise.
37233 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37235 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37240 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37245 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37250 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37254 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37255 into R11_LP and load __x86_64_shared_cache_size_half into
37258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37260 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37263 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37272 powerpc32/power7/fpu/s_logb.c via #include.
37273 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37274 powerpc32/power7/fpu/s_logbf.c via #include.
37275 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37276 powerpc32/power7/fpu/s_logbl.c via #include.
37278 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37280 * README.libm: Remove file.
37282 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37284 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37285 count for x32. Use R*_LP and omit operand-size suffix.
37287 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37289 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37290 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37291 * sysdeps/x86_64/x32/shlib-versions: New file.
37293 2012-05-14 Roland McGrath <roland@hack.frob.com>
37295 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37296 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37297 Use _dl_fatal_printf instead.
37299 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37301 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37302 set if not set by the user. Do not allow for being unset.
37303 * sysdeps/unix/sysv/linux/configure: Regenerated.
37305 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37307 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37308 the `q' suffix from lea and replace .quad with ASM_ADDR.
37310 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37313 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37315 (PTR_DEMANGLE): Likewise.
37317 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37319 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37321 (ASM_ADDR): Likewise.
37322 (RAX_LP): Likewise.
37323 (RBP_LP): Likewise.
37324 (RBX_LP): Likewise.
37325 (RCX_LP): Likewise.
37326 (RDI_LP): Likewise.
37327 (RSI_LP): Likewise.
37328 (RSP_LP): Likewise.
37331 (R10_LP): Likewise.
37332 (R10_LP): Likewise.
37333 (R11_LP): Likewise.
37334 (R12_LP): Likewise.
37335 (R13_LP): Likewise.
37336 (R14_LP): Likewise.
37337 (R15_LP): Likewise.
37339 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37341 * sysdeps/x86_64/x32/dl-machine.h: New file.
37343 2012-05-14 Andreas Jaeger <aj@suse.de>
37345 * manual/Makefile (subdir): Remove export of subdir.
37346 (all): Remove target.
37347 (.PHONY): Remove all from list.
37348 (mkinstalldirs): Remove.
37349 (.PHONY): Remove installdirs from list.
37350 ($(inst_infodir)/libc.info): Use make-target-directory.
37351 (installdirs): Remove.
37352 (subdir_%): Remove.
37353 (glibc-targets): Remove.
37356 ($(objpfx)stubs ../po/manual.pot): Remove.
37357 ($(objpfx)stamp%): Remove.
37358 (make-target-directory): Remove.
37359 (subdir_install): Remove.
37360 (routines): Remove.
37367 * manual/.gitignore: Remove, it's not needed anymore.
37368 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37370 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37372 (texis): Renamed to $(objpfx)texis.
37373 (texis-path): New, contains path to generated files.
37374 (chapters.%): Use texis-path for complete path, add extra argument
37376 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37377 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37378 (summary,texi, stamp-summary): Use complete path of
37379 files. Generate files in build dir.
37380 (dir-add.texi): Build in build dir.
37381 (libm-err.texi,stamp-libm-err): Likewise.
37382 (version.texi, stamp-version): Likewise.
37383 (.%c.texi): Likewise.
37384 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37385 (mostlyclean): Remove target.
37386 (realclean): Remove target.
37387 (generated): Add new variable with contents from mostlyclean and
37388 realclean, remove entries duplicated in common-mostlyclean, add
37389 stamp-libm-err and stamp-version.
37390 (generated-dirs): Add libc directory.
37391 ($(inst_infodir)/libc.info): Install files from build dir.
37393 * manual/install.texi (Configuring and compiling): Adjust since
37394 the info files are not part of the tar ball anymore.
37396 2012-05-14 Andreas Jaeger <aj@suse.de>
37398 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37401 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37404 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37405 to 2.2.0 where earlier.
37406 * sysdeps/unix/sysv/linux/configure: Regenerated.
37407 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37408 Remove conditional code.
37409 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37410 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37411 Remove conditional code.
37412 [!__NR_lchown]: Likewise.
37413 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37414 [__NR_lchown]: Likewise.
37415 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37416 comment referencing __ASSUME_LCHOWN_SYSCALL.
37417 * sysdeps/unix/sysv/linux/i386/sigaction.c
37418 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37419 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37420 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37421 Remove conditional code.
37422 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37423 (__protocol_available): Remove #if 0 code.
37424 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37426 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37427 * sysdeps/unix/sysv/linux/kernel-features.h
37428 (__ASSUME_GETCWD_SYSCALL): Don't define.
37429 (__ASSUME_REALTIME_SIGNALS): Likewise.
37430 (__ASSUME_PREAD_SYSCALL): Likewise.
37431 (__ASSUME_PWRITE_SYSCALL): Likewise.
37432 (__ASSUME_POLL_SYSCALL): Likewise.
37433 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37434 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37436 (__ASSUME_SIOCGIFNAME): Don't define.
37437 (__ASSUME_MSG_NOSIGNAL): Likewise.
37438 (__ASSUME_SENDFILE): Define unconditionally.
37439 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37440 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37442 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37443 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37444 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37445 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37446 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37447 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37448 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37450 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37451 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37453 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37454 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37456 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37457 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37459 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37460 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37462 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37465 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37466 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37468 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37471 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37472 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37473 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37474 Remove conditional code.
37475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37476 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37477 Remove conditional code.
37478 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37479 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37480 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37481 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37482 Remove conditional code.
37483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37484 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37485 Remove conditional code.
37486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37487 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37488 Remove conditional code.
37489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37490 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37491 Remove conditional code.
37492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37493 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37494 Remove conditional code.
37495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37496 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37497 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37499 * sysdeps/unix/sysv/linux/sigaction.c
37500 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37501 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37502 * sysdeps/unix/sysv/linux/sigpending.c
37503 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37504 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37505 * sysdeps/unix/sysv/linux/sigprocmask.c
37506 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37507 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37508 * sysdeps/unix/sysv/linux/sigsuspend.c
37509 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37510 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37511 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37512 (__libc_missing_rt_sigs): Remove.
37513 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37514 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37515 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37516 Remove conditional code.
37517 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37518 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37520 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37521 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37522 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37523 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37525 2012-05-14 Andreas Jaeger <aj@suse.de>
37527 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37528 it's not used in glibc.
37529 (__coshm1): Likewise.
37530 (__acosh1p): Likewise.
37533 * manual/string.texi (Copying and Concatenation): Add missing
37534 variable in concat example.
37535 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37537 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37540 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37541 __builtin_clzl with __builtin_clzll.
37543 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37546 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37549 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37551 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37552 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37553 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37554 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37556 2012-05-14 Mike Frysinger <vapier@gentoo.org>
37558 * NEWS: Update ia64 info.
37560 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37562 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37565 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37567 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37568 * sysdeps/unix/syscalls.list (dup3): Likewise.
37569 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37570 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37572 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37574 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37575 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37577 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37579 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37581 (TLS_IE): Use mov/add instead of movq/addq to load thread
37583 (TLS_GD_PREFIX): New.
37586 2012-05-11 David S. Miller <davem@davemloft.net>
37588 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37589 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37590 (_FPU_SETCW): Likewise.
37592 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37594 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37595 is 32-byte aligned.
37597 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37600 * iconvdata/gb18030.c: Update tables.
37601 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37602 characters specially.
37603 (BODY for TO_LOOP): Add encoding of missing ranges.
37605 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37608 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37609 * sysdeps/mach/hurd/dup3.c: Likewise.
37610 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37611 * sysdeps/powerpc/memmove.c:: Likewise.
37613 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37615 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37616 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37618 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37620 * elf/elf.h (R_X86_64_RELATIVE64): New.
37621 (R_X86_64_NUM): Updated.
37622 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37623 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37624 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37625 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37626 tst-quad1pie tst-quad2pie
37627 (modules-names): Add tst-quadmod1 tst-quadmod2.
37628 ($(objpfx)tst-quad1): New dependency.
37629 ($(objpfx)tst-quad2): Likewise.
37630 ($(objpfx)tst-quad1pie): Likewise.
37631 ($(objpfx)tst-quad2pie): Likewise.
37632 * sysdeps/x86_64/tst-quad1.c: New file.
37633 * sysdeps/x86_64/tst-quad1pie.c: New file.
37634 * sysdeps/x86_64/tst-quad2.c: Likewise.
37635 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37636 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37637 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37638 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37639 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37641 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37643 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37644 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37645 * streams/stropts.h (t_scalar_t): Define type.
37647 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37648 (_PATH_PRESERVE): Set to "/var/lib".
37649 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37651 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37654 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37655 if __dir_mkfile succeeded.
37657 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37658 checking for _hurd_dtablesize. Unlock it right after having
37659 finished _hurd_dtable allocation.
37661 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37663 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37664 * sysdeps/mach/hurd/configure: Regenerated.
37665 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37666 special-casing to...
37667 * sysdeps/gnu/configure.in: ... this new file.
37668 * sysdeps/unix/sysv/linux/configure: Regenerated.
37669 * sysdeps/gnu/configure: New generated file.
37671 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37672 for Linux: use nsec instead of usec, as well as:
37673 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37674 members of type struct timespec.
37675 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37677 (struct stat64): Likewise.
37678 (_STATBUF_ST_NSEC): New macro.
37679 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37681 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37682 __strtoul_internal rather than strtoul.
37684 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37686 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37689 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37691 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37692 which preserves existing values.
37693 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37695 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37697 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37698 TIMEOUT values. Return EINVAL for NFDS values either negative or
37699 greater than FD_SETSIZE.
37701 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37703 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37704 allocated, call __vm_protect to finish enabling the existing space, and
37705 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37706 allocate the remainder.
37708 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37710 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37711 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37713 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37715 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37716 sysdeps/mach/hurd/readlink.c.
37718 * posix/tst-sysconf.c (posix_options): Only use
37719 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37720 _POSIX_SYNCHRONIZED_IO when they are defined
37721 * sysdeps/mach/hurd/bits/posix_opt.h:
37722 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37723 (_XOPEN_REALTIME): Undefine macro.
37724 (_XOPEN_REALTIME_THREADS): Undefine macro.
37725 (_XOPEN_SHM): Undefine macro.
37726 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37728 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37730 (_POSIX_ASYNC_IO): Undefine macro.
37731 (_POSIX_PRIORITIZED_IO): Undefine macro.
37732 (_POSIX_SPIN_LOCKS): Define macro to -1.
37734 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37735 SA_NODEFER, SA_RESETHAND.
37736 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37737 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37740 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37742 * elf/Makefile (pldd-modules): Define unconditionally.
37744 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37746 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37750 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37751 Return ENOENT when name is empty.
37752 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37754 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37756 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37758 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37760 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37762 Fix mlock in all cases except non-readable pages.
37763 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37764 instead of VM_PROT_ALL as parameter to __vm_wire function.
37766 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37767 (__mkdir): When path is `/', just fail with EEXIST.
37768 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37770 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37772 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37773 <sys/uio.h> (for writev).
37774 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37775 and <sys/param.h> (for MIN).
37777 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37779 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37780 REQUESTED_TIME. Properly set the remaining time and return EINTR
37783 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37785 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37786 Depend on against $(link-rpcuserlibs).
37788 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37790 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37791 (__libc_stack_end): Do not use attribute_relro.
37792 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37793 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37794 to libthread-provided value.
37795 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37798 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37801 * bits/libc-lock.h (__libc_once_get): New macro.
37802 * sysdeps/mach/bits/libc-lock.h: Likewise.
37803 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37804 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37805 instead of using implementation details.
37807 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37808 * libio/freopen.c: Likewise.
37809 * libio/freopen64.c: Likewise.
37810 * misc/syslog.c: Likewise.
37811 * nscd/connections.c: Likewise.
37812 * nscd/netgroupcache.c: Likewise.
37813 * sysdeps/posix/getcwd.c: Likewise.
37815 2012-05-10 Roland McGrath <roland@hack.frob.com>
37817 * math/w_ilogbf.c: Add #include <limits.h>.
37819 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37821 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37822 path instead of returning without unlocking.
37824 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37825 immediate-write ioctls.
37826 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37828 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37830 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37831 __builtin_frame_address instead of making assumptions about the
37832 location of the return address relative to DATA. Force early load of
37833 the return address.
37834 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37835 __builtin_frame_address.
37838 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37839 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37840 implement dup3 and do some further code clean-ups.
37841 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37842 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37844 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37846 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37848 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37849 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37850 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37851 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37852 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37855 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37856 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37857 when handler == SIG_ERR, not when handler != SIG_ERR.
37859 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37861 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37862 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37865 accept4 for GNU Hurd.
37866 * include/sys/socket.h (__libc_accept4): New prototype.
37867 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37868 to implement __libc_accept4.
37869 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37871 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37873 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37874 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37875 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37876 signal-defines.sym.
37878 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37880 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37882 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37884 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37885 assertion on O_CLOEXEC flag.
37886 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37887 * hurd/intern-fd.c: Likewise.
37888 * hurd/port2fd.c: Likewise.
37890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37893 * bits/in.h (IPV6_PKTINFO): Define new macro.
37894 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37896 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37901 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37902 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37903 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37904 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37906 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37907 * math/libm-test.inc (logb_test) : Additional logb tests.
37909 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37910 Andreas Jaeger <aj@suse.de>
37912 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37913 * configure: Regenerated.
37914 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37915 * config.make.in (link-obsolete-rpc): New substituted variable.
37916 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37917 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37918 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37919 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37920 so that libc.a contains the symbols.
37921 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37922 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37923 * sunrpc/auth_none.c: Likewise.
37924 * sunrpc/auth_unix.c: Likewise.
37925 * sunrpc/authdes_prot.c: Likewise.
37926 * sunrpc/authuxprot.c: Likewise.
37927 * sunrpc/clnt_gen.c: Likewise.
37928 * sunrpc/clnt_perr.c: Likewise.
37929 * sunrpc/clnt_raw.c: Likewise.
37930 * sunrpc/clnt_simp.c: Likewise.
37931 * sunrpc/clnt_tcp.c: Likewise.
37932 * sunrpc/clnt_udp.c: Likewise.
37933 * sunrpc/clnt_unix.c: Likewise.
37934 * sunrpc/des_crypt.c: Likewise.
37935 * sunrpc/des_soft.c: Likewise.
37936 * sunrpc/get_myaddr.c: Likewise.
37937 * sunrpc/key_call.c: Likewise.
37938 * sunrpc/key_prot.c: Likewise.
37939 * sunrpc/netname.c: Likewise.
37940 * sunrpc/pm_getmaps.c: Likewise.
37941 * sunrpc/pm_getport.c: Likewise.
37942 * sunrpc/pmap_clnt.c: Likewise.
37943 * sunrpc/pmap_prot.c: Likewise.
37944 * sunrpc/pmap_prot2.c: Likewise.
37945 * sunrpc/pmap_rmt.c: Likewise.
37946 * sunrpc/publickey.c: Likewise.
37947 * sunrpc/rpc_cmsg.c: Likewise.
37948 * sunrpc/rpc_common.c: Likewise.
37949 * sunrpc/rpc_dtable.c: Likewise.
37950 * sunrpc/rpc_prot.c: Likewise.
37951 * sunrpc/rpc_thread.c: Likewise.
37952 * sunrpc/rtime.c: Likewise.
37953 * sunrpc/svc.c: Likewise.
37954 * sunrpc/svc_auth.c: Likewise.
37955 * sunrpc/svc_raw.c: Likewise.
37956 * sunrpc/svc_run.c: Likewise.
37957 * sunrpc/svc_tcp.c: Likewise.
37958 * sunrpc/svc_udp.c: Likewise.
37959 * sunrpc/svc_unix.c: Likewise.
37960 * sunrpc/svcauth_des.c: Likewise.
37961 * sunrpc/xcrypt.c: Likewise.
37962 * sunrpc/xdr.c: Likewise.
37963 * sunrpc/xdr_array.c: Likewise.
37964 * sunrpc/xdr_float.c: Likewise.
37965 * sunrpc/xdr_intXX_t.c: Likewise.
37966 * sunrpc/xdr_mem.c: Likewise.
37967 * sunrpc/xdr_rec.c: Likewise.
37968 * sunrpc/xdr_ref.c: Likewise.
37969 * sunrpc/xdr_sizeof.c: Likewise.
37970 * sunrpc/xdr_stdio.c: Likewise.
37972 2012-05-10 Roland McGrath <roland@hack.frob.com>
37974 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37975 change. Update copyright years.
37977 2012-05-10 Joseph Myers <joseph@codesourcery.com>
37979 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37981 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
37982 Joseph Myers <joseph@codesourcery.com>
37983 Paul Pluzhnikov <ppluzhnikov@google.com>
37986 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37988 [cross-compiling] (extra-libs): Likewise.
37989 [cross-compiling] (extra-libs-others): Likewise.
37990 [cross-compiling] (librpcsvc-routines): Likewise.
37991 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37992 [cross-compiling] (omit-deps): Likewise.
37993 (sunrpc-CPPFLAGS): New variable.
37994 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37995 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37996 (cross-rpcgen-objs): New variable.
37997 (extra-objs): Append $(cross-rpcgen-objs).
37998 ($(cross-rpcgen-objs)): New rule.
37999 ($(objpfx)cross-rpcgen): Likewise.
38000 (rpcgen-cmd): Define to use $(built-program-file). Expand
38002 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38003 ($(objpfx)x%.stmp): Likewise.
38004 * sunrpc/proto.h [IS_IN_build] (_): Define.
38005 [IS_IN_build] (_libc_intl_domainname): Likewise.
38007 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38009 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38010 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38011 and R_X86_64_TPOFF64.
38013 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38015 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38016 sysdeps/unix/sysv/syscalls.list.
38019 * sysdeps/unix/sysv/syscalls.list: Remove file.
38021 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38024 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38025 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38026 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38027 (__LC_IDENTIFICATION): Make these macros useful in #if
38028 expressions, as required by C99.
38030 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38032 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38033 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38036 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38038 * stdlib/longlong.h: Updated from GCC.
38040 2012-05-09 Andreas Jaeger <aj@suse.de>
38042 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38043 default is first entry.
38044 (run_mode): Set type.
38045 (main): Remove informal message about syslog.
38046 (options): Fix typo.
38049 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38052 (llrintf): Likewise.
38053 (llrint): Likewise.
38056 (nearbyint): Likewise.
38057 (nearbyintf): Likewise.
38059 2012-05-09 Andreas Jaeger <aj@suse.de>
38060 Pedro Alves <palves@redhat.com>
38062 * nscd/nscd.c (run_mode): Use enum.
38063 (main): Cleanup coding style issue.
38065 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
38066 Andreas Jaeger <aj@suse.de>
38068 * nscd/nscd.c (go_background): Replaced with...
38069 (run_mode): ... this.
38070 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38071 (options): Add -F --foreground.
38072 (main): Implement it.
38073 (parse_opt): Parse it.
38075 2012-05-09 Andreas Jaeger <aj@suse.de>
38078 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38079 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38080 -Wconversion warning.
38081 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38084 2012-05-09 Joseph Myers <joseph@codesourcery.com>
38086 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38088 (LC_ALL): Use macro-int-constant.
38089 (LC_COLLATE): Likewise.
38090 (LC_CTYPE): Likewise.
38091 (LC_MESSAGES): Likewise.
38092 (LC_MONETARY): Likewise.
38093 (LC_NUMERIC): Likewise.
38094 (LC_TIME): Likewise.
38095 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38096 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38097 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38098 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38100 [C99-based standards] (float_t): Expect type.
38101 [C99-based standards] (double_t): Expect type.
38102 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38104 [C99-based standards] (HUGE_VALL): Likewise.
38105 [C99-based standards] (INFINITY): Likewise.
38106 [C99-based standards] (NAN): Likewise.
38107 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38108 [C99-based standards] (FP_NAN): Likewise.
38109 [C99-based standards] (FP_NORMAL): Likewise.
38110 [C99-based standards] (FP_SUBNORMAL): Likewise.
38111 [C99-based standards] (FP_ZERO): Likewise.
38112 [C99-based standards] (FP_FAST_FMA): Use
38113 optional-macro-int-constant. Specify type. Require == 1.
38114 [C99-based standards] (FP_FAST_FMAF): Likewise.
38115 [C99-based standards] (FP_FAST_FMAL): Likewise.
38116 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38117 [C99-based standards] (FP_ILOGBNAN): Likewise.
38118 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38120 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38121 [C99-based standards] (math_errhandling): Specify type.
38122 [ISO99 || ISO11] (signgam): Do not allow.
38123 [non-C99-based standards] (copysignf): Do not allow.
38124 [non-C99-based standards] (exp2f): Likewise.
38125 [non-C99-based standards] (log2f): Likewise.
38126 [non-C99-based standards] (modff): Allow.
38127 [non-C99-based standards] (erff): Do not allow.
38128 [non-C99-based standards] (erfcf): Likewise.
38129 [non-C99-based standards] (gammaf): Likewise.
38130 [non-C99-based standards] (hypotf): Likewise.
38131 [non-C99-based standards] (j0f): Likewise.
38132 [non-C99-based standards] (j1f): Likewise.
38133 [non-C99-based standards] (jnf): Likewise.
38134 [non-C99-based standards] (lgammaf): Likewise.
38135 [non-C99-based standards] (tgammaf): Likewise.
38136 [non-C99-based standards] (y0f): Likewise.
38137 [non-C99-based standards] (y1f): Likewise.
38138 [non-C99-based standards] (ynf): Likewise.
38139 [non-C99-based standards] (isnanf): Likewise.
38140 [non-C99-based standards] (acoshf): Likewise.
38141 [non-C99-based standards] (asinhf): Likewise.
38142 [non-C99-based standards] (atanhf): Likewise.
38143 [non-C99-based standards] (cbrtf): Likewise.
38144 [non-C99-based standards] (expm1f): Likewise.
38145 [non-C99-based standards] (ilogbf): Likewise.
38146 [non-C99-based standards] (log1pf): Likewise.
38147 [non-C99-based standards] (logbf): Likewise.
38148 [non-C99-based standards] (nextafterf): Likewise.
38149 [non-C99-based standards] (remainderf): Likewise.
38150 [non-C99-based standards] (rintf): Likewise.
38151 [non-C99-based standards] (scalbf): Likewise.
38152 [non-C99-based standards] (copysignl): Likewise.
38153 [non-C99-based standards] (exp2l): Likewise.
38154 [non-C99-based standards] (log2l): Likewise.
38155 [non-C99-based standards] (modfl): Allow.
38156 [non-C99-based standards] (erfl): Do not allow.
38157 [non-C99-based standards] (erfcl): Likewise.
38158 [non-C99-based standards] (gammal): Likewise.
38159 [non-C99-based standards] (hypotl): Likewise.
38160 [non-C99-based standards] (j0l): Likewise.
38161 [non-C99-based standards] (j1l): Likewise.
38162 [non-C99-based standards] (jnl): Likewise.
38163 [non-C99-based standards] (lgammal): Likewise.
38164 [non-C99-based standards] (tgammal): Likewise.
38165 [non-C99-based standards] (y0l): Likewise.
38166 [non-C99-based standards] (y1l): Likewise.
38167 [non-C99-based standards] (ynl): Likewise.
38168 [non-C99-based standards] (isnanl): Likewise.
38169 [non-C99-based standards] (acoshl): Likewise.
38170 [non-C99-based standards] (asinhl): Likewise.
38171 [non-C99-based standards] (atanhl): Likewise.
38172 [non-C99-based standards] (cbrtl): Likewise.
38173 [non-C99-based standards] (expm1l): Likewise.
38174 [non-C99-based standards] (ilogbl): Likewise.
38175 [non-C99-based standards] (log1pl): Likewise.
38176 [non-C99-based standards] (logbl): Likewise.
38177 [non-C99-based standards] (nextafterl): Likewise.
38178 [non-C99-based standards] (remainderl): Likewise.
38179 [non-C99-based standards] (rintl): Likewise.
38180 [non-C99-based standards] (scalbl): Likewise.
38181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38182 [non-C99-based standards] (FP_*): Do not allow.
38183 [C99-based standards] (FP_*): Change to
38184 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38185 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38187 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38188 (SIG_ERR): Likewise.
38189 [X/Open-based standards] (SIG_HOLD): Likewise.
38190 (SIG_IGN): Likewise.
38191 (SIGABRT): Use macro-int-constant. Specify type. Require
38193 (SIGFPE): Likewise.
38194 (SIGILL): Likewise.
38195 (SIGINT): Likewise.
38196 (SIGSEGV): Likewise.
38197 (SIGTER): Likewise.
38198 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38199 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38200 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38201 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38202 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38203 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38204 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38205 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38206 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38207 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38208 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38209 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38210 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38211 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38212 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38213 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38214 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38215 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38216 [X/Open-based standards] (SIGTRAP): Likewise.
38217 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38218 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38219 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38220 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38221 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38224 2012-05-08 Ian Wienand <ianw@vmware.com>
38227 * time/tzset.c (__tzset_parse_tz): Update default rules for
38228 daylight time changes in the Energy Policy Act of 2005.
38230 2012-05-09 Andreas Jaeger <aj@suse.de>
38233 * elf/ldconfig.c (parse_conf): Change string to make clear that
38234 ldconfig only issued a warning if ld.so.conf does not exist.
38236 2012-05-08 David S. Miller <davem@davemloft.net>
38238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38239 movxtod instead of popping the value on the stack.
38241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38243 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38245 * config.h.in: Add HAVE_ARM_PCS_VFP.
38247 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
38250 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38251 checking but the checks are disabled for any reason.
38253 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38255 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38256 and ELF64_R_TYPE with ELFW(R_TYPE).
38258 2012-05-08 Joseph Myers <joseph@codesourcery.com>
38260 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38261 (ulimit): Likewise.
38263 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38264 (settimeofday): Likewise.
38266 2012-05-08 Mike Frysinger <vapier@gentoo.org>
38268 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38269 a struct th_u2 inside the union, and move tu_block/tu_code into
38270 a new th_u3 union of tu_block/tu_code inside of that. Move
38271 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38272 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38273 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38274 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38275 (th_stuff): Change to th_u1.tu_stuff.
38277 (th_msg): Change to th_u1.th_u2.tu_data.
38279 2012-05-07 David S. Miller <davem@davemloft.net>
38281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38284 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38285 (SETUP_PIC_REG): Use it.
38286 (SETUP_PIC_REG_LEAF): Use it.
38288 2012-05-07 Joseph Myers <joseph@codesourcery.com>
38292 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38294 (EXPL_FINITE): Likewise.
38295 (FLDLOG): Likewise.
38296 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38297 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38299 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38301 (EXPL_FINITE): Likewise.
38302 (FLDLOG): Likewise.
38303 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38304 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38306 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38307 test of -max_value argument for long double.
38308 * sysdeps/i386/fpu/libm-test-ulps: Update.
38309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38311 2012-05-06 David S. Miller <davem@davemloft.net>
38313 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38314 quad soft-float symbols whose references which are compiler
38316 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38318 2012-05-06 Joseph Myers <joseph@codesourcery.com>
38322 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38324 (EXPL_FINITE): Likewise.
38325 (FLDLOG): Likewise.
38328 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38329 Adjust comments for base varying.
38330 (__expl_finite): Change alias to EXPL_FINITE.
38331 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38333 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38334 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38336 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38337 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38339 (EXPL_FINITE): Likewise.
38340 (FLDLOG): Likewise.
38343 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38344 Adjust comments for base varying.
38345 (__expl_finite): Change alias to EXPL_FINITE.
38346 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38351 * math/libm-test.inc (check_float_internal): Correct ulp
38352 calculation for subnormal expected results.
38354 2012-05-06 Andreas Jaeger <aj@suse.de>
38356 * Makeconfig (+math-flags): New, set to -frounding-math.
38357 (+cflags): Add +math-flags so that all of glibc gets compiled with
38360 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38362 2012-05-05 Joseph Myers <joseph@codesourcery.com>
38364 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38370 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38371 (__ieee754_expl): Allow for and saturate large arguments.
38372 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38373 (u_threshold): Likewise.
38374 (__exp): Call __ieee754_exp before checking for overflow and
38376 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38377 (u_threshold): Likewise.
38378 (__expf): Call __ieee754_expf before checking for overflow and
38380 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38381 (u_threshold): Likewise.
38382 (__expl): Call __ieee754_expl before checking for overflow and
38384 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38385 (__ieee754_expl): Allow for and saturate large arguments.
38386 * math/libm-test.inc (exp_test): Add another test. Do not allow
38387 missing overflow exception on overflow.
38388 (expm1_test): Do not allow missing overflow exception on overflow.
38390 * sysdeps/i386/fpu/e_expl.c: Move to ...
38391 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38392 rather than using inline asm.
38393 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38394 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38395 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38397 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38400 (signal): Likewise.
38404 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38406 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38407 sysdeps/unix/common/syscalls.list.
38408 (fchmod): Likewise.
38409 (fchown): Likewise.
38410 (ftruncate): Likewise.
38411 (getrusage): Likewise.
38412 (gettimeofday): Likewise.
38413 (setpgid): Likewise.
38414 (setregid): Likewise.
38415 (setreuid): Likewise.
38416 (sigaction): Likewise.
38417 (truncate): Likewise.
38418 (vhangup): Likewise.
38419 * sysdeps/unix/common/syscalls.list: Remove file.
38420 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38421 * sysdeps/unix/sysv/linux/Implies: Likewise.
38423 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38425 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38427 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38431 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38434 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38437 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38440 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38443 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38446 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38449 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38453 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38457 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38460 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38464 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38468 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38470 * sysdeps/unix/common/bits/dirent.h: Remove file.
38471 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38473 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38474 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38475 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38476 * sysdeps/unix/bsd/isatty.c: Likewise.
38477 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38478 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38479 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38481 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38484 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38485 long double comparison inaccuracies.
38486 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38489 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38491 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38492 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38494 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38497 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38498 nonzero digits before rounding a hex value.
38499 * stdlib/tst-strtod.c (tests): Add another test.
38501 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38503 * sysdeps/s390/fpu/libm-test-ulps: Update.
38505 2012-05-03 Andreas Jaeger <aj@suse.de>
38507 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38508 does not get optimized out.
38509 (malloc_opt_barrier): New.
38511 2012-05-03 Andreas Jaeger <aj@suse.de>
38512 Roland McGrath <roland@hack.frob.com>
38514 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38515 intermediate file deletion.
38516 (generated): Add .symlist files.
38518 2012-05-03 Joseph Myers <joseph@codesourcery.com>
38521 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38522 Redirect under this condition.
38523 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38524 [__USE_GNU] (__dprintf_chk): Not under this condition.
38525 [__USE_GNU] (__vdprintf_chk): Likewise.
38526 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38527 under this condition.
38528 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38529 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38530 [__USE_XOPEN2K8] (vdprintf): Likewise.
38531 [__USE_GNU] (__dprintf_chk): Not under this condition.
38532 [__USE_GNU] (__vdprintf_chk): Likewise.
38533 [__USE_GNU] (dprintf): Likewise.
38534 [__USE_GNU] (vdprintf): Likewise.
38536 2012-05-03 Roland McGrath <roland@hack.frob.com>
38538 * elf/Makefile (common-generated): Set this instead of generated for
38539 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38540 $(all-built-dso)-derived lists.
38542 2012-05-03 Andreas Jaeger <aj@suse.de>
38544 * sysdeps/i386/fpu/libm-test-ulps: Update.
38547 * FAQ.in: Likewise.
38548 * scripts/gen-FAQ.pl: Likewise.
38549 * manual/install.texi (Installation): Point to online location of
38551 * Makefile (files-for-dist): Remove FAQ.
38554 2012-05-02 Allan McRae <allan@archlinux.org>
38556 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38557 (LDFLAGS-reldepmod5.so): Likewise.
38558 (LDFLAGS-reldep6mod1.so): Likewise.
38559 (LDFLAGS-reldep6mod4.so): Likewise.
38560 (LDFLAGS-reldep8mod3.so): Likewise.
38561 (LDFLAGS-unload4mod1.so): Likewise.
38562 (LDFLAGS-unload4mod2.so): Likewise.
38563 (LDFLAGS-tst-initorder): Likewise.
38564 (LDFLAGS-tst-initordera2.so): Likewise.
38565 (LDFLAGS-tst-initordera3.so): Likewise.
38566 (LDFLAGS-tst-initordera4.so): Likewise.
38567 (LDFLAGS-tst-initorderb2.so): Likewise.
38568 (LDFLAGS-noload): Likewise.
38569 (LDFLAGS-next): Likewise.
38570 (LDFLAGS-order2mod1.so): Likewise.
38571 (LDFLAGS-order2mod2.so): Likewise.
38572 (LDFLAGS-tst-initorder2): Likewise.
38573 (LDFLAGS-tst-initorder2a.so): Likewise.
38574 (LDFLAGS-tst-initorder2b.so): Likewise.
38575 (LDFLAGS-tst-initorder2c.so): Likewise.
38576 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38578 2012-05-02 David S. Miller <davem@davemloft.net>
38580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38582 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38585 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38587 2012-05-02 Andreas Jaeger <aj@suse.de>
38589 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38590 since we manipulate rounding mode.
38591 (CPPFLAGS-test-idouble.c): Likewise.
38592 (CPPFLAGS-test-ifloat.c): Likewise.
38593 (CFLAGS-test-ldouble.c): Likewise.
38594 (CFLAGS-test-double.c): Likewise.
38595 (CFLAGS-test-float.c): Likewise.
38596 (CFLAGS-test-misc.c): Likewise.
38597 (CFLAGS-test-test-fenv.c): Likewise.
38599 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38603 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38604 comparisons to determine direction to adjust input.
38606 2012-05-01 Roland McGrath <roland@hack.frob.com>
38608 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38609 output to the target.
38611 * scripts/localplt.awk: New file.
38612 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38613 (check-localplt-CFLAGS): Variable removed.
38614 ($(all-built-dso:=.jmprel)): New static pattern rule.
38615 (generated): Add those targets.
38616 (localplt-built-dso): New variable.
38617 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38619 * elf/check-localplt.c: File removed.
38621 * scripts/check-execstack.awk: New file.
38622 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38623 (check-execstack-CFLAGS): Variable removed.
38624 ($(objpfx)check-execstack.h): Target removed.
38625 ($(objpfx)execstack-default): New target.
38626 (generated): Add that instead of check-execstack.h.
38627 ($(all-built-dso:=.phdr)): New static pattern rule.
38628 (generated): Add those targets.
38629 * elf/check-execstack.c: File removed.
38631 * scripts/check-textrel.awk: New file.
38632 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38633 (check-textrel-CFLAGS): Variable removed.
38634 (all-built-dso): Use := to define.o
38635 ($(all-built-dso:=.dyn)): New static pattern rule.
38636 (generated): Add those targets.
38637 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38638 * config.make.in (READELF): New substituted variable.
38639 * elf/check-textrel.c: File removed.
38641 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38643 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38645 * conform/data/ctype.h-data [C99-based standards] (isblank):
38647 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38648 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38650 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38651 Specify type. Require positive value.
38652 (EILSEQ): Likewise.
38653 (ERANGE): Likewise.
38654 [ISO || POSIX] (EILSEQ): Do not expect.
38655 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38656 Specify type. Require positive value.
38657 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38658 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38659 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38660 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38661 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38662 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38663 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38664 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38665 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38666 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38667 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38668 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38669 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38670 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38671 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38672 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38673 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38674 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38675 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38676 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38677 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38678 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38679 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38680 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38681 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38682 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38683 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38684 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38685 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38686 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38687 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38688 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38689 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38690 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38691 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38692 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38693 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38694 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38695 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38696 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38697 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38698 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38699 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38700 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38701 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38702 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38703 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38704 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38705 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38706 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38707 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38708 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38709 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38710 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38711 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38712 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38713 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38714 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38715 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38716 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38717 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38718 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38719 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38720 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38721 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38722 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38723 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38724 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38725 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38726 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38727 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38728 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38729 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38730 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38731 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38732 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38733 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38735 (FLT_ROUNDS): Expect as macro, not constant.
38736 (FLT_MANT_DIG): Use macro-int-constant.
38737 (DBL_MANT_DIG): Likewise.
38738 (LDBL_MANT_DIG): Likewise.
38739 (FLT_DIG): Likewise.
38740 (DBL_DIG): Likewise.
38741 (LDBL_DIG): Likewise.
38742 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38743 (DBL_MIN_EXP): Likewise.
38744 (LDBL_MIN_EXP): Likewise.
38745 (FLT_MAX_EXP): Use macro-int-constant.
38746 (DBL_MAX_EXP): Likewise.
38747 (LDBL_MAX_EXP): Likewise.
38748 (FLT_MAX_10_EXP): Likewise.
38749 (DBL_MAX_10_EXP): Likewise.
38750 (LDBL_MAX_10_EXP): Likewise.
38751 (FLT_MAX): Use macro-constant.
38752 (DBL_MAX): Likewise.
38753 (LDBL_MAX): Likewise.
38754 (FLT_EPSILON): Use macro-constant. Give upper bound.
38755 (DBL_EPSILON): Likewise.
38756 (LDBL_EPSILON): Likewise.
38757 (FLT_MIN): Likewise.
38758 (DBL_MIN): Likewise.
38759 (LDBL_MIN): Likewise.
38760 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38761 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38762 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38763 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38764 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38765 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38766 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38767 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38768 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38769 [ISO11] (FLT_TRUE_MIN): Likewise.
38770 [ISO11] (LDBL_TRUE_MIN): Likewise.
38771 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38772 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38773 (SCHAR_MIN): Use macro-int-constant. Specify type.
38774 (SCHAR_MAX): Likewise.
38775 (UCHAR_MAX): Likewise.
38776 (CHAR_MIN): Likewise.
38777 (CHAR_MAX): Likewise.
38778 (MB_LEN_MAX): Use macro-int-constant.
38779 (SHRT_MIN): Use macro-int-constant. Specify type.
38780 (SHRT_MAX): Likewise.
38781 (USHRT_MAX): Likewise.
38782 (INT_MAX): Likewise.
38783 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38785 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38787 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38789 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38790 bound negative. Suffix upper bound with "L".
38791 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38793 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38795 [C99-based standards] (LLONG_MAX): Likewise.
38796 [C99-based standards] (ULLONG_MAX): Likewise.
38797 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38799 [ISO11] (max_align_t): Require type.
38800 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38802 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38803 from $CFLAGS, without defining away __attribute__ calls.
38804 (checknamespace): Use $CFLAGS_namespace.
38806 * conform/conformtest.pl (@keywords): Only include C99 keywords
38807 for standards based on C99 or C11.
38809 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38811 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38814 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38815 usability of symbols in #if.
38817 * conform/conformtest.pl: If macro or constant types start
38818 "promoted:", expect the symbol to be of the following type
38819 promoted by the integer promotions.
38821 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38822 in one place. Also handle "macro-constant".
38824 * conform/conformtest.pl: Only accept expected macro values with
38825 "==". Parse all "macro" lines in one place.
38826 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38828 * conform/conformtest.pl: Handle braced types on "constant" lines
38829 instead of handling "typed-constant".
38830 * conform/data/signal.h-data: Use "constant" instead of
38833 * conform/conformtest.pl: Handle "optional-" at start of lines in
38834 one place rather than duplicating several cases. Handle each
38835 format of "macro" line with initial "optional-".
38837 * conform/conformtest.pl: Only accept expected constant or
38838 optional-constant values with "==". Parse all "constant" lines in
38839 one place. Parse all "optional-constant" lines in one place.
38840 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38841 * conform/data/fmtmsg.h-data: Likewise.
38842 * conform/data/netinet/in.h-data: Likewise.
38843 * conform/data/tar.h-data: Likewise.
38844 * conform/data/limits.h-data: Use "==" form on "constant" and
38845 "optional-constant" lines.
38847 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38848 Use -std=c99 for XOPEN2K.
38849 (@knownproblems): Remove.
38850 (newtoken): Don't check %isknown.
38852 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38853 Do not expect macro.
38854 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38855 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38856 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38857 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38858 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38859 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38860 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38861 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38862 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38863 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38864 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38865 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38866 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38867 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38868 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38869 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38870 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38871 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38872 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38873 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38874 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38875 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38876 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38877 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38878 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38879 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38880 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38881 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38882 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38883 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38884 [XPG3] (acosh): Likewise.
38885 [XPG3] (asinh): Likewise.
38886 [XPG3] (atanh): Likewise.
38887 [XPG3] (cbrt): Likewise.
38888 [XPG3] (expm1): Likewise.
38889 [XPG3] (ilogb): Likewise.
38890 [XPG3] (log1p): Likewise.
38891 [XPG3] (logb): Likewise.
38892 [XPG3] (nextafter): Likewise.
38893 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38894 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38895 [XPG3] (remainder): Likewise.
38896 [XPG3] (rint): Likewise.
38897 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38898 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38899 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38900 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38901 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38902 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38903 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38904 [UNIX98 || XOPEN2K] (scalb): Expect.
38905 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38906 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38907 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38908 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38909 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38910 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38911 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38912 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38913 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38914 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38915 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38916 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38917 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38918 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38919 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38920 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38921 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38922 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38923 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38924 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38925 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38926 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38927 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38928 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38929 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38930 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38931 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38932 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38933 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38934 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38935 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38936 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38937 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38938 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38939 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38940 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38941 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38942 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38943 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38944 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38945 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38946 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38947 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38948 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38949 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38950 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38951 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38952 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38953 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38954 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38955 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38956 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38957 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38958 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38959 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38960 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38961 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38962 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38963 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38964 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38965 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38966 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38967 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38968 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38969 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38970 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38971 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38972 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38973 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38974 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38975 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38976 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38977 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38978 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38979 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38980 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38981 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38982 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38983 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38984 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38985 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38986 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38987 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38988 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38989 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38990 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38991 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38992 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38993 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38994 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38995 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38996 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38997 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38998 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38999 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39000 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39001 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39002 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39003 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39004 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39005 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39006 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39007 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39008 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39009 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39010 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39011 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39012 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39013 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39014 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39015 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39016 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39017 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39018 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39019 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39020 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39021 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39022 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39023 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39024 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39025 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39026 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39027 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39028 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39029 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39030 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39031 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39032 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39033 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39034 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39035 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39036 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39037 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39038 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39039 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39040 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39041 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39043 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39044 _XOPEN_SOURCE_EXTENDED for XPG4.
39046 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39048 * Makeconfig (localtime): Remove variable.
39049 (inst_localtime-file): Likewise.
39051 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39072 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39076 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39077 comparisons to determine direction to adjust input.
39078 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39079 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39080 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39082 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39084 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39086 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39087 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39089 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39091 * math/libm-test.inc (nexttoward_test): Add more tests.
39093 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39096 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39097 in version GLIBC_2.1, not GLIBC_2.0.
39098 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39101 2012-04-30 Joseph Myers <joseph@codesourcery.com>
39104 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39106 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39107 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39108 * math/libm-test.inc (acos_test): Add more tests.
39109 (asin_test): Likewise.
39110 * sysdeps/i386/fpu/libm-test-ulps: Update.
39111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39114 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39116 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39117 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39118 * math/libm-test.inc (acos_test_tonearest): New function.
39119 (acos_test_towardzero): Likewise.
39120 (acos_test_downward): Likewise.
39121 (acos_test_upward): Likewise.
39122 (asin_test_tonearest): Likewise.
39123 (asin_test_towardzero): Likewise.
39124 (asin_test_downward): Likewise.
39125 (asin_test_upward): Likewise.
39126 (main): Call the new functions.
39127 * sysdeps/i386/fpu/libm-test-ulps: Update.
39128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39132 * math/e_exp10.c: Include <float.h>.
39133 (__ieee754_exp10): Handle underflow here rather than multiplying
39134 large negative argument by M_LN10.
39135 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39137 * math/e_exp10l.c: Include <float.h>.
39138 (__ieee754_exp10l): Handle underflow here rather than multiplying
39139 large negative argument by M_LN10l.
39140 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39141 spurious overflow exception on underflow.
39143 2012-04-29 Marek Polacek <polacek@redhat.com>
39145 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39146 (__fortify_function): New macro.
39147 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39148 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39149 __extern_always_inline.
39150 * libio/bits/stdio2.h: Likewise.
39151 * libio/bits/stdio.h: Likewise.
39152 * string/string.h: Likewise.
39153 * string/bits/string3.h: Likewise.
39154 * include/stdio.h: Likewise.
39155 * stdlib/bits/stdlib.h: Likewise.
39156 * stdlib/stdlib.h: Likewise.
39157 * rt/bits/mqueue2.h: Likewise.
39158 * rt/mqueue.h: Likewise.
39159 * posix/bits/unistd.h: Likewise.
39160 * posix/unistd.h: Likewise.
39161 * io/bits/poll2.h: Likewise.
39162 * io/bits/fcntl2.h: Likewise.
39163 * io/fcntl.h: Likewise.
39164 * io/sys/poll.h: Likewise.
39165 * misc/bits/syslog.h: Likewise.
39166 * misc/bits/syslog-ldbl.h: Likewise.
39167 * misc/sys/syslog.h: Likewise.
39168 * socket/bits/socket2.h: Likewise.
39169 * socket/sys/socket.h: Likewise.
39170 * debug/tst-chk1.c: Likewise.
39171 * wcsmbs/bits/wchar2.h: Likewise.
39172 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39173 * wcsmbs/wchar.h: Likewise.
39175 2012-04-29 Andreas Jaeger <aj@suse.de>
39177 * Makerules (tests): Remove enable-check-abi protection.
39178 (check-abi-warn): Remove.
39179 (check-abi-%): Remove check-abi-warn usage.
39181 * configure.in: Remove check-abi configure option.
39182 * configure: Regenerated.
39183 * config.make.in (enable-check-abi): Remove.
39185 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39188 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39189 double functions to double *_finite functions.
39192 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39193 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39195 * stdio-common/Makefile (tests): Add tst-sprintf3.
39196 * stdio-common/tst-sprintf3.c: New file.
39198 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39199 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39201 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39203 * conform/conformtest.pl: Remove duplicate typed-constant
39206 2012-04-28 David S. Miller <davem@davemloft.net>
39208 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39209 (check-abi-%): Remove AWK script prerequisite and explicit
39211 (check-abi): Rewrite to just diff the symlist with the abilist.
39212 (config-tls, config-abi-config): Delete, no longer used.
39213 (update-abi-%): Remove AWK script and explicit abilist directory.
39214 (update-abi): Rewrite to simply compare and conditionally copy the
39215 symlist and the sysdep abilist file. Remove update-abi-config
39217 * abilist/ld.abilist: Remove.
39218 * abilist/libBrokenLocale.abilist: Remove.
39219 * abilist/libanl.abilist: Remove.
39220 * abilist/libcrypt.abilist: Remove.
39221 * abilist/libdl.abilist: Remove.
39222 * abilist/librt.abilist: Remove.
39223 * abilist/libthread_db.abilist: Remove.
39224 * abilist/libutil.abilist: Remove.
39225 * scripts/extract-abilist.awk: Remove.
39226 * scripts/merge-abilist.awk: Remove.
39227 * sysdeps/generic/libcidn.abilist: New file.
39228 * sysdeps/generic/libnss_compat.abilist: New file.
39229 * sysdeps/generic/libnss_db.abilist: New file.
39230 * sysdeps/generic/libnss_dns.abilist: New file.
39231 * sysdeps/generic/libnss_files.abilist: New file.
39232 * sysdeps/generic/libnss_hesiod.abilist: New file.
39233 * sysdeps/generic/libnss_nis.abilist: New file.
39234 * sysdeps/generic/libnss_nisplus.abilist: New file.
39235 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39236 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39237 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39239 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39240 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39241 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39242 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39243 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39244 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39245 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39246 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39247 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39249 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39250 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39251 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39252 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39254 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39255 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39256 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39257 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39258 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39259 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39261 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39262 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39263 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39265 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39368 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39369 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39370 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39372 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39373 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39374 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39375 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39376 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39377 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39378 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39379 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39380 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39381 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39433 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39435 * conform/conformtest.pl: Fix typo in handling typed-constant from
39438 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39440 * README: Cut down references to pre-2.6 Linux kernels and
39441 Linuxthreads. Update lists of configurations in libc and ports
39442 and sort alphabetically. Say "or newer" with Linux kernel version
39445 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39447 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39450 * math/libm-test.inc (logb_test_downward): New test to expose
39451 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39454 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39457 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39459 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39460 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39462 2012-04-26 Joseph Myers <joseph@codesourcery.com>
39464 * sysdeps/unix/i386/brk.S: Remove file.
39465 * sysdeps/unix/i386/dl-brk.S: Likewise.
39466 * sysdeps/unix/i386/pipe.S: Likewise.
39467 * sysdeps/unix/i386/sigreturn.S: Likewise.
39468 * sysdeps/unix/i386/syscall.S: Likewise.
39469 * sysdeps/unix/i386/vfork.S: Likewise.
39470 * sysdeps/unix/i386/wait.S: Likewise.
39472 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39473 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39475 * configure.in (arm*-none*): Do not allow without
39476 --enable-hacker-mode.
39477 (netbsd*): Remove case setting base_os.
39478 (386bsd*): Likewise.
39479 (freebsd*): Likewise.
39482 (sunos*): Likewise.
39483 (ultrix*): Likewise.
39484 (newsos*): Likewise.
39485 (dynix*): Likewise.
39491 (minix*): Likewise.
39492 (irix4*): Likewise.
39493 (irix6*): Likewise.
39494 (solaris[2-9]*): Likewise.
39496 * configure: Regenerated.
39498 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39501 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39502 overflow or cancellation in calculating denominator.
39503 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39504 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39505 down expression to avoid unexpected rounding in newer GCCs.
39506 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39508 2012-04-26 David S. Miller <davem@davemloft.net>
39510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39511 long-double compat symbols.
39512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39526 2012-04-25 David S. Miller <davem@davemloft.net>
39528 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39529 HWCAP_* values only after the memory barriers have been defined.
39530 (atomic_full_barrier): Define.
39531 (atomic_read_barrier): Define.
39532 (atomic_write_barrier): Define.
39534 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39536 * shlib-versions: Add libgcc_s version information.
39537 * sysdeps/generic/libgcc_s.h: Remove.
39538 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39540 * sysdeps/gnu/unwind-resume.c: Likewise.
39541 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39543 2012-04-25 David S. Miller <davem@davemloft.net>
39545 * sysdeps/unix/sparc/brk.S: Delete.
39546 * sysdeps/unix/sparc/dl-brk.S: Delete.
39547 * sysdeps/unix/sparc/pipe.S: Delete.
39548 * sysdeps/unix/sparc/sysdep.S: Delete.
39549 * sysdeps/unix/sparc/sysdep.h: Delete.
39550 * sysdeps/unix/sparc/vfork.S: Delete.
39551 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39552 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39553 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39554 (ret_ERRVAL, r0, r1, MOVE): Define.
39555 (JUMPTARGET): Remove.
39556 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39557 sysdeps/unix/sparc/sysdep.h
39558 (ENTRY, END): Remove.
39559 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39561 2012-04-25 Joseph Myers <joseph@codesourcery.com>
39563 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39564 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39567 * timezone/README: Update upstream location and email address for
39569 * timezone/zdump.c: Update from tzcode 2012b.
39570 * timezone/zic.c: Likewise.
39572 * configure.in (libc_cv_as_needed): Remove test.
39573 * configure: Regenerated.
39574 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39575 conditional definition.
39576 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39577 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39578 * config.make.in (have-as-needed): Remove variable.
39580 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39581 Paul Pluzhnikov <ppluzhnikov@google.com>
39583 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39586 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39588 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39589 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39590 * sysdeps/sh/strlen.S: Likewise.
39592 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39594 * sysdeps/unix/fork.S: Remove file.
39595 * sysdeps/unix/i386/fork.S: Likewise.
39596 * sysdeps/unix/sparc/fork.S: Likewise.
39598 * sysdeps/unix/system.c: Remove file.
39599 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39601 * sysdeps/unix/getegid.S: Remove file.
39602 * sysdeps/unix/geteuid.S: Likewise.
39604 2012-04-24 Roland McGrath <roland@hack.frob.com>
39606 * scripts/check-localplt.awk: New file.
39607 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39609 * scripts/data/localplt-generic.data: Add a comment.
39611 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39612 NODE when __dir_mkfile failed.
39613 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39614 Reported by Ludovic Courtès <ludo@gnu.org>.
39616 2012-04-24 Andreas Jaeger <aj@suse.de>
39618 * Makerules (common-clean): Also remove gen-as-const-headers
39621 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39623 * Makerules (native-compile): Do not change working directory for
39624 build. Use $(OUTPUT_OPTION) in command.
39625 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39627 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39630 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39631 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39632 * math/libm-test.inc (floor_test): Add more tests.
39633 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39635 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39637 * sysdeps/unix/getdents.c: Remove file.
39638 * sysdeps/unix/sysv/getdents.c: Likewise.
39639 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39641 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39642 sysdeps/unix/mman/syscalls.list.
39644 (mprotect): Likewise.
39646 (munmap): Likewise.
39647 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39648 * sysdeps/unix/mman/syscalls.list: Remove.
39649 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39651 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39652 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39653 * configure: Regenerated.
39654 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39655 $(libgcc_s_suffix).
39656 * config.make.in (libgcc_s_suffix): Remove variable.
39658 2012-04-23 Joseph Myers <joseph@codesourcery.com>
39660 * sysdeps/unix/sysv/gethostname.c: Move to ...
39661 * sysdeps/posix/gethostname.c: ... here.
39663 * sysdeps/unix/execve.S: Remove file.
39665 * sysdeps/unix/_exit.S: Remove file.
39667 2012-04-23 Andreas Jaeger <aj@suse.de>
39670 * manual/Makefile: Remove make dist support, there's no
39671 need for a stand-alone documentation tar ball.
39672 (TEXI2DVI): Define always, it's not in Makeconfig.
39675 (edition): Removed.
39676 (glibc-doc-$(edition).tar): Removed
39680 (ETAGS): Remove, it's in Makeconfig.
39681 (move-if-change): Remove, it's in Makeconfig.
39683 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
39686 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39687 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39688 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39689 (strtod_l, strtof_l, strtold_l): Remove __wur.
39690 It is not necessarily an error to ignore strtol's return value.
39691 One can reliably look at the stored endptr to decide whether
39692 the number had valid syntax.
39694 2012-04-21 Andreas Jaeger <aj@suse.de>
39697 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39699 2012-04-21 Joseph Myers <joseph@codesourcery.com>
39701 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39702 * sysdeps/unix/sysv/Versions: Remove file.
39704 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39709 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
39712 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39713 version from __vm86.
39715 2012-04-20 Joseph Myers <joseph@codesourcery.com>
39717 * sysdeps/unix/common/lxstat.c: Remove file.
39718 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39720 * sysdeps/unix/sysv/Makefile: Remove file.
39722 * sysdeps/unix/sysv/direct.h: Remove file.
39724 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39725 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39726 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39727 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39728 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39729 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39730 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39732 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39734 * sysdeps/unix/xmknod.c: Remove file.
39735 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39737 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39739 * sysdeps/unix/sysv/i386/time.S: Remove file.
39741 * sysdeps/unix/fxstat.c: Remove file.
39742 * sysdeps/unix/xstat.c: Likewise.
39743 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39745 * sysdeps/unix/sysv/sigaction.c: Remove file.
39747 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39748 (sysdep_headers): Remove variable.
39749 [termio.h not in sysdep_headers] (generated): Likewise.
39750 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39751 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39752 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39753 * sysdeps/unix/sysv/tcflow.c: Likewise.
39754 * sysdeps/unix/sysv/tcflush.c: Likewise.
39755 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39756 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39757 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39758 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39759 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39761 * sysdeps/unix/siglist.c: Remove file.
39763 * sysdeps/unix/getppid.S: Remove file.
39765 * sysdeps/unix/mkdir.c: Remove file.
39766 * sysdeps/unix/rmdir.c: Likewise.
39768 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39770 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39772 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39773 errlist-compat value.
39775 2012-04-18 David S. Miller <davem@davemloft.net>
39777 * sysdeps/generic/memcopy.h (reg_char): Delete.
39778 * debug/strcat_chk.c: Use char, not reg_char.
39779 * debug/strcpy_chk.c: Likewise.
39780 * debug/strncat_chk.c: Likewise.
39781 * debug/strncpy_chk.c: Likewise.
39782 * string/memchr.c: Likewise.
39783 * string/memrchr.c: Likewise.
39784 * string/rawmemchr.c: Likewise.
39785 * string/strcat.c: Likewise.
39786 * string/strchr.c: Likewise.
39787 * string/strchrnul.c: Likewise.
39788 * string/strcmp.c: Likewise.
39789 * string/strcpy.c: Likewise.
39790 * string/strncat.c: Likewise.
39791 * string/strncmp.c: Likewise.
39792 * string/strncpy.c: Likewise.
39794 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39796 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39797 __builtin_memcopy is called when src and dest ranges are known to not
39800 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39802 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39803 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39804 fwd_align_merge macro call.
39805 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39806 bwd_align_merge macro call.
39807 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39809 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39811 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39812 bwd_align_merge macros.
39813 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39814 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39815 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39817 2012-04-18 David S. Miller <davem@davemloft.net>
39819 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39821 2012-04-18 Andreas Jaeger <aj@suse.de>
39824 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39825 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39826 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39828 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39829 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39830 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39832 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39833 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39834 Adjust for changed ldbl-128 files.
39836 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39837 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39838 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39840 2012-04-17 David S. Miller <davem@davemloft.net>
39842 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39844 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39846 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39847 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39848 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39849 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39850 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39851 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39853 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39856 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39857 * math/libm-test.inc: Add ilogb errno and exception tests.
39858 * math/w_ilogb.c: New file: ilogb wrapper.
39859 * math/w_ilogbf.c: New file: ilogbf wrapper.
39860 * math/w_ilogbl.c: New file: ilogbl wrapper.
39861 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39862 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39863 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39864 exception being thrown with 0.0 as argument.
39865 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39866 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39867 exception being thrown with 0.0 as argument.
39868 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39869 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39870 exception being thrown with 0.0 as argument.
39871 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39872 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39873 exception being thrown with 0.0 as argument.
39874 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39875 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39876 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39877 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39878 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39879 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39880 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39881 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39882 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39884 2012-04-17 Petr Baudis <pasky@ucw.cz>
39886 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39889 2012-04-16 Marek Polacek <polacek@redhat.com>
39891 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39893 2012-04-16 Marek Polacek <polacek@redhat.com>
39895 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39896 operands of fdivp instruction.
39898 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39900 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39901 * elf/tst-auditmod3b.c: Likewise.
39902 * elf/tst-auditmod4b.c: Likewise.
39903 * elf/tst-auditmod5b.c: Likewise.
39904 * elf/tst-auditmod6b.c: Likewise.
39905 * elf/tst-auditmod6c.c: Likewise.
39906 * elf/tst-auditmod7b.c: Likewise.
39907 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39908 * sysdeps/x86_64/preconfigure.in: Likewise.
39909 * sysdeps/x86_64/preconfigure: Regenerated.
39911 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39913 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39916 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
39918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39919 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39921 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39924 * locale/iso-639.def: Fix gl language name. Spotted by
39927 2012-04-12 Roland McGrath <roland@hack.frob.com>
39930 * libio/libio.h (__io_write_fn): Update comment.
39932 2012-04-12 Petr Baudis <pasky@ucw.cz>
39935 * stdio.texi (Hook Functions): The user provided writer function
39936 is not allowed to return -1.
39938 2012-04-11 David S. Miller <davem@davemloft.net>
39940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39942 2012-04-11 Mike Frysinger <vapier@gentoo.org>
39944 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39945 Add a leading slash to rtkaio.
39947 2012-04-11 Jim Meyering <meyering@redhat.com>
39950 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39951 It is not necessarily an error to ignore fwrite's return
39952 value. One can reliably use ferror to test for errors after
39955 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39957 * bits/types.h (__snseconds_t): New type.
39958 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39960 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39961 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39962 (__SNSECONDS_T_TYPE): Likewise.
39963 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39964 (__SNSECONDS_T_TYPE): Likewise.
39965 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39966 (__SNSECONDS_T_TYPE): Likewise.
39968 2012-04-10 Andreas Jaeger <aj@suse.de>
39971 * manual/time.texi (Processor Time): Return type of times is
39972 elapsed real time since an arbitrary point in the past.
39973 (CPU Time): Move CLK_TCK from here...
39974 (Processor Time): ...to here. Correct description.
39975 * manual/conf.texi (Constants for Sysconf): Correct description of
39978 2012-04-10 David S. Miller <davem@davemloft.net>
39981 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39982 where the is a gap between DT_REL(A) and DT_JMPREL.
39984 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
39986 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39987 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39988 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39990 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39992 * elf/dl-support.c (_dl_inhibit_cache): New variable.
39993 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39994 (dl_main): Handle --inhibit-cache.
39995 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39997 * elf/dl-load.c (_dl_map_object): Use it.
39998 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40000 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40003 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40004 (__ieee754_powl): Saturate large exponents rather than testing for
40005 overflow of y*log2(x).
40006 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40007 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40011 * math/s_ctan.c: Include <float.h>.
40012 (__ctan): Avoid internal overflow or cancellation in calculating
40014 * math/s_ctanf.c: Likewise.
40015 * math/s_ctanl.c: Likewise.
40016 * math/s_ctanh.c: Likewise.
40017 * math/s_ctanhf.c: Likewise.
40018 * math/s_ctanhl.c: Likewise.
40019 * math/libm-test.inc (ctan_test): Add more tests.
40020 (ctanh_test): Likewise.
40021 * sysdeps/i386/fpu/libm-test-ulps: Update.
40022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40024 2012-04-09 Andreas Jaeger <aj@suse.de>
40027 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40028 is an optional BSD extension.
40031 * manual/stdio.texi (Opening Streams): Document additional fopen
40034 2012-04-09 Roland McGrath <roland@hack.frob.com>
40036 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40037 %eax without telling the compiler.
40039 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40042 * manual/install.texi: Use sourceware.org.
40044 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40047 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40048 (__ieee754_pow): Generate overflow and underflow using huge*huge
40049 and tiny*tiny rather than just returning constant infinity or zero
40050 for large exponents.
40051 * math/libm-test.inc (pow_test): Require overflow exceptions for
40052 applicable cases of large exponents.
40055 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40056 (__ieee754_pow): Use iterative multiplication algorithm only for
40057 integer exponents with absolute value below 1024. Check for odd
40058 integer exponents when using algorithm for real exponents.
40059 * math/libm-test.inc (pow_test): Add more tests.
40060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40062 2012-04-08 Joseph Myers <joseph@codesourcery.com>
40065 * math/libm-test.inc (exp_test): Do not allow overflow exception
40068 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40071 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40072 instead of __kernel_standard_f.
40074 2012-04-08 Mike Frysinger <vapier@gentoo.org>
40076 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40077 * sysdeps/x86_64/memset_chk.S: Likewise.
40079 2012-04-08 Andreas Jaeger <aj@suse.de>
40082 * manual/startup.texi (Environment Access): Describe return value
40083 for putenv and setenv.
40086 * manual/filesys.texi (Directory Entries): Add description for
40090 * manual/filesys.texi (Directory Entries): Clarify that it's file
40091 system not operating system in the description of DT_UNKNOWN.
40094 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40096 2012-04-08 Stephen Compall <s11@member.fsf.org>
40099 * manual/llio.texi (Opening and Closing Files): Add cross
40100 reference to explain mode argument.
40102 2012-04-07 Mike Frysinger <vapier@gentoo.org>
40104 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40105 * sysdeps/x86_64/memset_chk.S: Likewise.
40107 2012-04-07 David S. Miller <davem@davemloft.net>
40109 * elf/elf.h (R_SPARC_WDISP10): Define.
40110 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40112 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40113 R_SPARC_SIZE64 and R_SPARC_H34.
40115 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40117 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40118 conditions and remove no longer applicable assertion.
40120 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40122 * bits/byteswap.h: Include <features.h>.
40123 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40124 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40126 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40128 * bits/byteswap.h (__bswap_16): Removed.
40129 Include <bits/byteswap-16.h> to get __bswap_16.
40130 * sysdeps/i386/bits/byteswap.h: Likewise.
40131 * sysdeps/s390/bits/byteswap.h: Likewise.
40132 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40133 * bits/byteswap-16.h: New file.
40134 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40135 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40136 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40137 * string/Makefile (headers): Add bits/byteswap-16.h.
40139 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40142 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40144 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40145 * nss/tst-nss-static.c: New.
40147 2012-04-06 Robert Millan <rmh@gnu.org>
40150 * manual/llio.texi (File Position Primitive): lseek
40151 refers to WHENCE when it really means OFFSET.
40153 2012-04-06 Andreas Jaeger <aj@suse.de>
40155 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40156 strncmp declarations.
40158 * abilist/libc.abilist: Add __poll and __ppoll.
40160 2012-04-05 David S. Miller <davem@davemloft.net>
40162 * scripts/check-local-headers.sh: Accept a host triplet in the
40163 path matched by the exclude regexp.
40165 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40167 * sysdeps/powerpc/powerpc32/dl-machine.h
40168 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40169 * sysdeps/s390/s390-32/dl-machine.h
40170 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40171 * sysdeps/sparc/sparc32/dl-machine.h
40172 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40173 * sysdeps/sparc/sparc64/dl-machine.h
40174 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40176 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40178 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40179 undefined symbol errors.
40181 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40184 2012-04-05 Michael Matz <matz@suse.de>
40187 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40189 2012-04-05 Andreas Jaeger <aj@suse.de>
40192 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40195 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40197 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40198 which ROUND is no valid rounding mode.
40200 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40202 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40204 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40206 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40208 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40209 an exception using FPU order intentionally.
40211 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40213 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40214 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40215 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40216 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40218 2012-04-05 Simon Josefsson <simon@josefsson.org>
40221 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40222 EINVAL when BUFLEN is too smal.
40224 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40227 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40228 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40230 2012-04-03 Andreas Jaeger <aj@suse.de>
40233 * manual/setjmp.texi (System V contexts): Fix sentence.
40236 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40237 New macro for this case.
40238 [!__GNUC__] (__bswap_64): New inline function for this case.
40239 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40240 * bits/byteswap.h: Likewise.
40241 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40242 ull, guard with __GLIBC_HAVE_LONG_LONG.
40244 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40245 __GLIBC_HAVE_LONG_LONG.
40247 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40248 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40250 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40253 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40254 inptr and inend, rather than using last_ch.
40256 2012-04-02 David S. Miller <davem@davemloft.net>
40258 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40259 * stdio-common/printf-parse.h (read_int): Change return type to
40260 'int', return -1 on INT_MAX overflow.
40261 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40262 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40263 overflows INT_MAX. Check for overflow of in-format-string precision
40264 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40265 SIZE_MAX not INT_MAX for integer overflow test.
40266 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40267 skip the construct in the format string but do not record anything.
40268 * stdio-common/bug22.c: Adjust to test both width/prevision
40269 INT_MAX overflow as well as total length INT_MAX overflow. Check
40270 explicitly for proper errno values.
40272 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40274 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40276 * string/test-strcmp.c [! WIDE]: Likewise.
40277 * time/tst-mktime2.c: Likewise for INT_MAX.
40278 * string/test-string.h: #include <sys/param.h> for MIN.
40280 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40281 * sysdeps/i386/init-first.c (init): Likewise.
40282 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40283 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40284 * sysdeps/sh/init-first.c (init): Likewise.
40286 2012-04-01 Ulrich Drepper <drepper@gmail.com>
40288 * po/ru.po: Update from translation team.
40289 * po/vi.po: Likewise.
40291 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40293 * resolv/nss_dns/dns-host.c: Merge copyright years.
40295 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40297 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40298 Optimize memcpy with prefetch if
40299 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40300 src, dst pointers have unequal 16 byte alignments.
40302 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40305 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40306 from a CNAME entry and return the minimum ttl for the query.
40307 (gaih_getanswer_slice): Likewise.
40309 2012-03-30 Jeff Law <law@redhat.com>
40311 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40313 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40314 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40316 * resolv/nss_dns/dns-host.c: Update copyright year.
40318 2012-03-30 Ulrich Drepper <drepper@gmail.com>
40320 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40321 requests to save a system call. Fix check that all bytes are sent.
40323 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40324 comments for sendmmsg.
40326 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40329 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40330 with only 1 character between 0x0041 and 0x01b0.
40331 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40332 * wcsmbs/tst-mbsnrtowcs.c: New file.
40334 2012-03-29 David S. Miller <davem@davemloft.net>
40336 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40337 small copies by hand.
40339 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40342 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40343 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40346 2012-03-28 David S. Miller <davem@davemloft.net>
40348 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40349 that branches into memcpy.
40350 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40351 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40352 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40353 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40356 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40357 implementation too.
40358 * sysdeps/sparc/mempcpy.S: New file.
40360 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40361 the IFUNC routine in the libc case.
40362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40364 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40365 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40366 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40367 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40368 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40369 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40370 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40371 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40373 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40374 loop to 256 bytes instead of 64 bytes and fix test signedness.
40376 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40377 * sysdeps/sparc/sparc32/Makefile: rather than here...
40378 * sysdeps/sparc/sparc64/Makefile: and here.
40380 2012-03-28 Ulrich Drepper <drepper@gmail.com>
40382 * malloc/mallocbug.c: Avoid warnings about unused variables.
40384 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40387 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40388 in the right place. Discard and retry query if response is
40389 larger than input buffer size.
40391 2012-03-28 Joseph Myers <joseph@codesourcery.com>
40396 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40397 x for large integer exponent.
40398 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40399 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40400 sign of result as needed afterwards.
40401 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40402 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40403 result for underflowing pow the same as for overflow.
40404 (__kernel_standard_l): Handle powl overflow and underflow here
40405 rather than calling __kernel_standard.
40406 * math/libm-test.inc (pow_test): Add more tests.
40421 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40422 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40423 (__kernel_standard_l): New function.
40424 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40426 * math/w_acosl.c (__acosl): Likewise.
40427 * math/w_asinl.c (__asinl): Likewise.
40428 * math/w_atan2l.c (__atan2l): Likewise.
40429 * math/w_atanhl.c (__atanhl): Likewise.
40430 * math/w_coshl.c (__coshl): Likewise.
40431 * math/w_exp10l.c (__exp10l): Likewise.
40432 * math/w_exp2l.c (__exp2l): Likewise.
40433 * math/w_fmodl.c (__fmodl): Likewise.
40434 * math/w_hypotl.c (__hypotl): Likewise.
40435 * math/w_j0l.c (__j0l, __y0l): Likewise.
40436 * math/w_j1l.c (__j1l, __y1l): Likewise.
40437 * math/w_jnl.c (__jnl, __ynl): Likewise.
40438 * math/w_lgammal.c (__lgammal): Likewise.
40439 * math/w_log10l.c (__log10l): Likewise.
40440 * math/w_log2l.c (__log2l): Likewise.
40441 * math/w_logl.c (__logl): Likewise.
40442 * math/w_powl.c (__powl): Likewise.
40443 * math/w_remainderl.c (__remainderl): Likewise.
40444 * math/w_scalbl.c (sysv_scalbl): Likewise.
40445 * math/w_sinhl.c (__sinhl): Likewise.
40446 * math/w_sqrtl.c (__sqrtl): Likewise.
40447 * math/w_tgammal.c (__tgammal): Likewise.
40448 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40449 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40450 * math/libm-test.inc (acos_test): Add more tests.
40451 (acosh_test): Likewise.
40452 (asin_test): Likewise.
40453 (atanh_test): Likewise.
40454 (exp_test): Likewise.
40455 (exp10_test): Likewise.
40456 (exp2_test): Likewise.
40457 (expm1_test): Likewise.
40458 (lgamma_test): Likewise.
40459 (log_test): Likewise.
40460 (log10_test): Likewise.
40461 (log1p_test): Likewise.
40462 (log2_test): Likewise.
40463 (pow_test): Do not allow some spurious overflow exceptions.
40464 (sqrt_test): Add more tests.
40465 (tgamma_test): Likewise.
40466 (y0_test): Likewise.
40467 (y1_test): Likewise.
40468 (yn_test): Likewise.
40470 2012-03-27 Anton Blanchard <anton@samba.org>
40472 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40474 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40475 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40476 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40478 2012-03-27 David S. Miller <davem@davemloft.net>
40480 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40482 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40483 have-as-vis3 check.
40485 2012-03-27 Andreas Jaeger <aj@suse.de>
40487 * sysdeps/x86_64/elf/configure.in: Moved to ...
40488 * sysdeps/x86_64/configure.in: ... here.
40489 * sysdeps/x86_64/elf/start.S: Moved to ...
40490 * sysdeps/x86_64/start.S: ... here.
40491 * sysdeps/x86_64/elf/configure: Delete.
40493 * sysdeps/x86_64/configure.in: Merge contents from
40494 sysdeps/i386/configure.in (without i686 check).
40496 * sysdeps/i386/elf/Versions: Merge into ...
40497 * sysdeps/i386/Versions: ... this.
40498 * sysdeps/i386/elf/Versions: Delete file.
40499 * sysdeps/i386/elf/start.S: Moved to ...
40500 * sysdeps/i386/start.S: ...here.
40501 * sysdeps/i386/elf/configure.in: Merge into...
40502 * sysdeps/i386/configure.in: ...here.
40503 * sysdeps/i386/elf/configure.in: Delete file.
40504 * sysdeps/i386/elf/configure: Delete file.
40506 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40507 * debug/backtracesyms.c: ... here.
40508 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40509 * debug/backtracesymsfd.c: ... here.
40510 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40511 * sysdeps/generic/ifunc-sel.h: ... here.
40513 * sysdeps/unix/i386/start.c: Delete file.
40514 * sysdeps/unix/sparc/start.c: Delete file.
40515 * sysdeps/unix/start.c: Delete file.
40517 * sysdeps/sh/elf/configure.in: Moved to ...
40518 * sysdeps/sh/configure.in: ... here.
40519 * sysdeps/sh/elf/start.S: Moved to ...
40520 * sysdeps/sh/start.S: ... here.
40521 * sysdeps/sh/elf/configure: Delete file.
40523 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40524 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40525 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40526 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40527 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40528 * sysdeps/powerpc/powerpc64/start.S: here.
40529 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40530 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40531 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40532 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40533 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40535 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40536 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40537 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40538 * sysdeps/powerpc/powerpc32/start.S: ... here.
40539 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40540 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40541 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40543 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40544 * sysdeps/powerpc/ifunc-sel.h: ... here.
40545 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40546 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40548 * sysdeps/sparc/elf/configure.in: Moved to ...
40549 * sysdeps/sparc/configure.in: ... here.
40550 * sysdeps/sparc/elf/configure: Delete file.
40551 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40552 * sysdeps/sparc/sparc32/start.S: ... here.
40553 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40554 * sysdeps/sparc/sparc64/start.S: ... here.
40555 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40556 * sysdeps/sparc/sparc32/Makefile: ... this.
40557 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40558 * sysdeps/sparc/sparc64/Makefile: ... this.
40560 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40561 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40562 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40563 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40564 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40565 * sysdeps/s390/s390-32/setjmp.S: ... here.
40566 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40567 * sysdeps/s390/s390-32/configure.in: ... here.
40568 * sysdeps/s390/s390-32/elf/configure: Delete file.
40569 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40570 * sysdeps/s390/s390-32/start.S: ... here.
40572 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40573 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40574 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40575 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40576 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40577 * sysdeps/s390/s390-64/setjmp.S: ... here.
40578 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40579 * sysdeps/s390/s390-64/configure.in: ... here
40580 * sysdeps/s390/s390-64/elf/configure: Delete file.
40581 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40582 * sysdeps/s390/s390-64/start.S: ... here.
40583 * sysdeps/s390/s390-64/elf/configure: Delete.
40585 * configure.in: Remove support for elf directories in sysdeps.
40587 * configure: Regenerated.
40588 * sysdeps/i386/configure: Regenerated.
40589 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40590 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40591 * sysdeps/s390/s390-32/configure: Regenerated.
40592 * sysdeps/s390/s390-64/configure: Regenerated.
40593 * sysdeps/sh/configure: Regenerated.
40594 * sysdeps/sparc/configure: Regenerated.
40595 * sysdeps/x86_64/configure: Regenerated.
40597 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40601 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40602 denormal result into account.
40604 2012-03-25 Roland McGrath <roland@hack.frob.com>
40606 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40607 Reported by Allan McRae <allan@archlinux.org>.
40609 2012-03-23 Jeff Law <law@redhat.com>
40611 * nss/getnssent.c (__nss_getent): Fix typo.
40613 2012-03-23 David S. Miller <davem@davemloft.net>
40615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40617 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40619 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40620 to pad to uint64_t for each field.
40621 (dl_tls_index): Replace unsigned long with uint64_t.
40623 2012-03-23 Daniel Jacobowitz <dmj@google.com>
40624 Paul Pluzhnikov <ppluzhnikov@google.com>
40627 * grp/Makefile (otherlibs): Don't set it.
40628 * inet/Makefile (otherlibs): Likewise.
40629 * login/Makefile (otherlibs): Likewise.
40630 * nscd/Makefile (otherlibs): Likewise.
40631 * posix/Makefile (otherlibs): Likewise.
40632 * pwd/Makefile (otherlibs): Likewise.
40633 * rt/Makefile (otherlibs): Likewise.
40634 * sunrpc/Makefile (otherlibs): Likewise.
40635 * nss/Makefile (otherlibs): Likewise.
40636 Add libnss_files to routines and static-only-routines.
40637 ($(objpfx)getent): Remove rule.
40638 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40639 static-only-routines.
40641 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40644 * math/s_cexp.c: Include <float.h>.
40645 (__cexp): Handle exp result overflowing not necessarily
40646 overflowing both real and imaginary parts of result.
40647 * math/s_cexpf.c: Likewise.
40648 * math/s_cexpl.c: Likewise.
40649 * math/libm-test.inc (cexp_test): Add more tests.
40650 * sysdeps/i386/fpu/libm-test-ulps: Update.
40651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40653 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40655 * include/link.h (ELFW): New macro.
40656 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40657 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40659 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40661 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40664 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40666 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40668 (struct La_x32_retval): Likewise.
40670 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40672 * sysdeps/x86_64/preconfigure.in: New file.
40673 * sysdeps/x86_64/preconfigure: New generated file.
40675 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40678 * math/e_exp2l.c: Include <float.h>.
40679 (__ieee754_exp2l): Handle overflow and underflow cases
40680 separately. Only pass fractional part of argument to
40682 * math/libm-test.inc (exp2_test): Add more tests.
40684 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40685 negating x to take absolute value.
40686 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40688 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40689 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40691 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40692 computing low part if x was negated.
40693 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40695 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40697 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40698 la_x32_gnu_pltexit.
40699 (pltexit): Cast int_retval to ptrdiff_t.
40700 * elf/tst-auditmod3b.c: Likewise.
40701 * elf/tst-auditmod4b.c: Likewise.
40702 * elf/tst-auditmod5b.c: Likewise.
40703 * elf/tst-auditmod6b.c: Likewise.
40704 * elf/tst-auditmod6c.c: Likewise.
40705 * elf/tst-auditmod7b.c: Likewise.
40707 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40708 and x32_gnu_pltexit.
40710 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40711 __ELF_NATIVE_CLASS.
40712 (La_x32_regs): New macro.
40713 (La_x32_retval): Likewise.
40714 (la_x32_gnu_pltenter): New function prototype.
40715 (la_x32_gnu_pltexit): Likewise.
40717 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40724 * configure.in (libc_cv_cc_nofma): Check for option to disable
40725 generation of FMA instructions.
40726 * configure: Regenerate.
40727 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40728 * sysdeps/ieee754/dbl-64/Makefile: New file.
40729 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40730 Remove brandred-fma4.
40731 (CFLAGS-brandred-fma4.c): Remove.
40732 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40733 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40735 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40738 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40740 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40741 LLONG_MAX != LONG_MAX.
40742 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40743 (_fitoa_word): Likewise.
40744 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40745 LLONG_MAX != LONG_MAX.
40746 * stdio-common/_itowa.h: Include <_itoa.h>.
40747 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40748 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40749 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40750 only if not defined.
40751 (_ITOA_WORD_TYPE): Likewise.
40752 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40753 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40755 2012-03-21 David S. Miller <davem@davemloft.net>
40757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40759 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40761 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40762 of x86_64 when setting libc_cv_slibdir, libdir and
40764 * sysdeps/unix/sysv/linux/configure: Regenerated.
40766 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40768 * manual/lang.texi (Old Varargs): Remove section.
40769 (How Variadic): Update menu.
40770 (va_start): Do not mention varargs.h.
40772 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40773 Joseph Myers <joseph@codesourcery.com>
40775 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40777 * configure: Regenerated.
40779 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40781 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40782 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40785 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40788 * Makefile (files-for-dist): Remove NOTES.
40789 (NOTES): Remove rule.
40790 * README: Don't refer to NOTES.
40791 * manual/creature.texi: Don't include macros.texi.
40792 * manual/intro.texi (creature.texi): Remove comment referring to
40795 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40796 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40797 * configure: Regenerated.
40798 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40799 LIBC_TRY_CC_OPTION.
40800 (libc_cv_as_i686): Likewise.
40801 (libc_cv_cc_avx): Likewise.
40802 (libc_cv_cc_sse2avx): Likewise.
40803 (libc_cv_cc_fma4): Likewise.
40804 (libc_cv_cc_novzeroupper): Likewise.
40805 * sysdeps/i386/configure: Regenerated.
40808 * sysdeps/i386/fpu/s_cexp.S: Remove.
40809 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40810 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40811 * math/libm-test.inc (cexp_test): Add more tests.
40812 * sysdeps/i386/fpu/libm-test-ulps: Update.
40813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40815 2012-03-21 Allan McRae <allan@archlinux.org>
40817 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40819 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40822 * math/w_exp2.c: Do not include <float.h>.
40823 (o_threshold, u_threshold): Remove.
40824 (__exp2): Calculate result before checking finiteness and calling
40826 * math/w_exp2f.c: Likewise.
40827 * math/w_exp2l.c: Likewise.
40828 * math/libm-test.inc (exp2_test): Require overflow exception for
40832 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40833 range of signed 64-bit integers before using fistpll. Remove
40834 checks for whether integers fit in mantissa bits.
40835 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40836 the range of signed 32-bit integers before using fistpl. Remove
40837 checks for whether integers fit in mantissa bits.
40838 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40839 (__ieee754_powl): Test for y outside the range of signed 64-bit
40840 integers before using fistpll. Reduce 64-bit values to 63-bit
40842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40843 divide-by-zero is raised for zero to large negative powers.
40844 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40845 (__ieee754_powl): Test for y outside the range of signed 64-bit
40846 integers before using fistpll. Reduce 64-bit values to 63-bit
40848 * math/libm-test.inc (pow_test): Add more tests.
40850 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40852 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40853 <stdio-common/_itoa.h>.
40854 * debug/segfault.c: Likewise.
40855 * elf/dl-cache.c: Likewise.
40856 * elf/dl-minimal.c: Likewise.
40857 * elf/dl-misc.c: Likewise.
40858 * elf/dl-sysdep.c: Likewise.
40859 * elf/dl-version.c: Likewise.
40860 * elf/rtld.c: Likewise.
40861 * hurd/hurdsock.c: Likewise.
40862 * hurd/lookup-retry.c: Likewise.
40863 * malloc/malloc.c: Likewise.
40864 * malloc/mtrace.c: Likewise.
40865 * nscd/nscd_getgr_r.c: Likewise.
40866 * nscd/nscd_getpw_r.c: Likewise.
40867 * nscd/nscd_getserv_r.c: Likewise.
40868 * posix/getopt_init.c: Likewise.
40869 * posix/wordexp.c: Likewise.
40870 * stdio-common/_itoa.c: Likewise.
40871 * stdio-common/printf_fphex.c: Likewise.
40872 * stdio-common/vfprintf.c: Likewise.
40873 * string/_strerror.c: Likewise.
40874 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40875 * sysdeps/i386/i686/hp-timing.h: Likewise.
40876 * sysdeps/mach/_strerror.c: Likewise.
40877 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40878 * sysdeps/mach/hurd/sethostid.c: Likewise.
40879 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40880 * sysdeps/mach/xpg-strerror.c: Likewise.
40881 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40882 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40883 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40884 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40885 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40886 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40887 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40888 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40889 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40890 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40891 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40892 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40893 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40894 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40895 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40896 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40897 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40898 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40899 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40900 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40901 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40903 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40905 * stdio-common/_itoa.h: Moved to ...
40906 * sysdeps/generic/_itoa.h: Here.
40908 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40910 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40911 instead of "_itoa.h" and "_itowa.h".
40912 * stdio-common/vfprintf.: Likewise.
40914 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40916 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40918 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40919 (__signbit): Likwise.
40920 (llrintf): Likwise.
40923 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40925 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40928 2012-03-20 Joseph Myers <joseph@codesourcery.com>
40930 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40931 OVERFLOW_EXCEPTION_OK.
40932 * math/libm-test.inc ("Philosophy"): Update comment about
40934 (OVERFLOW_EXCEPTION): Define.
40935 (OVERFLOW_EXCEPTION_OK): Likewise.
40936 (INVALID_EXCEPTION_OK): Renumber.
40937 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40938 (IGNORE_ZERO_INF_SIGN): Likewise.
40939 (test_exceptions): Handle FE_OVERFLOW.
40940 (exp10_test): Expect overflow exceptions.
40941 (exp2_test): Likewise.
40942 (expm1_test): Likewise.
40943 (nextafter_test): Likewise.
40944 (pow_test): Likewise.
40945 (scalbn_test): Likewise.
40946 (scalbln_test): Likewise.
40948 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40950 * sysdeps/x86_64/bits/atomic.h
40951 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40953 (atomic_exchange_acq): Likewise.
40954 (__arch_exchange_and_add_body): Likewise.
40955 (__arch_add_body): Likewise.
40956 (atomic_add_negative): Likewise.
40957 (atomic_add_zero): Likewise.
40959 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40961 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40962 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40964 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40966 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40967 Check __x86_64__ instead of __WORDSIZE.
40969 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40971 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40973 2012-03-19 David S. Miller <davem@davemloft.net>
40975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40977 * sysdeps/sparc/fpu/fenv_private.h: New file.
40978 * sysdeps/sparc/fpu/math_private.h: Use it.
40979 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40981 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40982 (libc_feholdexcept_setroundl): Remove.
40983 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40985 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40986 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40988 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40990 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40991 int64_t instead of long int.
40992 (INSERT_WORDS64): Likwise.
40994 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
40996 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40997 _Unwind_GetCFA return to _Unwind_Ptr first.
40999 2012-03-19 Joseph Myers <joseph@codesourcery.com>
41002 * math/s_clog.c: Include <float.h>.
41003 (__clog): Scale large or subnormal inputs.
41004 * math/s_clogf.c: Likewise.
41005 * math/s_clogl.c: Likewise.
41006 * math/s_clog10.c: Include <float.h>.
41007 (M_LOG10_2): Define.
41008 (__clog10): Scale large or subnormal inputs.
41009 * math/s_clog10f.c: Likewise.
41010 * math/s_clog10l.c: Likewise.
41011 * math/libm-test.inc (clog_test): Add more tests.
41012 (clog10_test): Likewise.
41013 * sysdeps/i386/fpu/libm-test-ulps: Update.
41014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41017 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41019 * math/libm-test.inc (atan2_test): Add another test.
41021 * Makerules (common-objdir-compile): Remove.
41022 * sysdeps/unix/Makefile (config-generated): Do not add
41023 $(unix-generated) to variable.
41024 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41025 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41027 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41029 [generic bits/local_lim.h] (before-compile): Do not append to
41031 [generic bits/local_lim.h] (common-generated): Likewise.
41032 [generic sys/param.h] (before-compile): Do not append to variable.
41033 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41034 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41035 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41036 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41038 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41039 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41040 [generic sys/param.h] ($(addprefix
41041 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41042 [generic sys/param.h] (common-generated): Do not append to
41044 [generic sys/param.h] (sysdep_headers): Likewise.
41045 [generic bits/errno.h] (before-compile): Do not append to
41047 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41049 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41050 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41051 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41052 [generic bits/errno.h] (common-generated): Do not append to
41054 [generic bits/ioctls.h] (before-compile): Do not append to
41056 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41058 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41059 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41060 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41062 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41063 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41064 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41065 [generic bits/ioctls.h] (common-generated): Do not append to
41067 [generic sys/syscall.h] (syscall.h): Remove variable.
41068 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41070 [generic sys/syscall.h] (before-compile): Do not append to
41072 [generic sys/syscall.h] (common-generated): Likewise.
41073 * sysdeps/unix/errnos-tmpl.c: Remove file.
41074 * sysdeps/unix/errnos.awk: Likewise.
41075 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41076 * sysdeps/unix/ioctls.awk: Likewise.
41077 * sysdeps/unix/mk-local_lim.c: Likewise.
41078 * sysdeps/unix/snarf-ioctls: Likewise.
41080 2012-03-19 Richard Henderson <rth@twiddle.net>
41082 * sysdeps/i386/fpu/fenv_private.h: New file.
41083 * sysdeps/i386/fpu/math_private.h: Use it.
41084 (math_opt_barrier, math_force_eval): Remove.
41085 (libc_feholdexcept_setround_53bit): Remove.
41086 (libc_feupdateenv_53bit): Remove.
41087 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41088 (math_opt_barrier, math_force_eval): Remove.
41089 (libc_feholdexcept): Remove.
41090 (libc_feholdexcept_setround): Remove.
41091 (libc_fetestexcept, libc_fesetenv): Remove.
41092 (libc_feupdateenv_test): Remove.
41093 (libc_feupdateenv, libc_feholdsetround): Remove.
41094 (libc_feresetround): Remove.
41096 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41097 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41099 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41100 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41101 (libc_feupdateenv_testl): New.
41102 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41103 (libc_feupdateenv_testf): New.
41104 (libc_feupdateenv): Use libc_feupdateenv_test.
41105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41106 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41108 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41109 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41110 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41111 (libc_feresetround_noex): New.
41112 (libc_feresetround_noexf): New.
41113 (libc_feresetround_noexl): New.
41114 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41115 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41116 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41117 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41120 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41122 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41123 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41124 SET_RESTORE_ROUND_NOEX.
41125 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41126 SET_RESTORE_ROUND_NOEXF.
41127 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41128 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41129 (libc_feholdsetroundf): New.
41130 (libc_feresetround, libc_feresetroundf): New.
41132 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41133 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41134 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41136 * sysdeps/generic/math_private.h: Include <fenv.h>.
41137 (default_libc_feholdexcept): New.
41138 (default_libc_feholdexcept_setround): New.
41139 (default_libc_fesetenv, default_libc_feupdateenv): New.
41140 (libc_feholdexcept): Only define if undefined.
41141 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41142 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41143 (libc_feholdexcept_setroundl): Likewise.
41144 (libc_feholdexcept_setround_53bit): Likewise.
41145 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41146 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41147 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41148 (libc_feupdateenv_53bit): Likewise.
41149 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41150 (libc_feholdexcept): Convert from macro to inline function.
41151 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41152 (libc_fesetenv, libc_feupdateenv): Likewise.
41154 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41155 not previously defined.
41156 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41157 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41158 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41159 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41160 * sysdeps/ieee754/flt-32/math_private.h: New file.
41161 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41162 math_private.h below SET_FLOAT_WORD.
41163 (__isnan, __isinf_ns, __finite): Remove.
41164 (__isnanf, __isinf_nsf, __finitef): Remove.
41166 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41170 2012-03-17 David S. Miller <davem@davemloft.net>
41173 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41176 2012-03-16 David S. Miller <davem@davemloft.net>
41178 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41182 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41184 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41185 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41186 sysdep_routines when subdir is sysvipc.
41187 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41188 __getshmlba helper.
41190 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41192 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41194 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41197 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41199 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41200 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41201 (__lround): Renamed to ...
41202 (__llround): This. Replace long int with long long int.
41203 Define lround functions as aliases of llround functions.
41204 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41206 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41208 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41209 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41210 adresses to uintptr_t. Replace "long int" and "unsigned long
41211 int" with "greg_t" on va_arg.
41213 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41215 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41216 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41218 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41219 Move e_machine check before EI_CLASS check. Handle x32
41220 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41221 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41222 SKIP_EM_IA_64 and include
41223 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41225 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41226 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41227 (add_system_dir): New macro.
41229 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41230 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41232 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41243 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41245 * math/w_j0f.c (j0f): Likewise.
41247 * math/w_j0l.c (__j0l): Likewise.
41249 * math/w_j1.c (j1): Likewise.
41251 * math/w_j1f.c (j1f): Likewise.
41253 * math/w_j1l.c (__j1l): Likewise.
41255 * math/w_jn.c (jn): Likewise.
41257 * math/w_jnf.c (jnf): Likewise.
41259 * math/w_jnl.c (__jnl): Likewise.
41261 * math/libm-test.inc (j0_test): Add more tests.
41262 (j1_test): Likewise.
41263 (jn_test): Likewise. Add trailing semicolon to existing test.
41264 (y0_test): Likewise.
41265 (y1_test): Likewise.
41266 * sysdeps/i386/fpu/libm-test-ulps: Update.
41267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41271 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41272 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41273 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41274 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41275 (__tanl): Set errno for infinite argument.
41276 * sysdeps/i386/fpu/mptan.c: Remove.
41277 * sysdeps/i386/fpu/s_tan.S: Likewise.
41278 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41279 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41280 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41281 * math/libm-test.inc (tan_test): Add more tests and enable more
41282 tests for double and long double.
41283 * sysdeps/i386/fpu/libm-test-ulps: Update.
41284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41286 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41288 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41289 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41291 2012-03-16 Roland McGrath <roland@hack.frob.com>
41293 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41294 * configure.in: Use it for both main tree and add-ons.
41295 * configure: Regenerated.
41297 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41299 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41301 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41303 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41307 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41308 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41309 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41310 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41311 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41313 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41314 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41315 != 0 for prec == 2.
41316 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41317 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41318 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41319 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41320 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41321 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41322 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41323 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41324 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41325 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41326 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41327 * math/libm-test.inc (cos_test): Add more tests and enable more
41328 tests for long double.
41329 (sin_test): Likewise.
41330 (sincos_test): Likewise.
41331 * sysdeps/i386/fpu/libm-test-ulps: Update.
41332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41334 2012-03-16 David S. Miller <davem@davemloft.net>
41336 * sysdeps/sparc/fpu/math_private.h: New file.
41338 2012-03-15 David S. Miller <davem@davemloft.net>
41340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41350 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41354 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41355 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41357 * sysdeps/sparc/sparc-ifunc.h: New file.
41358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41384 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41385 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41396 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41397 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41398 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41399 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41403 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41405 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41409 2012-03-15 Andreas Jaeger <aj@suse.de>
41412 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41413 ieee754/flt-32 implementation for sin, cos and sincos.
41414 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41415 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41416 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41417 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41418 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41419 ieee754/flt-32 implementation for tan.
41421 * math/libm-test.inc (cos_test): Enable some large input tests for
41423 (sin_test): Likewise.
41424 (sincos_test): Likewise.
41425 (tan_test): Add tests for large input.
41427 * sysdeps/i386/fpu/libm-test-ulps: Update.
41429 2012-03-15 Andreas Jaeger <aj@suse.de>
41432 * math/libm-test.inc (cos_test): Add more test cases.
41433 (sin_test): Likewise.
41434 (sincos_test): Likewise.
41436 2012-03-15 Andreas Jaeger <aj@suse.de>
41439 * math/libm-test.inc (cos_test): Add a test case for large input
41441 (sin_test): Likewise.
41442 (sincos_test): Likewise.
41444 2012-03-15 Andreas Jaeger <aj@suse.de>
41445 Joseph Myers <joseph@codesourcery.com>
41448 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41449 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41450 * sysdeps/i386/fpu/branred.c: Likewise.
41451 * sysdeps/i386/fpu/dosincos.c: Likewise.
41452 * sysdeps/i386/fpu/mpa.c: Likewise.
41453 * sysdeps/i386/fpu/s_cos.S: Likewise.
41454 * sysdeps/i386/fpu/s_sin.S: Likewise.
41455 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41456 * sysdeps/i386/fpu/sincos32.c: Likewise.
41458 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41460 (libc_feupdateenv_53bit): Define.
41461 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41463 (libc_feupdateenv_53bit): Define.
41465 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41466 53 bit (without extend i386 double precision).
41468 * math/libm-test.inc (sincos_test): Add tests for large input.
41472 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41474 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41478 2012-03-15 David S. Miller <davem@davemloft.net>
41480 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41481 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41482 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41483 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41507 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41508 fmin/fmax sysdep routines.
41509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41511 2012-03-14 David S. Miller <davem@davemloft.net>
41513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41514 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41517 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41518 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41519 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41520 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41533 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41534 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41535 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41536 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41537 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41538 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41539 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41540 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41541 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41585 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41590 * sysdeps/sparc/configure.in: New file.
41591 * sysdeps/sparc/configure: Generate.
41592 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41593 * configure: Regenerate.
41594 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41595 * config.make.in (have-as-vis3): New.
41596 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41597 available use -Av9d instead of -Av9a.
41598 * sysdeps/sparc/sparc64/Makefile: Likewise.
41599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41609 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41610 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41611 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41612 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41614 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41615 fzeros/fnegs to load 0x80000000 into a float register instead of
41617 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41619 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41623 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41624 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41625 ($(inst_includedir)/bits/syscall.h): Remove rule.
41626 ($(objpfx)bits/syscall.d): Include instead of
41627 $(objpfx)syscall-list.d.
41628 (generated): Change syscall-list.h and syscall-list.d to
41629 bits/syscall.h and bits/syscall.d.
41631 2012-03-14 Roland McGrath <roland@hack.frob.com>
41634 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41636 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41639 * math/s_csqrt.c: Include <float.h>.
41640 (__csqrt): Scale large or subnormal inputs.
41641 * math/s_csqrtf.c: Likewise.
41642 * math/s_csqrtl.c: Likewise.
41643 * math/libm-test.inc (csqrt_test): Add more tests.
41644 * sysdeps/i386/fpu/libm-test-ulps: Update.
41645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41648 * math/libm-test.inc (hypot_test): Add more tests.
41650 2012-03-13 David S. Miller <davem@davemloft.net>
41653 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41654 double-precision for the calculation instead of scaling.
41656 2012-03-13 Joseph Myers <joseph@codesourcery.com>
41658 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41659 manipulate bits before adding and subtracting TWO52[sx].
41660 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41661 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41663 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41665 2012-03-13 David S. Miller <davem@davemloft.net>
41667 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41668 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41669 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41670 rtld-global-offsets.h
41671 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41673 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41676 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41678 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41679 'err' in the ifdef scope in which it is actually used.
41681 * nss/nss_db/db-init.c: Include string.h
41683 2012-03-12 David S. Miller <davem@davemloft.net>
41685 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41686 masking out of the most significant byte of random value used.
41687 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41688 Fix coding style in previous change.
41690 * sysdeps/unix/sysv/linux/kernel-features.h
41691 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41692 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41694 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41697 2012-03-11 David S. Miller <davem@davemloft.net>
41699 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41700 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41701 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41702 for 'resultvar' otherwise things get truncated on 64-bit.
41704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41705 Fix masking out of the most significant byte of random value used.
41707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41709 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41713 2012-03-09 David S. Miller <davem@davemloft.net>
41715 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41716 variables with appropriate CPP guards.
41717 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41718 from the frame pointer, not the stack pointer. Correct layout
41719 comments. Fix test on resulting framesize and the management of
41720 the outregs buffer for pltexit. Preserve floating point return
41721 values across _dl_call_pltexit call.
41722 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41723 framesize and the management of the outregs buffer for pltexit.
41724 Preserve floating point return values across _dl_call_pltexit
41726 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41727 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41728 (la_sparc64_gnu_pltexit): New functions.
41729 (print_exit): Fix format string for return register value.
41731 2012-03-10 Joseph Myers <joseph@codesourcery.com>
41733 * sunrpc/Makefile (others): Add rpcgen.
41734 ($(objpfx)rpcgen): Remove special build rule and dependency on
41736 * sunrpc/rpcgen.c: New file.
41738 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41741 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41742 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41743 * sysdeps/i386/crti.S: Likewise.
41744 * sysdeps/i386/crtn.S: Likewise.
41745 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41746 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41747 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41748 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41749 * sysdeps/sh/crti.S: Likewise.
41750 * sysdeps/sh/crtn.S: Likewise.
41751 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41754 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41756 * locale/programs/locfile-kw.gperf: Likewise.
41757 * locale/programs/charmap-kw.h: Regenerated.
41758 * locale/programs/locfile-kw.h: Likewise.
41761 * intl/plural.y: Replace FSF snail mail address with URL.
41762 * intl/plural.c: Regenerated.
41764 2012-03-09 Richard Henderson <rth@twiddle.net>
41766 * include/math_private.h: Remove file.
41767 * math/math_private.h: Move file ...
41768 * sysdeps/generic/math_private.h: ... here.
41770 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41771 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41772 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41774 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41775 and <math_private.h>.
41776 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41777 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41778 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41779 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41780 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41781 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41782 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41783 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41784 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41785 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41786 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41787 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41788 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41789 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41790 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41791 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41792 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41793 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41794 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41795 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41797 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41798 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41799 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41800 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41801 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41802 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41803 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41805 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41806 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41807 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41808 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41809 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41810 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41811 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41812 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41813 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41814 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41815 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41816 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41817 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41818 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41819 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41820 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41821 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41822 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41823 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41824 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41825 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41826 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41827 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41828 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41829 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41830 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41831 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41832 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41833 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41834 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41835 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41836 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41837 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41838 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41839 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41840 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41841 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41842 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41843 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41844 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41845 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41846 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41847 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41848 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41849 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41850 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41852 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41853 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41854 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41855 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41856 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41857 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41858 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41859 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41860 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41863 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41864 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41865 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41866 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41867 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41868 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41869 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41870 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41871 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41872 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41873 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41874 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41875 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41876 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41877 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41878 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41879 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41880 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41881 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41882 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41883 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41884 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41885 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41886 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41887 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41888 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41889 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41890 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41891 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41892 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41893 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41894 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41895 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41896 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41897 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41898 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41899 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41900 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41901 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41902 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41903 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41904 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41905 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41906 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41907 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41908 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41909 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41910 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41911 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41912 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41913 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41914 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41915 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41916 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41917 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41918 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41919 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41920 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41921 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41922 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41923 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41924 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41925 * sysdeps/ieee754/k_standard.c: Likewise.
41926 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41927 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41928 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41929 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41930 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41931 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41932 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41933 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41934 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41935 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41936 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41937 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41938 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41939 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41940 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41941 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41942 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41943 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41944 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41945 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41946 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41947 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41948 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41949 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41950 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41951 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41952 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41953 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41954 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41955 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41956 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41957 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41958 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41959 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41960 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41961 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41962 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41963 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41964 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41965 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41966 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41967 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41968 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41969 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41970 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41971 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41972 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41973 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41974 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41975 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41976 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41977 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41978 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41979 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41980 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41981 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41982 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41983 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41984 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41985 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41986 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41987 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41988 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41989 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41992 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41993 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41994 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41996 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41998 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41999 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42000 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42002 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42003 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42004 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42005 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42006 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42007 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42008 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42009 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42010 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42011 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42012 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42013 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42014 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42015 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42016 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42017 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42018 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42019 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42020 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42021 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42022 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42023 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42024 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42025 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42026 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42027 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42028 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42029 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42030 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42031 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42032 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42033 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42034 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42035 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42036 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42037 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42038 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42039 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42040 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42041 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42042 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42043 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42044 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42045 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42046 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42047 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42048 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42049 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42051 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42052 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42053 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42054 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42055 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42056 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42057 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42058 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42059 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42060 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42061 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42062 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42063 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42064 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42065 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42066 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42070 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42071 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42072 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42073 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42074 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42075 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42076 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42077 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42080 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42084 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42086 * sysdeps/ieee754/s_lib_version.c: Likewise.
42087 * sysdeps/ieee754/s_matherr.c: Likewise.
42088 * sysdeps/ieee754/s_signgam.c: Likewise.
42089 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42090 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42091 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42092 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42093 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42094 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42095 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42096 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42097 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42098 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42099 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42100 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42101 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42102 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42103 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42104 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42105 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42106 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42107 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42108 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42111 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42113 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42114 * sunrpc/rpc_main.c: Likewise.
42115 * sunrpc/rpc_svcout.c: Likewise.
42117 2012-03-09 David S. Miller <davem@davemloft.net>
42119 * include/math_private.h: New file.
42121 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42123 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42124 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42125 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42126 from <bits/socket_type.h>.
42127 (enum __socket_type): Don't define here.
42128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42129 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42130 bits/socket_type.h.
42133 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42134 checking __USE_GNU.
42136 * Makerules ($(inst_includedir)/%.h): New rule.
42137 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42138 (install-others): Remove variable setting.
42139 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42141 2012-03-08 Richard Henderson <rth@twiddle.net>
42143 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42144 from macro to inline function; merge with the
42145 !__LIBC_INTERNAL_MATH_INLINES version.
42146 (__ieee754_sqrtf): Likewise.
42148 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42149 to inline function.
42150 (__rintf, __floor, __floorf): Likewise.
42152 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42153 macro to inline function.
42154 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42156 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42157 not <math/math_private.h>.
42159 2012-03-08 David S. Miller <davem@davemloft.net>
42161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42163 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42165 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42167 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42169 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42170 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42172 2012-03-08 Ulrich Drepper <drepper@gmail.com>
42174 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42175 be defined individually, they must be defined as a block. Define
42176 S for printing a string instead of hidint the different by using a
42177 macro for adding the 'l'.
42178 * stdio-common/tst-fphex-wide.c: Adjust.
42180 2012-03-07 Marek Polacek <polacek@redhat.com>
42182 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42184 2012-03-08 Marek Polacek <polacek@redhat.com>
42187 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42188 * stdio-common/tst-fphex.c: Define a few macros to make the
42189 test reusable. Use them.
42190 * stdio-common/tst-fphex-wide.c: New file.
42192 2012-03-08 Joseph Myers <joseph@codesourcery.com>
42195 * manual/macros.texi (gnusystems): New macro.
42196 (nongnusystems): Likewise.
42197 (gnulinuxhurdsystems): Likewise.
42198 (gnuhurdsystems): Likewise..
42199 (gnulinuxsystems): Likewise.
42200 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42201 variants of the GNU system, not "GNU system".
42202 * manual/conf.texi: Likewise.
42203 * manual/errno.texi: Likewise. Update example of errno macro
42205 * manual/filesys.texi: Likewise.
42206 (getumask): Document as specific to GNU/Hurd.
42207 * manual/install.texi: Likewise. Reword some references to
42209 * manual/intro.texi: Likewise.
42210 * manual/io.texi: Likewise.
42211 (File Name Portability): Detail which constraints are inapplicable
42212 to all GNU systems and which are only inapplicable to GNU/Hurd.
42213 * manual/job.texi: Likewise.
42214 * manual/llio.texi: Likewise.
42215 (O_NOCTTY): Document as present on GNU/Linux.
42216 * manual/maint.texi: Likewise.
42217 * manual/memory.texi: Likewise.
42218 * manual/pattern.texi: Likewise.
42219 * manual/pipe.texi: Likewise.
42220 * manual/process.texi: Likewise.
42221 * manual/resource.texi: Likewise.
42222 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42224 * manual/setjmp.texi: Likewise.
42225 * manual/signal.texi: Likewise.
42226 * manual/startup.texi: Likewise.
42227 * manual/stdio.texi: Likewise.
42228 * manual/terminal.texi: Likewise.
42229 (ONLCR): Document as POSIX.
42230 (OXTABS): Document availability on GNU/Linux as XTABS.
42231 (ONOEOT): Document availability separately from other bits.
42232 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42233 * manual/time.texi: Likewise.
42234 * manual/users.texi: Likewise.
42235 * INSTALL: Regenerated.
42236 * sysdeps/gnu/errlist.c: Regenerated.
42238 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42239 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42240 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42242 * configure: Regenerated.
42244 2012-03-07 Joseph Myers <joseph@codesourcery.com>
42246 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42247 default includes instead of AC_HEADER_CHECK.
42248 * sysdeps/i386/configure: Regenerated.
42251 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42252 * math/s_cacoshf.c (__cacoshf): Likewise.
42253 * math/s_cacoshl.c (__cacoshl): Likewise.
42254 * math/s_casinh.c (__casinh): Set signs of result from argument.
42255 * math/s_casinhf.c (__casinhf): Likewise.
42256 * math/s_casinhl.c (__casinhl): Likewise.
42257 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42258 (casinh_test): Add more tests.
42259 * sysdeps/i386/fpu/libm-test-ulps: Update.
42260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42262 2012-03-07 Ulrich Drepper <drepper@gmail.com>
42264 * po/zh_TW.po: Update from translation team.
42266 * login/Makefile (distribute): Remove variable.
42267 * catgets/Makefile: Likewise.
42268 * mach/Makefile: Likewise.
42269 * malloc/Makefile: Likewise.
42270 * misc/Makefile: Likewise.
42271 * iconv/Makefile: Likewise.
42272 * nscd/Makefile: Likewise.
42273 * hurd/Makefile: Likewise.
42274 * manual/Makefile: Likewise.
42275 * locale/Makefile: Likewise.
42276 * intl/Makefile: Likewise.
42277 * conform/Makefile: Likewise.
42278 * nss/Makefile: Likewise.
42279 * time/Makefile: Likewise.
42280 * soft-fp/Makefile: Likewise.
42281 * dirent/Makefile: Likewise.
42282 * gmon/Makefile: Likewise.
42283 * po/Makefile: Likewise.
42284 * rt/Makefile: Likewise.
42285 * socket/Makefile: Likewise.
42286 * math/Makefile: Likewise.
42287 * signal/Makefile: Likewise.
42288 * debug/Makefile: Likewise.
42289 * elf/Makefile: Likewise.
42290 * timezone/Makefile: Likewise.
42291 * stdlib/Makefile: Likewise.
42292 * iconvdata/Makefile: Likewise.
42293 * sunrpc/Makefile: Likewise.
42294 * io/Makefile: Likewise.
42295 * argp/Makefile: Likewise.
42296 * inet/Makefile: Likewise.
42297 * hesiod/Makefile: Likewise.
42298 * grp/Makefile: Likewise.
42299 * csu/Makefile: Likewise.
42300 * wctype/Makefile: Likewise.
42301 * crypt/Makefile: Likewise.
42302 * libio/Makefile: Likewise.
42303 * string/Makefile: Likewise.
42304 * nis/Makefile: Likewise.
42305 * resolv/Makefile: Likewise.
42306 * stdio-common/Makefile: Likewise.
42307 * wcsmbs/Makefile: Likewise.
42308 * dlfcn/Makefile: Likewise.
42309 * posix/Makefile: Likewise.
42312 * timezone/Makefile: Don't install timezone files, just the programs
42315 2012-03-06 Ulrich Drepper <drepper@gmail.com>
42317 * nss/databases.def: Add missing gshadow entry.
42319 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42321 2012-03-06 Marek Polacek <polacek@redhat.com>
42324 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42325 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42326 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42327 * stdio-common/tst-long-dbl-fphex.c: New file.
42329 2012-03-06 David S. Miller <davem@davemloft.net>
42331 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42332 (set_obp_int): New function.
42333 (get_obp_int): New function.
42334 (__get_clockfreq_via_dev_openprom): Likewise.
42335 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42336 Avoid unused variable warnings on 'val' and use builtin_expect.
42337 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42339 (INLINE_CLONE_SYSCALL): Likewise.
42341 2012-03-05 David S. Miller <davem@davemloft.net>
42343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42345 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42349 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42350 only for |x| >= 40.
42351 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42353 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
42355 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42356 Replace gettimeofday with __vdso_gettimeofday.
42358 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42359 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42360 __vdso_clock_gettime and __vdso_getcpu.
42362 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42363 time with __vdso_time.
42365 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42367 * manual/lang.texi (size_t): Note types to which size_t may be
42368 equivalent with the GNU C Library, but do not describe when
42369 differences between them are significant.
42371 2012-03-05 Andreas Jaeger <aj@suse.de>
42373 * sysdeps/i386/fpu/libm-test-ulps: Update.
42375 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42378 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42379 (__ieee754_pow): Save and restore rounding mode and use
42380 round-to-nearest for main computations.
42381 * math/libm-test.inc (pow_test_tonearest): New function.
42382 (pow_test_towardzero): Likewise.
42383 (pow_test_downward): Likewise.
42384 (pow_test_upward): Likewise.
42385 (main): Call the new functions.
42386 * sysdeps/i386/fpu/libm-test-ulps: Update.
42387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42390 * math/libm-test.inc (cosh_test_tonearest): New function.
42391 (cosh_test_towardzero): Likewise.
42392 (cosh_test_downward): Likewise.
42393 (cosh_test_upward): Likewise.
42394 (sinh_test_tonearest): Likewise.
42395 (sinh_test_towardzero): Likewise.
42396 (sinh_test_downward): Likewise.
42397 (sinh_test_upward): Likewise.
42398 (main): Call the new functions.
42399 * sysdeps/i386/fpu/libm-test-ulps: Update.
42400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42402 2012-03-05 Tom de Vries <tom@codesourcery.com>
42404 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42405 default stack guard is set in last bytes.
42406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42408 2012-03-05 Kees Cook <keescook@chromium.org>
42410 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42413 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42414 possibly allocate from heap instead of stack.
42415 * stdio-common/bug-vfprintf-nargs.c: New file.
42416 * stdio-common/Makefile (tests): Add nargs overflow test.
42418 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42422 2012-03-03 Marek Polacek <polacek@redhat.com>
42424 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42425 * math/math_private.h: Likewise.
42426 * stdlib/tst-strtod.c: Likewise.
42427 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42428 * sysdeps/x86_64/bits/atomic.h: Likewise.
42430 2012-03-02 David S. Miller <davem@davemloft.net>
42432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42436 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42437 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42438 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42439 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42441 2012-03-02 Roland McGrath <roland@hack.frob.com>
42444 * manual/examples/README: New file, says the example source files
42445 can be used under GPL>=2.
42446 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42447 line containing just "*/".
42448 * manual/examples/add.c: Add copyright header (GPL>=2).
42449 * manual/examples/argp-ex1.c: Likewise.
42450 * manual/examples/argp-ex2.c: Likewise.
42451 * manual/examples/argp-ex3.c: Likewise.
42452 * manual/examples/argp-ex4.c: Likewise.
42453 * manual/examples/atexit.c: Likewise.
42454 * manual/examples/db.c: Likewise.
42455 * manual/examples/dir.c: Likewise.
42456 * manual/examples/dir2.c: Likewise.
42457 * manual/examples/execinfo.c: Likewise.
42458 * manual/examples/filecli.c: Likewise.
42459 * manual/examples/filesrv.c: Likewise.
42460 * manual/examples/fmtmsgexpl.c: Likewise.
42461 * manual/examples/genpass.c: Likewise.
42462 * manual/examples/inetcli.c: Likewise.
42463 * manual/examples/inetsrv.c: Likewise.
42464 * manual/examples/isockad.c: Likewise.
42465 * manual/examples/longopt.c: Likewise.
42466 * manual/examples/memopen.c: Likewise.
42467 * manual/examples/memstrm.c: Likewise.
42468 * manual/examples/mkfsock.c: Likewise.
42469 * manual/examples/mkisock.c: Likewise.
42470 * manual/examples/mygetpass.c: Likewise.
42471 * manual/examples/pipe.c: Likewise.
42472 * manual/examples/popen.c: Likewise.
42473 * manual/examples/rprintf.c: Likewise.
42474 * manual/examples/search.c: Likewise.
42475 * manual/examples/select.c: Likewise.
42476 * manual/examples/setjmp.c: Likewise.
42477 * manual/examples/sigh1.c: Likewise.
42478 * manual/examples/sigusr.c: Likewise.
42479 * manual/examples/stpcpy.c: Likewise.
42480 * manual/examples/strdupa.c: Likewise.
42481 * manual/examples/strftim.c: Likewise.
42482 * manual/examples/strncat.c: Likewise.
42483 * manual/examples/subopt.c: Likewise.
42484 * manual/examples/swapcontext.c: Likewise.
42485 * manual/examples/termios.c: Likewise.
42486 * manual/examples/testopt.c: Likewise.
42487 * manual/examples/testpass.c: Likewise.
42488 * manual/examples/timeval_subtract.c: Likewise.
42491 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42493 * manual/timeval_subtract.c.texi: ... here, new file.
42495 2012-03-02 David S. Miller <davem@davemloft.net>
42497 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42499 2012-03-02 Joseph Myers <joseph@codesourcery.com>
42502 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42503 (__sin): Save and restore rounding mode and use round-to-nearest
42504 for all computations.
42505 (__cos): Save and restore rounding mode and use round-to-nearest
42506 for all computations.
42507 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42509 (tan): Save and restore rounding mode and use round-to-nearest for
42511 * math/libm-test.inc (cos_test_tonearest): New function.
42512 (cos_test_towardzero): Likewise.
42513 (cos_test_downward): Likewise.
42514 (cos_test_upward): Likewise.
42515 (sin_test_tonearest): Likewise.
42516 (sin_test_towardzero): Likewise.
42517 (sin_test_downward): Likewise.
42518 (sin_test_upward): Likewise.
42519 (tan_test_tonearest): Likewise.
42520 (tan_test_towardzero): Likewise.
42521 (tan_test_downward): Likewise.
42522 (tan_test_upward): Likewise.
42523 (main): Call the new functions.
42524 * sysdeps/i386/fpu/libm-test-ulps: Update.
42525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42528 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42529 small n, then large n, before computing and testing k+n.
42530 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42531 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42533 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42535 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42536 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42537 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42538 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42539 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42540 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42541 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42542 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42543 * math/libm-test.inc (scalbn_test): Add more tests.
42544 (scalbln_test): Likewise.
42546 * manual/filesys.texi (mode_t): Describe constraints on size and
42547 signedness, not exact equivalence to a particular type.
42549 (ino64_t): Likewise.
42551 (nlink_t): Likewise.
42552 (blkcnt_t): Likewise.
42553 (blkcnt64_t): Likewise.
42554 * manual/llio.texi (off_t): Likewise.
42557 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42558 (__ieee754_exp): Save and restore rounding mode and use
42559 round-to-nearest for all computations.
42560 * math/libm-test.inc (exp_test_tonearest): New function.
42561 (exp_test_towardzero): Likewise.
42562 (exp_test_downward): Likewise.
42563 (exp_test_upward): Likewise.
42564 (main): Call the new functions.
42565 * sysdeps/i386/fpu/libm-test-ulps: Update.
42566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42568 2012-03-01 Chris Demetriou <cgd@google.com>
42570 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42571 have predictable order.
42573 2012-03-01 David S. Miller <davem@davemloft.net>
42575 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42577 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42578 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42579 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42580 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42582 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42583 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42584 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42586 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42587 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42588 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42589 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42590 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42594 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42595 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42596 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42598 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42599 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42600 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42601 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42602 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42603 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42604 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42605 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42606 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42607 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42608 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42609 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42610 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42611 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42612 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42614 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42615 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42616 * sysdeps/sparc/elf/configure: Regenerated.
42618 2012-03-01 Joseph Myers <joseph@codesourcery.com>
42620 * configure.in (AS, LD): Require binutils 2.20 or later.
42621 * configure: Regenerated.
42622 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42623 as required minimum version.
42624 * INSTALL: Regenerated.
42628 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42629 before squaring exponent.
42630 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42631 bottom long double and 27 bits of top long double before squaring
42633 * math/libm-test.inc (erfc_test): Add more tests.
42634 * sysdeps/i386/fpu/libm-test-ulps: Update.
42635 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42638 2012-03-01 Kai Tietz <ktietz@redhat.com>
42640 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42641 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42642 containing bit-fields.
42643 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42644 * soft-fp/single.h (_FP_UNION_S): Likewise.
42645 * soft-fp/double.h (_FP_UNION_D): Likewise.
42647 2012-02-29 Joseph Myers <joseph@codesourcery.com>
42650 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42651 not include ../strcmp.S.
42652 [USE_AS_STRNCASECMP_L]: Likewise.
42653 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42654 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42655 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42656 (__strncasecmp_l_ia32): Define as alias to
42657 __strncasecmp_l_nonascii.
42660 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42661 * sysdeps/i386/fpu/libm-test-ulps: Update.
42662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42664 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42667 2012-02-29 Jeff Law <law@redhat.com>
42669 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42670 out of bounds read.
42672 2012-02-29 Marek Polacek <polacek@redhat.com>
42675 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42676 * elf/Makefile: Add rules to run tst-unused-dep.out.
42678 2012-02-28 David S. Miller <davem@davemloft.net>
42680 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42681 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42682 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42683 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42684 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42685 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42687 2012-02-29 Joseph Myers <joseph@codesourcery.com>
42689 * math/libm-test.inc (llround_test): Move one test from
42690 lround_test. Use TEST_f_L in moved test.
42691 (lround_test): Move misplaced test to llround_test. Add testcase
42694 2012-02-28 Ulrich Drepper <drepper@gmail.com>
42696 * sysdeps/x86_64/fpu/e_expf.S: New file.
42697 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42699 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42702 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42703 of remain_len that may cause incomplete multi-byte character and
42705 * posix/bug-regex33.c: New file.
42706 * posix/Makefile (tests): Add bug-regex33.
42708 2012-02-28 Joseph Myers <joseph@codesourcery.com>
42710 * manual/macros.texi: New file.
42711 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42712 * manual/libc.texinfo: Include macros.texi.
42713 * manual/creatute.texi: Likewise.
42714 * manual/install.texi: Likewise.
42715 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42716 @glibcadj{} in references to the GNU C Library.
42717 * manual/charset.texi: Likewise.
42718 * manual/conf.texi: Likewise.
42719 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42720 when not using those macros.
42721 * manual/creature.texi: Likewise.
42722 * manual/crypt.texi: Likewise.
42723 * manual/errno.texi: Likewise.
42724 * manual/filesys.texi: Likewise.
42725 * manual/header.texi: Likewise.
42726 * manual/install.texi: Likewise.
42727 * manual/intro.texi: Likewise.
42728 * manual/io.texi: Likewise.
42729 * manual/job.texi: Likewise.
42730 * manual/lang.texi: Likewise.
42731 * manual/libc.texiinfo: Likewise.
42732 * manual/llio.texi: Likewise.
42733 * manual/locale.texi: Likewise.
42734 * manual/maint.texi: Likewise.
42735 * manual/math.texi: Likewise.
42736 * manual/memory.texi: Likewise.
42737 * manual/message.texi: Likewise.
42738 * manual/nss.texi: Likewise.
42739 * manual/pattern.texi: Likewise.
42740 * manual/process.texi: Likewise.
42741 * manual/resource.texi: Likewise.
42742 * manual/search.texi: Likewise.
42743 * manual/setjmp.texi: Likewise.
42744 * manual/signal.texi: Likewise.
42745 * manual/socket.texi: Likewise.
42746 * manual/startup.texi: Likewise.
42747 * manual/stdio.texi: Likewise.
42748 * manual/string.texi: Likewise.
42749 * manual/sysinfo.texi: Likewise.
42750 * manual/syslog.texi: Likewise.
42751 * manual/terminal.texi: Likewise.
42752 * manual/time.texi: Likewise.
42753 * manual/users.texi: Likewise.
42754 * INSTALL: Regenerated.
42755 * NOTES: Regenerated.
42756 * sysdeps/gnu/errlist.c: Regenerated.
42758 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42760 * include/dirent.h: Include <dirstream.h> before
42763 2012-02-28 David S. Miller <davem@davemloft.net>
42765 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42766 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42767 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42768 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42770 2012-02-27 David S. Miller <davem@davemloft.net>
42772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42774 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42775 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42778 frame pointer instead of stack pointer relative arg slot.
42779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42780 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42781 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42783 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42786 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42788 2012-02-27 David S. Miller <davem@davemloft.net>
42790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42794 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42795 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42796 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42797 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42799 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42801 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42802 later. Allow versions 5-9.
42803 * configure: Regenerated.
42804 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42805 required minimum version and 4.6 as recommended version. Do not
42806 mention bugs in GCC 2.7 and 2.8.
42807 * INSTALL: Regenerated.
42809 2012-02-27 David S. Miller <davem@davemloft.net>
42811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42815 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42816 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42817 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42818 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42820 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42821 manipulate bits before adding and subtracting TWO112[sx].
42822 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42824 2012-02-27 Roland McGrath <roland@hack.frob.com>
42827 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42828 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42829 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42830 being in POSIX, because they are in 1003.1-2008.
42832 * rt/tst-aio.c: Include <fcntl.h>.
42833 * rt/tst-aio7.c: Likewise.
42834 * rt/tst-aio64.c: Likewise.
42836 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42838 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42840 * manual/install.texi (--with-headers): Describe headers as
42841 interface headers, not private headers.
42842 (Specific advice for GNU/Linux systems): Describe use of headers
42843 from "make headers_install", not private headers from older
42845 * INSTALL: Regenerated.
42846 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42848 * sysdeps/unix/sysv/linux/configure: Regenerated.
42850 * manual/llio.texi (fclean): Remove documentation.
42852 * manual/Makefile (libc-texi-generated): New variable. Include
42854 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42855 $(libc-texi-generated), not duplicated list of files.
42856 (version.texi, stamp-version): New rules.
42857 (realclean): Remove $(libc-texi-generated), not individual files
42858 from that list. Do not remove dir-add.texinfo.
42859 * manual/libc.texinfo: Comment out uses of edition numbers and
42860 references to printed manual. Remove last-updated dates.
42861 (EDITION): Comment out.
42863 (VERSION, UPDATED): Remove.
42864 (version.texi): Include.
42866 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42868 * sysdeps/posix/spawni.c: Include <signal.h>.
42869 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42870 * sysdeps/pthread/aio_fsync.c: Likewise.
42872 2012-02-26 Ulrich Drepper <drepper@gmail.com>
42874 * conform/Makefile (tests): Run only when not cross-compiling and
42875 when fast-check is not defined.
42877 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42878 * conform/data/limits.h-data: Fixes for POSIX2008.
42879 * conform/run-conformtest.sh: Run all tests.
42880 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42882 * include/bits/dlfcn.h: Likewise.
42883 * include/langinfo.h: Likewise.
42884 * include/monetary.h: Likewise.
42885 * include/sys/poll.h: Likewise.
42887 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42889 * posix/spawn.h: Define __need_sigset_t.
42890 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42891 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42892 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42893 to get sigevent_t only.
42894 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42895 only for __USE_GNU.
42896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42897 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42898 process_vm_writev only for __USE_GNU.
42899 * termios/termios.h: Declare tcgetsid also for POSIX2008.
42901 * conform/Makefile: For now ignore errors from run-conformtest.
42902 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42903 POSIX to avoid namespace pollution. Don't prepend headers.
42904 * conform/data/aio.h-data: Fixes for POSIX testing.
42905 * conform/data/fcntl.h-data: Likewise.
42906 * conform/data/glob.h-data: Likewise.
42907 * conform/data/grp.h-data: Likewise.
42908 * conform/data/pthread.h-data: Likewise.
42909 * conform/data/pwd.h-data: Likewise.
42910 * conform/data/signal.h-data: Likewise.
42911 * conform/data/spawn.h-data: Likewise.
42912 * conform/data/stdio.h-data: Likewise.
42913 * conform/data/stdlib.h-data: Likewise.
42914 * conform/data/stropts.h-data: Likewise.
42915 * conform/data/sys/mman.h-data: Likewise.
42916 * conform/data/sys/stat.h-data: Likewise.
42917 * conform/data/sys/types.h-data: Likewise.
42918 * conform/data/sys/wait.h-data: Likewise.
42919 * conform/data/time.h-data: Likewise.
42920 * conform/data/unistd.h-data: Likewise.
42921 * conform/data/utime.h-data: Likewise.
42923 * io/sys/stat.h: fchmod was always in POSIX.
42924 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42925 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42926 * rt/aio.h: Define __need_timespec before including <time.h>.
42927 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42928 struct. Add forward declaration of pthread_attr_t and use it in
42930 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42931 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42932 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42933 always remove CLK_TCK definition.
42935 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
42937 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42939 2012-02-25 Ulrich Drepper <drepper@gmail.com>
42941 * conform/run-conformtest.sh: New file.
42942 * conform/Makefile: Run run-conformtest for tests.
42943 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
42946 * conform/data/uchar.h-data: New file.
42947 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42948 * conform/data/arpa/inet.h-data: Likewise.
42949 * conform/data/assert.h-data: Likewise.
42950 * conform/data/complex.h-data: Likewise.
42951 * conform/data/cpio.h-data: Likewise.
42952 * conform/data/ctype.h-data: Likewise.
42953 * conform/data/dirent.h-data: Likewise.
42954 * conform/data/dlfcn.h-data: Likewise.
42955 * conform/data/errno.h-data: Likewise.
42956 * conform/data/fcntl.h-data: Likewise.
42957 * conform/data/float.h-data: Likewise.
42958 * conform/data/fmtmsg.h-data: Likewise.
42959 * conform/data/fnmatch.h-data: Likewise.
42960 * conform/data/ftw.h-data: Likewise.
42961 * conform/data/glob.h-data: Likewise.
42962 * conform/data/grp.h-data: Likewise.
42963 * conform/data/iconv.h-data: Likewise.
42964 * conform/data/inttypes.h-data: Likewise.
42965 * conform/data/langinfo.h-data: Likewise.
42966 * conform/data/libgen.h-data: Likewise.
42967 * conform/data/limits.h-data: Likewise.
42968 * conform/data/locale.h-data: Likewise.
42969 * conform/data/math.h-data: Likewise.
42970 * conform/data/monetary.h-data: Likewise.
42971 * conform/data/mqueue.h-data: Likewise.
42972 * conform/data/ndbm.h-data: Likewise.
42973 * conform/data/net/if.h-data: Likewise.
42974 * conform/data/netdb.h-data: Likewise.
42975 * conform/data/netinet/in.h-data: Likewise.
42976 * conform/data/nl_types.h-data: Likewise.
42977 * conform/data/poll.h-data: Likewise.
42978 * conform/data/pthread.h-data: Likewise.
42979 * conform/data/pwd.h-data: Likewise.
42980 * conform/data/regex.h-data: Likewise.
42981 * conform/data/sched.h-data: Likewise.
42982 * conform/data/search.h-data: Likewise.
42983 * conform/data/semaphore.h-data: Likewise.
42984 * conform/data/setjmp.h-data: Likewise.
42985 * conform/data/signal.h-data: Likewise.
42986 * conform/data/spawn.h-data: Likewise.
42987 * conform/data/stdarg.h-data: Likewise.
42988 * conform/data/stdio.h-data: Likewise.
42989 * conform/data/stdlib.h-data: Likewise.
42990 * conform/data/string.h-data: Likewise.
42991 * conform/data/strings.h-data: Likewise.
42992 * conform/data/stropts.h-data: Likewise.
42993 * conform/data/sys/ipc.h-data: Likewise.
42994 * conform/data/sys/mman.h-data: Likewise.
42995 * conform/data/sys/msg.h-data: Likewise.
42996 * conform/data/sys/resource.h-data: Likewise.
42997 * conform/data/sys/select.h-data: Likewise.
42998 * conform/data/sys/sem.h-data: Likewise.
42999 * conform/data/sys/shm.h-data: Likewise.
43000 * conform/data/sys/socket.h-data: Likewise.
43001 * conform/data/sys/stat.h-data: Likewise.
43002 * conform/data/sys/statvfs.h-data: Likewise.
43003 * conform/data/sys/time.h-data: Likewise.
43004 * conform/data/sys/timeb.h-data: Likewise.
43005 * conform/data/sys/times.h-data: Likewise.
43006 * conform/data/sys/types.h-data: Likewise.
43007 * conform/data/sys/uio.h-data: Likewise.
43008 * conform/data/sys/un.h-data: Likewise.
43009 * conform/data/sys/utsname.h-data: Likewise.
43010 * conform/data/sys/wait.h-data: Likewise.
43011 * conform/data/syslog.h-data: Likewise.
43012 * conform/data/tar.h-data: Likewise.
43013 * conform/data/termios.h-data: Likewise.
43014 * conform/data/utime.h-data: Likewise.
43015 * conform/data/utmpx.h-data: Likewise.
43016 * conform/data/varargs.h-data: Likewise.
43017 * conform/data/wchar.h-data: Likewise.
43018 * conform/data/wctype.h-data: Likewise.
43019 * conform/data/wordexp.h-data: Likewise.
43021 * include/stropts.h: New file.
43022 * include/uchar.h: New file.
43023 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43024 * include/assert.h: Likewise.
43025 * include/ctype.h: Likewise.
43026 * include/dirent.h: Likewise.
43027 * include/dlfcn.h: Likewise.
43028 * include/fcntl.h: Likewise.
43029 * include/fnmatch.h: Likewise.
43030 * include/glob.h: Likewise.
43031 * include/grp.h: Likewise.
43032 * include/libio.h: Likewise.
43033 * include/locale.h: Likewise.
43034 * include/math.h: Likewise.
43035 * include/net/if.h: Likewise.
43036 * include/netdb.h: Likewise.
43037 * include/netinet/in.h: Likewise.
43038 * include/pthread.h: Likewise.
43039 * include/pwd.h: Likewise.
43040 * include/regex.h: Likewise.
43041 * include/sched.h: Likewise.
43042 * include/search.h: Likewise.
43043 * include/setjmp.h: Likewise.
43044 * include/signal.h: Likewise.
43045 * include/stdio.h: Likewise.
43046 * include/stdlib.h: Likewise.
43047 * include/string.h: Likewise.
43048 * include/sys/cdefs.h: Likewise.
43049 * include/sys/mman.h: Likewise.
43050 * include/sys/msg.h: Likewise.
43051 * include/sys/resource.h: Likewise.
43052 * include/sys/select.h: Likewise.
43053 * include/sys/socket.h: Likewise.
43054 * include/sys/stat.h: Likewise.
43055 * include/sys/statvfs.h: Likewise.
43056 * include/sys/time.h: Likewise.
43057 * include/sys/times.h: Likewise.
43058 * include/sys/uio.h: Likewise.
43059 * include/sys/utsname.h: Likewise.
43060 * include/sys/wait.h: Likewise.
43061 * include/termios.h: Likewise.
43062 * include/time.h: Likewise.
43063 * include/ulimit.h: Likewise.
43064 * include/unistd.h: Likewise.
43065 * include/utime.h: Likewise.
43066 * include/wchar.h: Likewise.
43067 * include/wctype.h: Likewise.
43068 * include/wordexp.h: Likewise.
43070 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43072 * time/time.h: TIME_UTC must be a macro.
43073 Make timespec_get available for ISO C11 only as well.
43075 2012-02-24 Ulrich Drepper <drepper@gmail.com>
43077 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43078 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43080 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43082 * configure.in: Use -o not -a in test for unsupported multi-arch.
43084 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43086 * manual/texinfo.tex: Update to version 2012-01-19.16.
43088 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43090 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43092 2012-02-24 Roland McGrath <roland@hack.frob.com>
43095 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43096 * manual/fdl-1.3.texi: New file.
43097 * manual/fdl-1.1.texi: File removed.
43100 * manual/libc.texinfo (FDL_VERSION): New @set.
43101 Use it for mention of FDL in cover text.
43102 (Documentation License): Use it in @include file name.
43104 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43105 Roland McGrath <roland@hack.frob.com>
43108 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43109 (not LONG_LONG_MAX and LONG_LONG_MIN.
43110 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43111 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43113 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43115 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43119 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43120 manipulate bits before adding and subtracting TWO23[sx].
43121 * math/libm-test.inc (nearbyint_test): Add more tests.
43123 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43126 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43127 bits before adding and subtracting TWO23[sx].
43128 * math/libm-test.inc (rint_test): Add more tests.
43129 (rint_test_tonearest): Likewise.
43130 (rint_test_towardzero): Likewise.
43131 (rint_test_downward): Likewise.
43132 (rint_test_upward: Likewise.
43134 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43137 * include/stdc-predef.h: New file. Extracted from features.h.
43138 * include/features.h: Include stdc-predef.h.
43139 * Makefile (headers): Add stdc-predef.h.
43140 * CONFORMANCE (Compiler limitations): Update.
43142 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43144 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43146 2012-02-21 David S. Miller <davem@davemloft.net>
43148 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43149 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43151 2012-02-20 David S. Miller <davem@davemloft.net>
43153 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43154 using a normal save/restore sequence, rather than allocating a
43155 dummy stack frame just to store a frame pointer and restore.
43156 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43158 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43160 * manual/install.texi: Fix stray word in line-wrapped comment.
43162 2012-02-20 David S. Miller <davem@davemloft.net>
43164 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43165 both binutils and gcc support GOTDATA.
43167 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43168 "rd %pc" in the PIC register setup sequences.
43170 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43171 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43172 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43173 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43174 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43175 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43176 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43177 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43178 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43179 (SYSCALL_ERROR_HANDLER): Likewise.
43180 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43181 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43183 (SYSCALL_ERROR_HANDLER): Likewise.
43185 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43186 (HAVE_GCC_GOTDATA): New.
43187 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43188 relocation support in both binutils and gcc.
43189 * sysdeps/sparc/elf/configure: Regenerate.
43191 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43192 * sysdeps/sparc/sparc32/elf/configure: Delete.
43193 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43194 * sysdeps/sparc/sparc64/elf/configure: Delete.
43195 * sysdeps/sparc/elf/configure.in: New file.
43196 * sysdeps/sparc/elf/configure: Generate.
43198 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43199 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43200 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43201 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43202 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43204 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43206 * manual/install.texi: Do not mention specific glibc version
43208 * manual/libc.texinfo (VERSION, UPDATED): Update.
43209 (@copying): Use @copyright{} and range of years.
43211 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43214 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43215 [crti.S not in sysdirs] (generated): Do not append.
43216 [crti.S not in sysdirs] (omit-deps): Likewise.
43217 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43218 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43219 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43220 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43221 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43223 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43224 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43225 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43226 * csu/defs.awk: Remove file.
43227 * sysdeps/generic/initfini.c: Likewise.
43228 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43230 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43233 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43235 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43236 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43237 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43238 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43239 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43240 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43242 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43243 (__EPOLL_PACKED): Define to empty if not defined by
43245 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43249 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43251 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43252 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43253 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43254 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43256 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43260 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43262 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43264 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43265 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43266 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43269 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43271 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43272 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43274 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43276 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43277 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43279 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43281 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43284 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43286 * math/w_acos.c: Use non-signaling floating-point comparisons.
43287 * math/w_acosf.c: Likewise.
43288 * math/w_acosh.c: Likewise.
43289 * math/w_acoshf.c: Likewise.
43290 * math/w_acoshl.c: Likewise.
43291 * math/w_acosl.c: Likewise.
43292 * math/w_asin.c: Likewise.
43293 * math/w_asinf.c: Likewise.
43294 * math/w_asinl.c: Likewise.
43295 * math/w_atanh.c: Likewise.
43296 * math/w_atanhf.c: Likewise.
43297 * math/w_atanhl.c: Likewise.
43298 * math/w_exp2.c: Likewise.
43299 * math/w_exp2f.c: Likewise.
43300 * math/w_exp2l.c: Likewise.
43301 * math/w_j0.c: Likewise.
43302 * math/w_j0f.c: Likewise.
43303 * math/w_j0l.c: Likewise.
43304 * math/w_j1.c: Likewise.
43305 * math/w_j1f.c: Likewise.
43306 * math/w_j1l.c: Likewise.
43307 * math/w_jn.c: Likewise.
43308 * math/w_jnf.c: Likewise.
43309 * math/w_log.c: Likewise.
43310 * math/w_log10.c: Likewise.
43311 * math/w_log10f.c: Likewise.
43312 * math/w_log10l.c: Likewise.
43313 * math/w_log2.c: Likewise.
43314 * math/w_log2f.c: Likewise.
43315 * math/w_log2l.c: Likewise.
43316 * math/w_logf.c: Likewise.
43317 * math/w_logl.c: Likewise.
43318 * math/w_sqrt.c: Likewise.
43319 * math/w_sqrtf.c: Likewise.
43320 * math/w_sqrtl.c: Likewise.
43321 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43322 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43324 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43325 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43327 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43330 * manual/string.texi (strnlen): Use correct parameter name in
43331 equivalent expression.
43333 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43336 * manual/users.texi (seteuid): Consistently use neweuid for
43339 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43342 * manual/nss.texi (Services in the NSS configuration): Correct
43343 list of services in example configuration file.
43345 2012-02-19 Nick Bowler <nbowler@draconx.ca>
43348 * manual/arith.texi: Remove statements about negative zero
43349 behaving identically to zero.
43351 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43354 * manual/install.texi: Do not document upgrading from libc5.
43356 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43359 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43361 2012-02-18 David S. Miller <davem@davemloft.net>
43363 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43364 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43365 %o7 across the call.
43366 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43368 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43369 SETUP_PIC_REG_LEAF.
43370 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43371 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43372 * sysdeps/sparc/crtn.S: Likewise.
43374 2012-02-17 Ulrich Drepper <drepper@gmail.com>
43376 * aout/Makefile: Remove.
43378 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43381 * manual/examples/argp-ex1.c (main): Format definition in GNU
43383 * manual/examples/argp-ex2.c (main): Likewise.
43384 * manual/examples/argp-ex3.c (main): Likewise.
43385 * manual/examples/argp-ex4.c (main): Likewise.
43386 * manual/examples/longopt.c (main): Use new-style prototype
43388 * manual/examples/strncat.c (main): Specify return type and use
43389 (void) for arguments.
43390 * manual/examples/subopt.c (main): Use char **argv argument.
43392 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43395 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43398 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43401 * manual/string.texi (strchr): Change when strchrnul is
43404 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43407 * manual/locale.texi (setlocale): Document LOCPATH.
43409 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43412 * manual/process.texi (execle): Move @dots{} before last argument.
43414 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
43417 * manual/charset.texi (Generic Charset Conversion): Fix typo
43418 (LC_TYPE -> LC_CTYPE).
43420 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43423 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43424 (scalbnf): Likewise.
43425 (scalbnl): Likewise.
43426 (scalbln): Likewise.
43427 (scalblnf): Likewise.
43428 (scalblnl): Likewise.
43429 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43430 (vwarnx): Likewise.
43433 * manual/filesys.texi (telldir): Use braces around return type.
43434 * manual/llio.texi (mmap): Add space after comma.
43435 (mmap64): Likewise.
43436 * manual/math.texi (jn): Use @var{} on parameter names.
43442 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43444 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43446 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43447 (sched_get_priority_max): Likewise.
43448 * manual/signal.texi (sigvec): Add space after comma.
43449 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43451 (if_indextoname): Likewise.
43452 (if_freenameindex): Likewise.
43453 (sendto): Use ',' instead of '.' in prototype.
43454 * manual/startup.texi (syscall): Use @dots{} instead of literal
43456 * manual/stdio.texi (__fpending): Separate initial words of
43457 paragraph from @deftypefun line.
43458 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43460 (vsyslog): Use @var{} on parameter names.
43461 * manual/terminal.texi (stty): Use @var{} on parameter names.
43462 * manual/users.texi (getutmp): Use @var{} on parameter names.
43463 (getutmpx): Likewise.
43465 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43468 * manual/stdio.texi (fopen): Fix typos in description of
43471 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43474 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43475 get clock_id definition.
43477 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
43480 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43481 (madvise): Cast every argument to void on its own.
43483 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43486 * manual/startup.texi (Exit Status): Fix typo.
43488 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43491 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43492 * manual/examples/argp-ex2.c: Likewise.
43493 * manual/examples/argp-ex3.c: Likewise.
43495 2012-02-16 Richard Henderson <rth@redhat.com>
43497 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43498 * sysdeps/s390/s390-32/initfini.c: Remove.
43499 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43500 * sysdeps/s390/s390-64/initfini.c: Remove.
43502 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43504 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43505 compiler output for sysdeps/generic/initfini.c.
43506 * sysdeps/sh/elf/initfini.c: Remove file.
43508 2012-02-16 David S. Miller <davem@davemloft.net>
43511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43513 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43514 * sysdeps/sparc/crti.S: New file.
43515 * sysdeps/sparc/crtn.S: New file.
43516 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43517 * sysdeps/sparc/sparc64/Makefile: Likewise.
43519 2012-02-15 Mike Frysinger <vapier@gentoo.org>
43522 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43524 2012-02-15 Roland McGrath <roland@hack.frob.com>
43527 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43529 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43530 (write, read, close): Likewise.
43531 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43533 2012-02-15 Joseph Myers <joseph@codesourcery.com>
43535 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43536 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43537 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43538 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43540 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43544 2012-02-14 Marek Polacek <polacek@redhat.com>
43546 * sysdeps/x86_64/crti.S: New file.
43547 * sysdeps/x86_64/crtn.S: New file.
43548 * sysdeps/x86_64/elf/initfini.c: Remove file.
43550 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43552 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43553 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43554 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43555 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43557 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43561 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43563 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43564 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43565 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43566 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43568 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43572 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43574 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43575 __feraiseexcept instead of feraiseexcept.
43577 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43578 nanosleep invocations.
43579 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43580 strings, and add error checking for a nanosleep invocations.
43582 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43584 Replace FSF snail mail address with URLs, as per GNU coding standards.
43585 Most of the snail mail addresses were wrong anyway, and omitting
43586 them makes the source code easier to maintain. Almost all of the
43587 changes are to license notices and to locale LC_IDENTIFICATION
43588 addresses, except for this one:
43589 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43590 not its snail mail address.
43592 2012-02-09 Richard Henderson <rth@twiddle.net>
43594 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43595 of kernel-features.h.
43597 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43599 2012-02-08 Marek Polacek <polacek@redhat.com>
43601 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43602 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43603 * sysdeps/gnu/_G_config.h: Likewise.
43604 * sysdeps/generic/_G_config.h: Likewise.
43606 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43608 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43612 * sysdeps/powerpc/powerpc32/crti.S: New file.
43613 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43614 * sysdeps/powerpc/powerpc64/crti.S: New file.
43615 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43617 * Makeconfig (have-initfini): Don't set.
43618 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43619 * configure.in (nopic_initfini): Don't substitute.
43620 * config.h.in (HAVE_INITFINI): Don't #undef.
43621 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43622 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43624 2012-02-08 Joseph Myers <joseph@codesourcery.com>
43626 Support crti.S and crtn.S provided directly by architectures.
43627 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43628 [crti.S in sysdirs] (omit-deps): Likewise.
43629 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43630 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43631 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43632 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43633 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43634 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43635 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43636 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43637 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43638 compiler output for sysdeps/generic/initfini.c.
43639 * sysdeps/i386/elf/Makefile: Remove file.
43640 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43642 2012-02-07 Marek Polacek <polacek@redhat.com>
43644 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43645 * sysdeps/gnu/_G_config.h: Likewise.
43646 * sysdeps/mach/hurd/_G_config.h: Likewise.
43648 2012-02-07 Marek Polacek <polacek@redhat.com>
43650 * math/Makefile (tests): Add tst-CMPLX2.
43651 * math/tst-CMPLX2.c: New file.
43653 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43655 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43657 * math/libm-test.inc (jn_test): Add missing L suffix.
43659 2012-02-06 Marek Polacek <polacek@redhat.com>
43661 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43662 * sysdeps/i386/fpu/e_powf.S: Likewise.
43663 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43664 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43665 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43666 * sysdeps/i386/fpu/e_pow.S: Likewise.
43667 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43668 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43669 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43670 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43671 * sysdeps/i386/fpu/e_log2.S: Likewise.
43672 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43673 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43674 * sysdeps/i386/fpu/e_powl.S: Likewise.
43675 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43676 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43677 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43678 * sysdeps/i386/fpu/e_logl.S: Likewise.
43679 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43680 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43681 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43682 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43683 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43684 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43685 * sysdeps/i386/fpu/e_log.S: Likewise.
43686 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43687 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43688 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43689 * sysdeps/i386/fpu/e_logf.S: Likewise.
43690 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43691 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43692 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43693 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43694 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43695 * sysdeps/i386/fpu/e_log10.S: Likewise.
43696 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43697 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43698 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43699 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43700 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43701 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43702 * sysdeps/i386/asm-syntax.h: Likewise.
43703 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43704 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43705 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43706 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43707 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43708 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43709 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43710 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43711 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43712 * sysdeps/powerpc/sysdep.h: Likewise.
43713 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43714 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43716 2012-02-06 Joseph Myers <joseph@codesourcery.com>
43719 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43721 2012-02-06 Joseph Myers <joseph@codesourcery.com>
43723 * sysdeps/i386/sysdep.h: Include <features.h>.
43724 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43727 2012-02-05 Joseph Myers <joseph@codesourcery.com>
43729 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43731 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43734 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43736 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43737 (SETUP_PIC_REG): Use GET_PC_THUNK.
43738 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43741 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43743 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43744 for non-PIC compilation.
43745 (SETUP_PIC_REG): Add .p2align directive.
43746 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43747 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43748 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43749 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43750 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43751 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43752 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43753 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43754 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43755 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43756 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43757 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43758 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43759 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43760 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43761 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43762 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43763 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43764 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43765 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43766 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43767 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43768 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43769 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43770 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43772 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43773 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43774 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43775 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43776 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43777 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43778 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43779 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43780 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43781 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43782 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43783 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43784 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43785 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43786 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43788 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43790 * math/tst-CMPLX.c: Include <stdio.h>.
43792 2012-01-31 Joseph Myers <joseph@codesourcery.com>
43794 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43796 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43797 * sysdeps/sparc/bits/mathdef.h: Likewise.
43799 2012-01-31 Marek Polacek <polacek@redhat.com>
43801 * libio/libio.h: Don't define _PARAMS.
43802 * locale/programs/config.h: Don't define PARAMS.
43803 * stdlib/strtol_l.c: Likewise.
43804 (__strtol_l): Remove PARAMS from the prototype.
43806 2012-01-31 Ulrich Drepper <drepper@gmail.com>
43808 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43809 names. Just use the correct names. Remove unnecessary wrapper
43811 * malloc/arena.c: Likewise.
43812 * malloc/hooks.c: Likewise.
43814 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43815 ARENA_TEST says not to. Simplify test for creation of a new arena.
43816 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43818 2012-01-30 Ulrich Drepper <drepper@gmail.com>
43820 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43822 (update_get_addr): New function.
43823 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43824 GET_ADDR_MODULE parameter.
43826 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43828 * crypt/cert.c: Remove __STDC__ conditionals.
43829 * crypt/crypt-entry.c: Likewise.
43830 * crypt/crypt_util.c: Likewise.
43831 * libio/filedoalloc.c: Likewise.
43832 * libio/fileops.c: Likewise.
43833 * libio/genops.c: Likewise.
43834 * libio/iofclose.c: Likewise.
43835 * libio/iofdopen.c: Likewise.
43836 * libio/iofopen.c: Likewise.
43837 * libio/iofopen64.c: Likewise.
43838 * libio/iogetdelim.c: Likewise.
43839 * libio/iopopen.c: Likewise.
43840 * libio/obprintf.c: Likewise.
43841 * libio/oldfileops.c: Likewise.
43842 * libio/oldiofclose.c: Likewise.
43843 * libio/oldiofdopen.c: Likewise.
43844 * libio/oldiofopen.c: Likewise.
43845 * libio/oldiopopen.c: Likewise.
43846 * libio/wfiledoalloc.c: Likewise.
43847 * libio/wgenops.c: Likewise.
43848 * locale/programs/xmalloc.c: Likewise.
43849 * misc/syslog.c: Likewise.
43850 * stdio-common/xbug.c: Likewise.
43851 * string/memchr.c: Likewise.
43852 * string/memcmp.c: Likewise.
43853 * string/memrchr.c: Likewise.
43854 * string/rawmemchr.c: Likewise.
43855 * sysdeps/posix/getcwd.c: Likewise.
43856 * time/strftime_l.c: Likewise.
43858 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43860 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43861 * config.make.in (config-cflags-sse2avx): Define.
43862 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43865 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43867 * scripts/config.guess: Update from upstream config git repository.
43868 * scripts/config.sub: Likewise.
43870 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43872 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43874 (R_TILEPRO_*, R_TILEGX_*): New macros.
43876 * scripts/firstversions.awk: Fix bug in version range handling.
43878 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43880 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43882 * include/sys/epoll.h: New file.
43883 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43886 2012-01-28 Ulrich Drepper <drepper@gmail.com>
43888 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43889 Avoid unnecessary __WORDSIZE == 64 test.
43890 (fmaxf): Use VEX format if possible.
43895 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43896 * math/math_private.h: Remove libc_fegetround* and
43898 * sysdeps/i386/configure.in: Check for -msse2avx.
43899 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43900 also if SSE2AVX is defined.
43901 Remove libc_fegetround* and libc_fesetround*.
43902 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43903 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43904 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43906 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43907 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43908 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43909 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43910 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43912 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43914 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43916 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43918 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43920 2012-01-27 Ulrich Drepper <drepper@gmail.com>
43923 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43925 * Makeconfig (libm): Define.
43926 * elf/Makefile: Add rules to build and run tst-relsort1.
43927 * elf/tst-relsort1.c: New file.
43928 * elf/tst-relsort1mod1.c: New file.
43929 * elf/tst-relsort1mod2.c: New file.
43931 2012-01-27 Joseph Myers <joseph@codesourcery.com>
43933 * math/s_ldexp.c: Remove __STDC__ conditionals.
43934 * math/s_ldexpf.c: Likewise.
43935 * math/s_ldexpl.c: Likewise.
43936 * math/s_nextafter.c: Likewise.
43937 * math/s_nexttowardf.c: Likewise.
43938 * math/s_significand.c: Likewise.
43939 * math/s_significandf.c: Likewise.
43940 * math/s_significandl.c: Likewise.
43941 * math/w_jnl.c: Likewise.
43942 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43943 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43944 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43945 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43946 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43947 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43948 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43949 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43950 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43951 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43952 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43953 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43954 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43955 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43956 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43957 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43958 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43959 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43960 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43961 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43962 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43963 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43964 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43965 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43966 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43967 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43968 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43969 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43970 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43971 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43972 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43973 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43974 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43975 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43976 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43977 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43978 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43979 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43980 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43981 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43982 * sysdeps/ieee754/k_standard.c: Likewise.
43983 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43984 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43985 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43986 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43987 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43988 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43989 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43990 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43991 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43992 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43993 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43994 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43995 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43996 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43997 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43998 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43999 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44000 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44001 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44002 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44005 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44006 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44007 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44008 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44009 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44010 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44011 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44012 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44013 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44014 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44015 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44016 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44017 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44018 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44019 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44020 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44021 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44022 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44023 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44024 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44025 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44026 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44027 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44028 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44029 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44030 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44031 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44032 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44033 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44034 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44035 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44036 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44037 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44038 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44039 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44040 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44041 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44042 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44043 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44044 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44045 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44046 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44047 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44048 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44049 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44050 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44051 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44052 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44053 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44054 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44055 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44056 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44057 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44058 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44059 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44060 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44061 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44062 * sysdeps/ieee754/s_matherr.c: Likewise.
44063 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44064 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44065 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44068 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44070 * crypt/md5.h: Remove __STDC__ conditionals.
44071 * libio/libioP.h: Likewise.
44072 * locale/programs/config.h: Likewise.
44073 * sysdeps/generic/sysdep.h: Likewise.
44074 * sysdeps/i386/asm-syntax.h: Likewise.
44075 * sysdeps/s390/asm-syntax.h: Likewise.
44076 * sysdeps/unix/sysdep.h: Likewise.
44077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44080 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44082 * libio/libio.h: Remove __STDC__ conditionals.
44083 * malloc/obstack.h: Likewise.
44084 * math/complex.h: Likewise.
44085 * math/math.h: Likewise.
44086 * sysdeps/generic/_G_config.h: Likewise.
44087 * sysdeps/gnu/_G_config.h: Likewise.
44088 * sysdeps/mach/hurd/_G_config.h: Likewise.
44089 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44090 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44091 * sysdeps/sparc/bits/mathdef.h: Likewise.
44093 2012-01-26 Ulrich Drepper <drepper@gmail.com>
44096 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44097 Clean up HAS_* macros.
44098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44099 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44101 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44103 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44104 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44105 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44106 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44107 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44109 2012-01-25 Joseph Myers <joseph@codesourcery.com>
44111 * elf/tst-unique3.cc (gets): Remove declaration.
44112 * elf/tst-unique3lib.cc (gets): Likewise.
44113 * elf/tst-unique3lib2.cc (gets): Likewise.
44114 * elf/tst-unique4.cc (gets): Likewise.
44116 2012-01-24 Ulrich Drepper <drepper@gmail.com>
44118 * include/stdio.h: Add C++ protection. Add gets declarations and
44120 * debug/tst-chk1.c: Don't declare gets here.
44121 * stdio-common/tst-gets.c: Likewise.
44123 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44125 * posix/glob: Remove directory.
44127 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44129 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44131 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44133 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44134 of the non-standard EPFNOSUPPORT.
44136 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44138 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44139 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44140 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44142 2012-01-21 Ulrich Drepper <drepper@gmail.com>
44144 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44146 2012-01-20 Ulrich Drepper <drepper@gmail.com>
44148 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44150 * nscd/grpcache.c (cache_addgr): Likewise.
44151 * nscd/hstcache.c (cache_addhst): Likewise.
44152 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44153 * nscd/pwdcache.c (cache_addpw): Likewise.
44154 * nscd/servicescache.c (cache_addserv): Likewise.
44156 2012-01-16 Ulrich Drepper <drepper@gmail.com>
44158 * malloc/malloc.c: Various cleanups.
44159 * malloc/hooks.c: Likewise.
44161 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44162 * stdlib/bug-fmtmsg1.c: New file.
44164 * stdlib/fmtmsg.c (init): Add missing unlock.
44165 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44167 2012-01-12 Marek Polacek <polacek@redhat.com>
44169 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44172 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44174 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44175 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44176 macro to ensure uniqueness of label name.
44177 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44178 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44180 2012-01-11 Ulrich Drepper <drepper@gmail.com>
44182 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44184 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44185 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44186 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44187 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44189 2012-01-10 Ulrich Drepper <drepper@gmail.com>
44191 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44193 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44194 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44195 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44197 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44199 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44200 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44201 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44202 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44204 * math/bits/math-finite.h: Add ldexp support.
44206 2012-01-10 Marek Polacek <polacek@redhat.com>
44208 * locale/programs/localedef.h (show_archive_content): Add noreturn
44211 2012-01-09 Ulrich Drepper <drepper@gmail.com>
44213 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44215 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44217 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44219 * io/Makefile (headers): Add bits/poll2.h.
44221 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44224 typo #include statement.
44226 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44228 * include/sys/cdefs.h: Define __attribute_alloc_size.
44229 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44230 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44231 * elf/pldd.c: Likewise.
44232 * iconv/iconv_charmap.c: Likewise.
44233 * iconv/iconvconfig.c: Likewise.
44234 * iconv/strtab.c: Likewise.
44235 * locale/programs/locale.c: Likewise.
44236 * locale/programs/localedef.h: Likewise.
44237 * locale/programs/simple-hash.c: Likewise.
44238 * nscd/nscd.h: Likewise.
44239 * nss/makedb.c: Likewise.
44240 * sysdeps/generic/ldconfig.h: Likewise.
44241 * locale/programs/localedef.c: Remove xmalloc prototype.
44242 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44244 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44246 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44249 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44251 * math/Makefile (tests): Add tst-CMPLX.
44252 * math/tst-CMPLX.c: New file.
44254 * math/complex.h (CMPLXL): Fix typo.
44256 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44257 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44259 * debug/tst-chk1.c: Add poll and ppoll tests.
44260 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44261 * include/sys/poll.h: Add hidden proto for ppoll.
44262 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44263 * sysdeps/mach/hurd/ppoll.c: Likewise.
44264 * io/ppoll.c: Likewise.
44265 * debug/poll_chk.c: New file.
44266 * debug/ppoll_chk.c: New file.
44267 * include/bits/poll2.h: New file.
44268 * io/bits/poll2.h: New file.
44271 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44273 * configure.in: static is always set to yes. Remove.
44274 * config.make.in: Don't set build-static.
44275 * Makeconfig: Remove use of build-static.
44276 * dlfcn/Makefile: Likewise.
44277 * elf/Makefile: Likewise.
44278 * math/Makefile: Likewise.
44279 * misc/Makefile: Likewise.
44280 * nptl/Makefile: Likewise.
44281 * sysdeps/mach/hurd/Makefile: Likewise.
44283 * configure.in: PWD_P is not used anymore.
44284 * config.make.in: Remove PWD_P entry.
44286 * configure.in: Remove last remnants of RANLIB.
44287 No need to check for signed size_t anymore.
44288 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44290 Remove __builtin_expect test because we require at least gcc 3.4.
44291 * aclocal.m4: Likewise.
44293 * wcsmbs/mbrtoc16.c: Implement using towc function.
44294 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44295 * wcsmbs/wcsmbsload.c: Likewise.
44296 * iconv/gconv_simple.c: Likewise.
44297 * iconv/gconv_int.h: Likewise.
44298 * iconv/gconv_builtin.h: Likewise.
44299 * iconv/iconv_prog.c: Remove CHAR16 handling.
44301 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44303 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44305 * configure.in: Remove --with-elf and --enable-bounded options.
44306 Dont set base_machine for ia64. More non-ELF conditions removed.
44307 Remove testing and setting of leading underscore information.
44308 * config.make.in (build-bounded): Set to no.
44309 * config.h.in: Remove NO_UNDERSCORES entry.
44310 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44312 * csu/start.c: Remove !NO_UNDERSCORE code.
44313 * locale/localeinfo.h: Likewise.
44314 * sysdeps/generic/machine-gmon.h: Likewise.
44315 * sysdeps/generic/sysdep.h: Likewise.
44316 * sysdeps/i386/sysdep.h: Likewise.
44317 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44318 * sysdeps/mach/sysdep.h: Likewise.
44319 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44320 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44321 * sysdeps/sh/sysdep.h: Likewise.
44322 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44323 * sysdeps/unix/i386/sysdep.S: Likewise.
44324 * sysdeps/unix/sparc/start.c: Likewise.
44325 * sysdeps/unix/sparc/sysdep.S: Likewise.
44326 * sysdeps/unix/sparc/sysdep.h: Likewise.
44327 * sysdeps/unix/start.c: Likewise.
44328 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44329 * sysdeps/x86_64/sysdep.h: Likewise.
44331 2012-01-07 Ulrich Drepper <drepper@gmail.com>
44334 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44336 * argp/argp-fmtstream.h: Use const instead __const.
44337 * argp/argp.h: Likewise.
44338 * assert/assert.h: Likewise.
44339 * bits/fenv.h: Likewise.
44340 * bits/sched.h: Likewise.
44341 * bits/sigset.h: Likewise.
44342 * bits/sigthread.h: Likewise.
44343 * catgets/nl_types.h: Likewise.
44344 * conform/data/pthread.h-data: Likewise.
44345 * crypt/crypt-private.h: Likewise.
44346 * crypt/crypt.h: Likewise.
44347 * crypt/crypt_util.c: Likewise.
44348 * ctype/ctype.h: Likewise.
44349 * debug/execinfo.h: Likewise.
44350 * debug/mbsnrtowcs_chk.c: Likewise.
44351 * debug/mbsrtowcs_chk.c: Likewise.
44352 * debug/wcsnrtombs_chk.c: Likewise.
44353 * debug/wcsrtombs_chk.c: Likewise.
44354 * debug/wcstombs_chk.c: Likewise.
44355 * dirent/dirent.h: Likewise.
44356 * dlfcn/dlfcn.h: Likewise.
44357 * elf/neededtest4.c: Likewise.
44358 * grp/grp.h: Likewise.
44359 * gshadow/gshadow.h: Likewise.
44360 * iconv/gconv.h: Likewise.
44361 * iconv/gconv_int.h: Likewise.
44362 * iconv/gconv_simple.c: Likewise.
44363 * iconv/iconv.h: Likewise.
44364 * iconv/loop.c: Likewise.
44365 * iconv/skeleton.c: Likewise.
44366 * include/aio.h: Likewise.
44367 * include/aliases.h: Likewise.
44368 * include/argz.h: Likewise.
44369 * include/arpa/inet.h: Likewise.
44370 * include/assert.h: Likewise.
44371 * include/dirent.h: Likewise.
44372 * include/dlfcn.h: Likewise.
44373 * include/execinfo.h: Likewise.
44374 * include/fcntl.h: Likewise.
44375 * include/fenv.h: Likewise.
44376 * include/glob.h: Likewise.
44377 * include/grp.h: Likewise.
44378 * include/libintl.h: Likewise.
44379 * include/mntent.h: Likewise.
44380 * include/netdb.h: Likewise.
44381 * include/pwd.h: Likewise.
44382 * include/rpc/netdb.h: Likewise.
44383 * include/sched.h: Likewise.
44384 * include/search.h: Likewise.
44385 * include/shadow.h: Likewise.
44386 * include/signal.h: Likewise.
44387 * include/stdio.h: Likewise.
44388 * include/stdlib.h: Likewise.
44389 * include/string.h: Likewise.
44390 * include/sys/socket.h: Likewise.
44391 * include/sys/stat.h: Likewise.
44392 * include/sys/statfs.h: Likewise.
44393 * include/sys/statvfs.h: Likewise.
44394 * include/sys/syslog.h: Likewise.
44395 * include/sys/time.h: Likewise.
44396 * include/sys/uio.h: Likewise.
44397 * include/time.h: Likewise.
44398 * include/unistd.h: Likewise.
44399 * include/utmp.h: Likewise.
44400 * include/wchar.h: Likewise.
44401 * include/wctype.h: Likewise.
44402 * inet/aliases.h: Likewise.
44403 * inet/arpa/inet.h: Likewise.
44404 * inet/netinet/ether.h: Likewise.
44405 * inet/netinet/in.h: Likewise.
44406 * intl/libintl.h: Likewise.
44407 * io/bits/fcntl2.h: Likewise.
44408 * io/fcntl.h: Likewise.
44409 * io/ftw.h: Likewise.
44410 * io/sys/poll.h: Likewise.
44411 * io/sys/stat.h: Likewise.
44412 * io/sys/statfs.h: Likewise.
44413 * io/sys/statvfs.h: Likewise.
44414 * io/utime.h: Likewise.
44415 * libio/bits/stdio.h: Likewise.
44416 * libio/bits/stdio2.h: Likewise.
44417 * libio/libio.h: Likewise.
44418 * libio/libioP.h: Likewise.
44419 * libio/stdio.h: Likewise.
44420 * locale/lc-ctype.c: Likewise.
44421 * locale/locale.h: Likewise.
44422 * login/utmp.h: Likewise.
44423 * malloc/arena.c: Likewise.
44424 * malloc/malloc.c: Likewise.
44425 * malloc/malloc.h: Likewise.
44426 * malloc/mcheck.c: Likewise.
44427 * malloc/mtrace.c: Likewise.
44428 * math/bits/mathcalls.h: Likewise.
44429 * math/fenv.h: Likewise.
44430 * math/math_private.h: Likewise.
44431 * misc/bits/error.h: Likewise.
44432 * misc/bits/syslog.h: Likewise.
44433 * misc/err.h: Likewise.
44434 * misc/error.h: Likewise.
44435 * misc/fstab.h: Likewise.
44436 * misc/mntent.h: Likewise.
44437 * misc/regexp.h: Likewise.
44438 * misc/search.h: Likewise.
44439 * misc/sgtty.h: Likewise.
44440 * misc/sys/mman.h: Likewise.
44441 * misc/sys/syslog.h: Likewise.
44442 * misc/sys/uio.h: Likewise.
44443 * misc/sys/xattr.h: Likewise.
44444 * misc/ttyent.h: Likewise.
44445 * nis/rpcsvc/ypclnt.h: Likewise.
44446 * nss/nss.h: Likewise.
44447 * posix/bits/unistd.h: Likewise.
44448 * posix/fnmatch.h: Likewise.
44449 * posix/glob.h: Likewise.
44450 * posix/sched.h: Likewise.
44451 * posix/spawn.h: Likewise.
44452 * posix/sys/wait.h: Likewise.
44453 * posix/unistd.h: Likewise.
44454 * posix/wordexp.h: Likewise.
44455 * pwd/pwd.h: Likewise.
44456 * resolv/netdb.h: Likewise.
44457 * resource/sys/resource.h: Likewise.
44458 * rt/aio.h: Likewise.
44459 * rt/bits/mqueue2.h: Likewise.
44460 * rt/mqueue.h: Likewise.
44461 * shadow/shadow.h: Likewise.
44462 * signal/signal.h: Likewise.
44463 * socket/send.c: Likewise.
44464 * socket/sendto.c: Likewise.
44465 * socket/sys/socket.h: Likewise.
44466 * stdio-common/printf.h: Likewise.
44467 * stdlib/bits/stdlib.h: Likewise.
44468 * stdlib/fmtmsg.h: Likewise.
44469 * stdlib/monetary.h: Likewise.
44470 * stdlib/stdlib.h: Likewise.
44471 * stdlib/ucontext.h: Likewise.
44472 * streams/stropts.h: Likewise.
44473 * string/argz.h: Likewise.
44474 * string/bits/string2.h: Likewise.
44475 * string/string.h: Likewise.
44476 * string/strings.h: Likewise.
44477 * sunrpc/rpc/auth.h: Likewise.
44478 * sunrpc/rpc/auth_des.h: Likewise.
44479 * sunrpc/rpc/clnt.h: Likewise.
44480 * sunrpc/rpc/netdb.h: Likewise.
44481 * sunrpc/rpc/pmap_clnt.h: Likewise.
44482 * sunrpc/rpc/xdr.h: Likewise.
44483 * sysdeps/generic/inttypes.h: Likewise.
44484 * sysdeps/generic/net/if.h: Likewise.
44485 * sysdeps/generic/sys/swap.h: Likewise.
44486 * sysdeps/gnu/net/if.h: Likewise.
44487 * sysdeps/gnu/utmpx.h: Likewise.
44488 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44489 * sysdeps/i386/i486/bits/string.h: Likewise.
44490 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44491 * sysdeps/s390/bits/string.h: Likewise.
44492 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44493 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44494 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44495 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44496 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44497 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44498 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44499 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44500 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44501 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44502 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44503 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44504 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44505 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44506 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44507 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44508 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44510 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44511 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44512 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44513 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44514 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44515 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44516 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44517 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44518 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44519 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44520 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44521 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44522 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44523 * sysvipc/sys/ipc.h: Likewise.
44524 * sysvipc/sys/msg.h: Likewise.
44525 * sysvipc/sys/sem.h: Likewise.
44526 * sysvipc/sys/shm.h: Likewise.
44527 * termios/termios.h: Likewise.
44528 * time/sys/time.h: Likewise.
44529 * time/time.h: Likewise.
44530 * wcsmbs/bits/wchar2.h: Likewise.
44531 * wcsmbs/uchar.h: Likewise.
44532 * wcsmbs/wchar.h: Likewise.
44533 * wctype/wctype.h: Likewise.
44536 * Makeconfig: Remove all but ELF support including AIX support.
44537 * Makerules: Likewise.
44538 * config.h.in: Likewise.
44539 * config.make.in: Likewise.
44540 * configure: Likewise.
44541 * configure.in: Likewise.
44542 * csu/Makefile: Likewise.
44543 * csu/version.c: Likewise.
44544 * debug/Makefile: Likewise.
44545 * dlfcn/Makefile: Likewise.
44546 * elf/Makefile: Likewise.
44547 * extra-lib.mk: Likewise.
44548 * iconv/Makefile: Likewise.
44549 * include/libc-symbols.h: Likewise.
44550 * include/shlib-compat.h: Likewise.
44551 * resolv/Makefile: Likewise.
44552 * resolv/res_libc.c: Likewise.
44553 * rt/Makefile: Likewise.
44554 * sysdeps/i386/asm-syntax.h: Likewise.
44555 * sysdeps/i386/sysdep.h: Likewise.
44556 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44557 * sysdeps/mach/sysdep.h: Likewise.
44558 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44559 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44560 * sysdeps/s390/asm-syntax.h: Likewise.
44561 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44562 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44563 * sysdeps/sh/sysdep.h: Likewise.
44564 * sysdeps/unix/sparc/sysdep.h: Likewise.
44565 * sysdeps/wordsize-32/divdi3.c: Likewise.
44566 * sysdeps/x86_64/sysdep.h: Likewise.
44568 * argp/Versions: Remove _argp_unlock_xxx.
44571 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44572 * abilist/libBrokenLocale.abilist: Likewise.
44573 * abilist/libanl.abilist: Likewise.
44574 * abilist/libc.abilist: Likewise.
44575 * abilist/libcrypt.abilist: Likewise.
44576 * abilist/libdl.abilist: Likewise.
44577 * abilist/libm.abilist: Likewise.
44578 * abilist/libnsl.abilist: Likewise.
44579 * abilist/libpthread.abilist: Likewise.
44580 * abilist/libresolv.abilist: Likewise.
44581 * abilist/librt.abilist: Likewise.
44582 * abilist/libthread_db.abilist: Likewise.
44583 * abilist/libutil.abilist: Likewise.
44584 * abilist/libnss_db.abilist: New file.
44586 * scripts/abilist.awk: Add support for indirect functions.
44588 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44590 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44592 * shlib-versions: Remove entries for ports architectures.
44594 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44596 * elf/stackguard-macros.h: Remove support for IA-64.
44597 * elf/tst-auditmod1.c: Likewise.
44598 * sysdeps/generic/ldsodefs.h: Likewise.
44600 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44601 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44605 * configure.in: Remove --enable-omitfp support.
44607 * config.make.in: Likewise.
44608 * Makeconfig: Likewise.
44609 * manual/install.texi: Likewise.
44611 In case anyone cares, the IA-64 architecture could move to ports.
44612 * sysdeps/ia64/*: Removed.
44613 * sysdeps/unix/sysv/linux/ia64/*: Removed.
44614 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44617 * configure.in: Remove entries for unsupported architectures.
44620 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44621 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44623 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44624 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44625 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44626 fall back to using wcrtomb.
44627 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44628 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44630 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44631 * wcsmbs/tst-c16c32-1.c: New file.
44633 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44636 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44638 * elf/tst-unique3.cc: Add explicit declaration of gets.
44639 * elf/tst-unique3lib.cc: Likewise.
44640 * elf/tst-unique3lib2.cc: Likewise.
44641 * elf/tst-unique4.cc: Likewise.
44643 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44645 2012-01-06 Joseph Myers <joseph@codesourcery.com>
44648 * assert/assert.h (static_assert): Don't define for C++.
44649 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44650 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44652 2012-01-03 Ulrich Drepper <drepper@gmail.com>
44654 * iconv/loop.c (single loop): Fix assertion in storing of
44657 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44659 2012-01-01 Ulrich Drepper <drepper@gmail.com>
44661 * posix/getconf.c: Update copyright year.
44662 * nss/getent.c: Likewise.
44663 * nss/makedb.c: Likewise.
44664 * iconv/iconvconfig.c: Likewise.
44665 * iconv/iconv_prog.c: Likewise.
44666 * elf/ldconfig.c: Likewise.
44667 * elf/pldd.c: Likewise.
44668 * elf/sotruss.ksh: Likewise.
44669 * catgets/gencat.c: Likewise.
44670 * csu/version.c: Likewise.
44671 * elf/ldd.bash.in: Likewise.
44672 * elf/sprof.c (print_version): Likewise.
44673 * locale/programs/locale.c: Likewise.
44674 * locale/programs/localedef.c: Likewise.
44675 * login/programs/pt_chown.c: Likewise.
44676 * nscd/nscd.c (print_version): Likewise.
44677 * debug/xtrace.sh: Likewise.
44678 * malloc/memusage.sh: Likewise.
44679 * malloc/mtrace.pl: Likewise.
44680 * debug/catchsegv.sh: Likewise.
44682 2011-12-30 Jakub Jelinek <jakub@redhat.com>
44684 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44687 2011-12-24 Ulrich Drepper <drepper@gmail.com>
44690 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44691 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44693 * iconv/gconv_int.h: Likewise.
44694 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44695 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44696 from libc for GLIBC_2.16.
44697 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44698 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44699 * wcsmbs/uchar.h: Really define mbstate_t.
44700 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44701 * wcsmbs/c16rtomb.c: New file.
44702 * wcsmbs/mbrtoc16.c: New file.
44703 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44704 for C/POSIX locale.
44705 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44706 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44708 * wcsmbs/wchar.h: Add missing __restrict.
44710 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44713 * time/Makefile (routines): Add timespec_get.
44714 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44715 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44716 timespec for ISO C11.
44717 * time/timespec_get.c: New file.
44718 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44719 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44722 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44723 * stdlib/stdlib.h: Declare aligned_alloc.
44724 * Versions.def: Add GLIBC_2.16 for libc.
44725 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44728 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44731 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44735 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44738 * assert/assert.h (static_assert): Define.
44740 * version.h: Update for 2.16 development version.
44743 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44746 * version.h (RELEASE): Bump for 2.15 release.
44747 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44749 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44750 Patch by Marek Polacek <mpolacek@redhat.com>.
44752 * bits/byteswap.h: Protect long long constants with __extension__.
44753 * sysdeps/i386/bits/byteswap.h: Likewise.
44754 * sysdeps/ia64/bits/byteswap.h: Likewise.
44755 * sysdeps/s390/bits/byteswap.h: Likewise.
44756 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44758 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44761 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44762 destination buffer.
44763 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44765 2011-12-23 Marek Polacek <polacek@redhat.com>
44767 * elf/dl-addr.c (determine_info): Add inline keyword.
44768 * elf/tst-auditmod4b.c (check_avx): Likewise.
44769 * elf/tst-auditmod6b.c (check_avx): Likewise.
44770 * elf/tst-auditmod6c.c (check_avx): Likewise.
44771 * elf/tst-auditmod7b.c (check_avx): Likewise.
44773 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44775 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44778 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44781 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44782 processing for last bytes.
44784 2011-08-06 Bruno Haible <bruno@clisp.org>
44787 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44788 U+0385, not to U+1FEE.
44791 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44792 entry for U+00A5 U+0301.
44794 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44797 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44798 buffer for the output is too small.
44800 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44804 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44805 SSE flags if possible.
44807 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44810 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44811 processing for last bytes.
44813 2011-12-22 Joseph Myers <joseph@codesourcery.com>
44815 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44816 (syscall-list-default-options, syscall-list-default-condition)
44817 (syscall-list-includes): Define.
44818 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44819 list of ABIs and options and #if conditions for each ABI. Do not
44820 handle common syscalls between ABIs specially.
44821 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44823 (syscall-list-variants, syscall-list-32bit-options)
44824 (syscall-list-32bit-condition, syscall-list-64bit-options)
44825 (syscall-list-64bit-condition): Define.
44826 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44827 (syscall-list-variants, syscall-list-32bit-options)
44828 (syscall-list-32bit-condition, syscall-list-64bit-options)
44829 (syscall-list-64bit-condition): Define.
44830 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44832 (syscall-list-variants, syscall-list-32bit-options)
44833 (syscall-list-32bit-condition, syscall-list-64bit-options)
44834 (syscall-list-64bit-condition): Define.
44835 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44837 (syscall-list-variants, syscall-list-32bit-options)
44838 (syscall-list-32bit-condition, syscall-list-64bit-options)
44839 (syscall-list-64bit-condition): Define.
44841 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44843 * locale/iso-639.def: Add brx entry.
44846 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44847 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44849 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44850 __feraiseexcept_renamed.
44852 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44855 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44856 EPOLLET with unsigned values.
44857 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44858 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44860 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44861 to large cancellation.
44862 * math/s_cacoshf.c: Likewise.
44863 * math/s_cacoshl.c: Likewise.
44865 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44869 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44870 * math/s_cacoshf.c: Likewise.
44871 * math/s_cacoshl.c: Likewise.
44873 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44876 * iconv/gconv.h: Define __GCONV_SWAP.
44877 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44878 * iconvdata/utf-16.c: Likewise.
44879 * iconvdata/utf-32.c: Likewise.
44881 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44884 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44885 numerator after shifting it by one limb.
44887 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44889 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44890 under [__USE_EXTERN_INLINES].
44892 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44895 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44897 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44899 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44900 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44902 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44903 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44904 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44905 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44906 for strncasecmp/strncasecmp_l compilation.
44907 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44908 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44910 2011-12-08 Marek Polacek <mpolacek@redhat.com>
44913 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44916 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44919 * time/tzfile.c (__tzfile_read): Check values from file header.
44921 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44923 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44924 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44925 * powerpc/powerpc32/dl-start.S: Likewise.
44926 * powerpc/powerpc32/elf/start.S: Likewise.
44927 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44928 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44929 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44930 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44931 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44932 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44933 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44934 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44935 * powerpc/powerpc32/fpu/s_round.S: Likewise.
44936 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44937 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44938 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44939 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44940 * powerpc/powerpc32/memset.S: Likewise.
44941 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44942 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44943 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44944 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44945 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44946 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44947 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44948 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44949 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44950 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44951 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44952 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44953 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44955 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44957 * math/libm-test.inc: Added more nearbyint tests.
44958 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44959 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44960 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44961 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44963 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
44965 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44968 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44970 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44971 Add wcscpy-ssse3 wcscpy-c.
44972 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44973 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44974 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44975 * sysdeps/x86_64/wcschr.S: New file.
44976 * sysdeps/x86_64/wcsrchr.S: New file.
44977 * string/test-strcmp.c: Remove checking of wcscmp function for
44979 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44980 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44981 wcsrchr-sse2 wcsrchr-c.
44982 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44983 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44984 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44985 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44986 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44987 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44988 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44989 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44990 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44991 * wcsmbc/wcschr.c (WCSCHR): New macro.
44993 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44995 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44996 * wcsmbs/test-wcsrchr.c: New file.
44997 * string/test-strrchr.c: Add wcsrchr support.
44999 * wcsmbs/test-wcscpy.c: New file.
45000 * string/test-strcpy.c: Add wcscpy support.
45003 2011-12-10 Ulrich Drepper <drepper@gmail.com>
45005 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45008 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45011 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45013 2011-12-04 Ulrich Drepper <drepper@gmail.com>
45015 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45016 Minor optimizations.
45018 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45019 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45020 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45022 2011-12-03 Ulrich Drepper <drepper@gmail.com>
45024 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45025 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45026 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45027 for gcc to avoid warnings.
45028 * inet/Makefile (tests): Add tst-checks.
45029 * inet/tst-checks.c: New file.
45031 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45034 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45037 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45038 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45040 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45042 2011-12-02 Ulrich Drepper <drepper@gmail.com>
45044 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45047 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45049 2011-11-29 Joseph Myers <joseph@codesourcery.com>
45051 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45052 conditional on GCC version.
45053 (__arch_compare_and_exchange_val_8_acq)
45054 (__arch_compare_and_exchange_val_16_acq)
45055 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45056 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45057 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45059 2011-12-02 Joseph Myers <joseph@codesourcery.com>
45061 * sysdeps/sh/backtrace.c: New file.
45063 2011-12-02 Andreas Schwab <schwab@redhat.com>
45065 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45068 2011-12-01 Andreas Schwab <schwab@redhat.com>
45070 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45071 falling back to utime.
45073 2011-11-30 Andreas Schwab <schwab@redhat.com>
45075 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45076 expectations for float.
45078 2011-11-29 Andreas Schwab <schwab@redhat.com>
45080 * locale/weight.h (findidx): Add parameter len.
45081 * locale/weightwc.h (findidx): Likewise.
45082 * posix/fnmatch_loop.c (FCT): Adjust caller.
45083 * posix/regcomp.c (build_equiv_class): Likewise.
45084 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45085 * posix/regexec.c (check_node_accept_bytes): Likewise.
45086 * string/strcoll_l.c (STRCOLL): Likewise.
45087 * string/strxfrm_l.c (STRXFRM): Likewise.
45089 2011-11-17 Ulrich Drepper <drepper@gmail.com>
45091 * Makefile.in: Remove CVSOPT handling.
45092 * configure.in: Remove use of AC_REVISION.
45093 * iconvdata/Makefile (distribute): No need to filter out CVS.
45094 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45097 2011-11-16 Andreas Schwab <schwab@redhat.com>
45099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45100 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45101 [USE_AS_STRNCASECMP_L]: Likewise.
45102 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45103 NO_TLS_DIRECT_SEG_REFS.
45104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45105 Fix argument offsets for non-PIC.
45106 [USE_AS_STRNCASECMP_L]: Likewise.
45107 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45108 NO_TLS_DIRECT_SEG_REFS.
45110 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45112 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45114 * locale/loadlocale.c (_nl_load_locale): Likewise.
45116 2011-11-15 Andreas Schwab <schwab@redhat.com>
45118 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45119 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45120 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45121 (SYSCALL_GETTIME): Set errno on error.
45123 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45124 count references to noai6ai_cached.
45126 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45128 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45130 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45131 FD_CLOEXEC for /proc/self/maps.
45133 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45134 FD_CLOEXEC for /proc/meminfo.
45136 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45139 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45140 FD_CLOEXEC for given file.
45142 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45144 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45145 FD_CLOEXEC for /etc/hosts.
45146 (_gethtent): Likewise.
45148 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45150 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45151 cancellation and set FD_CLOEXEC for /etc/netgroup.
45153 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45154 reading /etc/publickey.
45156 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45157 allow cancellation when reading /etc/group.
45159 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45161 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45163 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45164 when using data file.
45166 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45168 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45169 (write_nis_obj): Use "c" and "e" in fopen.
45171 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45173 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45175 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45177 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45179 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45182 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45184 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45186 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45188 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45189 file parsing and set FD_CLOEXEC.
45191 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45193 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45195 2011-11-14 Andreas Schwab <schwab@redhat.com>
45197 * malloc/arena.c (arena_get2): Don't call reused_arena when
45198 _int_new_arena failed.
45200 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45202 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45203 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45204 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45205 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45206 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45207 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45208 to compile strcasecmp and strncasecmp.
45209 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45210 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45212 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45214 2011-11-13 Ulrich Drepper <drepper@gmail.com>
45216 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45217 locale-defines.sym to gen-as-const-headers.
45218 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45219 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45221 to compile strcasecmp and strncasecmp.
45222 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45223 strcasecmp_l and strncasecmp_l.
45224 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45225 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45226 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45227 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45228 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45229 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45230 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45231 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45232 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45233 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45234 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45236 2011-11-12 Ulrich Drepper <drepper@gmail.com>
45238 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45239 result of SYSDEP_GETTIME_CPU to retval.
45240 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45241 parameter list to macro. Remove trailing semicolon. Adjust users.
45243 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45246 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45248 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45250 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45251 from unused variable.
45253 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45255 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45258 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45261 * sunrpc/rpc_prot.c (rejected): Fix case value.
45263 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45264 unsigned long long int to avoid warnings in shift.
45266 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45268 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45271 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45272 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45273 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45275 * nis/nis_table.c (nis_list): Use variable of correct type for
45276 result of __follow_path call.
45278 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45280 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45281 of math functions ceil, trunc, floor, round, and sqrt, when
45282 avaliable on the platform.
45283 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45285 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45286 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45287 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45289 2011-10-30 Marek Polacek <mpolacek@redhat.com>
45291 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45292 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45294 2011-11-11 Roland McGrath <roland@hack.frob.com>
45296 * include/unistd.h: Fix __readlink return type.
45297 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45299 2011-11-11 Ulrich Drepper <drepper@gmail.com>
45301 * stdlib/ucontext.h: Undo last change for makecontext.
45303 2011-11-11 Andreas Schwab <schwab@redhat.com>
45305 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45307 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45308 * setjmp/setjmp.h: Mark functions as non-leaf.
45309 * setjmp/bits/setjmp2.h: Likewise.
45310 * stdlib/ucontext.h: Likewise.
45312 2011-11-10 Andreas Schwab <schwab@redhat.com>
45314 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45315 (reused_arena): Don't check arena limit.
45316 (arena_get2): Atomically check arena limit.
45318 2011-11-08 Ulrich Drepper <drepper@gmail.com>
45320 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45321 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45326 2011-11-07 Andreas Schwab <schwab@redhat.com>
45328 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45329 handler when locking.
45331 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45332 Fix size of allocated buffer.
45334 2011-11-04 Andreas Schwab <schwab@redhat.com>
45337 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45338 declarations for long double functions.
45339 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45341 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45343 2011-11-03 Andreas Schwab <schwab@redhat.com>
45345 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45348 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45351 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45353 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45355 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45357 * include/alloca.h (stackinfo_alloca_round): Define.
45358 (extend_alloca): Use it.
45359 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45360 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45363 * scripts/check-local-headers.sh: Ignore libaudit.h.
45365 * nscd/Makefile (extra-objs): Make recursively expanded.
45367 2011-11-01 Ulrich Drepper <drepper@gmail.com>
45369 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45370 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45372 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45373 * posix/tst-rfc3484-2.c: Likewise.
45374 * posix/tst-rfc3484-3.c: Likewise.
45376 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45378 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45380 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45381 process_vm_writev from libc using GLIBC_2.15 version.
45383 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45385 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45387 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45390 2011-10-31 Ulrich Drepper <drepper@gmail.com>
45393 * nss/getent.c (initgroups_keys): Show error message in case no group
45396 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45397 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45398 __bump_nl_timestamp.
45399 * nscd/connections (nscd_init): When host database is served open
45400 netlink socket and request notification about configuration changes.
45401 (main_loop_poll): Track netlink file descriptor and bump timestamp
45402 in case data becomes available.
45403 (main_loop_epoll): Likewise.
45404 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45405 (database_pers_head): Add extra_data fileds.
45406 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45407 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45408 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45410 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45411 in6ai data, call __free_in6ai.
45412 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45413 Add -DHAVE_NETLINK.
45414 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45415 interface information. Reuse previous data if netlink timestamp
45417 (__bump_nl_timestamp): New function.
45418 (__free_in6ai): New function.
45420 2011-10-30 Ulrich Drepper <drepper@gmail.com>
45422 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45423 close_not_cancel_no_status here.
45424 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45426 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45429 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45432 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45433 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45434 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45436 2011-07-03 Andreas Jaeger <aj@suse.de>
45439 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45440 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45441 * math/libm-test.inc (sin_test): Add test case.
45443 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45446 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45447 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45449 * elf/chroot_canon.c (chroot_canon): Cleanups.
45451 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45454 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45455 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45457 * string/test-strchr.c: Make usable for strchrnul testing.
45458 * string/test-strchrnul.c: New file.
45459 * string/Makefile (strop-tests): Add strchrnul.
45461 * po/it.po: Update from translation team.
45462 * po/es.po: Likewise.
45464 2011-10-28 Ulrich Drepper <drepper@gmail.com>
45466 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45467 the three constants needed as parameters. Drop the others.
45468 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45469 __m128i_strloadu_tolower.
45470 Create and initialize variable zero and use it in all the places
45471 where _mm_setzero_si128 was used.
45473 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45474 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45475 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45476 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45478 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45479 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45480 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45481 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45482 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45483 __mpranred, __mptan.
45484 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45485 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45486 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45487 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45488 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45489 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45490 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45491 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45492 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45494 2011-10-28 Andreas Schwab <schwab@redhat.com>
45496 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45497 redefine if SHARED.
45498 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45501 wide char related routines to wcsmbs subdir.
45503 2011-10-27 Andreas Schwab <schwab@redhat.com>
45506 * misc/sys/cdefs.h (__THROWNL): Define.
45507 * posix/unistd.h: Use __THREADNL instead of __THREAD
45508 for memory synchronization functions.
45510 2011-10-26 Roland McGrath <roland@hack.frob.com>
45513 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45515 * manual/stdio.texi (Obstack Streams): Node removed.
45517 2011-10-26 Andreas Schwab <schwab@redhat.com>
45519 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45520 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45521 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45523 * math/math_private.h (math_force_eval): Allow non-addressable
45525 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45527 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45529 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45530 file is not needed.
45532 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45533 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45534 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45535 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45536 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45537 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45538 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45539 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45541 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45542 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45543 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45544 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45545 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45546 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45547 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45548 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45549 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45550 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45551 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45552 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45553 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45554 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45555 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45556 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45557 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45558 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45559 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45561 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45562 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45565 place. Use VEX encoding when compiling for AVX.
45567 2011-10-25 Andreas Schwab <schwab@redhat.com>
45569 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45570 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45572 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45574 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45576 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45577 useless if() expression.
45578 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45579 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45580 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45581 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45582 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45583 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45584 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45586 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45587 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45588 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45589 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45590 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45591 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45592 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45593 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45594 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45595 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45596 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45598 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45600 2011-10-25 Andreas Schwab <schwab@redhat.com>
45602 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45604 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45606 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45608 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45609 .text section. Avoid duplicate constants.
45610 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45612 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45614 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45616 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45618 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45619 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45620 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45621 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45622 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45623 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45624 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45625 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45626 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45627 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45628 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45629 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45630 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45631 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45632 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45633 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45634 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45635 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45636 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45637 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45638 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45639 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45640 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45641 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45642 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45643 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45644 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45645 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45646 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45647 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45648 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45649 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45650 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45651 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45652 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45653 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45654 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45656 2011-10-24 Ulrich Drepper <drepper@gmail.com>
45658 * sysdeps/x86_64/dla.h: Move to ...
45659 * sysdeps/x86_64/fpu/dla.h: ...here.
45660 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45661 situations. Use __builtin_fma only for gcc 4.6 and up.
45663 * config.make.in: Add have-mfma4 entry.
45664 * configure.in: Substitute libc_cv_cc_fma4.
45665 * math/Makefile (dbl-only-routines): Add sincostab.
45666 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45667 Use __sincostab not sincos.
45668 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45670 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45671 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45672 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45675 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45676 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45677 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45678 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45680 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45681 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45683 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45684 define aliases when function name is a macro.
45685 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45686 sysdeps/ieee754/dbl-64/sincos.tbl.
45687 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45688 fma4-enabled routines.
45689 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45690 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45691 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45692 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45693 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45694 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45695 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45696 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45697 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45698 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45699 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45700 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45701 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45702 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45703 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45704 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45705 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45706 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45707 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45708 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45709 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45710 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45711 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45712 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45713 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45714 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45715 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45716 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45717 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45718 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45720 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45727 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45728 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45729 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45731 2011-10-24 Andreas Schwab <schwab@redhat.com>
45733 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45735 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45737 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45739 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45741 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45743 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45744 Remove unused variable magic_bits.
45745 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45747 * string/strnlen.c: Define and use STRNLEN macro.
45748 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45749 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45750 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45751 * wcsmbs/wcslen.c: Define and use WCSLEN.
45752 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45753 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45754 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45755 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45756 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45757 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45758 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45760 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45763 strnlen-sse2-no-bsf.
45764 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45765 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45766 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45767 Add strnlen support.
45768 (USE_AS_STRNLEN): New macro.
45769 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45770 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45771 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45772 * sysdeps/x86_64/wcslen.S: New file.
45774 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45776 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45777 XMM-moves are used for copying on small sizes.
45779 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45781 * wcsmbs/Makefile (strop-tests): Add wcschr.
45782 * wcsmbs/test-wcschr.c: New file.
45783 * string/test-strchr.c: Update.
45784 Add wcschr support.
45787 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45789 * wcsmbs/Makefile (strop-tests): Add wcslen.
45790 * wcsmbs/test-wcslen.c: New file.
45791 * string/test-strlen.c: Update.
45792 Add wcslen support.
45795 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45797 * po/it.po: Update from translation team.
45799 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45801 * sysdeps/x86_64/wcscmp.S: Update.
45802 Fix wrong comparison semantics.
45803 wcscmp shall use signed comparison not unsigned.
45804 Don't use substraction to avoid overflow bug.
45805 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45806 * wcsmbc/wcscmp.c: Likewise.
45807 * string/test-strcmp.c: Likewise.
45808 Add new tests to check cases with negative values.
45810 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45812 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45813 * sysdeps/x86_64/dla.h: ...here. New file.
45814 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45815 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45816 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45819 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45820 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45821 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45822 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45824 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45826 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45827 __ynl_finite aliases.
45829 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45833 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45835 [DLA_FMA] (EMULV): Use DLA_FMA.
45836 [DLA_FMA] (MUL12): Use EMULV.
45837 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45838 that are not needed.
45839 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45841 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45842 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45844 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45845 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45847 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45849 * math/s_nan.c: Undef __nan.
45850 * math/s_nanf.c: Undef __nanf.
45851 * math/s_nanl.c: Undef __nanl.
45852 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45855 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45857 * math/s_catan.c: Add branch predictions.
45858 * math/s_catanf.c: Likewise.
45859 * math/s_catanh.c: Likewise.
45860 * math/s_catanhf.c: Likewise.
45861 * math/s_catanhl.c: Likewise.
45862 * math/s_catanl.c: Likewise.
45863 * math/s_cexp.c: Likewise.
45864 * math/s_cexpf.c: Likewise.
45865 * math/s_cexpl.c: Likewise.
45866 * math/s_clog.c: Likewise.
45867 * math/s_clog10.c: Likewise.
45868 * math/s_clog10f.c: Likewise.
45869 * math/s_clog10l.c: Likewise.
45870 * math/s_clogf.c: Likewise.
45871 * math/s_clogl.c: Likewise.
45872 * math/s_csqrt.c: Likewise.
45873 * math/s_csqrtf.c: Likewise.
45874 * math/s_csqrtl.c: Likewise.
45875 * math/s_ctanf.c: Likewise.
45876 * math/s_ctanh.c: Likewise.
45877 * math/s_ctanhf.c: Likewise.
45878 * math/s_ctanhl.c: Likewise.
45879 * math/s_ctanl.c: Likewise.
45881 * math/math_private.h: Define __nan, __nanf, __nanl.
45882 * math/s_cacosh.c: Include <math_private.h>.
45883 * math/s_cacoshl.c: Likewise.
45884 * math/s_casinh.c: Likewise.
45885 * math/s_casinhf.c: Likewise.
45886 * math/s_casinhl.c: Likewise.
45887 * math/s_ccos.c: Rely entire on ccosh.
45888 * math/s_ccosf.c: Rely entire on ccoshf.
45889 * math/s_ccosl.c: Rely entirely on ccoshl.
45890 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45891 Remove tests for FE_INVALID.
45892 * math/s_ccoshf.c: Likewise.
45893 * math/s_ccoshl.c: Likewise.
45894 * math/s_csin.c: Likewise.
45895 * math/s_csinf.c: Likewise.
45896 * math/s_csinh.c Likewise.
45897 * math/s_csinhf.c: Likewise.
45898 * math/s_csinhl.c: Likewise.
45899 * math/s_csinl.c: Likewise.
45900 * math/s_ctan.c: Likewise.
45901 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45902 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45903 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45905 2011-10-21 Ulrich Drepper <drepper@gmail.com>
45907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45908 compilation problems.
45910 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45913 2011-10-20 Ulrich Drepper <drepper@gmail.com>
45915 * sysdeps/i386/configure.in: Test for -mfma4 option.
45916 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45917 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45918 COMMON_CPUID_INDEX_80000001.
45919 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45920 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45921 use it if FMA3 is not supported.
45922 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45924 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45925 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45927 2011-10-20 Andreas Schwab <schwab@redhat.com>
45930 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45931 it would create a cycle with a link time dependency.
45933 2011-10-19 Ulrich Drepper <drepper@gmail.com>
45935 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45937 * string/Makefile (strop-tests): Add rawmemchr.
45938 * string/test-rawmemchr.c: New file.
45940 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45941 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
45942 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
45943 when compiling str{,n}casecmp and when AVX is available. Hook up
45944 new optimized code in initializers.
45946 2011-10-19 Andreas Schwab <schwab@redhat.com>
45948 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45949 __feraiseexcept instead of feraiseexcept.
45951 2011-10-18 Ulrich Drepper <drepper@gmail.com>
45953 * math/math_private.h: Define defaults for libc_fetestexcept and
45955 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45956 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45957 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45958 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45959 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45960 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45961 libc_fetestexcept and libc_feupdateenv.
45963 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45964 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45965 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45966 * sysdeps/x86_64/fpu/math_private.h: Define special version of
45967 libc_feholdexcept_setround.
45969 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45970 Add s_nearbyint-c and s_nearbyintf-c.
45971 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45972 nearbyintf inlines.
45973 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45974 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45975 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45976 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45978 * math/math_private.h: Define defaults for libc_fegetround,
45979 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45980 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45981 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45982 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45983 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45984 standard functions.
45985 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45986 Remove comments and hacks for old compiler versions.
45987 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45988 libc_fegetround, libc_fesetround, libc_feholdexcept, and
45989 libc_feholdexceptl.
45991 2011-10-18 Andreas Schwab <schwab@redhat.com>
45993 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45994 (__feraiseexcept_renamed): Add __NTH.
45995 (feraiseexcept): Add __NTH. Rename local variables to fix
45996 namespace violations.
45998 2011-10-17 Ulrich Drepper <drepper@gmail.com>
46000 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46002 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46004 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46005 recently added interfaces.
46006 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46008 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46009 about macro parameter expansion.
46011 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46012 __NO_MATH_INLINES is defined. Cleanups.
46014 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46015 and __floorf is target has SSE4.1.
46016 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46017 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46018 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46019 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46021 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46023 (floorf): Likewise.
46025 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46027 2011-10-17 Andreas Schwab <schwab@redhat.com>
46029 * misc/sys/cdefs.h: Fix last change.
46031 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46034 2011-10-16 Ulrich Drepper <drepper@gmail.com>
46036 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46038 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46039 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46040 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46041 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46042 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46043 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46044 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46045 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46046 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46047 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46048 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46049 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46050 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46051 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46052 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46053 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46054 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46055 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46056 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46057 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46058 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46059 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46061 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46062 ceil, ceilf, floor, floorf.
46064 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46065 Perform IRELATIVE relocations last.
46067 * elf/do-rel.h: Add another parameter nrelative, replacing the
46068 local variable with the same name. Change name of the function
46069 to end in Rel or Rela (uppercase).
46070 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46071 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46072 elf_dynamic_do_##reloc function.
46074 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46076 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46077 is sufficient, at least on modern CPUs.
46079 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46081 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46082 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46084 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46086 * math/bits/math-finite.h: Add entries for exp.
46087 * math/e_expl.c: Add __*_finite alias.
46088 * sysdeps/i386/fpu/e_exp.S: Likewise.
46089 * sysdeps/i386/fpu/e_expf.S: Likewise.
46090 * sysdeps/i386/fpu/e_expl.c: Likewise.
46091 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46092 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46093 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46094 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46095 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46096 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46097 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46099 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46100 is sufficient, at least on modern CPUs.
46102 * ctype/ctype-info.c (__ctype_init): Define.
46103 * include/ctype.h (__ctype_init): Declare.
46104 (__ctype_b_loc): The variable is always initialized.
46105 (__ctype_toupper_loc): Likewise.
46106 (__ctype_tolower_loc): Likewise.
46107 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46108 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46110 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46112 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46114 * configure.in: Also look in $cxxmachine/include for C++ system
46117 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46119 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46120 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46121 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46122 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46123 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46124 (USE_AS_WMEMCMP): New macro.
46126 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46127 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46128 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46129 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46131 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46132 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46133 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46134 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46135 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46136 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46137 (USE_AS_WMEMCMP): New macro.
46138 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46139 * sysdeps/string/test-memcmp.c: Update.
46140 Fix simple_wmemcmp.
46142 * wcsmbs/wmemcmp.c: Update.
46143 (WMEMCMP): New macro.
46146 2011-10-12 Andreas Jaeger <aj@suse.de>
46149 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46151 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46153 * libio/iofwide.c (do_length): Avoid warning.
46155 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46157 2011-10-14 Ulrich Drepper <drepper@gmail.com>
46159 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46161 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46162 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46163 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46164 * sysdeps/i386/i686/fpu/e_log.S: New file.
46165 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46166 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46168 * ctype/ctype.h: Add support for inlined isXXX functions when
46169 compiling C++ code.
46171 2011-10-14 Andreas Schwab <schwab@redhat.com>
46173 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46175 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46177 2011-10-13 Roland McGrath <roland@hack.frob.com>
46180 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46182 2011-10-13 Andreas Schwab <schwab@redhat.com>
46184 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46185 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46188 * sysdeps/x86_64/memrchr.S: Check for zero size.
46190 * string/stratcliff.c: Add memrchr tests.
46192 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46195 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46196 rawmemchr-sse2 rawmemchr-sse2-bsf.
46197 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46198 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46199 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46200 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46201 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46202 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46203 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46204 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46205 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46206 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46207 * string/memrchr.c (MEMRCHR): New macro.
46209 2011-10-12 Ulrich Drepper <drepper@gmail.com>
46211 Add integration with gcc's -ffinite-math-only and optimize wrapper
46213 * Versions.def: Define GLIBC_2.15 version for libm.
46214 * math/Makefile (headers): Add bits/math-finite.h.
46215 * math/bits/math-finite.h: New file.
46216 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46217 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46218 * math/e_acoshl.c: Add __*_finite alias.
46219 * math/e_acosl.c: Likewise.
46220 * math/e_asinl.c: Likewise.
46221 * math/e_atan2l.c: Likewise.
46222 * math/e_atanhl.c: Likewise.
46223 * math/e_coshl.c: Likewise.
46224 * math/e_exp10.c: Likewise.
46225 * math/e_exp10f.c: Likewise.
46226 * math/e_exp10l.c: Likewise.
46227 * math/e_exp2l.c: Likewise.
46228 * math/e_fmodl.c: Likewise.
46229 * math/e_gammal_r.c: Likewise.
46230 * math/e_hypotl.c: Likewise.
46231 * math/e_j0l.c: Likewise.
46232 * math/e_j1l.c: Likewise.
46233 * math/e_jnl.c: Likewise.
46234 * math/e_lgammal_r.c: Likewise.
46235 * math/e_log10l.c: Likewise.
46236 * math/e_log2l.c: Likewise.
46237 * math/e_logl.c: Likewise.
46238 * math/e_powl.c: Likewise.
46239 * math/e_sinhl.c: Likewise.
46240 * math/e_sqrtl.c: Likewise.
46241 * math/e_scalb.c: Completely rewritten and optimized.
46242 * math/e_scalbf.c: Likewise.
46243 * math/e_scalbl.c: Likewise.
46244 * math/w_acos.c: Likewise.
46245 * math/w_acosf.c: Likewise.
46246 * math/w_acosl.c: Likewise.
46247 * math/w_acosh.c: Likewise.
46248 * math/w_acoshf.c: Likewise.
46249 * math/w_acoshl.c: Likewise.
46250 * math/w_asin.c: Likewise.
46251 * math/w_asinf.c: Likewise.
46252 * math/w_asinl.c: Likewise.
46253 * math/w_atan2.c: Likewise.
46254 * math/w_atan2f.c: Likewise.
46255 * math/w_atan2l.c: Likewise.
46256 * math/w_atanh.c: Likewise.
46257 * math/w_atanhf.c: Likewise.
46258 * math/w_atanhl.c: Likewise.
46259 * math/w_exp10.c: Likewise.
46260 * math/w_exp10f.c: Likewise.
46261 * math/w_exp10l.c: Likewise.
46262 * math/w_fmod.c: Likewise.
46263 * math/w_fmodf.c: Likewise.
46264 * math/w_fmodl.c: Likewise.
46265 * math/w_j0.c: Likewise.
46266 * math/w_j0f.c: Likewise.
46267 * math/w_j0l.c: Likewise.
46268 * math/w_j1.c: Likewise.
46269 * math/w_j1f.c: Likewise.
46270 * math/w_j1l.c: Likewise.
46271 * math/w_jn.c: Likewise.
46272 * math/w_jnf.c: Likewise.
46273 * math/w_log.c: Likewise.
46274 * math/w_logf.c: Likewise.
46275 * math/w_logl.c: Likewise.
46276 * math/w_log10.c: Likewise.
46277 * math/w_log10f.c: Likewise.
46278 * math/w_log10l.c: Likewise.
46279 * math/w_log2.c: Likewise.
46280 * math/w_log2f.c: Likewise.
46281 * math/w_log2l.c: Likewise.
46282 * math/w_pow.c: Likewise.
46283 * math/w_powf.c: Likewise.
46284 * math/w_powl.c: Likewise.
46285 * math/w_remainder.c: Likewise.
46286 * math/w_remainderf.c: Likewise.
46287 * math/w_remainderl.c: Likewise.
46288 * math/w_scalb.c: Likewise.
46289 * math/w_scalbf.c: Likewise.
46290 * math/w_scalbl.c: Likewise.
46291 * math/w_sqrt.c: Likewise.
46292 * math/w_sqrtf.c: Likewise.
46293 * math/w_sqrtl.c: Likewise.
46294 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46295 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46297 * math/math_private.h: Declare __kernel_standard_f.
46298 * math/w_cosh.c: Remove cruft and optimize a bit.
46299 * math/w_coshf.c: Likewise.
46300 * math/w_coshl.c: Likewise.
46301 * math/w_exp2.c: Likewise.
46302 * math/w_exp2f.c: Likewise.
46303 * math/w_exp2l.c: Likewise.
46304 * math/w_hypot.c: Likewise.
46305 * math/w_hypotf.c: Likewise.
46306 * math/w_hypotl.c: Likewise.
46307 * math/w_lgamma.c: Likewise.
46308 * math/w_lgamma_r.c: Likewise.
46309 * math/w_lgammaf.c: Likewise.
46310 * math/w_lgammaf_r.c: Likewise.
46311 * math/w_lgammal.c: Likewise.
46312 * math/w_lgammal_r.c: Likewise.
46313 * math/w_sinh.c: Likewise.
46314 * math/w_sinhf.c: Likewise.
46315 * math/w_sinhl.c: Likewise.
46316 * math/w_tgamma.c: Likewise.
46317 * math/w_tgammaf.c: Likewise.
46318 * math/w_tgammal.c: Likewise.
46319 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46320 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46321 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46322 Minor optimizations. Pretty printing. Remove cruft.
46323 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46324 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46325 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46326 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46327 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46328 * sysdeps/i386/fpu/e_asin.S: Likewise.
46329 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46330 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46331 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46332 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46333 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46334 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46335 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46336 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46337 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46338 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46339 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46340 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46341 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46342 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46343 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46344 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46345 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46346 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46347 * sysdeps/i386/fpu/e_log.S: Likewise.
46348 * sysdeps/i386/fpu/e_log10.S: Likewise.
46349 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46350 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46351 * sysdeps/i386/fpu/e_log2.S: Likewise.
46352 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46353 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46354 * sysdeps/i386/fpu/e_logf.S: Likewise.
46355 * sysdeps/i386/fpu/e_logl.S: Likewise.
46356 * sysdeps/i386/fpu/e_pow.S: Likewise.
46357 * sysdeps/i386/fpu/e_powf.S: Likewise.
46358 * sysdeps/i386/fpu/e_powl.S: Likewise.
46359 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46360 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46361 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46362 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46363 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46364 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46365 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46366 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46367 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46368 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46369 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46370 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46371 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46372 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46373 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46374 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46375 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46376 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46377 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46378 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46379 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46381 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46382 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46384 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46385 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46386 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46387 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46388 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46389 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46390 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46391 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46392 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46393 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46394 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46395 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46396 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46397 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46398 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46399 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46400 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46401 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46402 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46403 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46404 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46405 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46406 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46407 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46408 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46409 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46410 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46411 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46412 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46413 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46414 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46415 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46416 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46417 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46418 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46419 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46420 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46421 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46422 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46423 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46424 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46425 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46426 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46427 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46428 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46429 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46430 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46432 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46433 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46435 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46436 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46437 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46438 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46439 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46440 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46442 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46443 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46444 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46445 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46446 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46447 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46448 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46449 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46450 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46451 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46452 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46453 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46454 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46455 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46456 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46457 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46458 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46459 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46460 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46461 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46462 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46463 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46464 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46465 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46466 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46467 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46468 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46469 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46470 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46471 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46472 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46473 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46474 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46475 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46476 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46477 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46478 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46479 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46480 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46481 (__isnanf): Likewise.
46482 (__isinf_ns): Likewise.
46483 (__isinf_nsf): Likewise.
46484 (__finite): Likewise.
46485 (__finitef): Likewise.
46486 (__ieee754_sqrt): Define as macro.
46487 (__ieee754_sqrtf): Define as macro.
46488 (__ieee754_sqrtl): Define as macro.
46489 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46491 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46492 __FINITE_MATH_ONLY__ consistent.
46493 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46495 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46497 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46500 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46502 2011-10-09 Ulrich Drepper <drepper@gmail.com>
46504 * po/ja.po: Update from translation team.
46506 2011-10-08 Roland McGrath <roland@hack.frob.com>
46508 * locale/programs/locarchive.c (prepare_address_space): New function.
46509 (create_archive, enlarge_archive, open_archive): Use it.
46511 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46512 inside [SHARED], where it is used.
46514 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46516 * nss/getent.c (netgroup_keys): Remove unused variable.
46517 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46519 2011-10-08 Ulrich Drepper <drepper@gmail.com>
46521 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46522 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46523 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46524 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46525 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46526 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46527 * math/Makefile (libm-calls): Add s_isinf_ns.
46528 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46529 * math/multc3.c: Likewise.
46530 * math/s_casin.c: Likewise.
46531 * math/s_casinf.c: Likewise.
46532 * math/s_casinl.c: Likewise.
46533 * math/s_ccos.c: Likewise.
46534 * math/s_ccosf.c: Likewise.
46535 * math/s_ccosl.c: Likewise.
46536 * math/s_ctan.c: Likewise.
46537 * math/s_ctanf.c: Likewise.
46538 * math/s_ctanh.c: Likewise.
46539 * math/s_ctanhf.c: Likewise.
46540 * math/s_ctanhl.c: Likewise.
46541 * math/s_ctanl.c: Likewise.
46542 * math/w_fmod.c: Likewise.
46543 * math/w_fmodf.c: Likewise.
46544 * math/w_fmodl.c: Likewise.
46545 * math/w_remainder.c: Likewise.
46546 * math/w_remainderf.c: Likewise.
46547 * math/w_remainderl.c: Likewise.
46548 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46549 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46550 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46552 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46553 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46554 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46555 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46557 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46559 * stdio-common/printf_fphex.c: Likewise.
46560 * stdio-common/printf_size.c: Likewise.
46562 * math/e_exp10.c: Include math_private.h using <...> not "...".
46563 * math/e_exp10f.c: Likewise.
46564 * math/e_exp10l.c: Likewise.
46565 * math/e_exp2l.c: Likewise.
46566 * math/e_j0l.c: Likewise.
46567 * math/e_j1l.c: Likewise.
46568 * math/e_jnl.c: Likewise.
46569 * math/e_lgammal_r.c: Likewise.
46570 * math/e_rem_pio2l.c: Likewise.
46571 * math/e_scalb.c: Likewise.
46572 * math/e_scalbf.c: Likewise.
46573 * math/e_scalbl.c: Likewise.
46574 * math/k_cosl.c: Likewise.
46575 * math/k_sinl.c: Likewise.
46576 * math/k_tanl.c: Likewise.
46577 * math/s_cacoshf.c: Likewise.
46578 * math/s_catan.c: Likewise.
46579 * math/s_catanf.c: Likewise.
46580 * math/s_catanh.c: Likewise.
46581 * math/s_catanhf.c: Likewise.
46582 * math/s_catanhl.c: Likewise.
46583 * math/s_catanl.c: Likewise.
46584 * math/s_ccosh.c: Likewise.
46585 * math/s_ccoshf.c: Likewise.
46586 * math/s_ccoshl.c: Likewise.
46587 * math/s_cexp.c: Likewise.
46588 * math/s_cexpf.c: Likewise.
46589 * math/s_cexpl.c: Likewise.
46590 * math/s_clog.c: Likewise.
46591 * math/s_clog10.c: Likewise.
46592 * math/s_clog10f.c: Likewise.
46593 * math/s_clog10l.c: Likewise.
46594 * math/s_clogf.c: Likewise.
46595 * math/s_clogl.c: Likewise.
46596 * math/s_csin.c: Likewise.
46597 * math/s_csinf.c: Likewise.
46598 * math/s_csinh.c: Likewise.
46599 * math/s_csinhf.c: Likewise.
46600 * math/s_csinhl.c: Likewise.
46601 * math/s_csinl.c: Likewise.
46602 * math/s_csqrt.c: Likewise.
46603 * math/s_csqrtf.c: Likewise.
46604 * math/s_csqrtl.c: Likewise.
46605 * math/s_ctan.c: Likewise.
46606 * math/s_ctanf.c: Likewise.
46607 * math/s_ctanh.c: Likewise.
46608 * math/s_ctanhf.c: Likewise.
46609 * math/s_ctanhl.c: Likewise.
46610 * math/s_ctanl.c: Likewise.
46611 * math/s_ldexp.c: Likewise.
46612 * math/s_ldexpf.c: Likewise.
46613 * math/s_ldexpl.c: Likewise.
46614 * math/s_significand.c: Likewise.
46615 * math/s_significandf.c: Likewise.
46616 * math/s_significandl.c: Likewise.
46617 * math/w_acos.c: Likewise.
46618 * math/w_acosf.c: Likewise.
46619 * math/w_acosh.c: Likewise.
46620 * math/w_acoshf.c: Likewise.
46621 * math/w_acoshl.c: Likewise.
46622 * math/w_acosl.c: Likewise.
46623 * math/w_asin.c: Likewise.
46624 * math/w_asinf.c: Likewise.
46625 * math/w_asinl.c: Likewise.
46626 * math/w_atan2.c: Likewise.
46627 * math/w_atan2f.c: Likewise.
46628 * math/w_atan2l.c: Likewise.
46629 * math/w_atanh.c: Likewise.
46630 * math/w_atanhf.c: Likewise.
46631 * math/w_atanhl.c: Likewise.
46632 * math/w_cosh.c: Likewise.
46633 * math/w_coshf.c: Likewise.
46634 * math/w_coshl.c: Likewise.
46635 * math/w_dremf.c: Likewise.
46636 * math/w_exp10.c: Likewise.
46637 * math/w_exp10f.c: Likewise.
46638 * math/w_exp10l.c: Likewise.
46639 * math/w_exp2.c: Likewise.
46640 * math/w_exp2f.c: Likewise.
46641 * math/w_fmod.c: Likewise.
46642 * math/w_fmodf.c: Likewise.
46643 * math/w_fmodl.c: Likewise.
46644 * math/w_hypot.c: Likewise.
46645 * math/w_hypotf.c: Likewise.
46646 * math/w_hypotl.c: Likewise.
46647 * math/w_j0.c: Likewise.
46648 * math/w_j0f.c: Likewise.
46649 * math/w_j0l.c: Likewise.
46650 * math/w_j1.c: Likewise.
46651 * math/w_j1f.c: Likewise.
46652 * math/w_j1l.c: Likewise.
46653 * math/w_jn.c: Likewise.
46654 * math/w_jnf.c: Likewise.
46655 * math/w_jnl.c: Likewise.
46656 * math/w_lgamma.c: Likewise.
46657 * math/w_lgamma_r.c: Likewise.
46658 * math/w_lgammaf.c: Likewise.
46659 * math/w_lgammaf_r.c: Likewise.
46660 * math/w_lgammal.c: Likewise.
46661 * math/w_lgammal_r.c: Likewise.
46662 * math/w_log.c: Likewise.
46663 * math/w_log10.c: Likewise.
46664 * math/w_log10f.c: Likewise.
46665 * math/w_log10l.c: Likewise.
46666 * math/w_log2.c: Likewise.
46667 * math/w_log2f.c: Likewise.
46668 * math/w_log2l.c: Likewise.
46669 * math/w_logf.c: Likewise.
46670 * math/w_logl.c: Likewise.
46671 * math/w_pow.c: Likewise.
46672 * math/w_powf.c: Likewise.
46673 * math/w_powl.c: Likewise.
46674 * math/w_remainder.c: Likewise.
46675 * math/w_remainderf.c: Likewise.
46676 * math/w_remainderl.c: Likewise.
46677 * math/w_scalb.c: Likewise.
46678 * math/w_scalbf.c: Likewise.
46679 * math/w_scalbl.c: Likewise.
46680 * math/w_sinh.c: Likewise.
46681 * math/w_sinhf.c: Likewise.
46682 * math/w_sinhl.c: Likewise.
46683 * math/w_sqrt.c: Likewise.
46684 * math/w_sqrtf.c: Likewise.
46685 * math/w_sqrtl.c: Likewise.
46686 * math/w_tgamma.c: Likewise.
46687 * math/w_tgammaf.c: Likewise.
46688 * math/w_tgammal.c: Likewise.
46690 * po/ja.po: Update from translation team.
46692 2011-09-29 Andreas Jaeger <aj@suse.de>
46695 * sunrpc/netname.c (netname2host): Fix logic.
46699 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46701 * math/w_remainder.c (__remainder): Likewise.
46702 * math/w_remainderf.c (__remainderf): Likewise.
46703 * math/libm-test.inc (remainder_test): Add test cases.
46705 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46707 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46710 2011-10-07 Ulrich Drepper <drepper@gmail.com>
46712 * string/test-memcmp.c: Avoid unncessary #defines.
46713 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46715 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46717 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46718 Use new sse2 version for core i3 - i7 as it's faster
46719 than sse42 version.
46720 (bit_Prefer_PMINUB_for_stringop): New.
46721 * sysdeps/x86_64/rawmemchr.S: Update.
46722 Replace with faster SSE2 version.
46723 * sysdeps/x86_64/memrchr.S: New file.
46724 * sysdeps/x86_64/memchr.S: Update.
46725 Replace with faster SSE2 version.
46727 2011-09-12 Marek Polacek <mpolacek@redhat.com>
46729 * elf/dl-load.c (lose): Add cast to avoid warning.
46731 2011-10-07 Ulrich Drepper <drepper@gmail.com>
46733 * po/ca.po: Update from translation team.
46735 * inet/getnetgrent_r.c: Hook up nscd.
46736 * nscd/Makefile (routines): Add nscd_netgroup.
46737 (nscd-modules): Add netgroupcache.
46738 (CFLAGS-netgroupcache.c): Define.
46739 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46740 (cache_search): Add const to second parameter.
46741 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46743 (dbs): Add netgrdb entry.
46744 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46745 (verify_persistent_db): Handle netgrdb.
46746 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46747 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46749 (netgroup_response_header): Define.
46750 (innetgroup_response_header): Define.
46751 (datahead): Add netgroup_response_header and innetgroup_response_header
46753 * nscd/nscd.conf: Add entries for netgroup cache.
46754 * nscd/nscd.h (dbtype): Add netgrdb.
46755 (_PATH_NSCD_NETGROUP_DB): Define.
46756 (netgroup_iov_disabled): Declare.
46757 (xmalloc, xcalloc, xrealloc): Move declarations here.
46758 (cache_search): Adjust prototype.
46759 Add netgroup-related prototypes.
46760 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46761 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46762 (__nscd_innetgr): Declare.
46763 * nscd/selinux.c (perms): Use access_vector_t as element type and
46764 add netgroup-related initializers.
46765 * nscd/netgroupcache.c: New file.
46766 * nscd/nscd_netgroup.c: New file.
46767 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46768 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46769 For four parameters use innetgr.
46770 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46771 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46772 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46773 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46775 * nscd/connections.c (register_traced_file): Don't register file
46776 for disabled databases.
46778 2011-10-06 Ulrich Drepper <drepper@gmail.com>
46780 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46782 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46783 from tree and freeing node.
46785 2011-09-25 Jiri Olsa <jolsa@redhat.com>
46787 * nss/nsswitch.c (__nss_database_lookup): Handle
46788 nss_parse_service_list out of memory case.
46790 2011-09-15 Jiri Olsa <jolsa@redhat.com>
46792 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46793 out of memory case.
46795 2011-10-04 Andreas Schwab <schwab@redhat.com>
46797 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46798 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46800 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46801 elf_machine_rela, elf_machine_lazy_rel.
46802 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46803 (ELF_DYNAMIC_DO_REL): Likewise.
46804 (ELF_DYNAMIC_DO_RELA): Likewise.
46805 (ELF_DYNAMIC_RELOCATE): Likewise.
46806 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46807 to ELF_DYNAMIC_DO_REL.
46808 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46809 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46810 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46813 skip_ifunc, don't call ifunc function if non-zero.
46814 (elf_machine_rela): Likewise.
46815 (elf_machine_lazy_rel): Likewise.
46816 (elf_machine_lazy_rela): Likewise.
46817 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46818 (elf_machine_lazy_rel): Likewise.
46819 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46821 (elf_machine_lazy_rel): Likewise.
46822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46824 (elf_machine_lazy_rel): Likewise.
46825 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46826 (elf_machine_lazy_rel): Likewise.
46827 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46828 (elf_machine_lazy_rel): Likewise.
46829 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46830 (elf_machine_lazy_rel): Likewise.
46831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46832 (elf_machine_lazy_rel): Likewise.
46833 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46834 (elf_machine_lazy_rel): Likewise.
46835 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46836 (elf_machine_lazy_rel): Likewise.
46838 2011-09-28 Ulrich Drepper <drepper@gmail.com>
46840 * nss/nss_files/files-init.c (_nss_files_init): Use static
46841 initialization for all the *_traced_file variables.
46843 2011-09-28 Andreas Schwab <schwab@redhat.com>
46845 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46847 2011-09-27 Roland McGrath <roland@hack.frob.com>
46850 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46852 2011-09-27 Andreas Schwab <schwab@redhat.com>
46854 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46855 Reread the line before reparsing it.
46857 2011-09-26 Andreas Schwab <schwab@redhat.com>
46859 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46861 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46862 Maxim Kuvyrkov <maxim@codesourcery.com>
46863 Joseph Myers <joseph@codesourcery.com>
46865 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46866 if needed for __stack_chk_guard.
46868 2011-09-19 Roland McGrath <roland@hack.frob.com>
46870 * sysdeps/posix/spawni.c (script_execute): Always define it.
46871 It will be optimized away if unused.
46872 (maybe_script_execute): New function.
46873 (__spawni): Call it.
46875 * Makerules: Don't include tls.make.
46876 (config-tls): Always set to thread.
46877 * tls.make.c: File removed.
46879 2011-09-19 Mike Frysinger <vapier@gentoo.org>
46881 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46882 * config.make.in (CPPFLAGS-config): New substituted variable.
46884 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46886 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46889 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46890 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46892 2011-09-15 Roland McGrath <roland@hack.frob.com>
46894 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46895 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46896 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46897 (CALL_FAIL): Likewise.
46898 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46899 (CALL_FAIL): Macro removed.
46900 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46902 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46904 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46905 for __FINITE_MATH_ONLY__ == 1.
46907 2011-09-15 Andreas Schwab <schwab@redhat.com>
46909 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46910 __ieee754_sqrt instead of sqrt.
46911 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46912 __ieee754_sqrtf instead of sqrtf.
46913 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46914 __floorf instead of floorf.
46915 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46916 __floorf, __truncf instead of floorf, truncf.
46918 2011-09-14 Ulrich Drepper <drepper@gmail.com>
46920 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46922 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46923 __extern_always_inline.
46924 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46927 2011-09-14 Andreas Schwab <schwab@redhat.com>
46929 * elf/rtld.c (dl_main): Also relocate in dependency order when
46930 doing symbol dependency testing.
46932 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
46934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46935 Always define `refsym'.
46937 2011-09-13 Andreas Schwab <schwab@redhat.com>
46939 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46940 (__FD_ELT): Renamed from __FDELT.
46941 * misc/bits/select2.h (__FD_ELT): Likewise.
46942 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46943 __FD_MASK instead of __FDELT, __FDMASK.
46944 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46946 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46949 * elf/Makefile (gen-ldd): Fix pattern.
46951 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46952 (init_tls): Likewise.
46954 2011-09-12 Ulrich Drepper <drepper@gmail.com>
46956 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46958 2011-09-12 Andreas Schwab <schwab@redhat.com>
46960 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46961 `struct cmsghdr *' instead of `void *'.
46962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46965 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
46967 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46969 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46970 ldd_rewrite_script.
46972 2011-09-11 Ulrich Drepper <drepper@gmail.com>
46974 * configure.in: Remove --with-tls option.
46975 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46976 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46977 out in case it is missing.
46978 * sysdeps/ia64/elf/configure.in: Likewise.
46979 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46980 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46981 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46982 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46983 * sysdeps/sh/elf/configure.in: Likewise.
46984 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46985 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46986 * sysdeps/x86_64/elf/configure.in: Likewise.
46987 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46988 * sysdeps/mach/hurd/tls.h: Likewise.
46991 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46994 * configure.in: Fix use of AC_INIT.
46996 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46998 2011-09-10 Ulrich Drepper <drepper@gmail.com>
47000 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47002 * malloc/hooks.c: Likewise.
47005 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47006 variables statically.
47007 (narenas): Initialize.
47008 (list_lock): Initialize.
47009 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47010 initializtion of main_arena and list_lock. Small cleanups.
47011 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47012 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47013 Add initializers to main_arena and mp_.
47014 (malloc_state): Remove pagesize member. Change all users to use
47017 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47018 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47019 is always initialized.
47021 * malloc/malloc.c: Removed unused configurations and dead code.
47022 * malloc/arena.c: Likewise.
47023 * malloc/hooks.c: Likewise.
47024 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47026 * include/tls.h: Removed. USE___THREAD must always be defined.
47027 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47028 * elf/dl-libc.c: Likewise.
47029 * elf/dl-tsd.c: Likewise.
47030 * include/errno.h: Likewise.
47031 * include/netdb.h: Likewise.
47032 * include/resolv.h: Likewise.
47033 * inet/herrno-loc.c: Likewise.
47034 * inet/herrno.c: Likewise.
47035 * malloc/arena.c: Likewise.
47036 * malloc/hooks.c: Likewise.
47037 * malloc/malloc.c: Likewise.
47038 * resolv/res-state.c: Likewise.
47039 * resolv/res_libc.c: Likewise.
47040 * sysdeps/i386/dl-machine.h: Likewise.
47041 * sysdeps/ia64/dl-machine.h: Likewise.
47042 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47043 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47044 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47045 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47046 * sysdeps/sh/dl-machine.h: Likewise.
47047 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47048 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47049 * sysdeps/unix/i386/sysdep.S: Likewise.
47050 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47051 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47052 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47054 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47055 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47056 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47058 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47060 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47061 * sysdeps/x86_64/dl-machine.h: Likewise.
47062 * tls.make.c: Likewise.
47064 * configure.in: Remove --with-__thread option. Make tests for
47065 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47066 tls_model attribute fail if no support is available. Remove
47068 * Makeconfig: Adjust for dropped configure option. All features are
47070 * Makerules: Likewise.
47071 * Versions.def: Likewise.
47072 * argp/argp-fmtstream.c: Likewise.
47073 * argp/argp-fmtstream.h: Likewise.
47074 * argp/argp-help.c: Likewise.
47075 * assert/assert.c: Likewise.
47076 * config.h.in: Likewise.
47077 * config.make.in: Likewise.
47078 * configure: Likewise.
47079 * configure.in: Likewise.
47080 * csu/Versions: Likewise.
47081 * csu/init.c: Likewise.
47082 * elf/tst-audit2.c: Likewise.
47083 * elf/tst-tls10.c: Likewise.
47084 * elf/tst-tls10.h: Likewise.
47085 * elf/tst-tls11.c: Likewise.
47086 * elf/tst-tls12.c: Likewise.
47087 * elf/tst-tls14.c: Likewise.
47088 * elf/tst-tlsmod11.c: Likewise.
47089 * elf/tst-tlsmod12.c: Likewise.
47090 * elf/tst-tlsmod13.c: Likewise.
47091 * elf/tst-tlsmod13a.c: Likewise.
47092 * elf/tst-tlsmod14a.c: Likewise.
47093 * elf/tst-tlsmod15b.c: Likewise.
47094 * elf/tst-tlsmod16a.c: Likewise.
47095 * elf/tst-tlsmod16b.c: Likewise.
47096 * elf/tst-tlsmod7.c: Likewise.
47097 * elf/tst-tlsmod8.c: Likewise.
47098 * elf/tst-tlsmod9.c: Likewise.
47099 * gmon/gmon.c: Likewise.
47100 * grp/fgetgrent_r.c: Likewise.
47101 * grp/putgrent.c: Likewise.
47102 * hurd/fopenport.c: Likewise.
47103 * include/libc-symbols.h: Likewise.
47104 * include/tls.h: Likewise.
47105 * intl/gettextP.h: Likewise.
47106 * intl/loadinfo.h: Likewise.
47107 * locale/global-locale.c: Likewise.
47108 * locale/localeinfo.h: Likewise.
47109 * mach/devstream.c: Likewise.
47110 * malloc/arena.c: Likewise.
47111 * malloc/set-freeres.c: Likewise.
47112 * misc/err.c: Likewise.
47113 * misc/getttyent.c: Likewise.
47114 * misc/mntent_r.c: Likewise.
47115 * posix/getopt.c: Likewise.
47116 * posix/wordexp.c: Likewise.
47117 * pwd/fgetpwent_r.c: Likewise.
47118 * resolv/Versions: Likewise.
47119 * resolv/res_hconf.c: Likewise.
47120 * shadow/fgetspent_r.c: Likewise.
47121 * shadow/putspent.c: Likewise.
47122 * stdio-common/printf_fphex.c: Likewise.
47123 * stdio-common/tmpfile.c: Likewise.
47124 * stdlib/abort.c: Likewise.
47125 * stdlib/fmtmsg.c: Likewise.
47126 * sunrpc/auth_unix.c: Likewise.
47127 * sunrpc/clnt_perr.c: Likewise.
47128 * sunrpc/clnt_tcp.c: Likewise.
47129 * sunrpc/clnt_udp.c: Likewise.
47130 * sunrpc/clnt_unix.c: Likewise.
47131 * sunrpc/openchild.c: Likewise.
47132 * sunrpc/svc_simple.c: Likewise.
47133 * sunrpc/svc_tcp.c: Likewise.
47134 * sunrpc/svc_udp.c: Likewise.
47135 * sunrpc/svc_unix.c: Likewise.
47136 * sunrpc/xdr.c: Likewise.
47137 * sunrpc/xdr_array.c: Likewise.
47138 * sunrpc/xdr_rec.c: Likewise.
47139 * sunrpc/xdr_ref.c: Likewise.
47140 * sunrpc/xdr_stdio.c: Likewise.
47142 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47144 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47146 2011-07-03 Andreas Jaeger <aj@suse.de>
47148 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47149 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47150 regenerate with gen-libm-tests.pl.
47152 2010-05-12 Petr Baudis <pasky@suse.cz>
47155 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47156 around j0() zero points by switching to j1().
47157 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47158 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47159 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47160 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47162 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47164 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47166 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47168 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47169 Patch in part by Pavel Roskin <proski@gnu.org>.
47172 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47174 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47175 Free memory block if necessary.
47178 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47179 be NULL. Don't lock in this case.
47181 2011-09-09 Roland McGrath <roland@hack.frob.com>
47183 * elf/elf.h (ELFOSABI_GNU): New macro.
47184 (ELFOSABI_LINUX): Define to that.
47186 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47188 * string/strncat.c (strncat): Undef the symbol in case it has been
47189 defined in bits/string.h.
47191 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47193 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47195 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47198 2011-08-17 Andreas Jaeger <aj@suse.de>
47200 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47202 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47203 Ian Lance Taylor <iant@google.com>
47205 * math/libm-test.inc (lround_test): New testcase.
47206 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47208 2011-09-08 Ulrich Drepper <drepper@gmail.com>
47210 * Makefile: Remove support for automatic cvs check-ins.
47211 * Makerules: Likewise.
47212 * config.make.in: Likewise.
47213 * configure.in: Likewise.
47214 * intl/Makefile: Likewise.
47215 * locale/Makefile: Likewise.
47216 * po/Makefile: Likewise.
47217 * posix/Makefile: Likewise.
47218 * sysdeps/gnu/Makefile: Likewise.
47219 * sysdeps/mach/hurd/Makefile: Likewise.
47220 * sysdeps/sparc/sparc32/Makefile: Likewise.
47223 * posix/Makefile (bug-regex32-ENV): Define.
47224 Patch by John Stanley <jpsinthemix@verizon.net>.
47226 * misc/Makefile (headers): Add bits/select2.h.
47227 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47228 * misc/bits/select2.h: New file.
47229 * include/bits/select2.h: New file.
47230 * debug/Makefile (routines): Add fdelt_chk.
47231 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47232 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47234 * debug/fdelt_chk.c: New file.
47236 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47237 * wcsmbs/test-wmemcmp.c: Likewise.
47238 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47239 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47241 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47243 * string/Makefile (strop-tests): Add memcmp.
47244 * string/test-wmemcmp.c: New file.
47245 * string/test-memcmp.c: Add wmemcmp support.
47247 2011-09-08 Roland McGrath <roland@hack.frob.com>
47250 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47253 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47254 garbage value in a __mach_port_mod_refs call in the cases of the
47255 task-self and thread-self ports.
47257 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47259 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47261 2011-09-08 Andreas Schwab <schwab@redhat.com>
47263 * elf/dl-load.c (lose): Check for non-null L.
47265 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47267 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47269 * elf/dl-libc.c (dlerror_run): Pass back error code from
47273 * elf/dl-load.c (lose): Free l_origin if it is valid.
47275 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47277 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47278 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47279 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47280 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47281 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47282 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47284 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47286 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47287 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47288 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47289 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47290 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47291 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47292 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47293 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47294 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47295 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47297 2011-08-15 Alan Modra <amodra@gmail.com>
47300 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47301 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47302 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47303 ppc_mcount to static-only-routines.
47304 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47306 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47307 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47309 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47311 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47312 for finite and infinity parameters.
47314 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47316 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47317 and add nop instructions for throughput optimization.
47318 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47320 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47322 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47323 aligned copy for power7 with vector-scalar instructions.
47324 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47326 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47328 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47331 2011-09-07 Andreas Schwab <schwab@redhat.com>
47334 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47337 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47339 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47340 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47341 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47342 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47345 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47347 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47348 Forgot to demangle the pointer.
47350 * sysdeps/i386/sysdep.h: Define atom_text_section.
47351 * sysdeps/x86_64/sysdep.h: Likewise.
47352 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47353 section with atom_text_section.
47354 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47355 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47356 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47357 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47358 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47360 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47361 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47362 already be defined. Change to take two parameters and don't assign
47363 result to variable. Adjust all users.
47364 Define INTERNAL_GETTIME if not already defined.
47365 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47368 HAVE_CLOCK_GETTIME_VSYSCALL.
47369 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47372 gettimeofday vsyscall, just use time.
47374 2011-09-06 Andreas Schwab <schwab@redhat.com>
47376 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47379 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47381 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47383 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47385 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47386 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47387 syscall if possible.
47389 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47391 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47392 e_ident. Don't pass to find_mapsXX.
47393 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47395 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47398 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47399 * sysdeps/x86_64/multiarch/strchr.S: Update.
47400 Check bit_slow_BSF bit.
47401 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47402 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47403 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47405 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47408 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47410 (tryshell): Define.
47411 (__spawni): Change last parameter to be flag. Test
47412 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47413 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47414 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47415 * posix/spawni.c: Likewise.
47416 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47417 * posix/spawnp.c: Likewise. Change normal version to use
47418 SPAWN_XFLAGS_USE_PATH.
47419 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47420 SPAWN_XFLAGS_TRY_SHELL.
47423 * posix/glob.h: Remove gcc 1.x support.
47426 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47428 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47431 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47433 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47434 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47435 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47436 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47437 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47438 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47440 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47442 * sysdeps/x86_64/wcscmp.S: New file.
47444 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47445 wcscmp-c wcscmp-sse2
47446 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47447 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47448 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47449 * wcsmbs/wcscmp.c: Allow renaming.
47451 2011-09-05 David S. Miller <davem@davemloft.net>
47453 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47454 stack slot, rather than the struct return pointer slot.
47455 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47456 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47458 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47460 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47462 * po/ja.po: Update from translation team.
47465 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47466 kernel in 64-bit binaries.
47468 2011-09-01 David S. Miller <davem@davemloft.net>
47470 * elf/elf.h (HWCAP_SPARC_*): Move to..
47471 * sysdeps/sparc/sysdep.h: this new file and add new values.
47472 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47473 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47474 _DL_HWCAP_COUNT to 24.
47475 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47477 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47478 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47479 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47481 instead of magic constants.
47482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47484 2011-08-31 David S. Miller <davem@davemloft.net>
47486 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47487 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47488 Reimplement to do errno handling inline.
47489 (SYSCALL_ERROR_HANDLER): New macro.
47490 (__SYSCALL_STRING): Do not do errno handling in asm.
47491 (__CLONE_SYSCALL_STRING): Delete.
47492 (__INTERNAL_SYSCALL_STRING): Delete.
47493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47494 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47495 (PSEUDO): Reimplement to do errno handling inline.
47496 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47497 (SYSCALL_ERROR_HANDLER): New macro.
47498 (__SYSCALL_STRING): Do not do errno handling in asm.
47499 (__CLONE_SYSCALL_STRING): Delete.
47500 (__INTERNAL_SYSCALL_STRING): Delete.
47501 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47502 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47504 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47505 (inline_syscall*): Add 'err' argument.
47506 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47507 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47508 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47509 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47511 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47512 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47514 2011-08-30 Andreas Schwab <schwab@redhat.com>
47516 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47518 2011-08-29 Jiri Olsa <jolsa@redhat.com>
47520 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47523 2011-08-24 David S. Miller <davem@davemloft.net>
47525 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47527 2011-08-24 Andreas Schwab <schwab@redhat.com>
47529 * elf/Makefile: Add rules to build and run unload8 test.
47530 * elf/unload8.c: New file.
47531 * elf/unload8mod1.c: New file.
47532 * elf/unload8mod1x.c: New file.
47533 * elf/unload8mod2.c: New file.
47534 * elf/unload8mod3.c: New file.
47536 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47539 2011-08-23 David S. Miller <davem@davemloft.net>
47541 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47542 subtract stack bias.
47543 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47544 %sp not %fp in calculations.
47545 (_JMPBUF_UNWINDS_ADJ): Likewise.
47547 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47548 (aio_suspend): Call it to force an exception region around the
47549 AIO_MISC_WAIT() invocation.
47551 2011-08-23 Andreas Schwab <schwab@redhat.com>
47553 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47556 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47558 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47560 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47561 and <dl-machine.h>.
47562 (Elf64_FuncDesc): Remove.
47564 2011-08-22 David S. Miller <davem@davemloft.net>
47566 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47567 sigaltstack check, add missing cfi directives.
47568 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47569 missing cfi directives, and sigaltstack handling.
47571 2011-08-16 Andreas Schwab <schwab@redhat.com>
47574 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47575 object is seen twice.
47576 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47578 * elf/Makefile (distribute): Add tst-initorder2.c.
47579 (tests): Add tst-initorder2.
47580 (modules-names): Add tst-initorder2a tst-initorder2b
47581 tst-initorder2c tst-initorder2d. Add rules to build them.
47582 ($(objpfx)tst-initorder2.out): New rule.
47583 * elf/tst-initorder2.c: New file.
47584 * elf/tst-initorder2.exp: New file.
47586 2011-08-22 Andreas Schwab <schwab@redhat.com>
47588 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47590 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47591 dependencies back to end of function.
47593 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47594 $(elfobjdir)/ld.so.
47596 2011-08-21 Ulrich Drepper <drepper@gmail.com>
47598 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47599 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47600 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47601 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47602 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47603 of __vdso_gettimeofday.
47604 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47605 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47607 (_libc_vdso_platform_setup): Remove initialization of
47608 __vdso_gettimeofday and __vdso_time.
47610 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47612 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47613 and fgetc_unlocked.
47614 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47617 * elf/dl-open.c (add_to_global): Report additions to the global scope
47618 for LD_DEBUG=scopes.
47619 (dl_open_worker): Also print scope of newly loaded dependencies.
47620 (_dl_show_scope): Indicate if there is no scope.
47623 * stdio-common/Makefile (tests): Add bug24.
47624 * stdio-common/bug24.c: New file.
47626 2011-08-19 Andreas Jaeger <aj@suse.de>
47629 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47630 non-existant file when using close-on-exec mode.
47632 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47635 the very first instruction.
47637 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47638 the CFI state in the end.
47639 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47640 inclusion of dl-trampoline.h.
47641 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47643 2011-08-19 Andreas Schwab <schwab@redhat.com>
47645 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47646 expectations for long double.
47648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47649 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47651 2011-08-14 David S. Miller <davem@davemloft.net>
47653 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47654 artificual limit depends upon the system page size.
47656 2011-08-17 Ulrich Drepper <drepper@gmail.com>
47658 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47659 * resolv/Makefile: Define CFLAGS-libresolv.
47661 2011-08-17 Andreas Schwab <schwab@redhat.com>
47663 * nss/makedb.c (compute_tables): Make variables used in nested
47666 2011-08-17 Ulrich Drepper <drepper@gmail.com>
47668 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47669 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47670 if buffer was too small.
47672 * elf/pldd.c (main): Attach to all threads in the process.
47673 Rewrite /proc handling to use *at functions.
47675 2011-08-16 Ulrich Drepper <drepper@gmail.com>
47677 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47678 specifies first scope to show.
47679 (dl_open_worker): Update callers. Move printing scope of new
47680 object to before the relocation.
47681 * elf/rtld.c (dl_main): Update _dl_show_scope call.
47682 * sysdeps/generic/ldsodefs.h: Update declaration.
47684 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47685 string for the scope number.
47687 2011-08-14 Ulrich Drepper <drepper@gmail.com>
47689 * nscd/servicescache.c (cache_addserv): Make sure written is always
47692 2011-08-14 Roland McGrath <roland@hack.frob.com>
47694 * sysdeps/i386/i486/bits/atomic.h
47695 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47696 statement expression, so as to suppress "set but not used" warning.
47697 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47699 * string/strncat.c (STRNCAT): Use prototype definition.
47701 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47702 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47704 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47705 (localedef-modules): Add localedef.
47706 (locale-modules): Add locale.
47708 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47709 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47710 to avoid a warning.
47712 2011-08-14 David S. Miller <davem@davemloft.net>
47714 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47715 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47717 2011-08-13 Ulrich Drepper <drepper@gmail.com>
47719 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
47720 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47721 * elf/rtld.c (dl_main): Set l_name of vDSO.
47722 Call _dl_show_scope when DL_DEBUG_SCOPES.
47723 (process_dl_debug): Recognize scopes flag and also set it for all.
47724 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47725 Declare _dl_show_scope.
47727 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47728 (do_dlopen): Pass caller_dlopen to dl_open.
47729 (__libc_dlopen_mode): Initialize caller_dlopen.
47731 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47732 of libc. Make tolower call locale-independent. Optimize a bit by
47733 using isdigit instead of isalnum.
47734 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47736 2011-08-12 Ulrich Drepper <drepper@gmail.com>
47738 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47739 was a dependency or dynamically loaded.
47741 2011-08-11 Ulrich Drepper <drepper@gmail.com>
47743 * intl/l10nflist.c: Allow architecture-specific pop function.
47744 * sysdeps/x86_64/l10nflist.c: New file.
47746 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47749 2011-08-10 Andreas Schwab <schwab@redhat.com>
47751 * include/dirent.h: Add libc_hidden_proto for scandirat and
47752 scandirat64. Don't declare __scandirat64.
47753 * dirent/scandirat.c: Add libc_hidden_def.
47754 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47755 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47757 2011-08-10 David S. Miller <davem@davemloft.net>
47759 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47761 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47762 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47763 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47765 2011-08-09 Ulrich Drepper <drepper@gmail.com>
47767 * Versions.def [libc]: Add GLIBC_2.15.
47768 * dirent/Makefile (routines): Add scandirat and scandirat64.
47769 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47771 * dirent/dirent.h: Declare scandirat and scandirat64.
47772 * dirent/scandirat.c: New file.
47773 * dirent/scandirat64.c: New file.
47774 * sysdeps/wordsize-64/scandirat.c: New file.
47775 * sysdeps/wordsize-64/scandirat64.c: New file.
47776 * dirent/opendir.c: Define opendirat.
47777 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47779 * dirent/scandir64.c: Adjust for scandir.c change.
47780 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47781 __scandirat64, and __scandir_cancel_handler.
47782 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47783 additional parameter and use openat instead of open (outside of ld.so).
47784 Add new __opendir as wrapper around __opendirat.
47785 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47786 here without requiring old scandirat implementation.
47788 2011-08-08 Ulrich Drepper <drepper@gmail.com>
47790 * dirent/scandir.c (cancel_handler): Renamed to
47791 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47792 defined. Adjust users.
47793 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47794 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47796 2011-08-04 Ulrich Drepper <drepper@gmail.com>
47798 * string/test-string.h (IMPL): Use __STRING to expand name and then
47801 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47804 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47806 * string/Makefile: Update.
47807 (strop-tests): Append strncat.
47808 * string/test-wcscmp.c: New file.
47809 New comprehensive test for wcscmp.
47810 * string/test-strcmp.c: Update.
47811 (WIDE): New define.
47813 2011-07-22 Andreas Schwab <schwab@redhat.com>
47815 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47818 2011-07-26 Andreas Schwab <schwab@redhat.com>
47820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47821 encoding to ACE if AI_IDN.
47823 2011-08-01 Jakub Jelinek <jakub@redhat.com>
47825 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47826 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47828 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47830 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47831 Fix overflow bug in strncat.
47832 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47834 * string/test-strncat.c: Update.
47835 Add new tests for checking overflow bugs.
47837 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47840 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47841 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47842 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47843 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47844 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47845 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47846 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47847 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47849 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47850 (USE_AS_STRCAT): Define.
47851 Add strcat and strncat support.
47852 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47854 2011-07-25 Andreas Schwab <schwab@redhat.com>
47856 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47857 __n bigger than INT_MAX+1.
47858 (__strncmp_g): Likewise.
47860 2011-07-23 Ulrich Drepper <drepper@gmail.com>
47862 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47863 * libio/stido.h: Likewise.
47865 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47870 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47871 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47872 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47873 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47874 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47877 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47880 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47882 (_dl_x86_64_save_sse): Likewise.
47884 2011-07-22 Ulrich Drepper <drepper@gmail.com>
47886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47888 (_dl_x86_64_save_sse): Likewise.
47890 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47892 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47894 2011-07-21 Andreas Schwab <schwab@redhat.com>
47896 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47898 (_dl_x86_64_save_sse): Use correct AVX check.
47900 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47902 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47903 bug in strncpy/strncat.
47904 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47906 2011-07-21 Ulrich Drepper <drepper@gmail.com>
47908 * string/tester.c (test_strcat): Add tests for different alignments
47909 of source and destination.
47910 (test_strncat): Likewise.
47912 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47915 * posix/glob.c (glob): Check passed in values before using them in
47916 expressions to avoid some overflows.
47917 (glob_in_dir): Likewise.
47920 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47921 check for AVX enablement so that we don't crash with old kernels and
47923 * elf/tst-audit4.c: Add same checks here.
47924 * elf/tst-audit6.c: Likewise.
47926 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47928 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
47930 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47932 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47934 * po/cs.po: Update from translation team.
47935 * po/bg.po: Likewise.
47937 2011-07-12 Marek Polacek <mpolacek@redhat.com>
47939 * misc/sys/cdefs.h: Add support for const attribute.
47940 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47941 to gnu_dev_{major,minor,makedev} functions.
47943 2011-07-20 Marek Polacek <mpolacek@redhat.com>
47945 * intl/dcigettext.c (get_output_charset): Add missing bracket.
47947 2011-07-20 Andreas Schwab <schwab@redhat.com>
47949 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47952 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47955 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47956 register in order to avoid conflicts with the soft frame pointer
47957 being held in r11 when necessary.
47958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47959 (INTERNAL_VSYSCALL_NCS): Likewise.
47961 2011-07-14 Marek Polacek <mpolacek@redhat.com>
47963 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47964 * elf/dl-fini.c (_dl_fini): Adjust caller.
47965 * elf/dl-close.c (_dl_close_worker): Likewise.
47966 * sysdeps/generic/ldsodefs.h: Adjust declaration.
47968 2011-07-15 Marek Polacek <mpolacek@redhat.com>
47970 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47971 "aux_cache->nlibs < 0".
47973 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47974 in the reload-count case.
47976 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47979 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47980 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47981 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47982 * sysdeps/x86_64/multiarch/strcat.S: New file.
47983 * sysdeps/x86_64/multiarch/strncat.S: New file.
47984 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47985 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47986 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47987 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47989 (USE_AS_STRCAT): Define.
47990 Add strcat and strncat support.
47991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47992 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47993 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47994 * string/strncat.c: Update.
47995 (USE_AS_STRNCAT): Define.
47996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47997 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47999 * sysdeps/x86_64/multiarch/init-arch.h
48000 (bit_Prefer_PMINUB_for_stringop): New.
48001 (index_Prefer_PMINUB_for_stringop): Likewise.
48002 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48003 bit_Prefer_PMINUB_for_stringop.
48005 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48007 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48009 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48010 of casting of buffer.
48011 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48012 buffer32 and buffer64.
48013 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48014 writes instead of casting of buffer.
48015 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48017 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48020 2011-07-19 Andreas Schwab <schwab@redhat.com>
48022 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48024 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48026 * nscd/nscd.c (termination_handler): Don't do anything for a database
48027 if it has not yet been initialized.
48029 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48031 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48033 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48035 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48037 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48039 * po/nl.po: Update from translation team.
48040 * po/sv.po: Likewise.
48042 2011-07-16 Roland McGrath <roland@hack.frob.com>
48044 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48045 now disallowed by GCC.
48047 * configure.in (use-default-link): Default to yes if a test -shared
48048 link meets our qualifications.
48049 * configure: Regenerated.
48051 * config.make.in (output-format): New variable.
48052 * configure.in: Check for ld --print-output-format support.
48053 * configure: Regenerated.
48054 * Makerules ($(common-objpfx)format.lds)
48055 [$(output-format) != unknown]: Just use $(output-format),
48056 instead of the linker-script munging.
48058 2011-07-14 Roland McGrath <roland@hack.frob.com>
48060 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48061 of $(common-objpfx)shlib.lds.
48062 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48064 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48065 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48067 * configure.in (-z relro check): Adjust test code to add a large
48068 writable data section after it.
48069 * configure: Regenerated.
48071 2011-07-11 Roland McGrath <roland@hack.frob.com>
48073 * configure.in (-z relro check): Fix test code to make the variable
48075 * configure: Regenerated.
48077 2011-07-11 Ulrich Drepper <drepper@gmail.com>
48079 * nscd/nscd.h (struct traced_file): Define.
48080 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48081 elements. Add traced_files.
48082 (inotify_fd): Declare.
48083 (register_traced_file): Declare.
48084 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48085 (inotify_fd): Export.
48086 (resolv_conf_descr): Remove.
48087 (nscd_init): Move inotify descriptor creation to main.
48088 Don't register files for notification here.
48089 (register_traced_file): New function.
48090 (invalidate_cache): Don't use reset_res to determine whether to call
48091 res_init, go through the list of registered files.
48092 (main_loop_poll): The inotify descriptors are now stored in the
48093 structures for the traced files.
48094 (main_loop_epoll): Likewise
48095 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48096 to __nss_disable_nscd.
48097 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48098 for a database anymore. Check the records for all the registered
48100 * nss/Makefile (libnss_files-routines): Add files-init.
48101 (libnss_db-routines): Add db-init.
48102 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48103 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48104 * nss/nss_db/db-init.c: New file.
48105 * nss/nss_files/files-init.c: New file.
48106 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48107 __nss_lookup_function.
48108 (__nss_lookup_function): Call nss_load_library.
48109 (nss_load_all_libraries): New function.
48110 (__nss_disable_nscd): Take parameter with callback function for files
48111 to register. Set is_nscd. Load all the DSOs for the NSS modules
48112 used for the cached services.
48113 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48114 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48115 options for features to all the files in nscd.
48117 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48119 2011-07-10 Roland McGrath <roland@hack.frob.com>
48121 * csu/elf-init.c (__libc_csu_init): Comment typo.
48123 2011-07-09 Ulrich Drepper <drepper@gmail.com>
48125 * po/pl.po: Update from translation team.
48126 * po/ja.po: Likewise.
48127 * po/ru.po: Likewise.
48128 * po/ko.po: Likewise.
48129 * po/fr.po: Likewise.
48131 2011-07-09 Roland McGrath <roland@hack.frob.com>
48133 * configure.in (.ctors/.dtors header and trailer check):
48134 Use an empirical test on a built program.
48135 * configure: Regenerated.
48137 * configure.in (-z relro check): Use an empirical test on a built DSO.
48138 Detect, but do not require, on ia64.
48139 * configure: Regenerated.
48141 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48142 Update tests that use readelf to use $READELF instead.
48143 * configure: Regenerated.
48145 2011-07-08 Ulrich Drepper <drepper@gmail.com>
48147 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48148 if the result is not used.
48150 2011-07-05 Andreas Jaeger <aj@suse.de>
48153 * stdlib/tst-strtod.c: Add testcase.
48155 2011-07-07 Ulrich Drepper <drepper@gmail.com>
48157 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48158 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48159 The latter has a higher limit. Take additional parameter to pass to
48161 (__pathconf): Pass file to __statfs_link_max.
48162 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48164 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48168 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48169 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48171 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48172 (__statfs_filesize_max): Likewise.
48173 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48175 2011-07-05 Andreas Jaeger <aj@suse.de>
48177 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48179 2011-07-06 Marek Polacek <mpolacek@redhat.com>
48181 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48183 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48186 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48188 * Makefile (strop-tests): Add strncat.
48189 * string/test-strncat.c: New file.
48191 2011-06-30 Marek Polacek <mpolacek@redhat.com>
48193 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48195 2011-06-21 Andreas Jaeger <aj@suse.de>
48197 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48198 Copy rule from iconvdata/Makefile.
48200 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48203 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48204 but no long options are defined, just return 'W'.
48206 2011-06-22 Marek Polacek <mpolacek@redhat.com>
48209 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48211 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48213 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48215 (innetgr): Likewise.
48217 2011-07-05 Roland McGrath <roland@hack.frob.com>
48219 * config.make.in (install_root): Default to $(DESTDIR).
48221 2011-07-05 Ulrich Drepper <drepper@gmail.com>
48223 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48225 2011-07-02 Roland McGrath <roland@hack.frob.com>
48227 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48229 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48230 containing directory rather than embedding absolute directory names.
48232 * scripts/check-local-headers.sh: Rewritten using awk.
48233 Match by word, not by line. Print error messages for matches.
48234 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48236 * Makerules [shlib-lds-flags empty]:
48237 ($(common-objpfx)libc_pic.opts): New target.
48238 ($(common-objpfx)libc_pic.os.clean): New target.
48239 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48241 * config.make.in (OBJCOPY): New variable.
48242 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48243 * configure: Regenerated.
48245 * config.make.in (use-default-link): New variable.
48246 * configure.in (use_default_link): Grok --with-default-link to set it.
48247 * configure: Regenerated.
48248 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48249 (shlib-lds, shlib-lds-flags): Define to empty.
48251 * Makerules (shlib-lds): New variable.
48252 (shlib-lds-flags): New variable.
48253 (build-shlib, build-moduile, build-module-asneeded): Use it.
48254 ($(common-objpfx)libc.so): Use $(shlib-lds).
48255 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48256 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48258 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48259 DT_FLAGS/DT_FLAGS_1 with zero flags.
48261 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48262 linker script munging.
48264 2011-07-02 Ulrich Drepper <drepper@gmail.com>
48266 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48268 * crypt/sha512.c (sha512_process_block): Perform total addition using
48269 128-bit if possible.
48270 (__sha512_finish_ctx): Likewise.
48271 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48273 * crypt/sha256.c (SWAP64): Define.
48274 (sha256_process_block): Perform total addition using 64-bit if
48276 (__sha256_finish_ctx): Likewise.
48278 2011-07-01 Ulrich Drepper <drepper@gmail.com>
48280 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48281 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48282 * nscd/hstcache.c (cache_addhst): Likewise.
48283 * nscd/grpcache.c (cache_addgr): Likewise.
48284 * nscd/aicache.c (addhstaiX): Likewise
48285 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48287 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
48289 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48290 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48291 * nscd/hstcache.c (cache_addhst): Likewise.
48292 * nscd/grpcache.c (cache_addgr): Likewise.
48293 * nscd/aicache.c (addhstaiX): Likewise
48295 2011-07-01 Andreas Schwab <schwab@redhat.com>
48297 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48298 domain only when needed.
48300 2011-06-30 Andreas Schwab <schwab@redhat.com>
48302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48303 is always restored.
48305 2011-06-29 Ulrich Drepper <drepper@gmail.com>
48307 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48308 are re-adding the entry.
48309 * nscd/servicescache.c (cache_addserv): Likewise.
48311 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48313 * sysdeps/generic/dl-irel.h: fix protection against multiple
48315 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48317 2011-06-28 Ulrich Drepper <drepper@gmail.com>
48320 * malloc/memusage.sh: Fix quoting in message.
48321 * debug/xtrace.sh: Likewise.
48323 * configure.in: Remove support for --experimental-malloc option, make
48325 * config.make.in: Likewise.
48326 * malloc/Makefile: Likewise.
48328 2011-06-27 Andreas Schwab <schwab@redhat.com>
48330 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48331 two-byte characters.
48333 2011-06-27 Roland McGrath <roland@hack.frob.com>
48335 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48336 AC_CACHE_CHECK invocation.
48337 * configure: Regenerated.
48339 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48341 2011-06-27 Ulrich Drepper <drepper@gmail.com>
48344 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48345 bit from old_res_options.
48347 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48349 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48350 value type for setfct.
48352 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48354 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48355 __gettimeofday instead of gettimeofday.
48357 2011-06-26 Ulrich Drepper <drepper@gmail.com>
48359 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48361 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48363 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48368 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48371 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48372 strcpy-sse2-unaligned strncpy-sse2-unaligned
48373 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48374 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48375 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48376 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48377 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48378 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48379 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48380 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48381 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48382 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48383 (STRCPY): Support SSE2 and SSSE3 versions.
48385 2011-06-24 Ulrich Drepper <drepper@gmail.com>
48388 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48389 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48390 kernels which artificially limit size of requests.
48392 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48395 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48396 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48397 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48398 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48399 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48400 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48401 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48402 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48403 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48404 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48405 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48406 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48407 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48408 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48410 Enable unaligned load optimization for Intel Core i3, i5 and i7
48412 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48414 (index_Fast_Unaligned_Load): Define.
48415 (HAS_FAST_UNALIGNED_LOAD): Define.
48417 2011-06-23 Marek Polacek <mpolacek@redhat.com>
48419 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48421 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48424 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48425 until it is clear that the information is realy needed.
48426 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48428 2011-06-22 Andreas Schwab <schwab@redhat.com>
48430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48432 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48435 /sys/devices/system/cpu/online if it is usable.
48437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48438 reading the information from the /proc filesystem to once a second.
48440 2011-06-21 Andreas Jaeger <aj@suse.de>
48442 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48443 NULL after inclusion of kernel headers.
48445 2011-06-21 Ulrich Drepper <drepper@gmail.com>
48447 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48448 calls to internal_setent.
48451 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48452 addresses using gethostbyname4_r ignore IPv4 addresses.
48454 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48455 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48457 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48459 2011-06-20 David S. Miller <davem@davemloft.net>
48461 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48463 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48465 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48466 (elf_irel): Use it.
48467 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48468 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48469 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48470 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48471 * sysdeps/x86_64/dl-irel.h: Likewise.
48473 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48474 * elf/dl-sym.c: Likewise.
48476 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48478 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48479 need to dereference resplen2.
48481 2011-06-14 Andreas Schwab <schwab@redhat.com>
48483 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48485 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48487 * Makeconfig: Define vardbdir and inst_vardbdir.
48488 * nss/Makefile: Add rules to install db-Makefile.
48490 * nss/nss_db/db-XXX.c: Cleanup.
48492 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48493 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48495 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48496 * nss/makedb.c: Implement -g option to specify that value strings
48497 are generated and should not be added to table iterated over for
48499 * nss/nss_db/db-initgroups.c: New file.
48501 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48504 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48505 (internal_getgrouplist): Adjust to name change.
48506 Update use_initgroups_entry if this is not the first call.
48507 * nss/databases.def: Add initgroups entry.
48509 * nss/makedb.c (compute_tables): Check result of multiple hash table
48510 sizes to minimize maximum chain length.
48512 2011-06-14 Ulrich Drepper <drepper@gmail.com>
48514 * Versions.def: Add entry for libnss_db.
48515 * shlib-versions: Likewise.
48516 * nss/Makefile: Add rules to build libnss_db.
48517 * nss/Versions: Add libnss_db information. Organize libnss_files
48519 * nss/db-Makefile: Add gshadow support. Change rules for the new
48520 makedb progra. Some minor improvements to generate smaller files.
48521 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48523 * nss/makedb.c: ...here.
48524 Improve database format to be smaller and require less memory at
48526 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48528 * nss/nss_db/db-netgrp.c: Likewise.
48529 * nss/nss_db/db-open.c: Likewise.
48530 * nss/nss_files/flies-XXX.x: Adjust comments.
48531 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48532 * nss/nss_files/files-grp.c: Likewise.
48533 * nss/nss_files/files-hosts.c: Likewise.
48534 * nss/nss_files/files-network.c: Likewise.
48535 * nss/nss_files/files-proto.c: Likewise.
48536 * nss/nss_files/files-pwd.c: Likewise.
48537 * nss/nss_files/files-rpc.c: Likewise.
48538 * nss/nss_files/files-service.c: Likewise.
48539 * nss/nss_files/files-sgrp.c: Likewise.
48540 * nss/nss_files/files-spwd.c: Likewise.
48541 * nss/nss_db/db-alias.c: Removed.
48542 * nss/nss_db/dummy-db.h: Removed.
48544 2011-06-02 Ulrich Drepper <drepper@gmail.com>
48546 * nss/makedb.c: Rewritten to not use database library.
48547 * nss/Makefile: Update to build new makedb program.
48549 2011-06-14 Andreas Jaeger <aj@suse.de>
48551 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48552 memset declaration.
48554 2011-06-10 Andreas Schwab <schwab@redhat.com>
48556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48559 2011-06-10 Roland McGrath <roland@hack.frob.com>
48561 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48562 * elf/Makefile ($(objpfx)ld.so): Likewise.
48564 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48565 Don't list ld.so twice in dependencies.
48567 * posix/bug-regex31.c: Include <stdlib.h>.
48569 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48571 * nis/nss_compat/compat-spwd.c
48572 (getspent_next_nss_netgr): Remove unused variable.
48573 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48575 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48576 nonmembers" output to use the right array.
48578 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48580 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48582 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48583 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48584 * catgets/gencat.c (read_input_file): Likewise.
48585 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48587 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48588 variable definition inside #if's controlling its use.
48590 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48592 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48594 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48596 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48599 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48601 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48602 * configure: Regenerated.
48604 * Makerules: Revert last change.
48605 * elf/Makefile: Likewise.
48607 2011-06-09 Roland McGrath <roland@hack.frob.com>
48609 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48610 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48611 (reloc-link): Likewise.
48613 2011-06-09 Ulrich Drepper <drepper@gmail.com>
48615 * elf/Makefile: Add rules to build pldd.
48616 * elf/pldd.c: New file.
48617 * elf/pldd-xx.c: New file.
48619 2011-06-07 Ulrich Drepper <drepper@gmail.com>
48621 * version.h: Update for 2.15 development version.
48623 2011-06-07 David S. Miller <davem@davemloft.net>
48625 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48627 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48628 elf_machine_lazy_rel): Likewise.
48629 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48630 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48631 elf_machine_lazy_rel): Likewise.
48632 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48633 dl_hwcap via passed in argument.
48634 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48637 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48639 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48641 2011-06-06 Roland McGrath <roland@hack.frob.com>
48644 * manual/fdl-1.1.texi: New file, verbatim from:
48645 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48646 * manual/lgpl-2.1.texi: New file, verbatim from:
48647 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48648 * manual/Makefile (licenses): New variable, list those new file names.
48650 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48652 * manual/fdl.texi: File removed.
48653 * manual/lesser.texi: File removed.
48654 * manual/libc.texinfo (Copying, Documentation License):
48655 Use new @include file names, put @appendix directive before @include.
48657 2011-06-04 Jakub Jelinek <jakub@redhat.com>
48660 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48661 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48662 (mq_open): Add __NTH.
48664 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48667 Assume Intel Core i3/i5/i7 processor if AVX is available.
48669 2011-05-31 Ulrich Drepper <drepper@gmail.com>
48671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48674 2011-05-31 Andreas Schwab <schwab@redhat.com>
48676 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48677 memory. Use alloca_account. Fix memory leak when retrying.
48679 2011-05-31 Ulrich Drepper <drepper@gmail.com>
48681 * version.h (RELEASE): Bump for 2.14 release.
48682 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48684 * config.make.in (RANLIB): Remove entry.
48686 2011-05-30 Ulrich Drepper <drepper@gmail.com>
48688 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48689 (libc.pot): Work around missing support for .ksh extension in xgettext.
48692 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48693 if both request failed.
48694 (send_dg): In case of server errors clear resplen or *resplen2.
48697 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48698 when there are multiple maps.
48699 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48700 (_dl_fini): Remove test here.
48702 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48704 2011-05-29 Ulrich Drepper <drepper@gmail.com>
48707 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48708 bit from old_res_options.
48709 (gaih_inet): Likewise.
48712 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
48715 * resolv/res_init.c (res_setoptions): Make the code more compact.
48718 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48722 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48724 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48727 * malloc/malloc.h: Declare malloc hook variables as volatile.
48729 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48733 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48734 raise in the comment.
48735 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48736 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48737 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48739 2011-05-28 Ulrich Drepper <drepper@gmail.com>
48742 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48743 grow the buffers more if it already has to be sufficient.
48744 (build_wcs_upper_buffer): Likewise.
48745 * posix/regexec.c (check_matching): Likewise.
48746 (clean_state_log_if_needed): Likewise.
48747 (extend_buffers): Don't enlarge buffers beyond size of the input
48749 Patches mostly by Emil Wojak <emil@wojak.eu>.
48750 * posix/bug-regex32.c: New file.
48751 * posix/Makefile (tests): Add bug-regex32.
48753 * locale/findlocale.c (_nl_find_locale): Return right away if
48754 _nl_explode_name failed.
48755 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48757 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48759 * debug/xtrace.sh: Unify messages.
48760 * malloc/memusage.sh: Likewise.
48763 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48764 time symbol from vDSO. Substitute with vsyscall if not available.
48765 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48768 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48769 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48770 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48771 Add sendmmsg and internal_sendmmsg.
48772 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48773 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48774 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48776 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48777 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48778 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48780 2011-05-27 Ulrich Drepper <drepper@gmail.com>
48783 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48784 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48786 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48790 * iconvdata/Makefile (tests): Add bug-iconv9.
48791 * iconvdata/bug-iconv9.c: New file.
48793 2011-05-27 Andreas Schwab <schwab@redhat.com>
48796 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48798 2011-05-25 Jakub Jelinek <jakub@redhat.com>
48800 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48801 (struct user_regs_struct): Change intcs field back to cs.
48803 2011-05-25 Ulrich Drepper <drepper@gmail.com>
48805 * po/ja.po: Update from translation team.
48807 2011-05-23 Ulrich Drepper <drepper@gmail.com>
48810 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48811 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48813 2011-05-20 Andreas Schwab <schwab@redhat.com>
48815 * stdlib/longlong.h: Update from GCC.
48817 2011-05-23 Andreas Schwab <schwab@redhat.com>
48819 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48821 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48822 Add parameter name.
48823 (__sysconf): Pass it down.
48825 2011-05-22 Ulrich Drepper <drepper@gmail.com>
48828 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48830 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48831 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48832 add in in __libc_use_alloca calls. Adjust callers.
48833 (glob): Use malloc in some situations.
48835 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48836 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48839 2011-05-21 Ulrich Drepper <drepper@gmail.com>
48841 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48842 and CLOCK_BOOTTIME_ALARM.
48845 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48848 * string/_strerror.c (__strerror_r): Print negative errors as signed
48852 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48853 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48854 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48856 * configure.in: Fix typo in redirection and correct removal of test
48857 files in two cases.
48860 * locale/setlocale.c (new_composite_name): Fix test to check for
48861 identical name of all categories.
48864 * libio/filedoalloc.c (local_isatty): New function.
48865 (_IO_file_doallocate): Use local_isatty.
48866 * stdio-common/perror.c (perror): In case a new stream is used
48867 forward the stream error.
48868 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48871 2011-05-20 Ulrich Drepper <drepper@gmail.com>
48874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48876 * include/alloca.h (extend_alloca_account): Define.
48879 * posix/regex.h: Fix comments with documentation of user-accessible
48880 fields after compilation and describe correct free'ing of pattern
48881 after re_compile_pattern.
48882 Patch by Reuben Thomas <rrt@sc3d.org>.
48884 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48886 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48887 and -mno-altivec to prevent the compiler from using Altivec and/or
48888 VSX instructions when the corresponding registers are not available.
48890 2011-05-19 Andreas Schwab <schwab@redhat.com>
48892 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48894 2011-05-19 Ulrich Drepper <drepper@gmail.com>
48896 * libio/freopen.c (freopen): Use __dup2, not dup2.
48897 * libio/freopen64.c (freopen64): Likewise.
48899 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48902 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48903 * math/Makefile (tests): Add test-powl.
48904 (CFLAGS-test-powl.c): Define.
48905 * math/test-powl.c: New file.
48907 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48909 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48911 2011-05-17 Ulrich Drepper <drepper@gmail.com>
48914 * iconvdata/gb18030.c: Update to GB18020-2005.
48916 2011-05-16 Ulrich Drepper <drepper@gmail.com>
48918 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48919 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48920 Patch by Aharon Robbins <arnold@skeeve.com>.
48923 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48927 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48928 through underflows.
48931 * misc/error.c (error_at_line): Ensure file_name and old_file_name
48932 point to strings before performing equality test for error_one_per_line
48936 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48939 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48940 (struct user_fpregs_struct): Avoid __uint*_t types.
48943 * malloc/mtrace.c (tr_where): Add additional parameter to point to
48944 symbol info. Use it instead of calling _dl_addr locally.
48945 (lock_and_info): New function.
48946 (tr_freehook): Call lock_and_info and pass symbol info as additional
48947 parameter to tr_where.
48948 (tr_mallochook): Likewise.
48949 (tr_reallochook): Likewise.
48950 (tr_memalignhook): Likewise.
48952 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
48953 used and couldn't be at all thread-safe.
48955 2011-05-15 Ulrich Drepper <drepper@gmail.com>
48957 * libio/freopen.c (freopen): Don't close old file descriptor
48958 before the new one is opened. Instead dup the new file descriptor
48959 to the old one after the new stream is created.
48960 * libio/freopen64.c (freopen64): Likewise.
48961 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48962 * libio/fileops.c (_IO_new_file_close_it): Handle new
48963 _IO_FLAGS2_NOCLOSE flag.
48964 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48965 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48966 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48967 _IO_FLAGS2_NOCLOSE flag.
48968 * include/unistd.h: Add hidden_proto for dup3.
48969 Define __have_dup3.
48970 * io/dup3.c: Define hidden symbol.
48971 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48974 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48975 when an incomplete long option is used.
48976 * posix/tst-getopt_long1.c: New file.
48977 * posix/Makefile (tests): Add tst-getopt_long1.
48980 * scripts/config.guess: Update from autoconf-2.68.
48981 * scripts/config.sub: Likewise.
48984 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48986 (has_cpuclock): ...this. New function.
48987 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48988 macro here based on has_cpuclock code.
48991 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48992 First byte (not low byte) is now always NUL.
48993 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48996 Use non-cancelable interfaces.
48999 * locale/iso-639.def: Add entry for Sorani.
49002 * include/stdlib.h: Move include protection to the right place.
49003 Define abort_msg_s. Declare __abort_msg with it.
49004 * stdlib/abort.c (__abort_msg): Adjust type.
49005 * assert/assert.c (__assert_fail_base): New function. Majority
49006 of code from __assert_fail. Allocate memory for __abort_msg with
49008 (__assert_fail): Now call __assert_fail_base.
49009 * assert/assert-perr.c: Remove bulk of implementation. Use
49010 __assert_fail_base.
49011 * include/assert.hL Declare __assert_fail_base.
49012 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49014 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49016 2011-05-14 Ulrich Drepper <drepper@gmail.com>
49020 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49021 until all modules are registered in the DTV.
49022 * elf/Makefile: Add rules to build and run tst-tls19.
49023 * elf/tst-tls19.c: New file.
49024 * elf/tst-tls19mod1.c: New file.
49025 * elf/tst-tls19mod2.c: New file.
49026 * elf/tst-tls19mod3.c: New file.
49027 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49030 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49034 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49035 two-byte sequence errors.
49036 * iconvdata/Makefile (tests): Add bug-iconv8.
49037 * iconvdata/bug-iconv8.c: New file.
49040 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49043 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49046 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49047 (dummy_getcfa): New function.
49048 (init): Get _Unwind_GetCFA address, use dummy if not found.
49049 (backtrace_helper): In recursion check, also check whether CFA changes.
49050 (__backtrace): Completely initialize arg.
49052 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49053 storing incomplete byte sequence in state object. Avoid testing for
49054 guaranteed too small input if we know there is enough data available.
49056 2011-05-11 Andreas Schwab <schwab@redhat.com>
49058 * Makeconfig (+link-pie): Indent.
49059 * Rules (binaries-pie): Define if $(have-fpie) and
49061 (binaries-shared): Also filter out $(binaries-pie).
49062 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49063 * nscd/Makefile (others-pie): Add nscd.
49064 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49065 ($(objpfx)nscd): Remove command override.
49066 * login/Makefile (others-pie): Add pt_chown.
49067 ($(objpfx)pt_chown): Remove command override.
49068 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49069 remove command overrides.
49071 2011-05-13 Ulrich Drepper <drepper@gmail.com>
49073 * libio/tst_putwc.c: Fix error messages.
49076 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49077 currently writing and seek to current position when not.
49078 * libio/Makefile (tests): Add bug-fclose1.
49079 * libio/bug-fclose1.c: New file.
49081 2011-05-12 Ulrich Drepper <drepper@gmail.com>
49084 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49085 don't set DF_1_NODELETE here.
49086 (do_lookup_x): When entering new entry test for copy relocation
49087 and if necessary set DF_1_NODELETE flag.
49088 * elf/tst-unique4.cc: New file.
49089 * elf/tst-unique4.h: New file.
49090 * elf/tst-unique4lib.cc: New file.
49091 * elf/Makefile: Add rules to build and run tst-unique4.
49092 Patch by Piotr Bury <pbury@goahead.com>.
49094 2011-05-11 Ulrich Drepper <drepper@gmail.com>
49097 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49100 * misc/mntent_r.c (addmntent): Flush the stream after the output
49103 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49104 (is_trusted_path_normalize): Skip initial colon. Append slash
49105 to empty buffer. Duplicate is_trusted_path code but allow
49106 constructed patch to be prefix.
49107 (is_dst): Allow $ORIGIN followed by /.
49108 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49109 Correct testing of result of is_trusted_path_normalize
49110 (decompose_rpath): Fix warning.
49112 2011-05-10 Ulrich Drepper <drepper@gmail.com>
49115 * grp/initgroups.c (internal_getgrouplist): When we found the service
49116 list through the initgroups entry in nsswitch.conf do not always
49117 continue on a successful lookup. Don't always use the
49118 __nss_group_database value if it is set.
49119 * nss/nsswitch.conf (initgroups): Change action for successful db
49120 lookup to continue for compatibility.
49122 2011-05-09 Ulrich Drepper <drepper@gmail.com>
49125 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49127 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49129 * iconvdata/tst-tables.sh: Likewise.
49130 * iconvdata/cp770.c: New file.
49131 * iconvdata/cp771.c: New file.
49132 * iconvdata/cp772.c: New file.
49133 * iconvdata/cp773.c: New file.
49134 * iconvdata/cp774.c: New file.
49135 * iconvdata/testdata/CP770: New file.
49136 * iconvdata/testdata/CP770..UTF8: New file.
49137 * iconvdata/testdata/CP771: New file.
49138 * iconvdata/testdata/CP771..UTF8: New file.
49139 * iconvdata/testdata/CP772: New file.
49140 * iconvdata/testdata/CP772..UTF8: New file.
49141 * iconvdata/testdata/CP773: New file.
49142 * iconvdata/testdata/CP773..UTF8: New file.
49143 * iconvdata/testdata/CP774: New file.
49144 * iconvdata/testdata/CP774..UTF8: New file.
49146 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49148 * iconvdata/gen-8bit-gap.sh: Likewise.
49149 * iconvdata/gen-8bit.sh: Likewise.
49151 * locale/iso-639.def: Add ary entry.
49154 * locale/C-translit.h.in: Add U20A1 transliteration.
49157 * locale/iso-639.def: Add wae entry.
49158 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49161 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49165 * locale/C-translit.h.in: Add entry for U20B9.
49166 Patch by pravin.d.s@gmail.com.
49168 2011-05-08 Ulrich Drepper <drepper@gmail.com>
49171 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49172 ENAMETOOLONG use generic getcwd.
49173 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49174 in rtld. Use *stat64.
49175 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49176 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49177 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49178 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49179 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49180 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49181 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49182 __fstatat64 macros.
49183 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49184 * dirent/rewinddir.c: Add libc_hidden_def.
49185 * sysdeps/mach/hurd/rewinddir.c: Likewise.
49186 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
49188 * include/dirent.h (__alloc_dir): Add flags parameter.
49189 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49190 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49192 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49193 from fdopendir if O_CLOEXEC is already set.
49195 2011-03-15 Alan Modra <amodra@gmail.com>
49197 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49198 l_tls_firstbyte_offset non-zero. Save padding offset in
49199 l_tls_firstbyte_offset for later use.
49200 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49201 freeing static tls block.
49203 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49205 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49206 where #ifdef was intended. The intent is to prevent ARG_MAX from
49207 being defined by the kernel headers.
49209 2011-05-07 Ulrich Drepper <drepper@gmail.com>
49212 * resolv/resolv.h: Define RES_NOTLDQUERY.
49213 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49214 no-tld-query and set RES_NOTLDQUERY.
49215 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49216 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49217 modern BIND to search name as TLD unless forbidden.
49219 2011-05-07 Petr Baudis <pasky@suse.cz>
49220 Ulrich Drepper <drepper@gmail.com>
49223 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49224 (is_trusted_path): ...to here.
49225 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49226 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49227 using is_trusted_path_normalize() in setuid scripts.
49229 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49231 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49232 __BEGIN/__END_DECLS.
49234 2011-05-06 Ulrich Drepper <drepper@gmail.com>
49236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49237 NSS_STATUS_NOTFOUND if no record was found.
49239 2011-05-05 Andreas Schwab <schwab@redhat.com>
49241 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49242 (headers-not-in-tirpc): Remove rpc/netdb.h
49243 * resolv/netdb.h: Revert last change.
49245 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49247 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49248 circular dependency between libgcc.a and libc.a.
49250 2011-05-05 Andreas Schwab <schwab@redhat.com>
49252 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49253 * nis/Makefile: Don't install rpcsvc/*.
49254 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49255 instead of <rpc/types.h>.
49256 (MAXHOSTNAMELEN): Define.
49258 2011-05-03 Andreas Schwab <schwab@redhat.com>
49260 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49262 2011-04-28 Maciej Babinski <mbabinski@google.com>
49265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49266 gethostbyname4_r when IPv6 results are possible.
49268 2011-05-02 Ulrich Drepper <drepper@gmail.com>
49271 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49272 _PC_PIPE_BUF handling.
49274 2011-04-30 Bruno Haible <bruno@clisp.org>
49277 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49278 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49280 * inet/getnameinfo.c (getnameinfo): Likewise.
49282 2011-04-29 Ulrich Drepper <drepper@gmail.com>
49284 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49285 to groups setting in database lookup.
49286 * nss/nsswitch.conf: Add initgroups entry.
49288 2011-04-22 Ulrich Drepper <drepper@gmail.com>
49291 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49293 Patch by Eric Blake <eblake@redhat.com>.
49295 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49297 * sunrpc/Makefile (need-export-routines): Add svc_run.
49298 (routines): Remove svc_run.
49299 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49300 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49301 * sunrpc/svc_run.c (svc_run): Likewise.
49302 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49304 2011-04-21 Ulrich Drepper <drepper@gmail.com>
49306 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49307 problem in reallocation in last patch.
49309 2011-04-20 Ulrich Drepper <drepper@gmail.com>
49311 * sunrpc/Makefile: Move inclusion of Rules.
49313 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49315 * nss/nss_files/files-initgroups.c: New file.
49316 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49317 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49318 _nss_files_initgroups_dyn.
49320 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49322 * elf/elf.h (R_ARM_IRELATIVE): Define.
49324 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49326 * po/ru.po: Update from translation team.
49328 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49330 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49333 2011-02-06 Mike Frysinger <vapier@gentoo.org>
49336 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49337 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49338 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49339 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49340 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49342 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49344 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49346 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49347 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49348 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49350 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49353 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49355 * stdlib/bug-getcontext.c: New file.
49356 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49358 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49360 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49361 instructions into .machine "z9-109".
49362 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49363 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49365 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49367 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49368 between environment variables and auxiliary vector.
49370 2011-04-16 Ulrich Drepper <drepper@gmail.com>
49372 * Makefile: Add rules to build linkobj/libc.so.
49373 * include/libc-symbols.h: Define libc_hidden_nolink.
49374 * include/rpc/auth.h: Mark functions which are to be hidden.
49375 * include/rpc/auth_des.h: Likewise.
49376 * include/rpc/auth_unix.h: Likewise.
49377 * include/rpc/clnt.h: Likewise.
49378 * include/rpc/des_crypt.h: Likewise.
49379 * include/rpc/key_prot.h: Likewise.
49380 * include/rpc/pmap_clnt.h: Likewise.
49381 * include/rpc/pmap_prot.h: Likewise.
49382 * include/rpc/pmap_rmt.h: Likewise.
49383 * include/rpc/rpc_msg.h: Likewise.
49384 * include/rpc/svc.h: Likewise.
49385 * include/rpc/svc_auth.h: Likewise.
49386 * include/rpc/xdr.h: Likewise.
49387 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49388 * nss/Makefile: Likewise.
49389 * sunrpc/Makefile: Don't install headers. Build library with normal
49390 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49391 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49392 for the compat linking library. Remove use of INTDEF/INTUSE.
49393 * sunrpc/auth_none.c: Likewise.
49394 * sunrpc/auth_unix.c: Likewise.
49395 * sunrpc/authdes_prot.c: Likewise.
49396 * sunrpc/authuxprot.c: Likewise.
49397 * sunrpc/clnt_gen.c: Likewise.
49398 * sunrpc/clnt_perr.c: Likewise.
49399 * sunrpc/clnt_raw.c: Likewise.
49400 * sunrpc/clnt_simp.c: Likewise.
49401 * sunrpc/clnt_tcp.c: Likewise.
49402 * sunrpc/clnt_udp.c: Likewise.
49403 * sunrpc/clnt_unix.c: Likewise.
49404 * sunrpc/des_crypt.c: Likewise.
49405 * sunrpc/des_soft.c: Likewise.
49406 * sunrpc/get_myaddr.c: Likewise.
49407 * sunrpc/key_call.c: Likewise.
49408 * sunrpc/key_prot.c: Likewise.
49409 * sunrpc/netname.c: Likewise.
49410 * sunrpc/pm_getmaps.c: Likewise.
49411 * sunrpc/pm_getport.c: Likewise.
49412 * sunrpc/pmap_clnt.c: Likewise.
49413 * sunrpc/pmap_prot.c: Likewise.
49414 * sunrpc/pmap_prot2.c: Likewise.
49415 * sunrpc/pmap_rmt.c: Likewise.
49416 * sunrpc/publickey.c: Likewise.
49417 * sunrpc/rpc_cmsg.c: Likewise.
49418 * sunrpc/rpc_common.c: Likewise.
49419 * sunrpc/rpc_dtable.c: Likewise.
49420 * sunrpc/rpc_prot.c: Likewise.
49421 * sunrpc/rpc_thread.c: Likewise.
49422 * sunrpc/rtime.c: Likewise.
49423 * sunrpc/svc.c: Likewise.
49424 * sunrpc/svc_auth.c: Likewise.
49425 * sunrpc/svc_authux.c: Likewise.
49426 * sunrpc/svc_raw.c: Likewise.
49427 * sunrpc/svc_run.c: Likewise.
49428 * sunrpc/svc_simple.c: Likewise.
49429 * sunrpc/svc_tcp.c: Likewise.
49430 * sunrpc/svc_udp.c: Likewise.
49431 * sunrpc/svc_unix.c: Likewise.
49432 * sunrpc/svcauth_des.c: Likewise.
49433 * sunrpc/xcrypt.c: Likewise.
49434 * sunrpc/xdr.c: Likewise.
49435 * sunrpc/xdr_array.c: Likewise.
49436 * sunrpc/xdr_float.c: Likewise.
49437 * sunrpc/xdr_intXX_t.c: Likewise.
49438 * sunrpc/xdr_mem.c: Likewise.
49439 * sunrpc/xdr_rec.c: Likewise.
49440 * sunrpc/xdr_ref.c: Likewise.
49441 * sunrpc/xdr_sizeof.c: Likewise.
49442 * sunrpc/xdr_stdio.c: Likewise.
49444 2011-04-10 Ulrich Drepper <drepper@gmail.com>
49447 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49448 * sysdeps/ia64/dl-tls.h: Likewise.
49449 * sysdeps/powerpc/dl-tls.h: Likewise.
49450 * sysdeps/s390/dl-tls.h: Likewise.
49451 * sysdeps/sh/dl-tls.h: Likewise.
49452 * sysdeps/sparc/dl-tls.h: Likewise.
49453 * sysdeps/x86_64/dl-tls.h: Likewise.
49454 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49456 2011-03-14 Andreas Schwab <schwab@redhat.com>
49458 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49459 rpath element also skip the following colon.
49460 (expand_dynamic_string_token): Add is_path parameter and pass
49461 down to DL_DST_REQUIRED and _dl_dst_substitute.
49462 (decompose_rpath): Call expand_dynamic_string_token with
49463 non-zero is_path. Ignore empty rpaths.
49464 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49467 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49472 2011-04-09 Ulrich Drepper <drepper@gmail.com>
49475 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49476 Patch by Filipe David Manana <fdmanana@apache.org>.
49478 2011-04-07 Andreas Schwab <schwab@redhat.com>
49480 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49481 Maintain aligned stack.
49482 (CHECK_RSP): Remove unused macro.
49484 2011-04-03 Ulrich Drepper <drepper@gmail.com>
49486 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49487 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49489 2011-04-02 Ulrich Drepper <drepper@gmail.com>
49491 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49493 * include/features.h: Mention __USE_XOPEN2K8 in comment.
49495 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49498 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49499 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49500 * sysdeps/x86_64/memmove.c: New file.
49501 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49502 (memcpy): Renamed to ...
49503 (__new_memcpy): This.
49504 (memcpy): Provide GLIBC_2_14 memcpy.
49505 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49506 (memcpy): Provide GLIBC_2_2_5 memcpy.
49508 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49511 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49513 2011-03-30 Andreas Schwab <schwab@redhat.com>
49515 * misc/syncfs.c: New file.
49516 * misc/Makefile (routines): Add syncfs.
49517 * posix/unistd.h: Declare syncfs.
49518 * sysdeps/unix/syscalls.list: Add syncfs.
49520 2011-04-01 Andreas Schwab <schwab@redhat.com>
49522 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49524 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49525 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49526 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49527 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49528 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49529 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49532 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49534 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49535 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49536 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49537 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49538 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49542 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49543 sync_file_range.c with -fexceptions.
49544 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49545 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49546 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49547 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49548 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49549 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49550 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49551 sync_file_range as cancellation point
49552 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49553 now a wrapper around __call_sync_file_range with cancellation handling.
49554 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49555 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49556 function name to __call_sync_file_range.
49557 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49558 Add call_sync_file_range.
49560 2011-04-01 Andreas Schwab <schwab@redhat.com>
49562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49565 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49567 * iconv/iconv.h: Fix typo in comment.
49568 * io/fcntl.h: Likewise.
49569 * libio/stdio.h: Likewise.
49570 * posix/spawn.h: Likewise.
49571 * posix/unistd.h: Likewise.
49572 * stdlib/stdlib.h: Likewise.
49573 * time/time.h: Likewise.
49574 * wcsmbs/wchar.h: Likewise.
49576 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49577 open_by_handle): Add.
49578 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49579 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49580 Augment a few comments.
49581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49583 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49585 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49586 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49589 * io/fcntl.h (AT_EMPTY_PATH): Define.
49591 2011-03-30 Ulrich Drepper <drepper@gmail.com>
49593 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49594 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49595 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49597 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
49598 * Versions.def: Add GLIBC_2.14.
49599 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49602 2011-03-22 Ulrich Drepper <drepper@gmail.com>
49604 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49606 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49608 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49611 * string/test-strncmp.c (do_page_test): New function.
49612 (check2): Likewise.
49613 (test_main): Call check2.
49614 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49616 2011-03-20 Ulrich Drepper <drepper@gmail.com>
49619 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49620 Handle cache information in CPU leaf 4.
49621 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49623 2011-03-18 Ulrich Drepper <drepper@gmail.com>
49626 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49627 character representation.
49628 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49630 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49632 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49633 END(__isnan) to END(__isnanf) to match function entry point/label
49634 EALIGN(__isnanf,...).
49636 2011-03-10 Jakub Jelinek <jakub@redhat.com>
49638 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49640 2011-03-10 Ulrich Drepper <drepper@gmail.com>
49643 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49644 copy from the symbol referenced in the relocation to initialize the
49646 Patch by Piotr Bury <pbury@goahead.com>.
49647 * elf/Makefile: Add rules to build and tst-unique3.
49648 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49649 * elf/tst-unique3.cc: New file.
49650 * elf/tst-unique3.h: New file.
49651 * elf/tst-unique3lib.cc: New file.
49652 * elf/tst-unique3lib2.cc: New file.
49654 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49656 2011-03-10 Mike Frysinger <vapier@gentoo.org>
49658 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49659 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49662 2011-03-06 Ulrich Drepper <drepper@gmail.com>
49664 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49665 to-be-loaded object along a path to loader is ld.so.
49667 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49668 Ulrich Drepper <drepper@gmail.com>
49670 * sysdeps/x86_64/memset.S: After aligning destination, code
49671 branches to different locations depending on the value of
49672 misalignment, when multiarch is enabled. Fix this.
49674 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49676 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49677 Set _x86_64_preferred_memory_instruction for AMD processsors.
49678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49679 Set bit_Prefer_SSE_for_memop for AMD processors.
49681 2011-03-04 Ulrich Drepper <drepper@gmail.com>
49683 * libio/fmemopen.c (fmemopen): Optimize a bit.
49685 2011-03-03 Andreas Schwab <schwab@redhat.com>
49687 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49689 2011-03-03 Roland McGrath <roland@redhat.com>
49691 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49693 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49695 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
49696 __bzero_ultra1 instead of __memset_ultra1.
49698 2011-02-23 Andreas Schwab <schwab@redhat.com>
49699 Ulrich Drepper <drepper@gmail.com>
49702 * include/link.h (struct link_map): Add l_orig_initfini.
49703 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49704 returning unsuccessfully.
49705 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49706 close of a file loaded at startup, restore the original l_initfini
49708 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49709 list, store the pointer.
49710 * elf/Makefile ($(objpfx)noload-mem): New rule.
49711 (noload-ENV): Define.
49712 (tests): Add $(objpfx)noload-mem.
49713 * elf/noload.c: Include <memcheck.h>.
49714 (main): Call mtrace. Close all opened handles.
49716 2011-02-17 Andreas Schwab <schwab@redhat.com>
49719 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49720 dependencies are missing.
49722 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49724 Fix __if_freereq crash: Unlike the generic version which uses free,
49726 * sysdeps/mach/hurd/ifreq.h: New file.
49728 2011-01-27 Petr Baudis <pasky@suse.cz>
49729 Ulrich Drepper <drepper@gmail.com>
49732 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49733 to extend_alloca().
49734 * stdio-common/bug23.c: New file.
49735 * stdio-common/Makefile (tests): Add bug23.
49737 2010-09-28 Andreas Schwab <schwab@redhat.com>
49738 Ulrich Drepper <drepper@gmail.com>
49741 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49742 before performing relro protection. At old place add assertion
49743 to make sure nothing changed.
49745 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49746 Glauber de Oliveira Costa <glommer@gmail.com>
49748 * elf/elf.h: Add new ARM TLS relocs.
49750 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49753 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49755 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49757 * sysdeps/wordsize-64/tst-writev.c: New file.
49759 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49761 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49762 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49763 insns in _dl_start to prevent a TOC reference before relocs are
49766 2011-02-15 Ulrich Drepper <drepper@gmail.com>
49769 * Makeconfig: Remove RANLIB definition.
49770 * Makerules: Don't use RANLIB.
49771 * aclocal.m4: Remove ranlib test.
49772 * configure.in: No need to check for ranlib.
49773 * elf/rtld-Rules: Don't use RANLIB.
49775 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49777 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49779 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49780 inclusion protection macro.
49782 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49783 SIGRTMIN and SIGRTMAX and print information in that case only when
49784 SIGRTMIN is defined.
49786 2011-02-11 Jakub Jelinek <jakub@redhat.com>
49788 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49789 arginfo fn returning -1.
49791 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49792 and thousands string is zero terminated.
49794 2011-02-03 Andreas Schwab <schwab@redhat.com>
49796 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49797 sysdeps/unix/sysv/linux/bits/socket.h.
49799 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49801 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49802 (__CPU_COUNT): Remove old macros.
49803 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49804 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49805 (__CPU_ALLOC, __CPU_FREE): Add macros.
49806 (__sched_cpualloc, __sched_cpufree): Add declarations.
49808 2011-02-05 Ulrich Drepper <drepper@gmail.com>
49810 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49811 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49812 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49813 (readdhstai): Return value of addhstaiX call.
49814 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49815 (addgrbyX): Return value returned by cache_addgr.
49816 (readdgrbyname): Return value returned by addgrbyX.
49817 (readdgrbygid): Likewise.
49818 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49819 (addpwbyX): Return value returned by cache_addpw.
49820 (readdpwbyname): Return value returned by addhstbyX.
49821 (readdpwbyuid): Likewise.
49822 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49823 (addservbyX): Return value returned by cache_addserv.
49824 (readdservbyname): Return value returned by addservbyX:
49825 (readdservbyport): Likewise.
49826 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49827 (addhstbyX): Return value returned by cache_addhst.
49828 (readdhstbyname): Return value returned by addhstbyX.
49829 (readdhstbyaddr): Likewise.
49830 (readdhstbynamev6): Likewise.
49831 (readdhstbyaddrv6): Likewise.
49832 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49833 (readdinitgroups): Return value returned by addinitgroupsX.
49834 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49835 (prune_cache): Keep track of timeout value of re-added entries.
49836 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49837 * nscd/nscd.h: Adjust prototypes of readd* functions.
49839 2011-02-04 Roland McGrath <roland@redhat.com>
49841 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49842 (nis_stats): Likewise.
49843 * nis/nis_modify.c (nis_modify): Likewise.
49844 * nis/nis_remove.c (nis_remove): Likewise.
49845 * nis/nis_add.c (nis_add): Likewise.
49847 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49849 * posix/fnmatch_loop.c: Add some consts.
49851 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49853 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49856 * config.make.in (config-cflags-novzeroupper): Define.
49857 * configure.in: Substitute libc_cv_cc_novzeroupper.
49858 * elf/Makefile (AVX-CFLAGS): Define.
49859 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49860 (CFLAGS-tst-auditmod4a.c): Likewise.
49861 (CFLAGS-tst-auditmod4b.c): Likewise.
49862 (CFLAGS-tst-auditmod6b.c): Likewise.
49863 (CFLAGS-tst-auditmod6c.c): Likewise.
49864 (CFLAGS-tst-auditmod7b.c): Likewise.
49865 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49867 2011-02-02 Ulrich Drepper <drepper@gmail.com>
49869 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49870 function to the callback.
49871 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49873 2011-02-02 Andreas Schwab <schwab@redhat.com>
49875 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49878 2011-01-19 Ulrich Drepper <drepper@gmail.com>
49881 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49883 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49885 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49888 * elf/Makefile: Add rules to build and run new test.
49889 * elf/tst-initorder.c: New file.
49890 * elf/tst-initorder.exp: New file.
49891 * elf/tst-initordera1.c: New file.
49892 * elf/tst-initordera2.c: New file.
49893 * elf/tst-initordera3.c: New file.
49894 * elf/tst-initordera4.c: New file.
49895 * elf/tst-initorderb1.c: New file.
49896 * elf/tst-initorderb2.c: New file.
49897 * elf/tst-order-a1.c: New file.
49898 * elf/tst-order-a2.c: New file.
49899 * elf/tst-order-a3.c: New file.
49900 * elf/tst-order-a4.c: New file.
49901 * elf/tst-order-b1.c: New file.
49902 * elf/tst-order-b2.c: New file.
49903 * elf/tst-order-main.c: New file.
49904 New test case by George Gensure <werkt0@gmail.com>.
49906 2010-10-01 Andreas Schwab <schwab@redhat.com>
49908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49909 decoding ACE if AI_CANONIDN.
49911 2011-01-18 Ulrich Drepper <drepper@gmail.com>
49913 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49915 2011-01-17 Ulrich Drepper <drepper@gmail.com>
49917 * version.h (RELEASE): Bump for 2.13 release.
49918 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49920 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49922 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49924 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49925 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49926 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49927 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49928 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49929 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49931 * posix/getconf.c: Update copyright year.
49932 * catgets/gencat.c: Likewise.
49933 * csu/version.c: Likewise.
49934 * debug/catchsegv.sh: Likewise.
49935 * debug/xtrace.sh: Likewise.
49936 * elf/ldconfig.c: Likewise.
49937 * elf/ldd.bash.in: Likewise.
49938 * elf/sprof.c (print_version): Likewise.
49939 * iconv/iconv_prog.c: Likewise.
49940 * iconv/iconvconfig.c: Likewise.
49941 * locale/programs/locale.c: Likewise.
49942 * locale/programs/localedef.c: Likewise.
49943 * malloc/memusage.sh: Likewise.
49944 * malloc/mtrace.pl: Likewise.
49945 * nscd/nscd.c (print_version): Likewise.
49946 * nss/getent.c: Likewise.
49948 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49949 PF_CAIF, and PF_ALG.
49950 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49952 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
49954 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49955 (modules-names): Use them.
49956 (ifunc-test-modules, ifunc-pie-tests): Define.
49957 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49958 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49959 (test-extras): Likewise.
49960 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49961 $(compile-command.c).
49962 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49963 (all-built-dso): Define.
49964 (check-textrel.out, check-execstack.out): Depend on it.
49966 * configure.in: Don't override --enable-multi-arch.
49968 2011-01-15 Ulrich Drepper <drepper@gmail.com>
49971 * nscd/hstcache.c (tryagain): Define.
49972 (cache_addhst): Return tryagain not notfound for temporary errors.
49973 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49976 2011-01-14 Ulrich Drepper <drepper@gmail.com>
49979 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49980 to make the syscall.
49981 * sysdeps/unix/sysv/linux/setgroups.c: New file.
49984 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49985 and fall back to matching as normal character if the string ends before
49986 the matching ']' is found. This is what POSIX requires.
49987 * posix/testfnm.c: Adjust test result.
49988 * posix/globtest.sh: Adjust test result. Add new test.
49989 * posix/tst-fnmatch.input: Likewise.
49990 * posix/tst-fnmatch2.c: Add new test.
49992 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
49994 * elf/Makefile (check-execstack): Revert last change. Depend on
49996 (check-execstack.h): New target.
49997 (generated): Add check-execstack.h.
49998 * elf/check-execstack.c: Include "check-execstack.h".
49999 (main): Revert last change.
50000 (handle_file): Return zero if GNU_STACK is absent and
50001 DEFAULT_STACK_PERMS doesn't include PF_X.
50003 2011-01-13 Ulrich Drepper <drepper@gmail.com>
50005 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50006 in child fails because the descriptor is already closed.
50007 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50008 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50009 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50012 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50016 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50017 temporary buffer used to handle multi lookups locally.
50018 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50020 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50022 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50025 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50027 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50028 alignment for SSE2.
50030 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50033 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50034 characters. When rounding increased number of integer digits recompute
50036 * stdio-common/tst-grouping.c: New file.
50037 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50039 2011-01-09 Ulrich Drepper <drepper@gmail.com>
50041 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50042 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50044 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50046 * bits/select.h: Likewise.
50048 2011-01-08 Ulrich Drepper <drepper@gmail.com>
50050 * po/ja.po: Update from translation team.
50052 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
50055 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50056 implementation just like for lxstat, fxstatat, et al.
50058 2010-12-27 Jim Meyering <meyering@redhat.com>
50061 * posix/regexec.c (build_trtable): Return failure indication upon
50062 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50064 2010-12-25 Ulrich Drepper <drepper@gmail.com>
50067 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50068 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50069 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50070 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50073 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50076 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50077 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50079 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50081 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50082 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50083 script has SORT_BY_INIT_PRIORITY.
50084 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50085 NO_CTORS_DTORS_SECTIONS is defined.
50086 * elf/soinit.c: Likewise.
50087 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50088 NO_CTORS_DTORS_SECTIONS is defined.
50089 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50090 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50091 * sysdeps/sh/init-first.c: Likewise.
50092 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50094 2010-12-24 Ulrich Drepper <drepper@gmail.com>
50096 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50097 always use the slow path.
50099 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50101 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50102 similar rule which adds the sysdep directories to the header search in
50103 order to pick up the correct platform stackinfo.h.
50104 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50105 perform test if it is, otherwise return successfully without testing.
50106 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50107 DEFAULT_STACK_PERMS define in stackinfo.h.
50108 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50109 defined in stackinfo.h.
50110 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50111 DEFAULT_STACK_PERMS defined in stackinfo.h.
50112 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50113 * sysdeps/ia64/stackinfo.h: Likewise.
50114 * sysdeps/s390/stackinfo.h: Likewise.
50115 * sysdeps/sh/stackinfo.h: Likewise.
50116 * sysdeps/sparc/stackinfo.h: Likewise.
50117 * sysdeps/x86_64/stackinfo.h: Likewise.
50118 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50119 PF_X for powerpc64. Retain PF_X for powerpc32.
50121 2010-12-19 Ulrich Drepper <drepper@gmail.com>
50123 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50125 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50126 GETDENTS_64BIT_ALIGNED.
50128 2010-12-14 Ulrich Drepper <dreper@gmail.com>
50130 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50132 2010-12-10 Andreas Schwab <schwab@redhat.com>
50134 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50137 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50138 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50140 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50141 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50143 2010-12-09 Ulrich Drepper <drepper@gmail.com>
50146 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50149 2010-12-09 Jakub Jelinek <jakub@redhat.com>
50151 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50153 2010-12-03 Ulrich Drepper <drepper@gmail.com>
50155 * po/it.po: Update from translation team.
50157 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50159 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50162 2010-11-30 Ulrich Drepper <drepper@gmail.com>
50164 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50166 2010-11-24 Andreas Schwab <schwab@redhat.com>
50168 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50170 (gaih_getanswer_slice): Likewise.
50172 2010-10-20 Jakub Jelinek <jakub@redhat.com>
50174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50176 2010-05-31 Petr Baudis <pasky@suse.cz>
50179 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50180 silently even in the chroot mode.
50182 2010-11-22 Ulrich Drepper <drepper@gmail.com>
50184 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50185 last patch a bit. Pretty printing
50187 2010-05-31 Petr Baudis <pasky@suse.cz>
50190 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50191 initialization of skip_initgroups_dyn.
50193 2010-11-19 Ulrich Drepper <drepper@gmail.com>
50195 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50196 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50198 2010-11-16 Ulrich Drepper <drepper@gmail.com>
50200 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50202 2010-11-11 Andreas Schwab <schwab@redhat.com>
50204 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50205 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50206 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50207 ($(objpfx)tst-fnmatch-mem): New rule.
50208 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50209 * posix/tst-fnmatch.c (main): Call mtrace.
50211 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50214 Support Intel processor model 6 and model 0x2c.
50216 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
50218 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50221 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50224 * string/test-strncasecmp.c (check_result): New function.
50225 (do_one_test): Use it.
50226 (check1): New function.
50227 (test_main): Use it.
50228 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50229 Support strcasecmp and strncasecmp.
50231 2010-11-08 Ulrich Drepper <drepper@gmail.com>
50234 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50237 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50239 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50243 * sysdeps/x86_64/multiarch/bzero.S: New file.
50244 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50245 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50246 * sysdeps/x86_64/multiarch/memset.S: New file.
50247 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50249 Set bit_Prefer_SSE_for_memop for Intel processors.
50250 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50252 (index_Prefer_SSE_for_memop): Define.
50253 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50255 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
50257 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50258 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50260 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50263 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50264 (__x86_64_raw_data_cache_size_half): Likewise.
50265 (__x86_64_raw_shared_cache_size): Likewise.
50266 (__x86_64_raw_shared_cache_size_half): Likewise.
50268 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50269 (__x86_64_raw_data_cache_size_half): Likewise.
50270 (__x86_64_raw_shared_cache_size): Likewise.
50271 (__x86_64_raw_shared_cache_size_half): Likewise.
50272 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50273 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50274 and __x86_64_raw_shared_cache_size_half. Round
50275 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50276 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50277 to multiple of 256 bytes.
50279 2010-11-03 Ulrich Drepper <drepper@gmail.com>
50282 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50283 of inacessible symlinks. Verify result of symlink before returning it.
50284 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50285 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50287 2010-10-28 Erich Ritz <erichritz@gmail.com>
50289 * math/math.h (isinf): Fix typo in comment.
50291 2010-11-01 Ulrich Drepper <drepper@gmail.com>
50293 * po/da.po: Update from translation team.
50295 2010-10-26 Ulrich Drepper <drepper@gmail.com>
50297 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50298 is added to the list.
50300 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50301 Ulrich Drepper <drepper@gmail.com>
50303 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50304 the global list here. Move code to...
50305 (_dl_add_to_namespace_list): ...here. New function.
50306 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50307 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50308 * elf/dl-load.c (lose): Don't remove the element from the list.
50309 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50310 (_dl_map_object): Likewise.
50312 2010-10-25 Ulrich Drepper <drepper@gmail.com>
50315 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50316 into all bytes of SSE register.
50317 Patch by Richard Li <richardpku@gmail.com>.
50319 2010-10-24 Ulrich Drepper <drepper@gmail.com>
50322 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50325 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50327 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50328 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50329 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50330 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50335 2010-10-22 Andreas Schwab <schwab@redhat.com>
50337 * include/dlfcn.h (__RTLD_SECURE): Define.
50338 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50339 mode & __RTLD_SECURE instead.
50340 (open_path): Rename preloaded parameter to secure.
50341 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50342 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50343 * elf/dl-deps.c (openaux): Likewise.
50344 * elf/rtld.c (struct map_args): Remove is_preloaded.
50345 (map_doit): Don't use it.
50346 (dl_main): Likewise.
50347 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50348 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50350 2010-09-09 Andreas Schwab <schwab@redhat.com>
50352 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50353 (sysd-rules-targets): Remove duplicates.
50354 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50355 rtld-%.$o dependency.
50357 2010-10-18 Andreas Schwab <schwab@redhat.com>
50359 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50360 _dl_map_object do it.
50362 2010-10-19 Ulrich Drepper <drepper@gmail.com>
50364 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50365 fast fma builtins, define the macros in the C99 standard.
50366 (FP_FAST_FMAF): Likewise.
50367 (FP_FAST_FMAL): Likewise.
50368 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50370 * bits/mathdef.h: Update copyright year.
50371 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50373 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50375 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50376 builtins, define the macros in the C99 standard.
50377 (FP_FAST_FMAF): Likewise.
50378 (FP_FAST_FMAL): Likewise.
50379 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50381 (FP_FAST_FMAF): Likewise.
50383 2010-10-15 Jakub Jelinek <jakub@redhat.com>
50386 * math/libm-test.inc (fma_test): Some new testcases.
50387 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50388 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50389 y and infinite z. Do multiplication by C already in long double.
50390 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50392 y and infinite z. Do bitwise or of inexact bit into u.d.
50393 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50394 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50395 * sysdeps/i386/fpu/s_fma.S: Removed.
50396 * sysdeps/i386/fpu/s_fmal.S: Removed.
50398 2010-10-16 Jakub Jelinek <jakub@redhat.com>
50401 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50403 computation is not scheduled after fetestexcept. Fix value
50404 of minimum denormal long double.
50406 2010-10-14 Jakub Jelinek <jakub@redhat.com>
50409 * math/libm-test.inc (fma_test): Add some more tests.
50410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50413 2010-10-15 Andreas Schwab <schwab@redhat.com>
50415 * scripts/data/localplt-s390-linux-gnu.data: New file.
50416 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50418 2010-10-13 Jakub Jelinek <jakub@redhat.com>
50421 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50422 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50424 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50426 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50428 if one of x and y is very large and the other is subnormal.
50429 * sysdeps/s390/fpu/s_fmaf.c: New file.
50430 * sysdeps/s390/fpu/s_fma.c: New file.
50431 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50432 * sysdeps/powerpc/fpu/s_fma.S: New file.
50433 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50434 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50435 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50437 2010-10-12 Jakub Jelinek <jakub@redhat.com>
50440 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50442 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50443 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50444 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50445 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50446 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50447 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50448 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50450 2010-10-12 Ulrich Drepper <drepper@redhat.com>
50453 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50454 * posix/bug-regex31.input: Add test case.
50456 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50458 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50459 * posix/bug-regex31.input: New file.
50462 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50463 (parse_sub_exp): Fix last change, use postorder.
50465 * posix/bug-regex31.c: New file.
50466 * posix/Makefile: Add rules to build and run bug-regex31.
50468 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50471 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50474 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50475 to have entries in sys_siglist.
50478 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50481 2010-10-07 Jakub Jelinek <jakub@redhat.com>
50484 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50485 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50486 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50487 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50488 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50489 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50490 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50491 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50492 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50493 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50494 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50495 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50496 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50497 * math/ftestexcept.c (fetestexcept): Likewise.
50498 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50499 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50500 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50501 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50502 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50503 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50504 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50506 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50509 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50512 2010-10-06 Ulrich Drepper <drepper@gmail.com>
50514 * string/bug-strstr1.c: New file.
50515 * string/Makefile: Add rules to build and run bug-strstr1.
50517 2010-10-05 Eric Blake <eblake@redhat.com>
50520 * string/str-two-way.h (two_way_long_needle): Always clear memory
50521 when skipping input due to the shift table.
50523 2010-10-03 Ulrich Drepper <drepper@gmail.com>
50526 * malloc/mcheck.c: Handle large requests.
50529 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50530 for strncmp and strncasecmp.
50531 * string/stratcliff.c: Add tests for strcmp and strncmp.
50532 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50534 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50536 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50539 2010-09-30 Andreas Jaeger <aj@suse.de>
50541 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50542 (CGROUP_SUPER_MAGIC): Define.
50543 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50544 Handle btrfs and cgroup file systems.
50545 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50548 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
50550 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50551 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50553 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50556 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50557 trying to locate the ELF header.
50559 2010-09-27 Andreas Schwab <schwab@redhat.com>
50562 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50563 Mask out sign-bit copies when constructing f_fsid.
50565 2010-09-24 Petr Baudis <pasky@suse.cz>
50567 * debug/stack_chk_fail_local.c: Add missing licence exception.
50568 * debug/warning-nop.c: Likewise.
50570 2010-09-15 Joseph Myers <joseph@codesourcery.com>
50572 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50573 implementing getdents64 using getdents syscall, set d_type if
50574 __ASSUME_GETDENTS32_D_TYPE.
50576 2010-09-16 Andreas Schwab <schwab@redhat.com>
50578 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50579 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50581 2010-09-21 Ulrich Drepper <drepper@redhat.com>
50584 * posix/unistd.h: Undo change of feature selection for ftruncate from
50587 2010-09-20 Ulrich Drepper <drepper@redhat.com>
50589 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50592 2010-09-20 Andreas Schwab <schwab@redhat.com>
50594 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50596 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50598 2010-09-14 Andreas Schwab <schwab@redhat.com>
50600 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50601 variables after CHECK_SP call.
50602 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50604 2010-09-13 Andreas Schwab <schwab@redhat.com>
50605 Ulrich Drepper <drepper@redhat.com>
50607 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50608 re-relocationg ld.so.
50609 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50610 _dl_init_paths call.
50611 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50614 2010-09-14 Ulrich Drepper <drepper@redhat.com>
50616 * resolv/res_init.c (__res_vinit): Count the default server we added.
50618 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50619 Ulrich Drepper <drepper@redhat.com>
50622 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50623 (____longjmp_chk): Use %ebx for saving value across system call.
50626 2010-09-06 Andreas Schwab <schwab@redhat.com>
50628 * manual/Makefile: Don't mix pattern rules with normal rules.
50630 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50632 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50634 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50635 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50636 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50637 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50638 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50641 2010-09-04 Ulrich Drepper <drepper@redhat.com>
50644 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50645 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50647 2010-09-02 Ulrich Drepper <drepper@redhat.com>
50649 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50650 * sysdeps/x86_64/addmul_1.S: Likewise.
50651 * sysdeps/x86_64/lshift.S: Likewise.
50652 * sysdeps/x86_64/mul_1.S: Likewise.
50653 * sysdeps/x86_64/rshift.S: Likewise.
50654 * sysdeps/x86_64/sub_n.S: Likewise.
50655 * sysdeps/x86_64/submul_1.S: Likewise.
50657 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50659 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50660 Define __sched_param instead of SCHED_* and sched_param when
50661 <bits/sched.h> is included with __need_schedparam defined.
50662 * bits/sched.h [__need_schedparam]
50663 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
50664 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50665 (__defined_schedparam): Define to 1.
50666 (__sched_param): New structure, identical to sched_param.
50667 (__need_schedparam): Undefine.
50669 2010-08-31 Mike Frysinger <vapier@gentoo.org>
50671 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50672 (epoll_create1): Declare.
50674 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50676 2010-08-31 Andreas Schwab <schwab@redhat.com>
50679 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50680 shifting retval into place.
50682 2010-09-01 Ulrich Drepper <drepper@redhat.com>
50684 * nis/rpcsvc/nis.h: Update copyright notice.
50685 * nis/rpcsvc/nis.x: Likewise.
50686 * nis/rpcsvc/nis_callback.h: Likewise.
50687 * nis/rpcsvc/nis_callback.x: Likewise.
50688 * nis/rpcsvc/nis_object.x: Likewise.
50689 * nis/rpcsvc/nis_tags.h: Likewise.
50690 * nis/rpcsvc/yp.h: Likewise.
50691 * nis/rpcsvc/yp.x: Likewise.
50692 * nis/rpcsvc/ypupd.h: Likewise.
50693 * nis/yp_xdr.c: Likewise.
50694 * nis/ypupdate_xdr.c: Likewise.
50696 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50697 mainly the body of pmap_getport. Add parameters to specify timeouts.
50698 (pmap_getport): Use __libc_rpc_getport.
50699 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50700 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50701 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50703 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50708 2010-08-27 Roland McGrath <roland@redhat.com>
50710 * sysdeps/i386/i686/multiarch/Makefile
50711 (CFLAGS-varshift.c): New variable.
50713 2010-08-27 Ulrich Drepper <drepper@redhat.com>
50715 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50716 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50718 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50720 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50722 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50724 * sysdeps/x86_64/strlen.S: Unroll the loop.
50725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50726 strlen-sse2 strlen-sse2-bsf.
50727 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50728 __strlen_no_bsf if bit_Slow_BSF is set.
50729 (__strlen_sse42): Removed.
50730 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50731 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50733 2010-08-25 Roland McGrath <roland@redhat.com>
50735 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50736 * sysdeps/x86_64/multiarch/varshift.c: New file.
50737 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50738 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50739 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50740 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50742 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50744 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50745 strlen-sse2 strlen-sse2-bsf.
50746 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50747 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50748 (__strlen_sse2): Removed.
50749 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50750 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50752 bit_Slow_BSF for Atom.
50753 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50754 (index_Slow_BSF): Define.
50755 (HAS_SLOW_BSF): Define.
50757 2010-08-25 Ulrich Drepper <drepper@redhat.com>
50760 * resolv/res_init.c (__res_vinit): When no server address at all
50761 is given default to loopback.
50763 2010-08-24 Roland McGrath <roland@redhat.com>
50765 * configure.in: Remove config-name.h generation.
50766 * configure: Regenerated.
50767 * config-name.in: File removed.
50768 * scripts/config-uname.sh: New file.
50769 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50770 ($(objdir)config-name.h): New target.
50772 * sunrpc/rpc_parse.h: Avoid nested comment.
50774 2010-08-24 Richard Henderson <rth@redhat.com>
50775 Ulrich Drepper <drepper@redhat.com>
50776 H.J. Lu <hongjiu.lu@intel.com>
50778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50780 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50781 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50782 _mm_alignr_epi8 with _mm_loadu_si128.
50783 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50784 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50785 (__m128i_shift_right): Removed.
50786 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50787 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50788 * sysdeps/x86_64/multiarch/varshift.h: New file.
50789 * sysdeps/x86_64/multiarch/varshift.S: New file.
50791 2010-08-21 Mike Frysinger <vapier@gentoo.org>
50793 * configure.in: Move assembler checks to before sysdep dir checking.
50795 2010-08-20 Petr Baudis <pasky@suse.cz>
50797 * LICENSES: Sync the sunrpc license.
50799 2010-08-19 Ulrich Drepper <drepper@redhat.com>
50801 * sunrpc/auth_des.c: Update copyright notice once again.
50802 * sunrpc/auth_none.c: Likewise.
50803 * sunrpc/auth_unix.c: Likewise.
50804 * sunrpc/authdes_prot.c: Likewise.
50805 * sunrpc/authuxprot.c: Likewise.
50806 * sunrpc/bindrsvprt.c: Likewise.
50807 * sunrpc/clnt_gen.c: Likewise.
50808 * sunrpc/clnt_perr.c: Likewise.
50809 * sunrpc/clnt_raw.c: Likewise.
50810 * sunrpc/clnt_simp.c: Likewise.
50811 * sunrpc/clnt_tcp.c: Likewise.
50812 * sunrpc/clnt_udp.c: Likewise.
50813 * sunrpc/clnt_unix.c: Likewise.
50814 * sunrpc/des_crypt.c: Likewise.
50815 * sunrpc/des_soft.c: Likewise.
50816 * sunrpc/get_myaddr.c: Likewise.
50817 * sunrpc/getrpcport.c: Likewise.
50818 * sunrpc/key_call.c: Likewise.
50819 * sunrpc/key_prot.c: Likewise.
50820 * sunrpc/openchild.c: Likewise.
50821 * sunrpc/pm_getmaps.c: Likewise.
50822 * sunrpc/pm_getport.c: Likewise.
50823 * sunrpc/pmap_clnt.c: Likewise.
50824 * sunrpc/pmap_prot.c: Likewise.
50825 * sunrpc/pmap_prot2.c: Likewise.
50826 * sunrpc/pmap_rmt.c: Likewise.
50827 * sunrpc/rpc/auth.h: Likewise.
50828 * sunrpc/rpc/auth_unix.h: Likewise.
50829 * sunrpc/rpc/clnt.h: Likewise.
50830 * sunrpc/rpc/des_crypt.h: Likewise.
50831 * sunrpc/rpc/key_prot.h: Likewise.
50832 * sunrpc/rpc/netdb.h: Likewise.
50833 * sunrpc/rpc/pmap_clnt.h: Likewise.
50834 * sunrpc/rpc/pmap_prot.h: Likewise.
50835 * sunrpc/rpc/pmap_rmt.h: Likewise.
50836 * sunrpc/rpc/rpc.h: Likewise.
50837 * sunrpc/rpc/rpc_des.h: Likewise.
50838 * sunrpc/rpc/rpc_msg.h: Likewise.
50839 * sunrpc/rpc/svc.h: Likewise.
50840 * sunrpc/rpc/svc_auth.h: Likewise.
50841 * sunrpc/rpc/types.h: Likewise.
50842 * sunrpc/rpc/xdr.h: Likewise.
50843 * sunrpc/rpc_clntout.c: Likewise.
50844 * sunrpc/rpc_cmsg.c: Likewise.
50845 * sunrpc/rpc_common.c: Likewise.
50846 * sunrpc/rpc_cout.c: Likewise.
50847 * sunrpc/rpc_dtable.c: Likewise.
50848 * sunrpc/rpc_hout.c: Likewise.
50849 * sunrpc/rpc_main.c: Likewise.
50850 * sunrpc/rpc_parse.c: Likewise.
50851 * sunrpc/rpc_parse.h: Likewise.
50852 * sunrpc/rpc_prot.c: Likewise.
50853 * sunrpc/rpc_sample.c: Likewise.
50854 * sunrpc/rpc_scan.c: Likewise.
50855 * sunrpc/rpc_scan.h: Likewise.
50856 * sunrpc/rpc_svcout.c: Likewise.
50857 * sunrpc/rpc_tblout.c: Likewise.
50858 * sunrpc/rpc_util.c: Likewise.
50859 * sunrpc/rpc_util.h: Likewise.
50860 * sunrpc/rpcinfo.c: Likewise.
50861 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50862 * sunrpc/rpcsvc/key_prot.x: Likewise.
50863 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50864 * sunrpc/rpcsvc/mount.x: Likewise.
50865 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50866 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50867 * sunrpc/rpcsvc/rex.x: Likewise.
50868 * sunrpc/rpcsvc/rstat.x: Likewise.
50869 * sunrpc/rpcsvc/rusers.x: Likewise.
50870 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50871 * sunrpc/rpcsvc/spray.x: Likewise.
50872 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50873 * sunrpc/rtime.c: Likewise.
50874 * sunrpc/svc.c: Likewise.
50875 * sunrpc/svc_auth.c: Likewise.
50876 * sunrpc/svc_authux.c: Likewise.
50877 * sunrpc/svc_raw.c: Likewise.
50878 * sunrpc/svc_run.c: Likewise.
50879 * sunrpc/svc_simple.c: Likewise.
50880 * sunrpc/svc_tcp.c: Likewise.
50881 * sunrpc/svc_udp.c: Likewise.
50882 * sunrpc/svc_unix.c: Likewise.
50883 * sunrpc/svcauth_des.c: Likewise.
50884 * sunrpc/xcrypt.c: Likewise.
50885 * sunrpc/xdr.c: Likewise.
50886 * sunrpc/xdr_array.c: Likewise.
50887 * sunrpc/xdr_float.c: Likewise.
50888 * sunrpc/xdr_mem.c: Likewise.
50889 * sunrpc/xdr_rec.c: Likewise.
50890 * sunrpc/xdr_ref.c: Likewise.
50891 * sunrpc/xdr_sizeof.c: Likewise.
50892 * sunrpc/xdr_stdio.c: Likewise.
50894 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50897 2010-08-19 Andreas Schwab <schwab@redhat.com>
50899 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50901 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
50903 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50904 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50905 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50906 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50907 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50908 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50909 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50910 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50911 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50912 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50913 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50914 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50915 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50916 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50918 2010-07-26 Anton Blanchard <anton@samba.org>
50920 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50921 * malloc/arena.c (heap_trim): Likewise.
50923 2010-08-16 Ulrich Drepper <drepper@redhat.com>
50925 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50927 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50928 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50930 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
50932 * sysdeps/i386/elf/Makefile: New file.
50934 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50936 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50937 from fanotify_init.
50938 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50941 2010-08-15 Ulrich Drepper <drepper@redhat.com>
50943 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50945 * sysdeps/multiarch/strcmp.S: Likewise.
50947 2010-08-14 Ulrich Drepper <drepper@redhat.com>
50949 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50950 strncase_l-nonascii.
50951 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50952 Add strncase_l-ssse3.
50953 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50954 * sysdeps/x86_64/strcmp.S: Likewise.
50955 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50956 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50957 * sysdeps/x86_64/strncase.S: New file.
50958 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50959 * sysdeps/x86_64/strncase_l.S: New file.
50960 * string/Makefile (strop-tests): Add strncasecmp.
50961 * string/test-strncasecmp.c: New file.
50963 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50966 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50967 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50969 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
50971 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50973 2010-08-12 Ulrich Drepper <drepper@redhat.com>
50975 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50976 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50977 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50979 2010-05-01 Alan Modra <amodra@gmail.com>
50981 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50982 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50983 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50984 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50985 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50986 tidying. Don't tail-call __sigjmp_save for static lib.
50987 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50989 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50990 (CALL_MCOUNT): Add eh info, and nop after bl.
50991 (TAIL_CALL_SYSCALL_ERROR): New macro.
50992 (PSEUDO_RET): Use it.
50993 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50994 Correct save location of integer regs and cr.
50995 (_dl_profile_resolve): Correct cr save location. Delete nops
50996 after bl when SHARED. Reduce cfi size a little by better
50997 placement of cfi directives.
50998 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50999 make a stack frame. Instead use parm save area as a temp.
51000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51001 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51003 Don't make a stack frame for parent, use parm save area.
51004 Increase child stack frame to 112 bytes. Don't save unused reg,
51005 and adjust reg usage. Set up cfi on error recovery and
51006 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51008 (__makecontext): Add dummy nop after jump to exit.
51009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51010 Use correct parm save area and cr save, reduce stack frame.
51011 Correct cfi for possible PSEUDO_RET frame setup.
51012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51013 Branch to local label emitted by PSEUDO_RET rather than
51016 2010-08-12 Andreas Schwab <schwab@redhat.com>
51019 * locale/programs/locale.c (print_assignment): New function.
51020 (show_locale_vars): Use it.
51022 2010-08-11 Ulrich Drepper <drepper@redhat.com>
51024 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51026 (struct statfs64): Likewise.
51027 (_STATFS_F_FLAGS): Define.
51028 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51029 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51030 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51031 (ST_VALID): Define locally.
51032 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51033 __statvfs_getflags, use the provided value.
51034 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51035 __ASSUME_STATFS_F_FLAGS.
51037 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51039 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51040 Add sys/fanotify.h.
51041 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51042 fanotify_mask for GLIBC_2.13.
51043 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51044 fanotify_init and fanotify_mark.
51045 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51046 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51048 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51050 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51051 prlimit64 for GLIBC_2.13.
51052 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51054 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51057 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51058 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51059 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51060 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51062 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51065 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51066 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51068 * nss/Makefile: Add rules to build and run tst-nss-test1.
51069 * shlib-versions: Add entry for libnss_test1.
51070 * nss/nss_test1.c: New file.
51071 * nss/tst-nss-test1.c: New file.
51073 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51074 (__nss_configure_lookup): Set appropriate entry in
51075 __nss_configure_lookup to true.
51076 * nss/nsswitch.h: Define enum with indeces of databases in
51077 databases and __nss_database_custom arrays. Declare
51078 __nss_database_custom.
51079 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51080 to avoid using nscd when custom rules are installed.
51081 * nss/getXXbyYY_r.c: Likewise.
51082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51084 * nss/nss_files/files-parse.c: Whitespace fixes.
51086 2010-08-09 Ulrich Drepper <drepper@redhat.com>
51089 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51090 * posix/fnmatch_loop.c: Likewise.
51092 2010-07-17 Andi Kleen <ak@linux.intel.com>
51094 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51095 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51096 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51097 * Versions.def [GLIBC_2.13]: Add.
51099 2010-08-06 Ulrich Drepper <drepper@redhat.com>
51101 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51102 Also fail if tpwd after pwuid call is NULL.
51104 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51106 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51107 when converting to ms.
51109 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51111 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51112 EOPNOTSUPP errors with ENOTTY.
51113 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51114 EOPNOTSUPP errors with ENOTTY.
51116 2010-07-31 Ulrich Drepper <drepper@redhat.com>
51118 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51119 Add strcasecmp_l-ssse3.
51120 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51122 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51123 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51124 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51126 2010-07-30 Ulrich Drepper <drepper@redhat.com>
51128 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51130 * string/Makefile (strop-tests): Add strcasecmp.
51131 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51132 strcasecmp_l-nonascii.
51133 (gen-as-const-headers): Add locale-defines.sym.
51134 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51135 * sysdeps/x86_64/strcasecmp.S: New file.
51136 * sysdeps/x86_64/strcasecmp_l.S: New file.
51137 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51138 * sysdeps/x86_64/locale-defines.sym: New file.
51139 * string/test-strcasecmp.c: New file.
51141 * string/test-strcasestr.c: Test both ends of the range of characters.
51142 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51144 2010-07-29 Roland McGrath <roland@redhat.com>
51147 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51149 2010-07-27 Ulrich Drepper <drepper@redhat.com>
51151 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51154 2010-07-27 Andreas Schwab <schwab@redhat.com>
51156 * manual/memory.texi (Malloc Tunable Parameters): Document
51159 2010-07-26 Roland McGrath <roland@redhat.com>
51162 * configure.in (-fgnu89-inline check): Set and substitute
51163 gnu89_inline, not libc_cv_gnu89_inline.
51164 * configure: Regenerated.
51165 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51167 2010-07-26 Ulrich Drepper <drepper@redhat.com>
51169 * string/test-strnlen.c: New file.
51170 * string/Makefile (strop-tests): Add strnlen.
51171 * string/tester.c (test_strnlen): Add a few more test cases.
51172 * string/tst-strlen.c: Better error reporting.
51174 * sysdeps/x86_64/strnlen.S: New file.
51176 2010-07-24 Ulrich Drepper <drepper@redhat.com>
51178 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51179 lower-latency instructions.
51181 2010-07-23 Ulrich Drepper <drepper@redhat.com>
51183 * string/test-strcasestr.c: New file.
51184 * string/test-strstr.c: New file.
51185 * string/Makefile (strop-tests): Add strstr and strcasestr.
51186 * string/str-two-way.h: Don't undefine MAX.
51187 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51189 2010-07-21 Andreas Schwab <schwab@redhat.com>
51191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51192 strcasestr-nonascii.
51193 (CFLAGS-strcasestr-nonascii.c): Define.
51194 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51195 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51196 Remove unused attribute.
51198 2010-07-20 Roland McGrath <roland@redhat.com>
51200 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51201 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51202 ld.so.cache was broken. With it, there is no way to disable dsocaps
51203 like LD_HWCAP_MASK can disable hwcaps.
51205 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51207 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51209 2010-07-16 Ulrich Drepper <drepper@redhat.com>
51211 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51212 call in strcasestr.
51213 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51214 __strcasestr_sse42_nonascii.
51215 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51216 strcasestr-nonascii.c.
51217 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51219 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
51221 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51222 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51223 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51224 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51226 2010-07-09 Ulrich Drepper <drepper@redhat.com>
51228 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51231 2010-07-06 Andreas Schwab <schwab@redhat.com>
51234 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51237 2010-07-06 Ulrich Drepper <drepper@redhat.com>
51239 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51240 _PC_PIPE_BUF using F_GETPIPE_SZ.
51242 2010-07-05 Roland McGrath <roland@redhat.com>
51244 * manual/arith.texi (Rounding Functions): Fix rint description
51245 implicit in round description.
51247 2010-07-02 Ulrich Drepper <drepper@redhat.com>
51249 * elf/Makefile: Fix linking for a few tests to make recent linker
51252 2010-06-30 Andreas Schwab <schwab@redhat.com>
51254 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51255 $(common-objpfx)libc_nonshared.a.
51257 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
51259 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51260 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51261 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51262 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51263 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51264 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51265 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51266 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51281 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51282 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51283 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51284 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51285 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51286 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51287 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51288 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51289 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51290 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51291 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51292 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51308 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51310 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51311 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51312 * string/memmove.c (memmove): Renamed to ...
51313 (MEMMOVE): ...this. Default to memmove.
51314 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51315 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51318 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51319 mempcpy-ssse3-back memmove-ssse3-back.
51320 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51321 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51322 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51323 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51324 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51325 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51326 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51327 * sysdeps/x86_64/multiarch/memmove.c: New file.
51328 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51329 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51330 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51331 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51332 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51333 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51335 (index_Fast_Copy_Backward): Define.
51336 (HAS_ARCH_FEATURE): Define.
51337 (HAS_FAST_REP_STRING): Define.
51338 (HAS_FAST_COPY_BACKWARD): Define.
51340 2010-06-21 Andreas Schwab <schwab@redhat.com>
51342 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51343 Restore proper fallback handling.
51345 2010-06-19 Ulrich Drepper <drepper@redhat.com>
51348 * posix/group_member.c (__group_member): Correct checking loop.
51350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51351 OOM in getpwuid_r correctly. Return error number when the caller
51352 should return, otherwise -1.
51353 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51354 call returning > 0 value.
51355 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51357 2010-06-07 Andreas Schwab <schwab@redhat.com>
51359 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51360 libc_nonshared.a from targets in modules-names.
51362 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51364 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51367 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
51369 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51370 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51371 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51372 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51374 2010-06-02 Andreas Schwab <schwab@redhat.com>
51376 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51378 2010-06-14 Ulrich Drepper <drepper@redhat.com>
51380 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51382 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51383 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51386 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51387 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51389 2010-06-14 Roland McGrath <roland@redhat.com>
51391 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51393 2010-06-07 Jakub Jelinek <jakub@redhat.com>
51395 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51396 __REDIRECT followed by __THROW.
51397 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51398 * posix/getopt.h (getopt): Likewise.
51400 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51402 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51403 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51404 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51406 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51407 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51409 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
51411 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51413 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51417 Properly check family and model.
51419 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51421 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51423 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
51425 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51427 2010-05-21 Ulrich Drepper <drepper@redhat.com>
51429 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51432 2010-05-19 Andreas Schwab <schwab@redhat.com>
51434 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51437 2010-05-21 Andreas Schwab <schwab@redhat.com>
51439 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51440 and internal_recvmmsg.
51441 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51442 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51443 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51444 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51446 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51447 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51448 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51450 2010-05-20 Andreas Schwab <schwab@redhat.com>
51452 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51454 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
51456 POWER7 optimizations.
51457 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51458 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51460 2010-05-19 Ulrich Drepper <drepper@redhat.com>
51462 * version.h: Update for 2.13 development version.
51464 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
51466 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51467 exceptions. Return 0.
51469 2010-05-07 Roland McGrath <roland@redhat.com>
51471 * elf/ldconfig.c (main): Add a const.
51473 2010-05-06 Ulrich Drepper <drepper@redhat.com>
51475 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51476 (args_options): Add no-idn option.
51477 (ahosts_keys_int): Add idn_flags to ai_flags.
51478 (parse_option): Handle 'i' option to clear idn_flags.
51480 * malloc/malloc.c (_int_free): Possible race in the most recently
51481 added check. Only act on the data if no current modification
51484 See ChangeLog.17 for earlier changes.