1 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4 the size of the fpu_fr.fpu_dregs[] array.
6 2014-11-01 Joseph Myers <joseph@codesourcery.com>
8 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9 (__nanosleep): Do not define as alias.
10 (nanosleep): Define as alias of __nanosleep.
11 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12 __libc_nanosleep name.
14 2014-10-31 Joseph Myers <joseph@codesourcery.com>
16 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
17 install.texi in comment.
19 2014-10-31 Torvald Riegel <triegel@redhat.com>
21 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
22 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
23 ... add here and use lwsync or sync ...
24 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25 ... and add here using lwsync.
27 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
29 * elf/dl-machine-reject-phdr.h: New file.
30 * elf/dl-load.c: #include that.
31 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
32 if that returned true.
34 2014-10-31 Roland McGrath <roland@hack.frob.com>
37 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38 gen-as-const-headers chunk. Add a big scare comment after the last
39 safe place to touch before-compile.
41 2014-10-31 Joseph Myers <joseph@codesourcery.com>
43 * manual/install.texi (Tools for Compilation): Update autoconf
45 * INSTALL: Regenerated.
47 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
48 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
49 (__libc_pselect): Likewise.
52 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
54 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
57 2014-10-31 Torvald Riegel <triegel@redhat.com>
59 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
60 correct barrier instruction.
61 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
63 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
66 2014-10-30 Roland McGrath <roland@hack.frob.com>
68 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
69 after defining inlines. Instead, just use parens to defeat macro
70 expansion of __isctype in its declaration.
72 2014-10-30 Joseph Myers <joseph@codesourcery.com>
74 * include/sys/uio.h (__libc_readv): Remove declaration.
75 (__libc_writev): Likewise.
76 * misc/readv.c (__libc_readv): Rename to __readv.
77 (__readv): Do not define as alias.
78 (readv): Define as alias of __readv.
79 * misc/writev.c (__libc_writev): Rename to __writev.
80 (__writev): Do not define as alias.
81 (writev): Define as alias of __writev.
82 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
83 (__readv): Do not define as alias.
84 (readv): Define unconditionally as alias of __readv.
85 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
86 (__writev): Do not define as alias.
87 (writev): Define unconditionally as alias of __writev.
88 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
90 (writev): Do not define __libc_writev name.
92 2014-10-30 Roland McGrath <roland@hack.frob.com>
94 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
95 (convert_charseq): New function, broken out of ...
96 (use_from_charmap): ... here. Call it.
97 (use_to_charmap): Use convert_charseq and free instead of duplicating
98 its code with a variable-length stack struct.
100 2014-10-30 Joseph Myers <joseph@codesourcery.com>
102 * include/fcntl.h (__libc_creat): Remove declaration.
103 * io/creat.c (__libc_creat): Rename to creat.
104 (creat): Do not define as alias.
105 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
106 of creat instead of __libc_creat.
107 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
109 (creat): Do not define as alias.
110 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
112 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
114 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
117 2014-10-29 Carlos O'Donell <carlos@redhat.com>
119 * manual/llio.texi: Add comments discussing why write() may be
120 considered MT-unsafe on Linux.
122 2014-10-28 Carlos O'Donell <carlos@redhat.com>
124 * dl-load.c (local_strdup): Remove.
125 (expand_dynamic_string_token): Use __strdup.
126 (decompose_rpath): Likewise.
127 (_dl_map_object): Likewise.
129 2014-10-28 Joseph Myers <joseph@codesourcery.com>
132 * sysdeps/generic/unwind-dw2-fde.c
133 (__register_frame_info_bases_internal): Do not declare.
134 (__register_frame_info_table_bases_internal): Likewise.
135 (__deregister_frame_info_bases_internal): Likewise.
136 (__register_frame_info_bases): Declare and use hidden_proto before
137 definition. Use hidden_def instead of INTDEF.
138 (__register_frame_info_table_bases): Likewise.
139 (__deregister_frame_info_bases): Likewise.
140 (__register_frame_info): Do not use INTUSE.
141 (__register_frame): Likewise.
142 (__register_frame_info_table): Likewise.
143 (__register_frame_table): Likewise.
144 (__deregister_frame_info): Likewise.
145 (__deregister_frame): Likewise.
147 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
149 * sysdeps/unix/sysv/linux/arm/kernel-features.h
150 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
152 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
154 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
157 2014-10-27 Joseph Myers <joseph@codesourcery.com>
160 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
161 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
162 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
163 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
164 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
165 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
166 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
167 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
168 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
169 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
170 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
171 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
172 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
174 (setfsuid): Likewise.
175 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
176 (setfsuid): Likewise.
177 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
178 (setfsuid): Likewise.
179 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
181 (setfsuid): Likewise.
182 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
183 (setfsuid): Likewise.
184 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
186 (setfsuid): Likewise.
188 2014-10-27 Andreas Schwab <schwab@suse.de>
191 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
192 check for Slow_SSE4_2 feature bit.
193 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
194 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
195 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
196 Likewise. Fix check for Fast_Unaligned_Load feature bit.
198 2014-10-24 Roland McGrath <roland@hack.frob.com>
200 * configure.ac: Validate compiler version with a empirical test of
201 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
203 * configure: Regenerated.
205 * inet/htons.c (htons): Prototypify.
206 * inet/htonl.c (htonl): Likewise.
208 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
210 * string/strncat.c (strncat): Improve performance by using strlen.
212 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
214 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
216 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
218 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
219 Call libc_fetestexcept_aarch64.
221 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
223 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
224 Call libc_feholdexcept_aarch64.
226 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
228 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
229 Call get_rounding_mode.
231 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
233 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
236 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
238 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
241 2014-10-24 Joseph Myers <joseph@codesourcery.com>
244 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
245 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
246 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
247 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
248 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
249 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
250 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
251 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
252 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
253 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
254 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
255 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
256 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
257 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
258 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
259 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
260 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
261 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
262 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
263 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
264 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
265 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
266 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
267 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
268 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
269 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
270 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
271 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
272 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
273 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
274 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
275 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
276 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
277 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
278 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
279 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
280 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
281 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
282 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
283 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
284 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
289 (getresgid): Likewise.
290 (getresuid): Likewise.
291 (getgroups): Likewise.
292 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
296 (getresgid): Likewise.
297 (getresuid): Likewise.
298 (getgroups): Likewise.
299 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
303 (getresgid): Likewise.
304 (getresuid): Likewise.
305 (getgroups): Likewise.
306 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
311 (getresgid): Likewise.
312 (getresuid): Likewise.
313 (getgroups): Likewise.
314 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
318 (getresgid): Likewise.
319 (getresuid): Likewise.
320 (getgroups): Likewise.
321 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
326 (getgroups): Likewise.
329 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
330 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
331 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
332 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
333 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
334 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
335 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
336 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
337 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
338 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
339 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
340 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
341 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
343 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
346 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
350 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
353 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
358 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
360 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
363 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
365 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
368 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
370 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
371 Remove unused include.
373 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
375 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
376 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
377 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
378 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
380 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
381 Helge Deller <deller@gmx.de>
384 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
385 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
386 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
388 2014-10-23 Joseph Myers <joseph@codesourcery.com>
391 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
392 Remove macro definition.
393 (__ashrdi3_v_glibc20): Likewise.
394 (__lshrdi3_v_glibc20): Likewise.
395 (__cmpdi2_v_glibc20): Likewise.
396 (__ucmpdi2_v_glibc20): Likewise.
397 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
398 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
399 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
400 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
401 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
402 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
404 2014-10-22 Roland McGrath <roland@hack.frob.com>
406 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
407 old GNU extension [0] syntax.
408 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
409 alloca rather than an array member with variable length.
410 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
411 * nscd/nscd.c (invalidate_db): New function, broken out of ...
412 (parse_opt): ... here. Likewise use alloca there.
413 Validate the -i argument before checking for rootness.
414 (send_shutdown): New function, broken out of ...
415 (parse_opt): ... here.
417 2014-10-22 Roland McGrath <roland@hack.frob.com>
419 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
420 macro to get at the _rt_local_ro field.
421 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
422 ([PIC] case) or _dl_hwcap ([!PIC] case).
423 * sysdeps/arm/setjmp.S: Likewise.
425 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
426 * sysdeps/arm/configure.ac: New check to define it.
427 * sysdeps/arm/configure: Regenerated.
428 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
429 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
430 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
431 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
432 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
433 Use move/movt pair instead of a load.
434 (LDST_GLOBAL): Macro removed.
435 (LDR_GLOBAL): New macro replaces it.
436 (LDR_HIDDEN): New macro.
437 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
438 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
440 * setjmp/tst-setjmp-static.c: New file.
441 * setjmp/Makefile (tests): Add it.
442 (tests-static): New variable.
444 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
447 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
449 2014-10-21 Joseph Myers <joseph@codesourcery.com>
452 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
454 2014-10-21 Roland McGrath <roland@hack.frob.com>
456 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
458 2014-10-20 Roland McGrath <roland@hack.frob.com>
460 * io/fts.c (dirent_not_directory): New function.
461 (fts_build): Call it.
463 2014-10-20 Roland McGrath <roland@hack.frob.com>
465 * nptl/version.c (__nptl_main): Use normal __write rather than
467 (banner): Update copyright years.
469 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
471 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
472 * nptl/pthread_cond_timedwait.c: Likewise.
473 * nptl/pthread_mutex_timedlock.c: Likewise.
474 * nptl/sem_timedwait.c: Likewise.
476 * sysdeps/nptl/bits/libc-lock.h
477 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
478 (__libc_lock_init_recursive): Return void, not 0.
479 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
480 (__libc_rwlock_init): Likewise.
481 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
483 2014-10-20 Torvald Riegel <triegel@redhat.com>
486 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
487 (__pthread_once_slow): ... here.
488 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
489 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
491 2014-10-20 Torvald Riegel <triegel@redhat.com>
494 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
495 __PTHREAD_ONCE_FORK_GEN_INCR): New.
496 * sysdeps/nptl/fork.c (__libc_fork): Use them.
497 * nptl/pthread_once.c (__pthread_once): Likewise.
500 2014-10-20 Joseph Myers <joseph@codesourcery.com>
503 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
505 (writev): Use __libc_writev as strong name.
506 * sysdeps/unix/sysv/linux/readv.c: Remove file.
507 * sysdeps/unix/sysv/linux/writev.c: Likewise.
509 2014-10-17 Roland McGrath <roland@hack.frob.com>
511 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
513 * sysdeps/i386/nptl/tls.h
514 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
515 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
517 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
518 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
519 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
520 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
521 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
522 Call CHECK_THREAD_SYSINFO instead of doing an assert.
524 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
525 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
527 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
529 (__pthread_mutex_init): ... here. Call it.
530 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
531 Conditionalize PI cases on [__NR_futex].
532 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
533 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
534 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
536 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
537 conditional on [SIGSETXID].
538 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
539 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
540 is defined. Likewise for SIGSETXID.
541 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
542 Conditionalize definitions on [SIGSETXID].
543 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
544 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
545 unblocking on [SIGCANCEL].
547 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
548 [__NR_set_robust_list].
550 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
552 * string/strcoll_l.c (get_next_seq): Fix up formatting.
553 (do_compare): Likewise.
555 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
558 * string/strcoll_l.c: Don't include stdio.h.
559 (coll_seq): Remove members idxarr and rulearr.
560 (get_next_seq_cached): Remove function.
561 (get_next_seq): Likewise.
562 (get_next_seq_nocache): Rename to get_next_seq.
563 (do_compare): Remove function.
564 (do_compare_nocache): Rename to do_compare.
565 (STRCOLL): Remove weight and rules cache.
567 2014-10-16 Roland McGrath <roland@hack.frob.com>
569 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
570 * sysdeps/arm/sfp-machine.h: ... to here.
571 * sysdeps/arm/Implies: Remove arm/soft-fp.
573 2014-10-14 Joseph Myers <joseph@codesourcery.com>
575 * conform/data/sys/utsname.h-data (*_t): Allow.
576 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
577 [POSIX] (WEXITED): Do not expect constant.
578 [POSIX] (WSTOPPED): Likewise.
579 [POSIX] (WNOHANG): Likewise.
580 [POSIX] (WNOWAIT): Likewise.
581 [POSIX] (siginfo_t): Do not expect type or elements.
582 [POSIX] (pid_t): Do not expect type.
583 [POSIX] (signal.h): Do not allow header.
584 [POSIX] (sys/resource.h): Likewise.
585 [POSIX] (si_*): Do not allow pattern.
586 [POSIX] (W*): Likewise.
587 [POSIX] (P_*): Likewise.
588 [POSIX] (BUS_*): Likewise.
589 [POSIX] (CLD_*): Likewise.
590 [POSIX] (FPE_*): Likewise.
591 [POSIX] (ILL_*): Likewise.
592 [POSIX] (POLL_*): Likewise.
593 [POSIX] (SEGV_*): Likewise.
594 [POSIX] (SI_*): Likewise.
595 [POSIX] (TRAP_*): Likewise.
596 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
599 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
602 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
603 infinite loop when __recvmsg returns 0.
605 2014-10-10 Joseph Myers <joseph@codesourcery.com>
607 * CANCEL-FCT-WAIVE: Remove file.
608 * CANCEL-FILE-WAIVE: Likewise.
611 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
612 instead of INTVARDEF.
613 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
614 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
615 rtld_hidden_data_def instead of INTVARDEF.
616 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
617 * elf/dl-deps.c (expand_dst): Likewise.
618 * elf/dl-load.c (_dl_dst_count): Likewise.
619 (_dl_dst_substitute): Likewise.
620 (decompose_rpath): Likewise.
621 (_dl_init_paths): Likewise.
622 (open_path): Likewise.
623 (_dl_map_object): Likewise.
624 * elf/rtld.c (dl_main): Likewise.
625 (process_dl_audit): Likewise.
626 (process_envvars): Likewise.
627 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
629 (__libc_enable_secure): Use rtld_hidden_proto.
631 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
634 (add_path): New function broken out of _dl_rtld_di_serinfo.
635 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
637 2014-10-09 Joseph Myers <joseph@codesourcery.com>
639 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
640 parentheses around macro arguments.
641 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
642 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
643 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
644 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
645 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
646 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
647 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
648 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
649 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
650 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
651 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
652 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
653 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
654 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
655 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
656 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
657 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
658 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
659 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
660 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
661 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
662 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
663 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
664 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
665 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
666 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
667 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
668 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
669 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
670 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
671 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
672 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
673 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
674 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
675 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
676 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
678 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
679 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
680 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
681 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
682 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
683 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
684 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
685 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
686 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
687 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
688 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
689 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
690 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
691 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
692 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
693 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
694 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
695 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
696 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
697 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
698 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
699 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
700 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
701 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
702 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
703 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
704 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
705 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
706 (_FP_FRAC_SRS_1): Likewise.
707 (_FP_FRAC_CLZ_1): Likewise.
708 (_FP_MUL_MEAT_1_imm): Likewise.
709 (_FP_MUL_MEAT_1_wide): Likewise.
710 (_FP_MUL_MEAT_1_hard): Likewise.
711 (_FP_SQRT_MEAT_1): Likewise.
712 (_FP_FRAC_ASSEMBLE_1): Likewise.
713 (_FP_FRAC_DISASSEMBLE_1): Likewise.
714 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
715 (__FP_CLZ_2): Likewise.
716 (_FP_MUL_MEAT_2_wide): Likewise.
717 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
718 (_FP_MUL_MEAT_2_gmp): Likewise.
719 (_FP_MUL_MEAT_2_120_240_double): Likewise.
720 (_FP_SQRT_MEAT_2): Likewise.
721 (_FP_FRAC_ASSEMBLE_2): Likewise.
722 (_FP_FRAC_DISASSEMBLE_2): Likewise.
723 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
724 (_FP_FRAC_CLZ_4): Likewise.
725 (_FP_MUL_MEAT_4_wide): Likewise.
726 (_FP_MUL_MEAT_4_gmp): Likewise.
727 (_FP_SQRT_MEAT_4): Likewise.
728 (_FP_FRAC_ASSEMBLE_4): Likewise.
729 (_FP_FRAC_DISASSEMBLE_4): Likewise.
730 * soft-fp/op-common.h (_FP_CMP): Likewise.
731 (_FP_CMP_EQ): Likewise.
732 (_FP_CMP_UNORD): Likewise.
733 (_FP_TO_INT): Likewise.
734 (_FP_FROM_INT): Likewise.
735 [!__FP_CLZ] (__FP_CLZ): Likewise.
736 (_FP_DIV_HELP_imm): Likewise.
737 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
739 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
740 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
741 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
742 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
743 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
744 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
745 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
746 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
747 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
748 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
749 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
750 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
751 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
752 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
753 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
754 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
755 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
756 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
757 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
758 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
759 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
760 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
761 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
762 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
763 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
764 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
765 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
766 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
767 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
768 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
769 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
770 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
771 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
772 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
773 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
774 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
775 (FP_UNPACK_RAW_SP): Likewise.
776 (FP_PACK_RAW_S): Likewise.
777 (FP_PACK_RAW_SP): Likewise.
778 (FP_UNPACK_S): Likewise.
779 (FP_UNPACK_SP): Likewise.
780 (FP_UNPACK_SEMIRAW_S): Likewise.
781 (FP_UNPACK_SEMIRAW_SP): Likewise.
782 (FP_PACK_S): Likewise.
783 (FP_PACK_SP): Likewise.
784 (FP_PACK_SEMIRAW_S): Likewise.
785 (FP_PACK_SEMIRAW_SP): Likewise.
786 (_FP_SQRT_MEAT_S): Likewise.
787 (FP_CMP_S): Likewise.
788 (FP_CMP_EQ_S): Likewise.
789 (FP_CMP_UNORD_S): Likewise.
790 (FP_TO_INT_S): Likewise.
791 (FP_FROM_INT_S): Likewise.
793 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
795 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
796 (FP_EX_INVALID_IMZ): Likewise.
797 (FP_EX_INVALID_IMZ_FMA): Likewise.
798 (FP_EX_INVALID_ISI): Likewise.
799 (FP_EX_INVALID_ZDZ): Likewise.
800 (FP_EX_INVALID_IDI): Likewise.
801 (FP_EX_INVALID_SQRT): Likewise.
802 (FP_EX_INVALID_CVI): Likewise.
803 (FP_EX_INVALID_VC): Likewise.
804 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
805 "invalid" exceptions.
806 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
807 (_FP_ADD_INTERNAL): Likewise.
811 (_FP_CMP_CHECK_NAN): Likewise.
812 (_FP_SQRT): Likewise.
813 (_FP_TO_INT): Likewise.
814 (FP_EXTEND): Likewise.
816 2014-10-09 Allan McRae <allan@archlinux.org>
818 * po/fr.po: Update French translation from translation project.
820 2014-10-09 Joseph Myers <joseph@codesourcery.com>
823 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
825 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
826 (__cxa_atexit): Use libc_hidden_proto.
827 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
830 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
832 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
833 [!_ISOMAC] (__iswspace_l_internal): Likewise.
834 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
835 [!_ISOMAC] (__iswctype_internal): Likewise.
836 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
837 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
839 (fcntl): Remove __fcntl_internal alias.
840 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
841 __connect_internal alias.
842 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
845 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
846 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
848 (_FP_CHECK_FLUSH_ZERO): New macro.
849 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
851 (_FP_CMP_EQ): Likewise.
852 (_FP_TO_INT): Do not set inexact for subnormal arguments if
854 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
855 (FP_TRUNC): Likewise.
857 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
858 treated as invalid conversion, not as normal exponent.
860 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
861 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
862 (_FP_CMP_EQ): Likewise.
863 (_FP_CMP_UNORD): Likewise.
864 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
865 (FP_CMP_EQ_D): Likewise.
866 (FP_CMP_UNORD_D): Likewise.
867 * soft-fp/extended.h (FP_CMP_E): Likewise.
868 (FP_CMP_EQ_E): Likewise.
869 (FP_CMP_UNORD_E): Likewise.
870 * soft-fp/quad.h (FP_CMP_Q): Likewise.
871 (FP_CMP_EQ_Q): Likewise.
872 (FP_CMP_UNORD_Q): Likewise.
873 * soft-fp/single.h (FP_CMP_S): Likewise.
874 (FP_CMP_EQ_S): Likewise.
875 (FP_CMP_UNORD_S): Likewise.
876 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
877 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
878 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
879 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
880 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
881 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
882 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
883 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
884 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
885 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
886 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
887 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
888 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
890 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
892 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
893 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
895 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
897 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
898 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
899 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
900 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
902 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
904 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
905 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
907 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
909 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
910 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
911 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
912 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
915 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
916 a subnormal result, set the underflow exception if trapping on
917 underflow is enabled.
918 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
919 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
920 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
922 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
923 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
924 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
925 * soft-fp/extendxftf2.c (__extendxftf2): Use
926 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
928 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
929 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
930 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
931 FP_HANDLE_EXCEPTIONS.
932 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
933 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
934 FP_HANDLE_EXCEPTIONS.
935 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
936 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
937 FP_HANDLE_EXCEPTIONS.
938 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
939 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
940 FP_HANDLE_EXCEPTIONS.
942 2014-10-08 Joseph Myers <joseph@codesourcery.com>
945 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
946 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
948 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
949 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
951 (__adjtimex): Define using libc_hidden_ver.
952 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
954 (ntp_gettime): Call __adjtimex directly.
955 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
957 (ntp_gettimex): Call __adjtimex directly.
958 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
959 __adjtimex_internal alias.
961 2014-10-08 Roland McGrath <roland@hack.frob.com>
964 * nscd/nscd.c (more_help): Rewrite list of tables collection
965 using xstrdup and asprintf.
967 * nscd/nscd_conf.c: Remove local xstrdup declaration.
969 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
970 Roland McGrath <roland@hack.frob.com>
972 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
973 (do_lookup_unique): ... local function 'enter' here; update callers.
975 2014-10-06 Joseph Myers <joseph@codesourcery.com>
977 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
978 compat_symbol calls on [SHARED].
979 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
980 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
982 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
983 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
984 (oldsetrlimit): Remove.
985 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
987 (lchown): New syscall entry.
988 (oldsetrlimit): Remove.
989 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
990 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
991 (oldsetrlimit): Remove.
992 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
995 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
996 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
997 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
998 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
999 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1000 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1002 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1007 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1009 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1010 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1011 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1012 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1013 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1015 (__old_sem_post): Likewise.
1017 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1019 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1020 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1021 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1022 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1023 Use INLINE_VSYSCALL macro.
1024 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1025 __vdso_clock_gettime.
1026 * sysdeps/unix/sysv/linux/tile/init-first.c
1027 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1028 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1029 __vdso_clock_gettime.
1031 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1032 to set up frame more cleanly.
1034 * sysdeps/tile/memcmp.c: New file.
1036 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1038 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1039 * sysdeps/tile/tilegx/strcasestr.c: New file.
1040 * sysdeps/tile/tilegx/strnlen.c: New file.
1041 * sysdeps/tile/tilegx/strstr.c: New file.
1043 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1045 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
1047 * nptl/tst-setuid3.c: Write errors to stdout.
1049 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1052 (preload): New functions broken out of _dl_map_object_deps.
1053 (_dl_map_object_deps): Remove a nested function. Update call sites.
1055 2014-10-01 Joseph Myers <joseph@codesourcery.com>
1058 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1059 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1061 2014-10-01 Steve Ellcey <sellcey@mips.com>
1063 * sysdeps/mips/strcmp.S: New.
1065 2014-09-30 Joseph Myers <joseph@codesourcery.com>
1068 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1070 (mkdirat): Likewise.
1071 (readlinkat): Likewise.
1072 (renameat): Likewise.
1073 (symlinkat): Likewise.
1074 (unlinkat): Likewise.
1075 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1076 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1077 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1078 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1079 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1080 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1081 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1083 2014-09-30 Will Newton <will.newton@linaro.org>
1085 * math/math.h: Define long double math functions if
1086 _LIBC_TEST is defined.
1087 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1089 * localedata/Makefile: Move assignment to tests-special
1090 into an ifdef testing run-built-tests.
1091 * timezone/Makefile: Likewise.
1093 2014-09-29 Joseph Myers <joseph@codesourcery.com>
1095 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1096 with $(BASH) not $(SHELL).
1098 2014-09-29 Carlos O'Donell <carlos@redhat.com>
1099 Matthew LeGendre <legendre1@llnl.gov>
1102 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1105 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1107 * stdio-common/printf_fp.c
1108 (hack_digit): New function, broken out of ...
1109 (__printf_fp): ... local function here. Update call sites.
1110 hack_digit now takes an additional parameter that is a pointer
1111 to a struct of the referenced locals. Those locals moved inside
1112 the struct and references updated.
1114 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1116 * aclocal.m4: Require autoconf 2.69.
1117 * configure: Regenerated.
1118 * sysdeps/aarch64/configure: Likewise.
1119 * sysdeps/alpha/configure: Likewise.
1120 * sysdeps/arm/armv7/configure: Likewise.
1121 * sysdeps/arm/configure: Likewise.
1122 * sysdeps/ia64/configure: Likewise.
1123 * sysdeps/mach/configure: Likewise.
1124 * sysdeps/mips/configure: Likewise.
1125 * sysdeps/s390/configure: Likewise.
1126 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1129 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1131 * sysdeps/ia64/configure.ac: Likewise.
1133 2014-09-26 Joseph Myers <joseph@codesourcery.com>
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1136 specify symbol version for ld.so. Do not include entry for
1138 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1139 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1140 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1143 * Makeconfig [$(build-shared) = yes]
1144 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1146 [$(build-shared) = yes && $(soversions.mk-done) = t]
1147 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1148 [$(build-shared) = yes && $(soversions.mk-done) = t]
1149 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1151 [$(build-shared) = yes && $(soversions.mk-done) = t]
1152 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1154 [$(build-shared) = yes && $(soversions.mk-done) = t]
1155 (common-generated): Don't append gnu/lib-names.h and
1156 gnu/lib-names.stmp here.
1157 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1158 (lib-names-h-abi): New variable.
1159 [$(build-shared) = yes && $(soversions.mk-done) = t]
1160 (lib-names-stmp-abi): Likewise.
1161 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1162 abi-variants] (before-compile): Append
1163 $(common-objpfx)$(lib-names-h-abi).
1164 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1165 abi-variants] (common-generated): Append gnu/lib-names.h.
1166 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1167 abi-variants] (install-others-nosubdir): Depend on
1168 $(inst_includedir)/$(lib-names-h-abi).
1169 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1170 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1171 [$(build-shared) = yes && $(soversions.mk-done) = t]
1172 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1173 [$(build-shared) = yes && $(soversions.mk-done) = t]
1174 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1175 [$(build-shared) = yes && $(soversions.mk-done) = t]
1176 (common-generated): Append $(lib-names-h-abi) and
1177 $(lib-names-stmp-abi).
1178 * scripts/lib-names.awk: Do not handle multi being set.
1179 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1181 (abi-lp64_be-ld-soname): Likewise.
1182 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1184 (abi-hard-ld-soname): Likewise.
1185 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1186 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1188 (abi-o32_hard-ld-soname): Likewise.
1189 (abi-o32_soft_2008-ld-soname): Likewise.
1190 (abi-o32_hard_2008-ld-soname): Likewise.
1191 (abi-n32_soft-ld-soname): Likewise.
1192 (abi-n32_hard-ld-soname): Likewise.
1193 (abi-n32_soft_2008-ld-soname): Likewise.
1194 (abi-n32_hard_2008-ld-soname): Likewise.
1195 (abi-n64_soft-ld-soname): Likewise.
1196 (abi-n64_hard-ld-soname): Likewise.
1197 (abi-n64_soft_2008-ld-soname): Likewise.
1198 (abi-n64_hard_2008-ld-soname): Likewise.
1199 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1201 (abi-64-v2-ld-soname): Likewise.
1202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1204 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1206 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1208 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1210 (abi-64-ld-soname): Likewise.
1211 (abi-x32-ld-soname): Likewise.
1212 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1214 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1216 2014-09-23 Joseph Myers <joseph@codesourcery.com>
1219 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1220 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1221 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1222 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1223 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1224 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1225 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1226 syscall entry for GLIBC_2.2 symbol version.
1227 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1230 (setrlimit): Likewise.
1231 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1234 2014-09-23 Will Newton <will.newton@linaro.org>
1236 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1237 _LINUX_ARM_SYSDEP_H include guard too.
1238 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1241 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1243 * sysdeps/unix/sysv/linux/eventfd.c:
1244 Make first argument unsigned.
1245 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1246 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1248 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
1250 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1251 * socket/sys/socket.h: Likewise
1252 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1254 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1256 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1258 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
1260 * time/tst-ftime.c: New test.
1261 * time/Makefile (tests): Add tst-ftime.
1263 2014-09-17 Joseph Myers <joseph@codesourcery.com>
1265 * soft-fp/extended.h: Fix comment formatting.
1266 * soft-fp/op-1.h: Likewise.
1267 * soft-fp/op-2.h: Likewise.
1268 * soft-fp/op-4.h: Likewise.
1269 * soft-fp/op-8.h: Likewise.
1270 * soft-fp/op-common.h: Likewise.
1271 * soft-fp/soft-fp.h: Likewise.
1273 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1275 2014-09-16 Joseph Myers <joseph@codesourcery.com>
1278 * Makeconfig (soversions-default-setname): Remove variable.
1279 ($(common-objpfx)soversions.i): Don't pass default_setname to
1281 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1282 oldest_abi to abi-versions.awk.
1283 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1284 * config.make.in (oldest-abi): Remove variable.
1285 * configure.ac (--enable-oldest-abi): Remove configure option.
1286 * configure: Regenerated.
1287 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1289 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1290 * scripts/soversions.awk: Do not handle default_setname variable.
1291 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1293 * sysdeps/mach/hurd/configure: Regenerated.
1294 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1296 * sysdeps/unix/sysv/linux/configure: Regenerated.
1298 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1300 * elf/Makefile (CFLAGS-interp.c): Remove.
1301 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1303 * elf/interp.c: Include generated runtime-linker.h
1305 * Makerules (lib%.so): Don't include $(+interp) in
1307 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1308 * dlfcn/eval.c: Remove file.
1310 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1314 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1318 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1320 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1321 Jakub Jelinek <jakub@redhat.com>
1324 * libio/stdio.h: Check definition of __fortify_function
1325 instead of __extern_always_inline to include bits/stdio2.h.
1326 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1327 check if __extern_always_inline is defined.
1328 [__USE_MISC || __USE_XOPEN]: Likewise.
1329 [__USE_ISOC99] Likewise.
1330 * misc/sys/cdefs.h (__fortify_function): Define only if
1331 __extern_always_inline is defined.
1332 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1333 __extern_always_inline and __extern_inline only for g++-4.3
1334 and newer or a compatible gcc.
1336 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1339 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1340 last change to handle zero prefix length.
1342 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1344 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1347 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1350 2014-09-13 Allan McRae <allan@archlinux.org>
1352 * po/ru.po: Update Russian translation from translation project.
1354 2014-09-12 Roland McGrath <roland@hack.frob.com>
1356 * locale/programs/locale.c (show_locale_vars): Inline local function
1357 into its sole call site. Clean up some style nits.
1358 (print_item): New function, broken out of ...
1359 (show_info): ... local function here. Clean up style nits.
1361 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1363 (set_class_defaults): ... local function set_default here.
1364 Define set_default as a macro locally to pass constant parameters.
1365 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1366 rather than a shared local.
1368 * stdlib/rpmatch.c (try): New function, broken out of ...
1369 (rpmatch): ... local function here. Also, prototypify definition.
1371 2014-09-12 Joseph Myers <joseph@codesourcery.com>
1373 * scripts/soversions.awk: Do not handle configuration names.
1374 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1375 vendor and os variables to soversions.awk.
1376 * configure.ac: Do not modify gnu-* host_os.
1377 * configure: Regenerated
1378 * shlib-versions: Remove first column with configuration names.
1379 * nptl/shlib-versions: Likewise.
1380 * nptl_db/shlib-versions: Likewise.
1381 * sysdeps/hppa/shlib-versions: Likewise.
1382 * sysdeps/m68k/shlib-versions: Likewise.
1383 * sysdeps/mach/hurd/shlib-versions: Likewise.
1384 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1385 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1386 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1387 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1388 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1389 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1390 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1391 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1394 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1395 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1396 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1397 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1398 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1399 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1400 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1401 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1404 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1407 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1409 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1411 * shlib-versions: Remove OS-specific entries. Moved to files in
1413 * sysdeps/mach/hurd/shlib-versions: New file.
1414 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1416 * nptl/shlib-versions: Remove architecture-specific entries.
1417 Moved to files in sysdeps.
1418 * shlib-versions: Likewise.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1421 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1422 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1423 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1424 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1426 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1427 (UDP_NO_CHECK6_RX): Likewise.
1429 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1431 * sysdeps/posix/sysconf.c (__sysconf): Spell
1432 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1434 2014-08-12 Florian Weimer <fweimer@redhat.com>
1436 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1438 * iconv/Versions (__gconv_transliterate): Export for use from
1440 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1441 (struct __gconv_trans_data, __gconv_trans_fct,
1442 __gconv_trans_context_fct, __gconv_trans_query_fct,
1443 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1445 (struct __gconv_step_data): Remove __trans member.
1446 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1447 longer hidden. Remove unused trans_data argument.
1448 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1449 (__gconv_translit_find): Remove declaration.
1450 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1452 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1453 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1454 trans_data argument. Add hidden definition.
1455 (__gconv_translit_find): Remove.
1456 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1457 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1458 * iconv/skeleton.c: Remove transliteration initialization.
1459 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1460 __gconv_step_data initialization.
1461 * libio/iofwide.c (__libio_translit_): Remove.
1462 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1463 * wcsmbs/btowc.c (__btowc): Likewise.
1464 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1465 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1466 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1467 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1468 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1469 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1470 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1471 * wcsmbs/wctob.c (wctob): Likewise.
1473 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1476 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1477 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1479 * sysdeps/x86/Makefile: Adjust.
1481 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1482 Roland McGrath <roland@hack.frob.com>
1484 * locale/weight.h: Add include guard.
1485 (findidx): Make static rather than auto; take new parameters
1486 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1487 * locale/weightwc.h: Likewise.
1488 * posix/fnmatch_loop.c
1489 (FCT): Change type of EXTRA from int32_t to wint_t.
1490 Don't include either header inside the function.
1491 Call FINDIDX rather than findidx, and pass new arguments.
1492 #undef FINDIDX at the end of the file.
1493 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1494 FINDIDX before including fnmatch_loop.c for the non-wide version.
1495 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1496 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1497 for the wide version.
1498 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1499 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1500 Pass new arguments to findidx.
1501 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1502 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1503 Don't #include it inside the function. Pass new arguments to findidx.
1504 * posix/regex_internal.h
1505 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1506 (re_string_elem_size_at): Don't #include it inside the function.
1507 Pass new arguments to findidx.
1508 * string/strcoll_l.c: #include WEIGHT_H at top level.
1509 (get_next_seq): Don't #include it inside the function.
1510 Pass new arguments to findidx.
1511 (get_next_seq_nocache): Likewise.
1512 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1513 (STRXFRM): Don't #include it inside the function.
1514 Pass new arguments to findidx.
1516 2014-09-11 Florian Weimer <fweimer@redhat.com>
1519 * malloc/malloc.c (unlink): Turn asserts into a call to
1522 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
1525 * libio/wfileops (do_ftell_wide): Free OUT.
1527 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1529 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1531 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1534 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1535 group if the current group is empty.
1537 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1539 * benchtests/bench-memset.c (test_main): Add more test from size
1540 from 32 to 512 bytes.
1541 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1542 Add POWER8 memset object.
1543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1544 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1545 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1547 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1549 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1550 multiarch POWER8 memset optimization.
1551 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1552 POWER8 memset optimization.
1554 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1555 Remove bzero multiarch objects.
1556 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1557 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1559 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1561 [__bzero]: Redefine to specific name.
1562 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1563 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1564 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1566 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1567 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1569 2014-09-10 Florian Weimer <fweimer@redhat.com>
1571 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1572 warnings into errors.
1574 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1575 __cxa_thread_atexit_impl prototype.
1577 2014-09-09 Steve Ellcey <sellcey@mips.com>
1579 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1580 Fix capitalization of error message.
1582 2014-09-09 Steve Ellcey <sellcey@mips.com>
1584 * sysdeps/mips/preconfigure: Modify ABI tests.
1586 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1588 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1590 2014-09-07 Roland McGrath <roland@hack.frob.com>
1591 Carlos O'Donell <carlos@systemhalted.org>
1593 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1594 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1595 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1596 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1597 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1598 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1599 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1600 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1601 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1602 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1603 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1604 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1605 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1606 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1607 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1608 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1609 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1610 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1611 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1612 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1613 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1614 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1615 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1616 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1617 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1618 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1619 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1620 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1621 Deconditionalize the code that was previously under [RESET_PID].
1622 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1623 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1624 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1625 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1628 2014-09-08 Allan McRae <allan@archlinux.org>
1630 * version.h (RELEASE): Set to "development".
1631 (VERSION): Set to "2.20.90"
1633 2014-09-07 Allan McRae <allan@archlinux.org
1635 * version.h (RELEASE): Set to "stable".
1636 (VERSION): Set to "2.20"
1637 * include/features.h (__GLIBC_MINOR__): Set to 20.
1639 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1642 * po/ko.po: Update Korean translation from translation project.
1644 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1647 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1648 macro for handling signed relocations.
1650 2014-09-03 Florian Weimer <fweimer@redhat.com>
1653 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1654 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1656 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1657 * iconvdata/ibm935.c (BODY): Likewise.
1658 * iconvdata/ibm937.c (BODY): Likewise.
1659 * iconvdata/ibm939.c (BODY): Likewise.
1660 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1662 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1664 * iconvdata/run-iconv-test.sh: New test loop for checking for
1667 2014-09-02 Khem Raj <raj.khem@gmail.com>
1669 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1672 2014-09-01 Allan McRae <allan@archlinux.org>
1674 * po/eo.po: Update Esperanto translation from translation project.
1676 * po/ca.po: Update Catalan translation from translation project.
1678 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1680 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1683 2014-08-27 Mark Wielaard <mjw@redhat.com>
1686 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1687 to call set_thread_area instead of hand written asm.
1688 (__NR_set_thread_area): Removed define.
1689 (TLS_FLAG_WRITABLE): Likewise.
1690 (__ASSUME_SET_THREAD_AREA): Remove check.
1691 (TLS_EBX_ARG): Remove define.
1692 (TLS_LOAD_EBX): Likewise.
1694 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1696 Simplify atomicity of socket creation in bind.
1698 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1699 looking up the name after linking the file.
1701 2014-08-27 Allan McRae <allan@archlinux.org>
1703 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1705 2014-08-26 Florian Weimer <fweimer@redhat.com>
1708 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1709 trans_compare, open_translit, __gconv_translit_find):
1710 Remove module loading code.
1712 2014-08-26 Allan McRae <allan@archlinux.org>
1714 * po/vi.po: Update Vietnamese translation from translation project.
1716 * po/uk.po: Update Ukrainian translation from translation project.
1718 * po/fr.po: Update French translation from translation project.
1720 * po/ru.po: Update Russian translation from translation project.
1722 * po/pl.po: Update Polish translation from translation project.
1724 * po/cs.po: Update Czech translation from translation project.
1726 * po/de.po: Update German translation from translation project.
1728 * po/bg.po: Update Bulgarian translation from translation project.
1730 * po/sv.po: Update Sweedish translation from translation project.
1732 * po/nl.po: Update Dutch translation from translation project.
1734 * po/es.po: Update Spanish translation from translation project.
1736 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1738 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1740 * catgets/Makefile (CPPFLAGS-gencat): Remove.
1741 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1742 (CPPFLAGS-iconvconfig): Likewise.
1743 * timezone/Makefile (CPPFLAGS-zic): Likewise.
1745 * include/libc-symbols.h: Remove unnecessary check for
1747 * nptl/pthreadP.h: Likewise.
1748 * sysdeps/aarch64/setjmp.S: Likewise.
1749 * sysdeps/alpha/setjmp.S: Likewise.
1750 * sysdeps/arm/sysdep.h: Likewise.
1751 * sysdeps/i386/setjmp.S: Likewise.
1752 * sysdeps/m68k/setjmp.c: Likewise.
1753 * sysdeps/posix/getcwd.c: Likewise.
1754 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1755 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1756 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1757 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1758 * sysdeps/sh/sh3/setjmp.S: Likewise.
1759 * sysdeps/sh/sh4/setjmp.S: Likewise.
1760 * sysdeps/unix/alpha/sysdep.h: Likewise.
1761 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1762 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1763 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1764 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1767 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1769 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1772 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1774 * sysdeps/x86_64/setjmp.S: Likewise.
1776 2014-08-13 Joseph Myers <joseph@codesourcery.com>
1779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1781 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1782 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1784 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1786 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1789 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1790 and __x86_64__ when disabling x87 inline functions.
1792 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
1795 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1796 asm statement with __cpuid_count.
1798 2014-08-12 Mike Frysinger <vapier@gentoo.org>
1800 * configure.ac: Change __ehdr_start code to dereference the struct.
1801 Run readelf on the output to look for relocations.
1802 * configure: Regenerated.
1804 2014-08-12 Joseph Myers <joseph@codesourcery.com>
1807 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1809 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1811 2014-08-12 Roland McGrath <roland@hack.frob.com>
1813 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1815 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
1818 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1819 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1821 2014-08-12 Sean Anderson <seanga2@gmail.com>
1823 * malloc/malloc.c: Fix typo in comment.
1825 2014-08-09 Allan McRae <allan@archlinux.org>
1827 * Regenerate libc.po.
1829 2014-08-08 Mike Frysinger <vapier@gentoo.org>
1831 * intl/tst-gettext2.sh: Check every lang file for creation.
1833 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1835 * sysdeps/aarch64/fpu/math_private.h
1836 (libc_feholdsetround_noex_aarch64_ctx): New function.
1838 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
1840 * sysdeps/arm/armv6/strcpy.S (strcpy):
1841 Fix performance issue in misaligned cases.
1843 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1845 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1846 Move definition from termios.h.
1847 (struct termio): Likewise.
1848 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1849 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1850 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1851 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1853 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1854 Move definition to ioctl-types.h
1855 (struct termio): Likewise.
1856 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1857 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1858 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1859 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1862 2014-08-05 Richard Henderson <rth@redhat.com>
1864 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1866 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1868 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1869 Use __feraiseexcept.
1870 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1871 Protect libm symbols with IS_IN_libm.
1873 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1875 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
1877 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1879 2014-08-04 Will Newton <will.newton@linaro.org>
1881 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1884 2014-08-04 Mike Frysinger <vapier@gentoo.org>
1886 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1887 variants for each function.
1889 2014-08-04 Roland McGrath <roland@hack.frob.com>
1891 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1893 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1894 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1896 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1897 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1898 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1899 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1900 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1901 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1902 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1903 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1904 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1905 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1906 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1907 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1908 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1909 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1910 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1911 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1912 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1913 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1914 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1915 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1916 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1918 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1919 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1920 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1921 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1922 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1923 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1924 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1925 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1926 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1927 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1928 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1929 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1930 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1931 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1932 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1933 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1934 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1935 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1936 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1937 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1938 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1939 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1940 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1941 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1942 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1943 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1944 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1945 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1946 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1947 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1948 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1950 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1951 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1953 2014-08-04 Roland McGrath <roland@hack.frob.com>
1955 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1956 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1957 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1958 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1959 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1960 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1962 2014-08-04 Roland McGrath <roland@hack.frob.com>
1964 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1965 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1966 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1967 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1969 2014-08-04 Roland McGrath <roland@hack.frob.com>
1971 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1972 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1973 (__libc_vfork): Define function under this name.
1974 (__vfork): Define as an alias.
1975 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1976 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1978 2014-08-04 Roland McGrath <roland@hack.frob.com>
1980 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1981 that was previously under [RESET_PID].
1982 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1984 2014-08-04 Andreas Schwab <schwab@suse.de>
1986 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1988 2014-08-03 Mike Frysinger <vapier@gentoo.org>
1990 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1993 2014-08-01 Roland McGrath <roland@hack.frob.com>
1995 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1997 2014-08-01 Richard Henderon <rth@redhat.com>
1999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2000 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2001 typo in exact zero test.
2002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2003 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2004 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2006 2014-08-01 Roland McGrath <roland@hack.frob.com>
2008 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2009 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2010 * sysdeps/arm/sysdep.h: ... here.
2011 [!__ASSEMBLER__]: Include <stdint.h>.
2013 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2015 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2016 (HAVE_WCTYPE_H): Likewise.
2017 (HAVE_ISWCTYPE): Likewise.
2018 (ENABLE_NLS): Likewise.
2019 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2020 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2022 * posix/regex_internal.c: Check if DEBUG is defined and is
2025 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2026 (HAVE_MBSRTOWCS): Likewise.
2027 * posix/fnmatch.c: Include string.h unconditionally.
2029 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2031 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2034 2014-07-31 Roland McGrath <roland@hack.frob.com>
2036 * sysdeps/generic/safe-fatal.h: New file.
2037 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2038 * nptl/forward.c: Include it.
2039 (__pthread_unwind): Use __safe_fatal as default action, rather
2040 than a bogus use of INTERNAL_SYSCALL that could never work.
2042 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2043 * configure.ac (libc_cv_builtin_trap): New test.
2044 * configure: Regenerated.
2045 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2046 (ABORT_INSTRUCTION): Define using __builtin_trap.
2048 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2049 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2050 * sysdeps/nptl/nptl-signals.h: New file.
2051 * nptl/pthreadP.h: Include <nptl-signals.h>.
2053 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2055 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2056 (ONE_DIRECTION): Define.
2057 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2058 (ONE_DIRECTION): Define.
2059 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2060 (ONE_DIRECTION): Define.
2062 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2064 * sysdeps/s390/Makefile: Delete file.
2065 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2066 * sysdeps/s390/__longjmp.c: Delete file.
2067 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2068 Remove fields __flags and __reserved.
2069 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2071 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2072 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2073 * sysdeps/s390/rtld-setjmp.S: Likewise.
2074 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2075 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2076 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2077 * sysdeps/s390/s390-32/setjmp.S: ... here.
2079 (__sigsetjmp): Remove setting __flags field.
2080 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2081 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2082 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2083 * sysdeps/s390/s390-64/setjmp.S: ... here.
2085 (__sigsetjmp): Remove setting __flags field.
2086 * sysdeps/s390/setjmp.S: Delete file.
2087 * sysdeps/s390/sigjmp.c: Likewise.
2088 * sysdeps/s390/v1-longjmp.c: Likewise.
2089 * sysdeps/s390/v1-setjmp.h: Likewise.
2090 * sysdeps/s390/v1-sigjmp.c: Likewise.
2091 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2092 Remove v1-longjmp_chk.
2093 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2094 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2095 Include debug/longjmp_chk.c and add versioning.
2096 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2097 Include nptl/pt-longjmp.c and add versioning.
2098 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2099 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2100 Include __longjmp.c.
2101 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2103 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2104 (__getcontext): Remove setting __flags field.
2106 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2107 Don't restore upper high grps.
2108 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2110 (__swapcontext): Remove setting uc_flags field.
2111 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2113 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2114 Include __longjmp.c.
2115 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2117 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2118 (__getcontext): Remove setting __flags field.
2120 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2121 (__swapcontext): Remove setting uc_flags field.
2122 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2123 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2124 Remove fields uc_high_gprs and __reserved.
2125 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2126 New file with reverted content.
2127 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2128 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2130 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2133 2014-07-31 Andreas Schwab <schwab@suse.de>
2135 * config.h.in (HAVE_IFUNC): Define to 0.
2136 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2139 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2142 memmove-avx-unaligned, memcpy-avx-unaligned and
2143 mempcpy-avx-unaligned.
2144 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2145 Add tests for AVX memcpy functions.
2146 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2147 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2149 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2150 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2152 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2153 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2155 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2156 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2157 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2159 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2162 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2165 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
2168 * manual/llio.texi: Add section about open file description locks.
2169 * manual/examples/ofdlocks.c: Example of open file description
2171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2172 F_OFD_SETLK, and F_OFD_SETLKW.
2174 2014-07-23 Allan McRae <allan@archlinux.org>
2176 * po/es.po: Update Spanish translation from translation project.
2178 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2180 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2182 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2185 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2186 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2187 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2189 2014-07-17 Joseph Myers <joseph@codesourcery.com>
2192 * math/fesetenv.c (__fesetenv)
2193 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2194 * math/feupdateenv.c (__feupdateenv)
2195 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2197 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2198 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2199 (__ASSUME_SOCKETCALL): Do not define.
2201 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2202 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2203 (__ASSUME_SOCKETCALL): Do not define.
2204 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2205 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2206 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2207 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2208 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2209 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2210 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2211 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2213 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2214 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2215 (__ASSUME_SOCKETCALL): Do not define.
2216 (__ASSUME_IPC64): Define unconditionally.
2217 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2218 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2219 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2220 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2221 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2222 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2223 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2226 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2227 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2228 (__ASSUME_SOCKETCALL): Do not define.
2229 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2230 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2231 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2232 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2233 (__ASSUME_REQUEUE_PI): Define unconditionally.
2234 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2235 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2236 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2237 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2238 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2239 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2241 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2242 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2243 (__ASSUME_SOCKETCALL): Do not define.
2244 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2245 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2246 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2247 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2248 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2249 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2251 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2252 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2253 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2254 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2255 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2256 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2257 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2258 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2259 (__ASSUME_GETCPU_SYSCALL): Likewise.
2261 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2262 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2263 cases for individual architectures.
2264 * sysdeps/gnu/configure: Regenerated.
2265 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2266 LIBC_SLIBDIR_RTLDDIR.
2267 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2268 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2269 LIBC_SLIBDIR_RTLDDIR.
2270 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2272 LIBC_SLIBDIR_RTLDDIR.
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2275 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2276 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2278 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2279 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2281 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2282 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2283 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2284 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2286 * sysdeps/aarch64/shlib-versions: Move to ...
2287 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2288 * sysdeps/alpha/shlib-versions: Move to ...
2289 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2290 * sysdeps/arm/shlib-versions: Move to ...
2291 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2292 * sysdeps/hppa/shlib-versions: Move all contents except for
2293 libgcc_s entry to ...
2294 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2296 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2297 * sysdeps/ia64/shlib-versions: Move to ...
2298 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2300 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2301 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2302 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2303 * sysdeps/microblaze/shlib-versions: Move to ...
2304 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2305 * sysdeps/mips/shlib-versions: Move to ...
2306 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2308 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2309 * sysdeps/tile/shlib-versions: Move to ...
2310 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2311 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2313 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2314 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2316 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2318 2014-07-17 Will Newton <will.newton@linaro.org>
2320 * sysdeps/arm/bits/atomic.h
2321 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2322 (__arch_compare_and_exchange_bool_16_int): Likewise.
2323 (__arch_compare_and_exchange_bool_64_int): Likewise.
2325 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2326 into an #else block.
2328 2014-07-16 Roland McGrath <roland@hack.frob.com>
2330 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2331 just Linux configurations. Test empirically that the compiler sets
2332 __ARM_EABI__, rather than using the tuple to decide.
2333 * sysdeps/arm/preconfigure: Regenerated.
2334 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2335 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2336 contents appended ...
2337 * sysdeps/arm/configure.ac: ... here.
2338 * sysdeps/arm/configure: Regenerated.
2340 2014-07-15 Roland McGrath <roland@hack.frob.com>
2342 * nptl/pthread_kill.c: New file.
2343 * nptl/pthread_sigmask.c: New file.
2344 * nptl/pthread_sigqueue.c: New file.
2346 * sysdeps/nptl/lowlevellock.h: New file.
2347 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2348 * sysdeps/nptl/lowlevellock-futex.h: New file.
2350 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2351 Remove dead declarations.
2353 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2355 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2356 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2358 * sysdeps/x86_64/configure.ac: Likewise.
2359 * sysdeps/i386/configure: Regenerated.
2360 * sysdeps/x86_64/configure: Likewise.
2361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2362 memset-avx2 only if config-cflags-avx2 is yes.
2363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2364 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2366 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2367 only if HAVE_AVX2_SUPPORT is defined.
2368 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2370 2014-07-14 Alan Modra <amodra@gmail.com>
2373 * elf/elf.h (DT_PPC64_NUM): Correct value.
2374 * NEWS: Add to fixed bug list.
2376 2014-07-13 Jim Meyering <meyering@fb.com>
2379 regex: don't deref NULL upon heap allocation failure
2380 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2381 failure in one more place.
2382 To trigger the segfault, configure grep -with-included-regex,
2383 build it, and run these commands:
2384 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2386 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2388 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2390 2014-07-11 Richard Henderson <rth@redhat.com>
2392 * sysdeps/aarch64/libm-test-ulps: Update.
2394 2014-07-10 Florian Weimer <fweimer@redhat.com>
2397 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2398 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2399 (__nptl_setxid): Initialize error member. Call
2400 __nptl_setxid_error.
2401 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2402 * nptl/descr.h (struct xid_command): Add error member.
2403 * nptl/tst-setuid3.c: New file.
2404 * nptl/Makefile (tests): Add it.
2406 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2408 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2410 (__lll_trylock): Use __lll_base_trylock.
2411 (__lll_cond_trylock): Likewise.
2413 2014-07-10 Roland McGrath <roland@hack.frob.com>
2415 * nptl/pthread_create.c (start_thread): Use atomic_or and
2416 lll_futex_wake directly rather than lll_robust_dead.
2417 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2418 (lll_robust_dead): Macro removed.
2419 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2420 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2421 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2422 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2423 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2424 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2425 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2426 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2427 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2428 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2429 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2430 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2431 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2432 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2433 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2435 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2436 Use atomic_compare_and_exchange_val_acq directly rather than
2438 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2439 (__lll_robust_trylock, lll_robust_trylock): Removed.
2440 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2441 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2442 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2443 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2444 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2445 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2446 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2447 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2448 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2449 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2450 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2451 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2452 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2453 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2455 2014-07-02 Florian Weimer <fweimer@redhat.com>
2457 * manual/locale.texi (Locale Names): New section documenting
2458 locale name syntax. Adjust menu and node chaining accordingly.
2459 (Choosing Locale): Reference Locale Names, Locale Categories.
2460 Mention setting LC_ALL=C. Reflect that name syntax is now
2462 (Locale Categories): New section title. Reference Locale Names.
2463 LC_ALL is an environment variable, but not a category.
2464 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2465 description, now in Locale Name. Reference that section. Locale
2466 name syntax is now documented.
2468 2014-07-02 Florian Weimer <fweimer@redhat.com>
2471 * locale/findlocale.c (name_present, valid_locale_name): New
2473 (_nl_find_locale): Use the loc_name variable to store name
2474 candidates. Call name_present and valid_locale_name to check and
2475 validate locale names. Return an error if the locale is invalid.
2477 2014-07-02 Florian Weimer <fweimer@redhat.com>
2479 * locale/setlocale.c (setlocale): Use strdup for allocating
2480 composite name copy.
2482 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2484 Sync up with gnulib.
2485 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2486 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2487 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2488 and _GL_ARG_NONNULL.
2489 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2490 [!_LIBC]: Include code for Windows and Cygwin.
2491 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2492 Include prototype for int strerror_r.
2493 [!_LIBC] (is_open): New function.
2494 (flush_stdout): New function.
2495 (print_errno_message): Use it.
2497 (error_at_line): Likewise.
2498 (error_tail) Add function attribute macros. Use
2501 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2503 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2505 * io/ftw.c: Include sys/param.h unconditionally.
2507 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2510 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2512 (freecache): New function to free CACHE on exit.
2514 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2517 2014-07-09 David S. Miller <davem@davemloft.net>
2519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2521 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2522 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2523 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2524 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2525 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2526 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2527 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2528 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2529 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2530 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2531 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2532 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2533 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2535 2014-07-09 Andreas Schwab <schwab@suse.de>
2537 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2539 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2540 (do_test): Likewise.
2542 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2544 2014-07-09 Will Newton <will.newton@linaro.org>
2546 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2547 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2548 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2549 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2550 * sysdeps/hppa/start.S (_start): Likewise.
2552 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2554 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2556 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2559 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2561 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2562 after checking that it is non-NULL.
2564 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2566 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2568 * sysdeps/powerpc/memmove.c: Remove file.
2569 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2570 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2571 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2572 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2573 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2574 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2575 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2576 string memmove instead of removed powerpc one.
2578 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2579 [weak_alias]: Fix compiler warning due trailing data.
2580 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2581 [weak_alias]: Likewise.
2582 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2583 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2586 (__libc_ifunc_impl_list): Add memmove functions.
2588 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2590 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2592 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2594 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2596 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2598 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2600 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2602 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2604 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2606 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2608 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2610 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2612 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2614 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2616 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2618 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2620 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2622 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2625 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2627 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2628 to avoid alignment traps in non-cacheable memory.
2629 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2633 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2634 file: multiarch power7 memmove.
2635 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2636 multiarch default memmove.
2637 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2638 multiarch memove for powerpc32/power4.
2640 * string/bcopy.c: Use full path to include memmove.c.
2641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2643 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2644 bcopy for powerpc64.
2645 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2646 bcopy for powerpc64.
2647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2648 and memmove implementations.
2649 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2650 optimized multiarch memmove for POWER7/powerpc64.
2651 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2652 default multiarch memmove for powerpc64.
2653 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2654 multiarch for powerpc64.
2655 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2656 for POWER7/powerpc64.
2657 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2658 memmove for POWER7/powerpc64.
2660 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2663 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2664 __ELF_NATIVE_CLASS equal to 64.
2666 2014-07-07 Roland McGrath <roland@hack.frob.com>
2668 * sysdeps/nptl/lowlevellock.h: File removed.
2670 * NEWS: NPTL is no longer an add-on!
2671 * nptl/internaltypes.h: Moved ...
2672 * sysdeps/nptl/internaltypes.h: ... here.
2673 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2674 * sysdeps/nptl/fork.c: Likewise.
2675 * sysdeps/nptl/gai_misc.h: Likewise.
2676 * sysdeps/nptl/librt-cancellation.c: Likewise.
2677 * sysdeps/nptl/jmp-unwind.c: Likewise.
2678 * sysdeps/nptl/setxid.h: Likewise.
2679 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2680 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2681 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2682 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2683 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2684 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2685 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2686 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2687 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2688 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2689 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2690 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2691 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2692 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2693 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2694 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2695 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2696 * nptl/Makeconfig: Moved ...
2697 * sysdeps/nptl/Makeconfig: ... here.
2698 * nptl/configure: File removed.
2699 * nptl/ANNOUNCE: File removed.
2700 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2701 * sysdeps/unix/sysv/linux/configure: Regenerated.
2703 * nptl/Makefile (routines): Add libc_pthread_init,
2704 libc_multiple_threads, register-atfork and unregister-atfork.
2705 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2706 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2707 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2708 pthread-pi-defines.sym, structsem.sym.
2709 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2710 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2711 [$(subdir) = nptl] (tests): Add tst-setgetname.
2712 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2713 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2714 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2715 [!LIBC_SIGACTION]: Remove aliases.
2716 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2717 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2718 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2719 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2720 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2721 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2722 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2723 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2724 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2725 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2726 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2727 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2728 __libc_allocate_rtsig_private.
2729 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2730 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2731 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2732 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2733 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2734 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2735 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2736 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2737 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2738 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2739 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2740 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2741 * nptl/internaltypes.h: ... here.
2742 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2743 * sysdeps/nptl/jmp-unwind.c: ... here.
2744 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2745 * nptl/libc-lowlevellock.c: ... here.
2746 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2747 * nptl/libc_multiple_threads.c: ... here.
2748 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2749 * nptl/libc_pthread_init.c: ... here.
2750 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2751 * nptl/lowlevelbarrier.sym: ... here.
2752 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2753 * nptl/lowlevelcond.sym: ... here.
2754 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2755 * nptl/lowlevellock.c: ... here.
2756 * nptl/lowlevellock.h: Moved ...
2757 * sysdeps/nptl/lowlevellock.h: ... here.
2758 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2759 * nptl/lowlevelrobustlock.c: ... here.
2760 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2761 * nptl/lowlevelrobustlock.sym: ... here.
2762 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2763 * nptl/lowlevelrwlock.sym: ... here.
2764 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2765 * nptl/pt-fork.c: ... here.
2766 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2767 * nptl/pthread-pi-defines.sym: ... here.
2768 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2769 * nptl/pthread_attr_getaffinity.c: ... here.
2770 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2771 * nptl/pthread_attr_setaffinity.c: ... here.
2772 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2773 * nptl/pthread_mutex_cond_lock.c: ... here.
2774 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2776 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2777 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2778 * nptl/pthread_once.c: ... here, replacing old file.
2779 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2780 * nptl/pthread_yield.c: ... here.
2781 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2782 * nptl/register-atfork.c: ... here.
2783 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2784 * nptl/sem_post.c: ... here.
2785 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2786 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2787 * nptl/sem_timedwait.c: ... here.
2788 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2789 * nptl/sem_trywait.c: ... here.
2790 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2791 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2792 * nptl/sem_wait.c: ... here.
2793 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2794 * nptl/structsem.sym: ... here.
2795 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2796 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2797 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2798 * nptl/unregister-atfork.c: ... here.
2799 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2800 * nptl/unwindbuf.sym: ... here.
2801 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2802 * sysdeps/nptl/fork.c: ... here.
2803 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2804 * sysdeps/nptl/fork.h: ... here.
2805 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2806 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2807 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2808 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2809 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2810 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2811 * sysdeps/unix/sysv/linux/getpid.c: ... here.
2812 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2813 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2814 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2815 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2816 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2817 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2818 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2819 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2820 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2821 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2822 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2823 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2824 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2825 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2826 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2827 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2828 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2829 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2830 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2831 * sysdeps/unix/sysv/linux/raise.c: ... here.
2832 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2833 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2834 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2835 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2836 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2837 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2838 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2839 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2840 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2841 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2842 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2843 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2844 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2845 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2846 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2848 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2850 * sysdeps/generic/memcopy.h: Add comment for
2851 MEMCPY_OK_FOR_FWD_MEMMOVE.
2853 2014-07-04 Will Newton <will.newton@linaro.org>
2855 * string/memchr.c: Merge from gnulib.
2856 [_LIBC]: Remove conditionals.
2857 (__ptr_t): Remove define.
2858 (LONG_MAX_32_BITS): Likewise.
2859 (LONG_MAX): Likewise.
2860 (MEMCHR): Use ANSI prototype and optimize algorithm.
2862 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2864 2014-07-03 Roland McGrath <roland@hack.frob.com>
2866 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2867 (lll_futex_timed_wait_bitset): Fix syscall argument count.
2869 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2870 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2871 in a bare environment with no <stdlib.h> installed.
2872 * sysdeps/nptl/configure: Regenerated.
2874 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2876 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2877 AC_EGREP_CPP for kernel header checks, so they only succeed if
2878 including <linux/version.h> actually works right.
2879 * sysdeps/unix/sysv/linux/configure: Regenerated.
2881 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2882 value so it's not diagnosed as unused.
2884 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2885 thing) with "ifeq ($(subdir),rt)".
2887 2014-07-03 Richard Henderson <rth@redhat.com>
2889 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2890 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2891 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2893 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2894 (math_force_eval): New.
2896 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2897 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2899 * sysdeps/alpha/fpu/s_round.c: Remove file.
2900 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2902 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2903 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2904 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2905 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2906 (_dl_start, print_statistics): Likewise.
2907 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2908 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2910 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2911 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2912 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2913 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2914 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2915 (HP_SMALL_TIMING_AVAIL): Define.
2916 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2917 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2918 (HP_SMALL_TIMING_AVAIL): Define.
2919 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2920 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2922 * sysdeps/aarch64/hp-timing.h: New file.
2924 * sysdeps/generic/hp-timing.h: Remove dead comment.
2925 * sysdeps/generic/hp-timing-common.h: New file.
2926 * sysdeps/alpha/hp-timing.h: Include it.
2927 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2928 * sysdeps/i386/i686/hp-timing.h: Likewise.
2929 * sysdeps/ia64/hp-timing.h: Likewise.
2930 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2931 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2932 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2933 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2934 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2935 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2938 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2939 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2940 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2941 * elf/rtld.c (_dl_start_final): Likewise.
2942 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2943 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2944 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2945 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2946 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2948 (HP_TIMING_DIFF_INIT): Remove.
2949 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2950 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2951 (HP_TIMING_DIFF_INIT): Remove.
2952 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2953 * sysdeps/i386/i686/hp-timing.c: Remove file.
2954 * sysdeps/x86_64/hp-timing.c: Remove file.
2955 * sysdeps/ia64/hp-timing.c: Remove file.
2956 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2957 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2958 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2959 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2961 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2962 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2963 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2964 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2965 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2966 (HP_TIMING_ACCUM): Remove.
2967 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2968 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2969 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2971 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2972 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2973 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2974 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2975 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2976 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2977 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2978 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2980 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2982 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
2984 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2986 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2988 Sync up with gettext.
2989 * intl/loadmsgcat.c: Define O_BINARY if not defined.
2990 [_MSC_VER]: Include malloc.h
2991 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2992 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2993 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
2994 TEMP_FAILURE_RETRY. Cast return of alloca.
2995 [!_LIBC] Call gl_rwlock_init.
2996 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2998 2014-07-02 Roland McGrath <roland@hack.frob.com>
3000 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3001 before checking its value.
3003 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3005 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3007 * debug/memcpy_chk.c: Don't include pagecopy.h.
3008 * debug/mempcpy_chk.c: Likewise.
3009 * string/memcpy.c: Likewise.
3010 * string/memmove.c: Likewise.
3011 * sysdeps/powerpc/memmove.c: Likewise.
3012 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3013 definition of PAGE_COPY_FWD_MAYBE here...
3014 * sysdeps/generic/pagecopy.h: ... from here.
3015 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3017 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3018 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3020 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3024 (__libc_ifunc_impl_list): Likewise.
3025 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3026 multiarch strcat for PPC64.
3027 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3028 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3030 2014-07-02 Roland McGrath <roland@hack.frob.com>
3032 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3034 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3036 * intl/loadmsgcat.c: Remove declaration of
3037 get_sysdep_segment_value.
3038 (get_sysdep_segment_value): Use ISO C style.
3039 (_nl_load_domain): Use ISO C style. Get rid of redundant
3040 semicolon. Fix typo and formatting in comment.
3041 (_nl_unload_domain): Use ISO C style.
3043 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3045 2014-07-02 Will Newton <will.newton@linaro.org>
3047 * malloc/obstack.c: Merge from gnulib master.
3048 [HAVE_CONFIG_H]: Remove conditional code.
3049 [!_LIBC]: Include config.h.
3050 [!ELIDE_CODE]: Don't include inttypes.h, include
3051 stdint.h unconditionally.
3052 (print_and_abort): Mark as _Noreturn.
3053 (_obstack_allocated_p): Mark as __attribute_pure__.
3054 (obstack_free): Rename to __obstack_free.
3055 [!__attribute__]: Remove conditional code.
3056 * malloc/obstack.h: Merge from gnulib master.
3057 [__cplusplus]: Move conditional down.
3058 [!__attribute_pure__]: Define __attribute_pure__ here
3059 if it is not already defined.
3060 (_obstack_memory_used): Mark as __attribute_pure__.
3061 [!__obstack_free]: Define as obstack_free.
3062 [__GNUC__]: Remove check for ancient NeXT gcc.
3064 2014-07-02 Will Newton <will.newton@linaro.org>
3065 Paul Eggert <eggert@cs.ucla.edu>
3067 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3069 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3071 * resolv/gethnamaddr.c: Add comment warning that the file is
3074 2014-07-01 Carlos O'Donell <carlos@redhat.com>
3076 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3079 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3080 entry for aio_cancel and aio_cancel64.
3081 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3082 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3083 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3084 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3085 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3086 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3087 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3088 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3089 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3090 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3091 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3092 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3093 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3095 2014-07-01 Roland McGrath <roland@hack.frob.com>
3097 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3098 * nptl/pthread_mutex_lock.c: Likewise.
3099 * nptl/pthread_mutex_timedlock.c: Likewise.
3100 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3102 2014-07-01 Richard henderson <rth@redhat.com>
3104 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3105 (__isnan, __isnanl): Remove.
3106 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3108 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3110 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3112 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3114 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3116 * resolv/nss_dns/dns-host.c (getanswer_r)
3117 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3119 2014-07-01 Joseph Myers <joseph@codesourcery.com>
3121 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3122 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3124 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3125 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3127 2014-07-01 Roland McGrath <roland@hack.frob.com>
3129 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3130 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3132 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3133 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3135 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3136 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3138 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3139 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3141 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3142 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3143 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3144 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3146 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3147 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3148 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3149 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3150 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3152 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3154 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3155 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3156 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3157 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3158 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3159 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3160 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3161 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3162 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3163 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3164 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3165 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3166 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3167 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3168 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3169 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3170 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3171 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3172 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3173 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3175 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3176 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3177 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3178 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3179 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3180 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3181 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3182 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3184 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3186 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3187 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3188 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3191 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3195 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3197 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3198 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3200 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3202 * sysdeps/arm/libm-test-ulps: Regenerated.
3204 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3205 Roland McGrath <roland@hack.frob.com>
3207 * test-skeleton.c (signal_handler): Kill the whole process group
3208 before killing the child individually.
3209 (main): Report any failure on `setpgid'.
3211 2014-06-30 Roland McGrath <roland@hack.frob.com>
3213 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3214 from _TLS_H to _ARM_NPTL_TLS_H.
3215 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3216 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3218 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3221 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3222 (__expm1l): Return argument unchanged when small but not
3225 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3227 (_FP_UNPACK_RAW_1_P): Likewise.
3228 (_FP_PACK_RAW_1): Likewise.
3229 (_FP_PACK_RAW_1_P): Likewise.
3230 (_FP_MUL_MEAT_1_wide): Likewise.
3231 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3232 (_FP_MUL_MEAT_1_hard): Likewise.
3233 (_FP_DIV_MEAT_1_imm): Likewise.
3234 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3235 (_FP_DIV_MEAT_1_udiv): Likewise.
3236 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3237 (_FP_UNPACK_RAW_2): Likewise.
3238 (_FP_UNPACK_RAW_2_P): Likewise.
3239 (_FP_PACK_RAW_2): Likewise.
3240 (_FP_PACK_RAW_2_P): Likewise.
3241 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3242 (_FP_MUL_MEAT_2_wide): Likewise.
3243 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3244 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3245 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3246 (_FP_MUL_MEAT_2_gmp): Likewise.
3247 (_FP_DIV_MEAT_2_udiv): Likewise.
3248 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3249 (_FP_FRAC_SRL_4): Likewise.
3250 (_FP_FRAC_SRST_4): Likewise.
3251 (_FP_FRAC_SRS_4): Likewise.
3252 (_FP_UNPACK_RAW_4): Likewise.
3253 (_FP_UNPACK_RAW_4_P): Likewise.
3254 (_FP_PACK_RAW_4): Likewise.
3255 (_FP_PACK_RAW_4_P): Likewise.
3256 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3257 (_FP_MUL_MEAT_4_wide): Likewise.
3258 (_FP_MUL_MEAT_4_gmp): Likewise.
3259 (umul_ppppmnnn): Likewise.
3260 (_FP_DIV_MEAT_4_udiv): Likewise.
3261 (__FP_FRAC_ADD_4): Likewise.
3262 (__FP_FRAC_SUB_3): Likewise.
3263 (__FP_FRAC_SUB_4): Likewise.
3264 (__FP_FRAC_DEC_3): Likewise.
3265 (__FP_FRAC_DEC_4): Likewise.
3266 (__FP_FRAC_ADDI_4): Likewise.
3267 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3268 (_FP_FRAC_SRL_8): Likewise.
3269 (_FP_FRAC_SRS_8): Likewise.
3271 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3273 (FP_UNPACK_RAW_EP): Likewise.
3274 (FP_PACK_RAW_E): Likewise.
3275 (FP_PACK_RAW_EP): Likewise.
3276 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3277 (_FP_ISSIGNAN): Likewise.
3278 (_FP_ADD_INTERNAL): Likewise.
3279 (_FP_FMA): Likewise.
3280 (_FP_CMP): Likewise.
3281 (_FP_SQRT): Likewise.
3282 (_FP_TO_INT): Likewise.
3283 (_FP_FROM_INT): Likewise.
3284 (FP_EXTEND): Likewise.
3285 (_FP_DIV_MEAT_N_loop): Likewise.
3287 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3289 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3292 2014-06-29 Joseph Myers <joseph@codesourcery.com>
3295 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3296 result with correct sign in case of exponents that produce
3297 overflow except for X very close to 1.
3299 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3301 mktime: merge #if/#ifdef usage from glibc
3302 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3303 as that works with both Glibc's and Gnulib's style.
3304 See thread starting at Siddhesh Poyarekar's bug report at:
3305 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3307 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3309 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3310 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3311 * sysdeps/tile/tilegx/memmove.c: Remove file.
3313 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3315 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3316 abi-name definition.
3317 * scripts/soversions.awk: Do not handle or generate ABI lines.
3318 * shlib-versions: Remove ABI entries.
3319 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3320 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3322 2014-06-27 Roland McGrath <roland@hack.frob.com>
3324 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3325 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3326 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3327 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3329 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3330 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3332 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3334 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3335 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3337 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3338 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3339 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3341 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3342 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3343 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3344 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3345 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3346 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3348 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3349 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3350 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3352 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3353 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3355 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3356 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3358 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3360 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3363 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3365 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3367 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3369 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3372 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3373 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3374 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3375 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3377 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3378 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3380 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3381 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3382 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3383 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3385 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3387 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3388 Identical file removed.
3389 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3391 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3392 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3393 Identical file removed.
3394 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3395 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3396 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3398 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3399 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3400 Identical file removed.
3401 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3402 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3403 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3404 Identical file removed.
3405 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3406 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3407 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3408 Identical file removed.
3409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3410 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3412 Identical file removed.
3413 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3415 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3416 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3417 Identical file removed.
3418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3420 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3421 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3422 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3423 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3424 Identical file removed.
3425 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3427 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3429 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3430 Identical file removed.
3431 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3433 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3434 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3435 Identical file removed.
3436 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3438 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3439 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3440 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3441 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3442 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3443 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3445 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3446 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3447 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3449 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3450 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3451 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3452 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3453 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3455 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
3458 * nscd/nscd.c (monitor_child): Return exit status of child
3459 instead of return value from wait syscall.
3461 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3463 * configure.ac (libc_commonpagesize): Remove variable.
3464 (libc_relro_required): Likewise.
3465 (libc_cv_z_relro): Remove configure test.
3466 * configure: Regenerated.
3467 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3469 (libc_relro_required): Likewise.
3470 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3471 (libc_relro_required): Likewise.
3472 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3473 (libc_relro_required): Likewise.
3474 * sysdeps/arm/preconfigure: Regenerated.
3475 * sysdeps/ia64/preconfigure: Remove file.
3476 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3478 (libc_relro_required): Likewise.
3482 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3483 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3484 recompute overflowing results in original rounding mode.
3485 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3486 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3487 recompute overflowing results in original rounding mode.
3488 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3489 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3490 recompute overflowing results in original rounding mode.
3491 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3492 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3493 recompute overflowing results in original rounding mode.
3494 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3495 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3496 recompute overflowing results in original rounding mode.
3497 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3498 (libc_feholdsetround_ctx): New macro.
3499 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3500 * sysdeps/i386/fpu/libm-test-ulps: Update.
3501 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3503 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3505 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3506 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3507 corresponding .cpsetup call.
3509 2014-06-26 Roland McGrath <roland@hack.frob.com>
3511 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3512 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3513 * sysdeps/arm/Makefile [$(subdir) = csu]
3514 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3515 (static-only-routines): Add aeabi_read_tp here.
3516 (shared-only-routines): Add libc-aeabi_read_tp here.
3517 (CFLAGS-libc-start.c): Add -fexceptions here.
3518 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3519 (sysdep_routines, static-only-routines, shared-only-routines):
3520 Don't add to these here.
3521 (CFLAGS-libc-start.c): Likewise.
3523 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3524 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3525 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3526 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3527 * sysdeps/arm/Makefile [$(subdir) = rt]
3528 (librt-sysdep_routines, librt-shared-only-routines):
3529 Append rt-aeabi_unwind_cpp_pr1 here.
3530 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3531 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3532 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3533 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3534 Append nptl-aeabi_unwind_cpp_pr1 here.
3535 (tests): Filter out tst-cleanupx4 here.
3536 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3537 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3538 Don't do those here.
3540 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3542 * scripts/list-sources.sh: Do not handle ports specially.
3544 2014-06-26 Roland McGrath <roland@hack.frob.com>
3546 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3547 * sysdeps/arm/feupdateenv.c: Likewise.
3549 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3551 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3553 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3554 trailing whitespace removed.
3555 * scripts/config.guess: Update to version 2014-03-23.
3556 * scripts/config.sub: Update to version 2014-05-01
3557 * scripts/install-sh: Update to version 2013-12-25.23.
3558 * scripts/move-if-change: Update from gnulib.
3560 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3562 * debug/memmove_chk.c: Remove pagecopy.h include.
3564 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3566 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3567 identical to gnulib mktime.
3569 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3571 * configure.ac: Do not test for machine being rs6000. Do not test
3573 * configure: Regenerated.
3575 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3577 * configure: Regenerated.
3578 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3579 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3580 Remove configure test.
3581 * sysdeps/arm/configure: Regenerated.
3582 * sysdeps/nptl/configure.ac: Do not check
3583 libc_cv_asm_cfi_directives.
3584 * sysdeps/nptl/configure: Regenerated.
3585 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3586 * sysdeps/x86_64/nptl/configure: Remove generated file.
3587 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3589 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3591 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3593 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3594 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3595 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3598 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3599 instead of whether it is defined.
3600 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3601 * sysdeps/hppa/dl-machine.h: Likewise.
3602 * sysdeps/ia64/dl-machine.h: Likewise.
3603 * sysdeps/m68k/dl-machine.h: Likewise.
3604 * sysdeps/microblaze/dl-machine.h: Likewise.
3605 * sysdeps/mips/dl-machine.: Likewise.
3606 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3607 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3608 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3609 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3610 * sysdeps/sh/dl-machine.h: Likewise.
3611 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3612 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3613 * sysdeps/tile/dl-machine.h: Likewise.
3614 * sysdeps/x86_64/dl-machine.h: Likewise.
3616 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3618 (verify_persistent_db): Likewise.
3620 2014-06-26 Roland McGrath <roland@hack.frob.com>
3622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3623 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3625 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3628 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3631 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3633 Identical file removed.
3634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3635 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3637 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3639 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3641 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3643 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3646 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3648 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3650 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3653 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3655 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3657 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3659 Identical file removed.
3660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3661 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3663 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3666 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3669 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3671 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3673 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3675 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3677 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3680 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3683 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3685 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3688 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3690 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3692 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3694 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3695 * sysdeps/unix/sysv/linux/s390/Versions
3696 (libpthread: GLIBC_2.19): New version set.
3697 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3698 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3699 (librt: GLIBC_2.3.3): New version set.
3700 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3701 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3702 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3703 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3704 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3705 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3706 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3707 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3708 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3709 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3710 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3711 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3712 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3713 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3714 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3715 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3716 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3717 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3718 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3719 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3720 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3721 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3722 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3723 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3724 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3725 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3726 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3727 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3728 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3729 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3730 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3731 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3732 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3733 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3734 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3735 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3736 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3737 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3738 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3739 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3740 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3741 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3742 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3743 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3744 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3746 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3747 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3748 (__libc_vfork): Define the function under this name.
3749 [!NOT_IN_libc] (__vfork): Make this an alias.
3750 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3751 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3752 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3753 (__libc_vfork): Define the function under this name.
3754 [!NOT_IN_libc] (__vfork): Make this an alias.
3755 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3756 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3757 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3759 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3760 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3762 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3763 code that was previously under [RESET_PID].
3764 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3765 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3766 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3768 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3769 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3770 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3771 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3772 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3773 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3774 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3775 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3776 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3777 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3778 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3780 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3781 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3782 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3783 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3784 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3785 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3786 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3787 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3788 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3789 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3790 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3791 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3792 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3793 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3794 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3795 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3796 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3797 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3798 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3799 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3800 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3801 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3802 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3803 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3804 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3805 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3806 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3807 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3808 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3810 2014-06-25 Roland McGrath <roland@hack.frob.com>
3812 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3813 that was previously under [RESET_PID].
3814 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3816 2014-06-25 Joseph Myers <joseph@codesourcery.com>
3818 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3819 not undefine and redefine.
3820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3821 [O_CLOEXEC]: Make code unconditional.
3822 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3823 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3824 <kernel-features.h>.
3825 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3826 conditional variable definition.
3827 (shm_open) [O_CLOEXEC]: Make code unconditional.
3828 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3831 * configure.ac (USE_REGPARMS): Don't define here.
3832 * configure: Regenerated.
3833 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3834 * sysdeps/i386/configure: Regenerated.
3836 * nptl/createthread.c: Don't include kernel-features.h.
3837 * nptl/pthread_cancel.c: Likewise.
3838 * nptl/pthread_condattr_setclock.c: Likewise.
3839 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3840 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3841 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3842 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3843 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3844 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3845 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3846 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3847 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3848 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3849 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3850 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3851 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3852 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3853 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3854 * nscd/gai.c: Likewise.
3855 * nss/nss_db/db-open.c: Likewise.
3856 * sysdeps/generic/ldsodefs.h: Likewise.
3857 * sysdeps/sh/nptl/tls.h: Likewise.
3858 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3859 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3860 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3861 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3862 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3863 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3864 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3865 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3866 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3867 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3868 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3869 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3870 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3871 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3872 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3873 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3874 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3875 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3876 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3877 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3878 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3879 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3880 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3881 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3882 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3883 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3884 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3885 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3886 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3887 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3888 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3889 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3890 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3891 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3892 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3893 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3894 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3895 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3896 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3897 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3898 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3899 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3900 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3901 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3902 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3903 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3904 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3905 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3906 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3907 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3908 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3909 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3910 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3911 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3912 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3913 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3914 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3915 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3938 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3939 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3940 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3941 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3942 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3943 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3944 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3945 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3946 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3947 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3948 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3949 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3950 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3951 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3952 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3953 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3954 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3955 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3956 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3957 * sysdeps/unix/sysv/linux/system.c: Likewise.
3958 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3959 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3960 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3961 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3962 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3963 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3964 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3966 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3967 * configure: Regenerated.
3968 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3970 * configure.ac (base_machine): Do not set specially for particular
3972 * configure: Regenerated.
3973 * sysdeps/powerpc/preconfigure: Move machine and base_machine
3974 settings from configure.ac.
3975 * sysdeps/i386/preconfigure: New file.
3976 * sysdeps/s390/preconfigure: Likewise.
3977 * sysdeps/sh/preconfigure: Likewise.
3978 * sysdeps/sparc/preconfigure: Likewise.
3980 2014-06-25 Roland McGrath <roland@hack.frob.com>
3982 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3983 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3984 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3985 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3986 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3987 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3988 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3989 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3990 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3991 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3992 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3993 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3994 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3995 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3996 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3997 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3998 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3999 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4000 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4002 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4003 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4004 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4005 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4006 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4007 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4008 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4009 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4010 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4011 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4012 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4013 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4014 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4015 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4016 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4017 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4018 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4019 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4020 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4021 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4022 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4023 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4024 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4025 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4026 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4027 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4028 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4029 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4030 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4031 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4032 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4033 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4034 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4035 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4036 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4037 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4038 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4039 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4042 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4044 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4047 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4050 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4052 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4055 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4057 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4059 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4061 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4064 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4067 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4069 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4072 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4074 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4076 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4078 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4080 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4083 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4086 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4088 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4091 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4093 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4095 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4097 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4100 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4103 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4105 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4108 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4110 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4112 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4114 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4116 * timezone/checktab.awk: Update from tzcode 2014e.
4117 * timezone/private.h: Likewise.
4118 * timezone/tzfile.h: Likewise.
4119 * timezone/zdump.c: Likewise.
4120 * timezone/zic.c: Likewise.
4122 * sysdeps/unix/sysv/linux/kernel-features.h
4123 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4124 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4125 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4126 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4127 Remove conditional code.
4129 2014-06-25 Will Newton <will.newton@linaro.org>
4131 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4132 (_dl_arm_cap_flags): Add HWCAP2 values.
4133 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4134 (_DL_HWCAP_COUNT): Increase to 37.
4135 (_DL_HWCAP_LAST): New define.
4136 (_DL_HWCAP2_LAST): New define.
4137 (_dl_procinfo): Add support for printing
4139 (_dl_string_hwcap): Use _dl_hwcap_string.
4141 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4145 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4147 * README: Do not mention ports directory.
4149 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4151 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4152 <kernel-features.h>.
4153 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4154 conditional variable definition.
4155 (__futimes): Update comment.
4156 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4157 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4160 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4161 arguments close to 0.
4162 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4164 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4166 * math/auto-libm-test-in: Add more tests of exp10.
4167 * math/auto-libm-test-out: Regenerated.
4168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4170 * sysdeps/unix/sysv/linux/kernel-features.h
4171 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4172 * sysdeps/unix/sysv/linux/readv.c: Do not include
4173 <kernel-features.h>.
4174 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4175 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4176 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4178 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4180 * sysdeps/unix/sysv/linux/writev.c: Do not include
4181 <kernel-features.h>.
4182 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4183 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4184 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4186 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4189 2014-06-25 Will Newton <will.newton@linaro.org>
4191 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4192 comment changes throughout the file. Remove checks
4193 for HAVE_*_H definitions that are not required.
4194 (__gen_tempname): Call abort if an unknown kind value is
4197 2014-06-25 Andreas Schwab <schwab@suse.de>
4200 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4201 scalbln, scalblnf, scalblnl in libc.
4203 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4206 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4207 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4208 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4210 2014-06-24 Roland McGrath <roland@hack.frob.com>
4212 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4213 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4214 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4215 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4217 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4218 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4220 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4221 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4222 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4223 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4224 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4225 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4226 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4227 * sysdeps/x86/bits/semaphore.h: ... here.
4228 * sysdeps/x86/nptl/elide.h: Moved ...
4229 * sysdeps/x86/elide.h: ... here.
4230 * sysdeps/x86_64/nptl/Implies: File removed.
4231 * sysdeps/i386/nptl/Implies: File removed.
4233 2014-06-24 Joseph Myers <joseph@codesourcery.com>
4236 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4237 return the argument for normal arguments with exponent below -64.
4238 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4240 * math/auto-libm-test-in: Add another test of expm1.
4241 * math/auto-libm-test-out: Regenerated.
4244 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4245 calling __erfcl for arguments at least 16.
4246 * math/auto-libm-test-in: Add more tests of erf.
4247 * math/auto-libm-test-out: Regenerated.
4249 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4250 individual architectures.
4251 * sysdeps/unix/sysv/linux/configure: Regenerated.
4252 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4253 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4254 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4255 (ldd_rewrite_script): Define variable.
4256 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4261 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4262 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4263 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4264 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4265 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4266 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4267 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4268 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4270 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4273 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4274 Rename member __data.d to __data.__elision_data.
4276 2014-06-24 Wilco <wdijkstr@arm.com>
4278 * NEWS: Add 16918 to fixed bug list.
4280 2014-06-24 Wilco <wdijkstr@arm.com>
4282 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4284 2014-06-24 Wilco <wdijkstr@arm.com>
4286 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4287 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4288 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4289 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4290 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4291 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4292 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4295 2014-06-24 Wilco <wdijkstr@arm.com>
4297 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4299 2014-06-24 Wilco <wdijkstr@arm.com>
4301 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4302 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4303 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4304 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4306 2014-06-24 Wilco <wdijkstr@arm.com>
4309 * sysdeps/arm/feupdateenv.c (feupdateenv):
4310 Rewrite to reduce FPSCR accesses and fix return value.
4312 2014-06-24 Wilco <wdijkstr@arm.com>
4314 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4315 Optimize to avoid unnecessary FPSCR writes.
4316 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4317 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4318 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4319 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4321 2014-06-24 Wilco <wdijkstr@arm.com>
4323 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4324 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4325 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4326 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4327 Call libc_fetestexcept_vfp.
4328 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4329 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4330 __SOFTFP__ ifdef so that they can be built for softfp.
4332 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4334 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4335 argument type signed char.
4337 * Makerules (check-abi): Dump diff of symlist if the test
4340 2014-06-23 Roland McGrath <roland@hack.frob.com>
4342 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4345 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4346 Remove unused variable ST.
4348 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4352 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4353 small arguments before calling __expm1.
4354 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4355 small arguments before calling __expm1f.
4356 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4357 small arguments before calling __expm1l.
4358 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4360 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4361 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4362 spurious underflow for some cosh tests.
4363 * math/auto-libm-test-out: Regenerated.
4364 * sysdeps/i386/fpu/libm-test-ulps: Update.
4367 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4368 (__ieee754_y1): Set errno if return value overflows.
4369 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4370 (__ieee754_y1f): Set errno if return value overflows.
4371 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4372 (__ieee754_y1l): Set errno if return value overflows.
4373 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4374 (__ieee754_y1l): Set errno if return value overflows.
4375 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4376 * math/auto-libm-test-out: Regenerated.
4378 * math/gen-auto-libm-tests.c: Document use of
4379 ignore-zero-inf-sign.
4380 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4381 (input_flags): Add ignore-zero-inf-sign.
4382 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4383 * math/gen-libm-test.pl (generate_testfile): Handle
4384 ignore-zero-inf-sign.
4385 * math/auto-libm-test-in: Mark some cpow tests with
4386 ignore-zero-inf-sign and some with xfail-rounding.
4387 * math/auto-libm-test-out: Regenerated.
4388 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4389 * sysdeps/i386/fpu/libm-test-ulps: Update.
4390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4393 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4394 overflowing or underflowing operations take place with sign of
4396 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4397 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4398 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4399 (__ieee754_pow): Recompute overflowing and underflowing results in
4400 original rounding mode.
4401 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4402 (__powl_helper): Allow negative argument X and scale negated value
4403 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4404 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4405 overflowing or underflowing operations take place with sign of
4407 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4409 * math/auto-libm-test-in: Add more tests of pow.
4410 * math/auto-libm-test-out: Regenerated.
4411 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4412 (pow_tonearest_test_data): Remove.
4413 (pow_test_tonearest): Likewise.
4414 (pow_towardzero_test_data): Likewise.
4415 (pow_test_towardzero): Likewise.
4416 (pow_downward_test_data): Likewise.
4417 (pow_test_downward): Likewise.
4418 (pow_upward_test_data): Likewise.
4419 (pow_test_upward): Likewise.
4420 (main): Don't call removed functions.
4421 * sysdeps/i386/fpu/libm-test-ulps: Update.
4422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4424 2014-06-23 Roland McGrath <roland@hack.frob.com>
4426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4600 2014-06-23 Will Newton <will.newton@linaro.org>
4601 Wilco <wdijkstr@arm.com>
4603 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4604 implementation. Include get-rounding-mode.h.
4605 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4606 [!libc_feholdsetround_noex_ctx]: Define
4607 libc_feholdsetround_noex_ctx.
4608 [!libc_feholdsetround_noexf_ctx]: Define
4609 libc_feholdsetround_noexf_ctx.
4610 [!libc_feholdsetround_noexl_ctx]: Define
4611 libc_feholdsetround_noexl_ctx.
4612 (libc_feholdsetround_ctx): New function.
4613 (libc_feresetround_ctx): New function.
4614 (libc_feholdsetround_noex_ctx): New function.
4615 (libc_feresetround_noex_ctx): New function.
4617 2014-06-23 Roland McGrath <roland@hack.frob.com>
4619 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4620 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4621 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4622 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4623 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4624 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4626 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4627 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4628 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4629 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4630 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4631 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4632 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4633 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4634 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4635 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4636 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4638 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4640 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4641 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4642 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4643 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4644 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4646 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4647 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4648 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4649 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4650 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4652 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4655 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4656 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4658 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4660 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4661 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4663 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4664 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4665 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4666 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4667 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4668 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4669 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4670 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4671 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4672 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4674 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4676 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4677 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4678 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4679 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4680 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4681 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4682 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4683 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4685 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4686 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4687 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4688 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4690 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4691 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4692 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4694 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4695 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4697 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4698 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4699 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4700 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4701 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4703 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4704 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4705 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4706 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4707 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4708 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4709 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4710 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4714 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4717 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4718 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4719 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4720 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4721 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4722 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4723 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4724 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4725 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4726 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4727 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4728 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4729 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4730 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4732 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4734 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4735 (FALLOC_FL_COLLAPSE_RANGE): New macro.
4736 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4737 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4738 (IPV6_PMTUDISC_INTERFACE): Likewise.
4739 (IPV6_PMTUDISC_OMIT): Likewise.
4741 2014-06-23 Andreas Schwab <schwab@suse.de>
4743 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4744 Remove unused errout label.
4746 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4748 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4749 macro: hardware supports Vector Crypto instructions.
4751 2014-06-23 Will Newton <will.newton@linaro.org>
4753 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4754 rather than __builtin_expect.
4756 * elf/dl-lookup.c (undefined_msg): Remove variable.
4757 (_dl_lookup_symbol_x): Replace undefined_msg with string
4760 * elf/dl-lookup.c (do_lookup_unique): New function.
4761 (do_lookup_x): Move STB_GNU_UNIQUE handling code
4762 to a separate function.
4764 2014-06-23 Andreas Schwab <schwab@suse.de>
4767 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4768 before reading the next line.
4770 2014-06-23 Will Newton <will.newton@linaro.org>
4772 * test-skeleton.c (signal_handler): Use printf and %m
4773 rather than perror. Use printf rather than fprintf to
4774 stderr. Use puts rather than fputs to stderr.
4777 2014-06-22 Ludovic Courtès <ludo@gnu.org>
4779 * nscd/nscd.c (thread_info_t): Remove typedef.
4780 (thread_info): Remove variable.
4782 2014-06-21 Allan McRae <allan@archlinux.org>
4784 * NEWS: Mention CVE-2014-4043.
4786 2014-06-20 Roland McGrath <roland@hack.frob.com>
4788 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4789 * nptl/smp.h: ... here.
4791 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4793 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4794 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4795 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4796 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4798 * nptl/allocatestack.c: Include <stack-aliasing.h>.
4799 * nptl/stack-aliasing.h: New file.
4800 * sysdeps/i386/i686/stack-aliasing.h: New file.
4801 * sysdeps/i386/i686/nptl/Makefile: File removed.
4802 * sysdeps/x86_64/stack-aliasing.h: New file.
4803 * sysdeps/x86_64/nptl/Makefile
4804 (CFLAGS-pthread_create.c): Variable removed.
4806 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4807 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4809 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4810 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4813 2014-06-21 Joseph Myers <joseph@codesourcery.com>
4815 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4816 (__ASSUME_SIGFRAME_V2): Remove macro.
4817 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4818 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4819 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4820 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4821 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4822 Declare as function. Remove conditional macro definitions.
4823 (__default_rt_sa_restorer): Likewise.
4824 (__default_sa_restorer_v1): Remove declaration.
4825 (__default_sa_restorer_v2): Likewise.
4826 (__default_rt_sa_restorer_v1): Likewise.
4827 (__default_rt_sa_restorer_v2): Likewise.
4828 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4829 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4830 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4832 2014-06-20 Roland McGrath <roland@hack.frob.com>
4834 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4835 (libpthread-routines): Add sysdep.
4836 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4837 * sysdeps/unix/sysv/linux/sparc/Versions
4838 (libpthread: GLIBC_2.3.3): New version set.
4839 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4840 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4841 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4842 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4843 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
4844 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4846 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4847 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4848 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4849 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4850 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4851 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4852 * sysdeps/sparc/nptl/sem_init.c: ... here.
4853 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4854 * sysdeps/sparc/nptl/sem_post.c: ... here.
4855 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4856 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4857 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4858 * sysdeps/sparc/nptl/sem_wait.c: ... here.
4859 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4860 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4861 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4862 (libpthread-routines): Add cpu_relax.
4863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4865 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4866 (librt: GLIBC_2.3.3): New version set.
4867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4868 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4869 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4870 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4872 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4873 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4874 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4876 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4878 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4879 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4880 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4882 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4884 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4887 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4891 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4895 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4899 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4903 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4907 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4909 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4910 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4911 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4912 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4914 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4916 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4918 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4921 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4923 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4925 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4927 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4929 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4930 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4931 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4932 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4933 * nscd/nscd.c: Likewise.
4934 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4935 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4936 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4937 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4939 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4940 <kernel-features.h>.
4941 (init_mq_netlink): Remove conditional have_sock_cloexec
4942 definitions. Remove code conditional on have_sock_cloexec < 0.
4943 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4944 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4945 * sysdeps/unix/sysv/linux/opensock.c: Do not include
4946 <kernel-features.h>.
4947 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4948 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4950 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
4952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4953 Add tests for memset_chk and memset.
4955 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4958 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4961 * elf/tst-dl-iter-static.c: New file.
4962 * elf/Makefile (tests-static): Add tst-dl-iter-static.
4964 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4967 2014-06-20 Joseph Myers <joseph@codesourcery.com>
4969 * sysdeps/unix/sysv/linux/kernel-features.h
4970 (__ASSUME_F_GETOWN_EX): Remove macro.
4971 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4972 <kernel-features.h>.
4973 (miss_F_GETOWN_EX): Remove variable or macro.
4974 (do_fcntl): Do not check miss_F_GETOWN_EX.
4975 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4977 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4979 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4980 [!__ASSUME_AT_RANDOM]: Remove conditional code.
4981 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4983 * sysdeps/unix/sysv/linux/kernel-features.h
4984 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4985 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4986 [ADJ_OFFSET_SS_READ]: Make code unconditional.
4987 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4989 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
4992 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4993 Fix calculation of the symbol's value.
4994 * sysdeps/arm/tst-armtlsdescloc.c: New file.
4995 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4996 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4997 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4998 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4999 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5000 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5001 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5002 (modules-names): Add `tst-armtlsdescmod',
5003 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5004 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5005 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5006 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5007 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5008 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5009 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5010 ($(objpfx)tst-armtlsdescloc): New dependency.
5011 ($(objpfx)tst-armtlsdescextnow): Likewise.
5012 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5013 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5015 * sysdeps/arm/configure: Regenerate.
5017 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5019 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5020 (__atfct_seterrno_2): Likewise.
5021 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5022 <kernel-features.h>.
5023 (__ASSUME_ATFCTS): Do not undefine and redefine.
5024 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5025 (__have_atfcts): Remove conditional definition.
5026 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5027 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5028 unreachable if [__ASSUME_ATFCTS].
5029 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5030 not undefine and redefine.
5031 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5032 <kernel-features.h>.
5033 (faccessat) [__NR_faccessat]: Make code unconditional.
5034 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5035 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5036 <kernel-features.h>.
5037 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5038 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5039 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5040 <kernel-features.h>.
5041 (fchownat) [__NR_fchownat]: Make code unconditional.
5042 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5043 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5044 <kernel-features.h>.
5045 (futimesat) [__NR_futimesat]: Make code unconditional.
5046 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5047 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5048 <kernel-features.h>.
5049 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5050 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5051 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5052 <kernel-features.h>.
5053 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5054 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5055 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5056 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5057 <kernel-features.h>.
5058 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5059 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5060 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5061 <kernel-features.h>.
5062 (linkat) [__NR_linkat]: Make code unconditional.
5063 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5064 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5065 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5066 <kernel-features.h>.
5067 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5068 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5069 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5070 <kernel-features.h>.
5071 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5072 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5073 * sysdeps/unix/sysv/linux/openat.c: Do not include
5074 <kernel-features.h>.
5075 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5076 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5077 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5078 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5079 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5080 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5081 <kernel-features.h>.
5082 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5083 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5084 result of INLINE_SYSCALL directly, not via int variable.
5085 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5086 <kernel-features.h>.
5087 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5088 (renameat) [__NR_renameat]: Make code unconditional.
5089 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5090 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5091 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5092 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5093 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5094 (__ASSUME_ATFCTS): Do not undefine and redefine.
5095 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5096 <kernel-features.h>.
5097 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5098 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5099 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5100 <kernel-features.h>.
5101 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5102 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5103 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5104 (__ASSUME_ATFCTS): Do not undefine and redefine.
5105 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5106 <kernel-features.h>.
5107 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5108 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5109 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5110 <kernel-features.h>.
5111 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5112 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5114 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5116 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5118 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5121 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5122 constructed tree before returning error.
5123 * posix/bug-regexp36.c: Expand test case.
5125 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5128 * math/libm-test.inc (scalbln_test_date):
5129 Add errno expectations.
5130 * math/w_scalblnf.c: New File.
5131 Add wrapper which checks for setting errno to ERANGE.
5132 Add weak_alias for corresponding scalbln function.
5133 * math/w_scalbln.c: Likewise.
5134 * math/w_scalblnl.c: Likewise.
5135 * math/Makefile (libm-calls): Add w_scalbln.
5136 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5137 Remove weak_alias for corresponding scalbln function.
5138 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5139 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5140 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5141 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5142 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5143 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5144 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5145 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5146 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5147 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5148 Remove long_double_symbol for scalblnl function in libm, libc.
5149 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5150 Add wrapper which checks for setting errno to ERANGE.
5151 Add long_double_symbol for scalblnl function in libm, libc.
5152 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5153 Remove long_double_symbol for scalblnl in libm.
5154 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5155 Add wrapper which checks for setting errno to ERANGE.
5156 Add long_double_symbol for scalblnl function in libm.
5157 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5158 Do not use wrapper because of own implementation.
5160 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5162 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5163 3 bytes for __pad1 for x32.
5164 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5166 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5167 H.J. Lu <hongjiu.lu@intel.com>
5169 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5170 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5171 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5172 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5173 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5175 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5178 * posix/regcomp.c (parse_expression): Deallocate partially
5179 constructed tree before returning error.
5180 * posix/Makefile.c (tests): Add bug-regex36.
5181 (generated): Add bug-regex36.mtrace.
5182 (tests-special): Add $(objpfx)bug-regex36-mem.out
5183 (bug-regex36-ENV): New variable.
5184 ($(objpfx)bug-regex36-mem.out): New rule.
5185 * posix/bug-regex36.c: New file.
5187 2014-06-19 Will Newton <will.newton@linaro.org>
5189 * malloc/malloc.c (systrim): If extra is zero then return
5192 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5194 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5196 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
5198 * sysdeps/aarch64/strchr.S: New file.
5200 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5203 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5204 from arguments -2 or below.
5205 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5206 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5208 2014-06-18 Andreas Schwab <schwab@suse.de>
5211 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5212 of a bracket expr not to run off the end of the string.
5213 * posix/Makefile (tests): Add tst-fnmatch3.
5214 * posix/tst-fnmatch3.c: New file.
5216 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5218 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5219 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5220 [$(cross-compiling) = no]: Likewise.
5221 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5222 [$(cross-compiling) = no]: Likewise.
5224 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5227 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5228 double, adjusted for any remainder from the high double.
5229 * math/libm-test.inc (nearbyint): Add tests.
5232 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5234 * nptl/sysdeps/powerpc/Makefile: Moved ...
5235 * sysdeps/powerpc/nptl/Makefile: ... here.
5236 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5237 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5238 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5239 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5240 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5241 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5242 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5243 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5244 * nptl/sysdeps/powerpc/tls.h: Moved ...
5245 * sysdeps/powerpc/nptl/tls.h: ... here.
5247 2014-06-16 Joseph Myers <joseph@codesourcery.com>
5250 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5251 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5252 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5253 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5254 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5255 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5256 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5257 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5258 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5260 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5262 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5264 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5266 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5269 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5272 2014-06-16 Florian Weimer <fweimer@redhat.com>
5275 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5276 non-executed part of the test.
5278 2014-06-16 Andreas Schwab <schwab@suse.de>
5280 * string/bits/string2.h (strdup, strndup): Update feature guard.
5282 2014-06-14 David S. Miller <davem@davemloft.net>
5284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5286 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5288 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5289 that was previously under [RESET_PID].
5290 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5292 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5293 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5294 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5295 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5296 (__libc_vfork): New strong alias.
5297 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5299 2014-06-14 Andi Kleen <ak@linux.intel.com>
5301 * sysdeps/generic/elide.h: New file.
5303 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5305 * Makefile (installed-headers): Adjust path of pthread.h header.
5307 2014-06-13 Roland McGrath <roland@hack.frob.com>
5309 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5310 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5311 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5312 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5314 * nptl/sysdeps/s390/Makefile: Moved ...
5315 * sysdeps/s390/nptl/Makefile: ... here.
5316 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5317 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5318 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5319 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5320 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5321 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5322 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5323 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5324 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5325 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5326 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5327 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5328 * nptl/sysdeps/s390/tls.h: Moved ...
5329 * sysdeps/s390/nptl/tls.h: ... here.
5331 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5332 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5334 2014-06-13 David S. Miller <davem@davemloft.net>
5336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5337 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5338 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5339 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5341 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5343 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5344 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5345 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5346 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5347 Remove RESET_PID cpp guards.
5348 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5349 Remove RESET_PID cpp guards.
5350 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5352 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5354 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5357 2014-06-13 Andi Kleen <ak@linux.intel.com>
5359 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5360 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5361 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5362 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5363 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5364 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5365 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5366 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5367 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5368 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5369 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5370 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5371 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5372 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5373 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5374 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5375 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5376 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5377 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5378 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5380 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5381 (pthread_rwlock_rdlock): Add elision.
5382 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5383 (pthread_rwlock_wrlock): Add elision.
5384 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5385 (pthread_rwlock_trywrlock): Add elision.
5386 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5387 (pthread_rwlock_tryrdlock): Add elision.
5388 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5389 (pthread_rwlock_tryrdlock): Add elision unlock.
5390 * nptl/sysdeps/pthread/pthread.h:
5391 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5392 (PTHREAD_RWLOCK_INITIALIZER,
5393 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5394 Handle new elision field.
5395 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5396 * sysdeps/arm/nptl/bits/pthreadtypes.h
5397 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5398 * sysdeps/sh/nptl/bits/pthreadtypes.h
5399 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5400 * sysdeps/tile/nptl/bits/pthreadtypes.h
5401 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5402 * sysdeps/a/nptl/bits/pthreadtypes.h
5403 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5404 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5405 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5406 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5407 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5408 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5409 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5410 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5411 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5412 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5413 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5414 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5415 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5416 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5417 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5418 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5419 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5420 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5421 (elision_init): Set try_xbegin to zero when no RTM.
5422 * sysdeps/x86/nptl/bits/pthreadtypes.h
5423 (pthread_rwlock_t): Change __pad1 to __rwelision.
5424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5426 2014-06-13 Andi Kleen <ak@linux.intel.com>
5428 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5429 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5430 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5431 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5433 2014-06-13 Meador Inge <meadori@codesourcery.com>
5436 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5437 that the cached result has been set before returning it.
5439 2014-06-12 Roland McGrath <roland@hack.frob.com>
5441 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5442 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5443 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5444 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5445 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5446 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5448 * nptl/sysdeps/sparc/Makefile: Moved ...
5449 * sysdeps/sparc/nptl/Makefile: ... here.
5450 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5451 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5452 * nptl/sysdeps/sparc/tls.h: Moved ...
5453 * sysdeps/sparc/nptl/tls.h: ... here.
5454 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5455 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5456 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5457 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5458 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5459 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5460 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5461 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5462 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5463 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5464 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5465 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5466 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5467 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5468 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5469 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5470 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5471 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5473 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5474 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5476 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5477 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5479 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5480 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5483 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5485 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5486 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5488 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5489 (struct list_links): Type removed.
5490 (struct thread_node, struct timer_node): Replace struct list_links
5491 with struct list_head.
5492 (list_unlink_ip): Likewise.
5493 * sysdeps/pthread/timer_routines.c
5494 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5495 (list_append, list_insbefore): Likewise.
5496 (list_init): Function removed.
5497 (thread_init, init_module): Use INIT_LIST_HEAD instead.
5498 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5499 * sysdeps/pthread/Makefile: ... here, new file.
5501 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5502 * sysdeps/nptl/Implies: ... here.
5503 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5504 * nptl/sysdeps/pthread/list.h: Moved ...
5505 * include/list.h: ... here.
5506 * nptl/sysdeps/pthread/createthread.c: Moved ...
5507 * nptl/createthread.c: ... here.
5508 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5509 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5510 * nptl/pt-longjmp.c: ... here.
5511 * nptl/sysdeps/pthread/Makefile: Moved ...
5512 * sysdeps/nptl/Makefile: ... here.
5513 * nptl/sysdeps/pthread/Subdirs: Moved ...
5514 * sysdeps/nptl/Subdirs: ... here.
5515 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5516 * sysdeps/nptl/aio_misc.h: ... here.
5517 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5518 * sysdeps/nptl/bits/libc-lock.h: ... here.
5519 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5520 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5521 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5522 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5523 * nptl/sysdeps/pthread/configure: Moved ...
5524 * sysdeps/nptl/configure: ... here.
5525 * nptl/sysdeps/pthread/configure.ac: Moved ...
5526 * sysdeps/nptl/configure.ac: ... here.
5527 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5528 * sysdeps/nptl/gai_misc.h: ... here.
5529 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5530 * sysdeps/nptl/librt-cancellation.c: ... here.
5531 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5532 * sysdeps/nptl/malloc-machine.h: ... here.
5533 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5534 * sysdeps/nptl/pthread-functions.h: ... here.
5535 * nptl/sysdeps/pthread/pthread.h: Moved ...
5536 * sysdeps/nptl/pthread.h: ... here.
5537 * nptl/sysdeps/pthread/setxid.h: Moved ...
5538 * sysdeps/nptl/setxid.h: ... here.
5539 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5540 * sysdeps/nptl/sigfillset.c: ... here.
5541 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5542 * sysdeps/nptl/tcb-offsets.h: ... here.
5543 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5544 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5545 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5546 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5547 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5548 * sysdeps/pthread/allocalim.h: ... here.
5549 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5550 * sysdeps/pthread/bits/sigthread.h: ... here.
5551 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5552 * sysdeps/pthread/flockfile.c: ... here.
5553 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5554 * sysdeps/pthread/ftrylockfile.c: ... here.
5555 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5556 * sysdeps/pthread/funlockfile.c: ... here.
5557 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5558 * sysdeps/pthread/posix-timer.h: ... here.
5559 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5560 * sysdeps/pthread/timer_create.c: ... here.
5561 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5562 * sysdeps/pthread/timer_delete.c: ... here.
5563 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5564 * sysdeps/pthread/timer_getoverr.c: ... here.
5565 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5566 * sysdeps/pthread/timer_gettime.c: ... here.
5567 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5568 * sysdeps/pthread/timer_routines.c: ... here.
5569 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5570 * sysdeps/pthread/timer_settime.c: ... here.
5571 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5572 * sysdeps/pthread/tst-timer.c: ... here.
5573 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5574 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5576 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5577 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5579 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5580 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5581 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5582 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5583 Update #include target.
5584 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5585 * sysdeps/i386/i686/nptl/Makefile: ... here.
5586 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5587 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5588 Update #include target.
5589 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5590 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5591 * nptl/sysdeps/i386/Makefile: Moved ...
5592 * sysdeps/i386/nptl/Makefile: ... here.
5593 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5594 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5595 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5596 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5597 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5598 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5599 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5600 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5601 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5602 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5603 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5604 * nptl/sysdeps/i386/tls.h: Moved ...
5605 * sysdeps/i386/nptl/tls.h: ... here.
5607 * sysdeps/sh/Makefile [$(subdir) = csu]
5608 (gen-as-const-headers): Add tcb-offsets.sym.
5609 * nptl/sysdeps/sh/Makefile: File removed.
5610 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5611 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5612 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5613 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5614 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5615 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5616 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5617 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5618 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5619 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5620 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5621 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5622 * nptl/sysdeps/sh/tls.h: Moved ...
5623 * sysdeps/sh/nptl/tls.h: ... here.
5624 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5625 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5626 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5627 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5628 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5629 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5630 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5631 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5632 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5633 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5634 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5635 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5636 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5637 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5638 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5639 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5640 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5641 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5642 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5643 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5644 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5645 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5646 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5647 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5648 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5650 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5651 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5653 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5654 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5655 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5656 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5657 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5658 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5659 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5660 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5661 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5662 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5663 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5664 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5665 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5666 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5667 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5668 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5669 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5670 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5671 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5673 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5675 * posix/spawn_faction_addopen.c: Include string.h.
5677 2014-06-11 Roland McGrath <roland@hack.frob.com>
5679 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5680 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5681 * nptl/sysdeps/x86_64/Makefile: Moved ...
5682 * sysdeps/x86_64/nptl/Makefile: ... here.
5683 * nptl/sysdeps/x86_64/configure: Moved ...
5684 * sysdeps/x86_64/nptl/configure: ... here.
5685 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5686 * sysdeps/x86_64/nptl/configure.ac: ... here.
5687 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5688 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5689 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5690 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5691 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5692 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5693 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5694 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5695 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5696 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5697 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5698 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5699 * nptl/sysdeps/x86_64/tls.h: Moved ...
5700 * sysdeps/x86_64/nptl/tls.h: ... here.
5701 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5702 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5703 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5704 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5706 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5708 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5712 2014-06-11 Joseph Myers <joseph@codesourcery.com>
5714 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5716 [POSIX] (off_t): Likewise.
5717 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5718 [POSIX] (S_ISBLK): Require macro.
5719 [POSIX] (S_ISCHR): Likewise.
5720 [POSIX] (S_ISDIR): Likewise.
5721 [POSIX] (S_ISFIFO): Likewise.
5722 [POSIX] (S_ISREG): Likewise.
5723 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5725 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5727 [POSIX] (time_t): Likewise.
5728 [POSIX] (timer_t): Likewise.
5730 2014-06-11 Florian Weimer <fweimer@redhat.com>
5733 * posix/spawn_int.h (struct __spawn_action): Make the path string
5734 non-const to support deallocation.
5735 * posix/spawn_faction_addopen.c
5736 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5737 * posix/spawn_faction_destroy.c
5738 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
5739 path in all spawn_do_open actions.
5740 * posix/tst-spawn.c (do_test): Exercise the copy operation in
5741 posix_spawn_file_actions_addopen.
5743 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
5745 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5746 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5747 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5748 conditional code always true.
5749 (__libc_vfork): New alias.
5751 2014-06-11 Roland McGrath <roland@hack.frob.com>
5753 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5754 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5756 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5758 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5759 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5761 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5762 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5764 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5765 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5767 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5769 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5770 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5771 multiarch strcmp for PPC64.
5772 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5773 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5775 multiarch optimizations.
5776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5777 (__libc_ifunc_impl_list): Likewise.
5779 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5781 * benchtests/scripts/validate_benchout.py: New script.
5782 * benchtests/Makefile (bench-func): Call it.
5783 * benchtests/scripts/benchout.schema.json: New file.
5785 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
5787 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5788 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5789 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5790 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5791 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5792 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5793 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5794 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5795 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5796 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5797 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5798 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5799 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5800 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5801 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5802 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5906 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5907 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5908 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5909 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5910 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5912 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5914 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5915 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5916 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5917 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5918 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5919 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5920 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5921 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5922 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5923 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5924 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5925 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5926 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5928 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5931 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5932 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5933 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5934 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5936 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5938 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5939 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5940 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5941 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5942 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5944 2014-06-10 Wilco <wdijkstr@arm.com>
5946 * math/test-fenv-return.c: New file.
5947 * math/Makefile: Add new test test-fenv-return.
5949 2014-06-10 Joseph Myers <joseph@codesourcery.com>
5952 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5954 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5955 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5956 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5957 0.0L for an argument of 1.0L.
5958 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5960 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5961 value when x - 1 is zero.
5962 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5963 * sysdeps/i386/fpu/libm-test-ulps: Update.
5964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5966 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
5969 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5971 2014-06-09 Roland McGrath <roland@hack.frob.com>
5973 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5974 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5976 2014-06-09 Roland McGrath <roland@hack.frob.com>
5978 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5979 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5981 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5982 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5984 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5985 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5987 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5988 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5990 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5991 if not already defined.
5992 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5993 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5994 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5995 (TLS_INIT_TP): Use it.
5996 (TLS_DEFINE_INIT_TP): New macro.
5997 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5999 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6001 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6003 [POSIX] (IXANY): Likewise.
6004 [POSIX] (OLCUC): Likewise.
6005 [POSIX || POSIX2008] (CBAUD): Do not allow.
6006 [POSIX || POSIX2008] (DEFECHO): Likewise.
6007 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6008 [POSIX || POSIX2008] (ECHOKE): Likewise.
6009 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6010 [POSIX || POSIX2008] (EXTA): Likewise.
6011 [POSIX || POSIX2008] (EXTB): Likewise.
6012 [POSIX || POSIX2008] (FLUSHO): Likewise.
6013 [POSIX || POSIX2008] (LOBLK): Likewise.
6014 [POSIX || POSIX2008] (PENDIN): Likewise.
6015 [POSIX || POSIX2008] (SWTCH): Likewise.
6016 [POSIX || POSIX2008] (VDISCARD): Likewise.
6017 [POSIX || POSIX2008] (VDSUSP): Likewise.
6018 [POSIX || POSIX2008] (VLNEXT): Likewise.
6019 [POSIX || POSIX2008] (VREPRINT): Likewise.
6020 [POSIX || POSIX2008] (VSTATUS): Likewise.
6021 [POSIX || POSIX2008] (VWERASE): Likewise.
6022 (B*): Change to B[0123456789]*.
6023 * conform/data/time.h-data [POSIX || UNIX98]
6024 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6025 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6026 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6027 [POSIX] (tm_*): Do not allow.
6029 2014-06-07 Joseph Myers <joseph@codesourcery.com>
6031 * Makefile (install): Don't set LANGUAGE.
6032 * Makefile.in (install): Likewise.
6033 * assert/Makefile (test-assert-ENV): Remove variable.
6034 (test-assert-perr-ENV): Likewise.
6035 * elf/Makefile (neededtest4-ENV): Likewise.
6036 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6037 [$(cross-compiling) = no]: Don't set LANGUAGE.
6038 * io/ftwtest-sh (LANG): Remove variable.
6039 * libio/Makefile (tst-widetext-ENV): Likewise.
6040 * manual/install.texi (Running make install): Don't refer to
6041 environment settings for make install.
6042 * INSTALL: Regenerated.
6043 * nptl/tst-tls6.sh: Don't set LANG.
6044 * posix/globtest.sh (LANG): Remove variable.
6045 * string/Makefile (tester-ENV): Likewise.
6046 (inl-tester-ENV): Likewise.
6047 (noinl-tester-ENV): Likewise.
6048 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6049 [$(cross-compiling) = no]: Don't set LANGUAGE.
6050 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6051 without explicit environment settings.
6053 2014-06-06 Roland McGrath <roland@hack.frob.com>
6055 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6056 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6057 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6058 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6060 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6062 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6063 other files in the crypt directory.
6064 * crypt/crypt.c: Remove duplicate includes.
6065 * crypt/crypt-entry.c: Likewise.
6066 * crypt/crypt_util.c: Likewise.
6068 2014-06-06 Joseph Myers <joseph@codesourcery.com>
6070 * Makeconfig (run-program-env): New variable.
6071 (run-program-prefix-before-env): Likewise.
6072 (run-program-prefix-after-env): Likewise.
6073 (run-program-prefix): Define in terms of new variables.
6074 (built-program-cmd-before-env): New variable.
6075 (built-program-cmd-after-env): Likewise.
6076 (built-program-cmd): Define in terms of new variables.
6077 (test-program-prefix-before-env): New variable.
6078 (test-program-prefix-after-env): Likewise.
6079 (test-program-prefix): Define in terms of new variables.
6080 (test-program-cmd-before-env): New variable.
6081 (test-program-cmd-after-env): Likewise.
6082 (test-program-cmd): Define in terms of new variables.
6083 * Rules (make-test-out): Use $(run-program-env).
6084 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6085 (help): Do not mention environment variables. Mention
6086 --timeoutfactor option.
6087 (timeoutfactor): New variable.
6088 (blacklist_exports): Remove function.
6089 (exports): Remove variable.
6090 (command): Do not include ${exports}.
6091 * manual/install.texi (Configuring and compiling): Do not mention
6092 test wrappers preserving environment variables. Mention that last
6093 assignment to a variable must take precedence.
6094 * INSTALL: Regenerated.
6095 * benchtests/Makefile (run-bench): Use $(run-program-env).
6096 * catgets/Makefile ($(objpfx)test1.cat): Use
6097 $(built-program-cmd-before-env), $(run-program-env) and
6098 $(built-program-cmd-after-env).
6099 ($(objpfx)test2.cat): Do not specify environment variables
6101 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6102 $(run-program-env) and $(built-program-cmd-after-env).
6103 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6104 $(run-program-env) and $(test-program-cmd-after-env).
6105 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6107 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6108 run_program_env and test_program_cmd_after_env arguments.
6109 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6110 * elf/tst-pathopt.sh: Use run_program_env argument.
6111 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6112 $(test-wrapper-env) and $(run-program-env).
6113 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6114 run_program_env arguments.
6115 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6116 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6117 $(test-program-prefix-before-env), $(run-program-env) and
6118 $(test-program-prefix-after-env).
6119 ($(objpfx)tst-gettext2.out): Likewise.
6120 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6121 run_program_env and test_program_prefix_after_env arguments.
6122 * intl/tst-gettext2.sh: Likewise.
6123 * intl/tst-gettext4.sh: Do not set environment variables
6125 * intl/tst-gettext6.sh: Likewise.
6126 * intl/tst-translit.sh: Likewise.
6127 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6128 $(test-program-prefix-before-env), $(run-program-env) and
6129 $(test-program-prefix-after-env).
6130 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6131 run_program_env and test_program_prefix_after_env arguments.
6132 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6133 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6134 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6135 explicitly with each use of ${test_wrapper_env}.
6136 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6137 $(test-program-prefix-before-env), $(run-program-env) and
6138 $(test-program-prefix-after-env).
6139 * posix/tst-getconf.sh: Do not set environment variables
6141 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6142 run_program_env and test_program_prefix_after_env arguments.
6143 * stdio-common/tst-printf.sh: Do not set environment variables
6145 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6146 $(test-program-prefix-before-env), $(run-program-env) and
6147 $(test-program-prefix-after-env).
6148 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6149 run_program_env and test_program_prefix_after_env arguments.
6150 Split $test calls into $test_pre and $test.
6151 * timezone/Makefile (build-testdata): Use
6152 $(built-program-cmd-before-env), $(run-program-env) and
6153 $(built-program-cmd-after-env).
6155 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6157 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6158 strlen for non SHARED builds.
6160 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6162 * nptl/allocatestack.c (check_list): Inlined function...
6163 (__reclaim_stacks): ... here.
6165 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6168 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6171 2014-06-05 Joseph Myers <joseph@codesourcery.com>
6173 * Rules (make-test-out): Include
6174 LOCPATH=$(common-objpfx)localedata in default environment.
6175 * debug/Makefile (tst-chk1-ENV): Remove variable.
6176 (tst-chk2-ENV): Likewise.
6177 (tst-chk3-ENV): Likewise.
6178 (tst-chk4-ENV): Likewise.
6179 (tst-chk5-ENV): Likewise.
6180 (tst-chk6-ENV): Likewise.
6181 (tst-lfschk1-ENV): Likewise.
6182 (tst-lfschk2-ENV): Likewise.
6183 (tst-lfschk3-ENV): Likewise.
6184 (tst-lfschk4-ENV): Likewise.
6185 (tst-lfschk5-ENV): Likewise.
6186 (tst-lfschk6-ENV): Likewise.
6187 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6188 (tst-iconv7-ENV): Likewise.
6189 * intl/Makefile (LOCPATH-ENV): Likewise.
6190 (tst-codeset-ENV): Likewise.
6191 (tst-gettext3-ENV): Likewise.
6192 (tst-gettext5-ENV): Likewise.
6193 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6194 (tst-fopenloc-ENV): Likewise.
6195 (tst-fgetws-ENV): Remove variable.
6196 (tst-ungetwc1-ENV): Likewise.
6197 (tst-ungetwc2-ENV): Likewise.
6198 (bug-ungetwc2-ENV): Likewise.
6199 (tst-swscanf-ENV): Likewise.
6200 (bug-ftell-ENV): Likewise.
6201 (tst-fgetwc-ENV): Likewise.
6202 (tst-fseek-ENV): Likewise.
6203 (tst-ftell-partial-wide-ENV): Likewise.
6204 (tst-ftell-active-handler-ENV): Likewise.
6205 (tst-ftell-append-ENV): Likewise.
6206 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6207 (tst-regexloc-ENV): Likewise.
6208 (bug-regex1-ENV): Likewise.
6209 (tst-regex-ENV): Likewise.
6210 (tst-regex2-ENV): Likewise.
6211 (bug-regex5-ENV): Likewise.
6212 (bug-regex6-ENV): Likewise.
6213 (bug-regex17-ENV): Likewise.
6214 (bug-regex18-ENV): Likewise.
6215 (bug-regex19-ENV): Likewise.
6216 (bug-regex20-ENV): Likewise.
6217 (bug-regex22-ENV): Likewise.
6218 (bug-regex23-ENV): Likewise.
6219 (bug-regex25-ENV): Likewise.
6220 (bug-regex26-ENV): Likewise.
6221 (bug-regex30-ENV): Likewise.
6222 (bug-regex32-ENV): Likewise.
6223 (bug-regex33-ENV): Likewise.
6224 (bug-regex34-ENV): Likewise.
6225 (bug-regex35-ENV): Likewise.
6226 (tst-rxspencer-ENV): Likewise.
6227 (tst-rxspencer-no-utf8-ENV): Likewise.
6228 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6229 (tst-sscanf-ENV): Likewise.
6230 (tst-swprintf-ENV): Likewise.
6231 (tst-swscanf-ENV): Likewise.
6232 (test-vfprintf-ENV): Likewise.
6233 (scanf13-ENV): Likewise.
6234 (bug14-ENV): Likewise.
6235 (tst-grouping-ENV): Likewise.
6236 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6237 (tst-strtod3-ENV): Likewise.
6238 (tst-strtod4-ENV): Likewise.
6239 (tst-strtod5-ENV): Likewise.
6240 (testmb2-ENV): Likewise./
6241 * string/Makefile (tst-strxfrm-ENV): Likewise.
6242 (tst-strxfrm2-ENV): Likewise.
6243 (bug-strcoll1-ENV): Likewise.
6244 (test-strcasecmp-ENV): Likewise.
6245 (test-strncasecmp-ENV): Likewise.
6246 * time/Makefile (tst-strptime-ENV): Likewise.
6247 (tst-ftime_l-ENV): Likewise.
6248 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6249 (tst-mbrtowc-ENV): Likewise.
6250 (tst-wcrtomb-ENV): Likewise.
6251 (tst-mbrtowc2-ENV): Likewise.
6252 (tst-c16c32-1-ENV): Likewise.
6253 (tst-mbsnrtowcs-ENV): Likewise.
6255 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6257 * manual/resource.texi (How to get information about the memory
6258 subsystem?): Fix typo.
6259 Reported by Peon de la Parra Ivan <peon@keba.com>
6261 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6264 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6265 (pthread_spin_lock): Branch out of spin loop to proper location.
6266 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6267 (pthread_spin_lock): Likewise.
6269 * nptl/tst-spin4.c: New test.
6270 * nptl/Makefile (tests): Add tst-spin4.
6272 2014-06-03 Andreas Schwab <schwab@suse.de>
6275 * resolv/res_send.c (send_dg): Reload file descriptor after
6278 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6280 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6282 2014-06-03 Richard Henderson <rth@redhat.com>
6284 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6285 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6286 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6287 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6288 in the SAVE_PID block.
6289 (__libc_vfork): New alias.
6290 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6292 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6293 child in registers, not on the stack. Remove RESET_PID conditionals.
6294 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6296 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6298 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6300 2014-06-03 Wilco <wdijkstr@arm.com>
6302 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6303 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6304 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6305 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6306 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6309 2014-06-03 Wilco <wdijkstr@arm.com>
6311 * sysdeps/aarch64/fpu/math_private.h
6312 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6313 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6314 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6315 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6318 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6320 * crypt/crypt-private.h: Include ufc-crypt.h.
6321 (__b64_from_24bit): Declare extern.
6322 * crypt/crypt_util.c(__b64_from_24bit): New function.
6323 (b64t): New static const variable.
6324 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6325 (b64t): Remove variable.
6326 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6327 * crypt/sha256-crypt.c: Include crypt-private.h.
6328 (b64t): Remove variable.
6329 (__sha256_crypt_r): Remove b64_from_24bit and replace
6330 with __b64_from_24bit.
6331 * crypt/sha512-crypt.c: Likewise.
6333 2014-06-02 Roland McGrath <roland@hack.frob.com>
6335 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6336 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6337 Label the code __libc_vfork rather than __vfork.
6338 [!NOT_IN_libc] (vfork): Define as weak alias.
6339 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6340 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6341 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6343 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6345 * malloc/malloc.c (malloc_info): Fix format specifier for
6348 2014-06-02 Wilco <wdijkstr@arm.com>
6350 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6353 2014-06-02 Wilco <wdijkstr@arm.com>
6356 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6357 Rewrite to reduce FPCR/FPSR accesses.
6359 2014-06-01 David S. Miller <davem@davemloft.net>
6361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6363 2014-05-31 David S. Miller <davem@davemloft.net>
6365 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6366 to occur in round to nearest mode when |x| >= 2.0
6368 2014-05-30 Richard Henderson <rth@twiddle.net>
6370 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6371 (PSEUDO_RET_NOERRNO): Remove.
6372 (ret): Don't redefine.
6373 (ret_NOERRNO): Define in terms of ret.
6374 (ret_ERRVAL): Likewise.
6376 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6377 use of PSEUDO_RET; perform the error check directly.
6379 2014-05-30 Marko Myllynen <myllynen@redhat.com>
6381 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6384 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6386 * malloc/malloc (malloc_info): Fix formatting.
6388 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6389 Roland McGrath <roland@hack.frob.com>
6391 * malloc/malloc (malloc_info): Also print mmapped statistics.
6393 2014-05-30 Roland McGrath <roland@hack.frob.com>
6395 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6396 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6398 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
6400 * malloc/malloc.c (malloc_info): Inline mi_arena.
6402 2014-05-29 Richard Henderson <rth@twiddle.net>
6404 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6405 Remove comma before expanding ASM_ARGS_##nr.
6406 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6407 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6409 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6410 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6411 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6412 (ASM_ARGS_1): Add leading comma.
6414 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6415 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6416 to __errno_location.
6417 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6418 Remove the expected plt for __errno_location.
6420 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6421 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6424 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6425 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6426 it and break it down.
6427 (DOCARGS_0, DOCARGS_1): Do nothing.
6428 (DOCARGS_2): Update to store into the new stack frame.
6429 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6430 (UNDOCARGS_1): Update to restore from the new stack frame.
6431 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6432 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6434 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6435 (SINGLE_THREAD_P): New parameter for result regno.
6436 (PSEUDO): Update to match; use cbz instead of beq.
6438 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6439 Use ENTRY to define the _nocancel entry point. Share the syscall
6440 and syscall error check paths with the cancel path.
6443 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6444 whitespace; tabs before and after asm mnemonics.
6446 2014-05-29 Eric Wong <normalperson@yhbt.net>
6449 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6450 Call fstat64 or stat64 internally, depending on arguments passed.
6451 Replace stat buffer argument with file descriptor argument.
6452 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6453 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6454 Pass fd to __internal_statvfs instead of calling fstat64.
6455 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6456 Pass fd to __internal_statvfs64 instead of calling fstat64.
6457 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6458 Pass -1 to __internal_statvfs instead of calling stat64.
6459 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6460 Pass -1 to __internal_statvfs64 instead of calling stat64.
6462 2014-05-28 Roland McGrath <roland@hack.frob.com>
6464 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6465 that was previously under [RESET_PID].
6466 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6468 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6469 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6471 2014-05-27 Roland McGrath <roland@hack.frob.com>
6473 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6475 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6476 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6478 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
6480 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6482 2014-05-27 Andreas Schwab <schwab@suse.de>
6484 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6486 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6487 * elf/rtld.c (init_tls, dl_main): Likewise.
6488 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6489 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6490 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6491 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6492 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6493 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6494 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6495 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6496 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6497 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6498 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6499 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6500 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6501 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6502 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6503 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6504 * sysdeps/generic/tls.h: Update description.
6506 2014-05-27 Will Newton <will.newton@linaro.org>
6509 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6510 and restore r2 rather than just restoring.
6512 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6515 * libio/tst-ftell-append.c: New test case.
6516 * libio/Makefile (tests): Add test case.
6517 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6519 * libio/wfileops.c (do_ftell_wide): Likewise.
6521 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6525 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6529 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6530 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6531 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6532 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6533 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6534 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6538 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6541 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6542 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6543 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6544 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6545 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6547 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6548 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6550 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6552 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6554 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6555 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6556 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6558 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6559 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6560 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6561 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6569 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6572 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6579 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6584 conditional [RESET_PID].
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6593 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6594 (__libc_vfork): New strong alias.
6595 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6597 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6602 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6603 (__libc_vfork): New strong alias.
6604 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6606 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6609 2014-05-26 Carlos O'Donell <carlos@redhat.com>
6611 * malloc/malloc.c (mi_arena): New function.
6612 (malloc_info): Remove nested function mi_arena. Call non-nosted
6615 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6617 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6619 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6620 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6621 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6622 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6623 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6624 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6625 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6627 2014-05-26 Andreas Schwab <schwab@suse.de>
6630 * locale/programs/repertoire.c (repertoire_read): Add slash
6631 between I18NPATH element and file name.
6632 * locale/programs/locfile.c (locfile_read): Likewise.
6634 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6636 * nptl/pthread_mutexattr_settype.c
6637 (__pthread_mutexattr_settype):
6638 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6640 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6642 * nptl/tst-mutex5 (do_test):
6643 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6645 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6647 * benchtests/README: Document 'init' directive.
6648 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6650 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6651 (parse_file): Recognize 'init' directive.
6653 2014-05-26 Kyle McMartin <kyle@redhat.com>
6656 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6657 alignment of struct pthread.
6659 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6662 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6663 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6664 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6665 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6667 2014-05-25 Richard Henderson <rth@twiddle.net>
6669 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6670 (SINGLE_THREAD_P_PIC): Remove.
6671 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6672 (SINGLE_THREAD_P_PIC): Remove.
6674 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6675 branch to syscall error ...
6677 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6678 from __local_syscall_error to .Lsyscall_error.
6679 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6680 (SYSCALL_ERROR): Update label name.
6682 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6683 Do not use DOARGS/UNDOARGS.
6684 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6685 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6686 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6687 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6688 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6690 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6693 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6694 define if !NOT_IN_libc.
6695 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6696 define with non-default symbol versions.
6698 2014-05-23 Richard Henderson <rth@twiddle.net>
6700 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6701 (vfork, __vfork): Define via compat_symbol.
6703 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6704 [!HAVE_IFUNC] (vfork_compat): Remove.
6705 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6707 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6710 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6711 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6714 2014-05-23 Richard Henderson <rth@twiddle.net>
6716 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6717 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6718 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6719 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6721 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6722 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6723 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6724 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6725 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6726 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6727 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6728 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6729 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6730 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6731 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6732 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6733 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6734 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6735 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6736 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6737 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6738 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6739 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6740 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6741 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6742 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6743 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6744 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6745 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6746 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6747 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6748 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6749 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6750 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6751 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6752 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6753 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6754 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6755 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6756 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6757 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6758 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6759 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6760 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6761 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6762 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6763 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6764 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6765 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6766 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6767 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6768 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6769 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6770 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6771 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6772 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6773 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6774 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6775 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6776 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6778 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6779 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6780 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
6781 before exiting on error.
6782 (__libc_vfork): New strong alias.
6783 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6784 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6786 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6787 that was previously under [RESET_PID].
6788 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6790 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6792 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6795 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6796 value when x - 1 is zero.
6797 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6798 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6799 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6800 0.0L for an argument of 1.0L.
6801 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6803 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6804 value when x - 1 is zero.
6805 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6806 * sysdeps/i386/fpu/libm-test-ulps: Update.
6807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6809 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6811 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6812 alphasort and versionsort.
6814 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6816 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6818 [copysignf]: Likewise.
6820 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6822 * crypt/md5-crypt.c: Fix formatting.
6824 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6826 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6827 (b64_from_24bit): New function.
6829 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6831 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6832 libc_hidden_builtin_def to ifunc.
6833 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6834 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6836 2014-05-21 Roland McGrath <roland@hack.frob.com>
6838 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6839 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6841 2014-05-21 Joseph Myers <joseph@codesourcery.com>
6843 * nscd/Depend (linuxthreads): Remove.
6845 * resolv/Depend (linuxthreads): Remove.
6846 * rt/Depend (linuxthreads): Remove.
6848 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6849 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6850 $(common-objpfx)elf/.
6851 (link-libc-before-gnulib): Likewise.
6852 (elfobjdir): Remove variable.
6853 * Makefile (install): Use $(elf-objpfx) instead of
6854 $(common-objpfx)elf/.
6855 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6857 (link-libc-deps): Likewise.
6858 ($(common-objpfx)libc.so): Likewise.
6859 ($(common-objpfx)linkobj/libc.so): Likewise.
6860 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6861 instead of $(common-objpfx)elf/.
6862 (symbolic-link-list): Likewise.
6863 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6864 [$(cross-compiling) = no]: Likewise.
6865 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6867 (static-gnulib-arch): Likewise.
6868 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6869 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6870 $(common-objpfx)elf/.
6872 2014-05-21 Richard Henderson <rth@redhat.com>
6874 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6875 (SINGLE_THREAD_P): Use the correct width load. Fold
6876 into the ldr offset.
6878 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6879 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6881 2014-05-20 Joseph Myers <joseph@codesourcery.com>
6883 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6884 (libgcc_s_resume): Use __attribute_used__.
6885 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6888 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6890 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6891 optimization when used with float constants.
6893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6895 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
6898 * locale/nl_langinfo_l.c: Make direct reference to every
6899 _nl_current_CATEGORY symbol.
6900 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6901 (tests-static): Add tst-langinfo-static.
6902 (tests-special): Add tst-langinfo-static.out.
6903 ($(objpfx)tst-langinfo.out): Redirect output.
6904 ($(objpfx)tst-langinfo-static.out): New.
6905 * localedata/tst-langinfo.sh: Send output to stdout.
6906 * localedata/tst-langinfo-static.c: New file.
6909 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6910 when the shift amount is modulo the limb size.
6912 2014-05-20 Richard Henderson <rth@redhat.com>
6915 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6916 Change type of sa_flags from unsigned int to int.
6919 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6921 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6923 2014-05-20 Will Newton <will.newton@linaro.org>
6925 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6926 Test the return value of the system call in the nocancel case.
6928 2014-05-20 Will Newton <will.newton@linaro.org>
6929 Yvan Roux <yvan.roux@linaro.org>
6931 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6932 #include of asm/ptrace.h.
6933 (PTRACE_GET_THREAD_AREA): Remove #undef.
6934 (PTRACE_GETHBPREGS): Likewise.
6935 (PTRACE_SETHBPREGS): Likewise.
6936 (struct user_regs_struct): New structure.
6937 (struct user_fpsimd_struct): New structure.
6938 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6939 #include of asm/ptrace.h and second #include of sys/user.h.
6940 (PTRACE_GET_THREAD_AREA): Remove #undef.
6941 (PTRACE_GETHBPREGS): Likewise.
6942 (PTRACE_SETHBPREGS): Likewise.
6943 (ELF_NGREG): Use new struct user_regs_struct.
6944 (elf_fpregset_t): Use new struct user_fpsimd_struct.
6946 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6948 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6949 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6951 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
6954 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6955 membar to avoid block loads/stores to overlap previous stores.
6957 2014-05-17 Richard Henderson <rth@redhat.com>
6959 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6960 Create the __##syscall_name##_nocancel entry point.
6961 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6962 Remove; let the sysdep-cancel.h code create it.
6964 2014-05-17 David S. Miller <davem@davemloft.net>
6966 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6967 Protect with __USE_GNU.
6968 (TIOCSET_TEMPT): Likewise.
6969 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6970 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6971 these are already provided in bits/ioctl-types.h
6973 2014-05-16 Roland McGrath <roland@hack.frob.com>
6975 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6976 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6978 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6979 Use wait4 regardless of [__NR_waitpid].
6981 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6984 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6985 (_FP_NANSIGN_Q): Set the quiet bit.
6987 2014-05-16 Joseph Myers <joseph@codesourcery.com>
6989 * benchtests/Makefile
6990 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6991 not $(common-objpfx)math/libm.so.
6992 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6993 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6994 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6995 $(common-objpfx)dlfcn/libdl.so.
6996 ($(objpfx)tst-audit8): Depend on $(libm), not
6997 $(common-objpfx)math/libm.so.
6998 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6999 not $(common-objpfx)dlfcn/libdl.so.
7001 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7002 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7003 [$(build-shared) = yes].
7004 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7005 $(common-objpfx)nptl/libpthread.so.
7006 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7007 $(common-objpfx)math/libm.so$(libm.so-version) or
7008 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7009 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7010 $(common-objpfx)dlfcn/libdl.so.
7011 * setjmp/Makefile (link-libm): Remove variable.
7012 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7013 * stdio-common/Makefile (link-libm): Remove variable.
7014 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7015 * stdlib/Makefile (link-libm): Remove variable.
7016 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7017 ($(objpfx)tst-strtod-round): Likewise.
7018 ($(objpfx)tst-tininess): Likewise.
7019 ($(objpfx)tst-strtod-underflow): Likewise.
7020 ($(objpfx)tst-strtod6): Likewise.
7021 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7022 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7023 $(common-objpfx)dlfcn/libdl.so.
7025 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7027 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7028 BSD terminal modes definitions.
7030 2014-05-16 Roland McGrath <roland@hack.frob.com>
7032 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7033 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7035 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7036 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7037 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7038 Don't do #include_next.
7039 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7040 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7041 Don't do #include_next.
7042 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7043 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7044 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7045 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7047 2014-05-16 Allan McRae <allan@archlinux.org>
7049 * po/sv.po: Update Swedish translation from translation project.
7051 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7054 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7057 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7058 errno if the TIOCGPTN ioctl fails with an error different than
7060 * login/tst-ptsname.c: New file.
7061 * login/Makefile (tests): Add tst-ptsname.
7064 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7067 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7071 herrno to return EAI_AGAIN.
7073 2014-05-14 Roland McGrath <roland@hack.frob.com>
7075 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7076 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7077 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7078 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7079 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7080 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7081 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7082 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7083 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7084 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7085 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7086 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7087 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7088 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7089 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7090 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7091 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7092 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7093 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7094 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7095 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7096 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7097 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7098 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7099 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7100 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7101 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7102 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7103 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7104 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7106 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7108 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7111 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7113 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7115 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7117 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7119 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7121 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7123 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7125 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7127 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7129 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7131 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7133 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7135 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7137 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7140 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7142 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7144 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7146 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7148 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7150 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7152 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7154 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7156 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7158 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7161 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7163 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7165 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7166 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7167 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7168 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7169 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7170 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7171 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7172 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7173 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7174 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7175 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7176 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7177 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7178 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7179 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7180 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7181 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7182 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7183 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7184 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7185 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7186 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7187 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7188 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7189 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7190 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7191 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7192 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7193 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7194 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7195 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7197 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7198 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7200 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7201 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7202 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7203 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7204 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7205 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7207 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7208 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7210 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7211 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7213 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7214 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7216 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7217 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7218 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7219 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7221 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7222 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7223 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7224 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7225 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7226 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7227 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7228 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7230 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7231 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7233 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7235 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7236 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7237 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7238 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7239 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7241 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7243 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7245 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7246 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7247 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7248 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7249 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7250 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7252 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7253 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7255 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7256 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7258 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7259 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7261 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7262 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7263 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7264 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7266 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7267 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7268 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7269 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7270 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7271 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7272 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7273 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7275 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7276 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7278 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7280 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7281 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7282 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7283 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7284 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7286 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7288 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7290 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7291 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7292 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7293 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7294 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7295 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7296 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7297 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7298 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7299 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7301 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7302 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7304 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7305 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7307 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7308 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7310 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7311 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7312 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7313 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7314 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7315 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7317 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7318 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7319 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7320 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7321 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7322 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7323 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7324 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7326 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7327 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7329 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7331 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7332 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7333 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7334 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7335 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7337 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7341 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7342 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7343 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7344 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7345 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7346 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7347 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7348 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7349 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7350 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7351 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7353 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7354 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7356 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7357 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7359 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7360 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7361 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7362 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7363 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7364 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7365 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7366 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7367 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7368 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7369 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7370 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7371 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7372 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7373 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7374 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7375 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7376 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7378 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7379 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7380 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7381 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7383 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7384 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7385 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7386 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7387 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7388 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7389 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7390 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7392 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7393 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7395 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7396 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7397 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7399 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7400 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7401 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7402 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7403 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7404 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7405 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7406 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7407 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7408 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7409 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7410 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7411 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7413 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7414 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7415 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7416 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7417 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7419 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7420 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7421 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7422 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7423 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7424 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7425 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7426 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7427 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7428 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7430 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7431 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7433 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7434 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7435 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7436 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7437 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7438 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7439 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7440 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7441 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7442 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7443 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7444 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7445 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7446 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7447 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7449 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7451 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7453 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7455 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7461 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7467 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7468 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7469 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7470 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7471 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7472 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7473 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7474 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7475 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7476 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7477 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7478 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7479 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7480 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7481 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
7483 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7484 that was previously under [RESET_PID].
7485 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7486 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7487 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7489 * sysdeps/i386/nptl/Implies: New file.
7490 * sysdeps/x86_64/nptl/Implies: New file.
7491 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7492 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7493 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7494 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7496 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7497 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7498 (__libc_vfork): New strong alias.
7499 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7500 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7502 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7503 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7504 (__libc_vfork): New strong alias.
7505 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7506 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7508 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7509 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7510 (__libc_vfork): New strong alias.
7511 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7512 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7513 * nptl/pt-vfork.c: New file.
7514 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7515 (libpthread: GLIBC_2.20): New version set (empty).
7517 2014-05-14 Will Newton <will.newton@linaro.org>
7519 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7522 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7525 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7526 arguments with exponent 65 or above.
7527 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7528 arguments 0x1p113L or above.
7529 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7530 to arguments 0x1p107L or above.
7531 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7532 positive arguments with exponent 65 or above.
7533 * math/auto-libm-test-in: Add more tests of log1p.
7534 * math/auto-libm-test-out: Regenerated.
7537 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7538 non-finite arguments is +0.
7539 * math/s_cacosf.c (__cacosf): Likewise.
7540 * math/s_cacosl.c (__cacosl): Likewise.
7541 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7542 * sysdeps/i386/fpu/libm-test-ulps: Update.
7543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7546 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7548 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7549 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7550 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7551 for explicit high bit of mantissa when testing for argument equal
7553 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7554 * sysdeps/i386/fpu/libm-test-ulps: Update.
7555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7558 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7559 (__erf): Scale by 16 instead of 8 in potentially underflowing
7560 case. Ensure exception if result actually underflows.
7561 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7562 (__erff): Scale by 16 instead of 8 in potentially underflowing
7563 case. Ensure exception if result actually underflows.
7564 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7565 (efx8): Remove variable.
7566 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7567 case. Ensure exception if result actually underflows.
7568 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7569 (efx8): Remove variable.
7570 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7571 case. Ensure exception if result actually underflows.
7572 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7573 (efx8): Remove variable.
7574 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7575 case. Ensure exception if result actually underflows.
7576 * math/auto-libm-test-in: Add more tests of erf.
7577 * math/auto-libm-test-out: Regenerated.
7579 2014-05-14 Andreas Schwab <schwab@suse.de>
7581 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7582 Remove code conditionalized on USE___THREAD.
7584 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7585 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7588 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7590 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7591 Define unconditionally.
7592 (__ASSUME_O_CLOEXEC): Likewise.
7593 (__ASSUME_SOCK_CLOEXEC): Likewise.
7594 (__ASSUME_IN_NONBLOCK): Likewise.
7595 (__ASSUME_PIPE2): Likewise.
7596 (__ASSUME_EVENTFD2): Likewise.
7597 (__ASSUME_SIGNALFD4): Likewise.
7598 (__ASSUME_DUP3): Likewise.
7599 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7600 (__ASSUME_DUP3): Do not define.
7601 (__ASSUME_EVENTFD2): Likewise.
7602 (__ASSUME_IN_NONBLOCK): Likewise.
7603 (__ASSUME_O_CLOEXEC): Likewise.
7604 (__ASSUME_PIPE2): Likewise.
7605 (__ASSUME_SIGNALFD4): Likewise.
7606 (__ASSUME_SOCK_CLOEXEC): Likewise.
7607 (__ASSUME_UTIMES): Undefine.
7608 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7609 (__ASSUME_UTIMES): Do not define.
7610 (__ASSUME_O_CLOEXEC): Likewise.
7611 (__ASSUME_SOCK_CLOEXEC): Likewise.
7612 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7613 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7615 (__ASSUME_PIPE2): Likewise.
7616 (__ASSUME_EVENTFD2): Likewise.
7617 (__ASSUME_SIGNALFD4): Likewise.
7618 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7619 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7621 (__ASSUME_EVENTFD2): Likewise.
7622 (__ASSUME_SIGNALFD4): Likewise.
7623 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7624 (__ASSUME_32BITUIDS): Likewise.
7625 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7626 (__ASSUME_IPC64): Likewise.
7627 (__ASSUME_ST_INO_64_BIT): Likewise.
7628 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7629 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7630 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7631 (__ASSUME_UTIMES): Do not define.
7632 (__ASSUME_PSELECT): Likewise.
7633 (__ASSUME_PPOLL): Likewise.
7634 (__ASSUME_O_CLOEXEC): Likewise.
7635 (__ASSUME_SOCK_CLOEXEC): Likewise.
7636 (__ASSUME_IN_NONBLOCK): Likewise.
7637 (__ASSUME_PIPE2): Likewise.
7638 (__ASSUME_EVENTFD2): Likewise.
7639 (__ASSUME_SIGNALFD4): Likewise.
7640 (__ASSUME_DUP3): Likewise.
7641 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7642 (__ASSUME_UTIMES): Likewise.
7643 (__ASSUME_O_CLOEXEC): Likewise.
7644 (__ASSUME_SOCK_CLOEXEC): Likewise.
7645 (__ASSUME_IN_NONBLOCK): Likewise.
7646 (__ASSUME_PIPE2): Likewise.
7647 (__ASSUME_EVENTFD2): Likewise.
7648 (__ASSUME_SIGNALFD4): Likewise.
7649 (__ASSUME_DUP3): Likewise.
7650 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7651 (__ASSUME_UTIMES): Likewise.
7652 (__ASSUME_O_CLOEXEC): Likewise.
7653 (__ASSUME_SOCK_CLOEXEC): Likewise.
7654 (__ASSUME_IN_NONBLOCK): Likewise.
7655 (__ASSUME_PIPE2): Likewise.
7656 (__ASSUME_EVENTFD2): Likewise.
7657 (__ASSUME_SIGNALFD4): Likewise.
7658 (__ASSUME_DUP3): Likewise.
7659 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7661 (__ASSUME_UTIMES): Likewise.
7662 (__ASSUME_EVENTFD2): Likewise.
7663 (__ASSUME_SIGNALFD4): Likewise.
7664 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7665 (__ASSUME_O_CLOEXEC): Likewise.
7666 (__ASSUME_SOCK_CLOEXEC): Likewise.
7667 (__ASSUME_IN_NONBLOCK): Likewise.
7668 (__ASSUME_PIPE2): Likewise.
7669 (__ASSUME_EVENTFD2): Likewise.
7670 (__ASSUME_SIGNALFD4): Likewise.
7671 (__ASSUME_DUP3): Likewise.
7672 (__ASSUME_UTIMES): Undefine.
7674 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7675 feclearexcept. Remove symbol versioning code.
7676 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7677 symbol versioning code.
7678 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7679 symbol versioning code.
7680 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7681 feupdateenv. Remove symbol versioning code.
7682 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7683 fegetexceptflag. Remove symbol versioning code.
7684 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7685 fesetexceptflag. Remove symbol versioning code.
7686 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7687 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7688 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7689 (__posix_fadvise64_l32): Remove prototype.
7690 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7693 2014-05-13 Roland McGrath <roland@hack.frob.com>
7695 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7696 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7697 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7698 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7700 2014-05-13 Sami Kerola <kerolasa@iki.fi>
7702 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7703 current working directory
7705 2014-05-13 Roland McGrath <roland@hack.frob.com>
7707 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7708 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7709 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7710 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7711 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7712 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7713 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7714 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7715 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7716 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7717 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7718 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7719 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7720 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7721 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7722 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7723 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7724 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7725 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7726 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7727 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7728 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7729 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7730 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7731 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7732 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7733 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7734 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7735 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7736 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7737 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7738 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7739 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7740 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7741 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7742 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7743 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7744 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7745 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7746 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7747 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7748 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7750 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7751 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7753 * sysdeps/unix/sysv/linux/arm/Makefile
7754 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7755 Add rt-aeabi_unwind_cpp_pr1.
7756 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7757 Add nptl-aeabi_unwind_cpp_pr1.
7758 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7759 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7760 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7761 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7762 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7763 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7765 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7766 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7767 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7768 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7770 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7771 Deconditionalize the code that was previously under [RESET_PID].
7772 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7774 * sysdeps/generic/exit-thread.h: New file.
7775 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7776 * include/unistd.h (__exit_thread): Remove declaration.
7777 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7778 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7779 * csu/libc-start.c: Include <exit-thread.h>.
7780 (LIBC_START_MAIN): Pass no argument to __exit_thread.
7781 * nptl/pthread_create.c: Include <exit-thread.h>.
7782 (start_thread): Call __exit_thread in place of __exit_thread_inline.
7783 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7784 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7785 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7786 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7787 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7788 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7789 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7790 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7791 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7792 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7793 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7794 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7795 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7796 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7797 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7798 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7800 2014-05-13 Andreas Schwab <schwab@suse.de>
7802 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7804 2014-05-12 Joseph Myers <joseph@codesourcery.com>
7806 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7807 (__ASSUME_UTIMES): Do not condition on kernel version.
7808 (__ASSUME_PSELECT): Define unconditionally.
7809 (__ASSUME_PPOLL): Likewise.
7810 (__ASSUME_ATFCTS): Likewise.
7811 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7812 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7813 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7814 (__ASSUME_UTIMENSAT): Define unconditionally.
7815 (__ASSUME_PRIVATE_FUTEX): Likewise.
7816 (__ASSUME_FALLOCATE): Likewise.
7817 (__ASSUME_O_CLOEXEC): Likewise.
7818 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7819 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7820 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7821 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7822 (__ASSUME_IN_NONBLOCK): Likewise.
7823 (__ASSUME_PIPE2): Likewise.
7824 (__ASSUME_EVENTFD2): Likewise.
7825 (__ASSUME_SIGNALFD4): Likewise.
7826 (__ASSUME_DUP3): Likewise.
7827 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7828 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7829 (__ASSUME_AT_RANDOM): Likewise.
7830 (__ASSUME_PREADV): Likewise.
7831 (__ASSUME_PWRITEV): Likewise.
7832 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7833 (__ASSUME_F_GETOWN_EX): Define unconditionally.
7834 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7835 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7836 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7837 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7838 (__ASSUME_O_CLOEXEC): Define unconditionally.
7839 (__ASSUME_PSELECT): Do not undefine conditionally.
7840 (__ASSUME_PPOLL): Likewise.
7841 (__ASSUME_ATFCTS): Likewise.
7842 (__ASSUME_SET_ROBUST_LIST): Likewise.
7843 (__ASSUME_UTIMENSAT): Likewise.
7844 (__ASSUME_FDATASYNC): Define unconditionally.
7845 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7846 (__ASSUME_SIGFRAME_V2): Likewise.
7847 )__ASSUME_EVENTFD2): Likewise.
7848 (__ASSUME_SIGNALFD4): Likewise.
7849 (__ASSUME_PSELECT): Do not undefine conditionally.
7850 (__ASSUME_PPOLL): Likewise.
7851 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7852 (__ASSUME_PSELECT): Define unconditionally.
7853 (__ASSUME_PPOLL): Likewise.
7854 (__ASSUME_O_CLOEXEC): Likewise.
7855 (__ASSUME_SOCK_CLOEXEC): Likewise.
7856 (__ASSUME_IN_NONBLOCK): Likewise.
7857 (__ASSUME_PIPE2): Likewise.
7858 (__ASSUME_EVENTFD2): Likewise.
7859 (__ASSUME_SIGNALFD4): Likewise.
7860 (__ASSUME_DUP3): Likewise.
7861 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7862 (__ASSUME_O_CLOEXEC): Likewise.
7863 (__ASSUME_SOCK_CLOEXEC): Likewise.
7864 (__ASSUME_IN_NONBLOCK): Likewise.
7865 (__ASSUME_PIPE2): Likewise.
7866 (__ASSUME_EVENTFD2): Likewise.
7867 (__ASSUME_SIGNALFD4): Likewise.
7868 (__ASSUME_DUP3): Likewise.
7869 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7870 (__ASSUME_EVENTFD2): Likewise.
7871 (__ASSUME_SIGNALFD4): Likewise.
7872 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7874 2014-05-12 Andreas Schwab <schwab@suse.de>
7877 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7878 (_nss_nis_gethostbyname4_r): Return error if item length is larger
7879 than maximum RPC packet size.
7880 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7881 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7882 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7883 (_nss_nis_getservbyport_r): Likewise.
7885 2014-05-12 Will Newton <will.newton@linaro.org>
7887 * malloc/Makefile (tests): Add tst-mallopt.
7888 * malloc/tst-mallopt.c: New file.
7890 2014-05-09 Roland McGrath <roland@hack.frob.com>
7892 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7893 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7895 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7897 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7898 (tst-tlsmod6.so): Likewise.
7900 2014-05-09 Roland McGrath <roland@hack.frob.com>
7902 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7904 2014-05-09 Joseph Myers <joseph@codesourcery.com>
7907 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7908 and <dl-procinfo.h>.
7909 (__fegetenv): Save SSE state in envp->__eip if supported.
7910 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7911 envp->__eip if supported.
7912 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7913 and <dl-procinfo.h>.
7914 (__fesetenv): Always set __eip, __cs_selector, __opcode,
7915 __data_offset and __data_selector in environment to 0. Set SSE
7917 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7919 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7921 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7923 2014-05-09 Will Newton <will.newton@linaro.org>
7925 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7926 and libc_relro_required for ARM.
7927 * sysdeps/arm/preconfigure: Regenerate.
7929 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
7930 Stefan Liebler <stli@linux.vnet.ibm.com>
7932 * config.make.in (enable-lock-elision): New Makefile variable.
7933 * configure.ac: Likewise.
7934 * configure: Regenerate.
7935 * sysdeps/s390/configure.ac:
7936 Add check for gcc transactions support.
7937 * sysdeps/s390/configure: Regenerate.
7938 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7939 Build elision files if enabled.
7940 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7941 Add lock elision support for s390.
7942 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7943 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7944 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7945 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7946 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7947 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7948 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7950 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7952 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7954 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7956 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7957 (__lll_timedlock_elision, __lll_lock_elision)
7958 (__lll_unlock_elision, __lll_trylock_elision)
7959 (lll_timedlock_elision, lll_lock_elision)
7960 (lll_unlock_elision, lll_trylock_elision): Add.
7961 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7962 (pthread_mutex_t): Add lock elision support for s390.
7964 2014-05-14 Wilco <wdijkstr@arm.com>
7966 * sysdeps/arm/fclrexcpt.c: Cleanup.
7967 * sysdeps/arm/fedisblxcpt.c: Cleanup.
7968 * sysdeps/arm/feenablxcpt.c: Cleanup.
7969 * sysdeps/arm/fegetenv.c: Cleanup.
7970 * sysdeps/arm/fegetexcept.c: Cleanup.
7971 * sysdeps/arm/fegetround.c: Cleanup.
7972 * sysdeps/arm/feholdexcpt.c: Cleanup.
7973 * sysdeps/arm/fesetenv.c: Cleanup.
7974 * sysdeps/arm/fesetround.c: Cleanup.
7975 * sysdeps/arm/feupdateenv.c: Cleanup.
7976 * sysdeps/arm/fgetexcptflg.c: Cleanup.
7977 * sysdeps/arm/fraiseexcpt.c: Cleanup.
7978 * sysdeps/arm/fsetexcptflg.c: Cleanup.
7979 * sysdeps/arm/ftestexcept.c: Cleanup.
7980 * sysdeps/arm/get-rounding-mode.h: Cleanup.
7981 * sysdeps/arm/setfpucw.c: Cleanup.
7983 2014-05-09 Will Newton <will.newton@linaro.org>
7985 * sysdeps/arm/armv7/strcmp.S: New file.
7986 * NEWS: Mention addition of ARMv7 optimized strcmp.
7988 2014-05-08 Roland McGrath <roland@hack.frob.com>
7990 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7991 look for %.ac rather than %.in.
7993 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7994 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7995 * sysdeps/mach/hurd/configure: Regenerated.
7996 * sysdeps/unix/sysv/linux/configure: Regenerated.
7998 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8000 2014-05-07 Steve Ellcey <sellcey@mips.com>
8003 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8007 2014-05-07 Andreas Schwab <schwab@suse.de>
8009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8010 when skipping over non-matching result from nscd.
8012 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8015 * nptl/sockperf.c (client): Check socket return value.
8018 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8019 nscd security class.
8021 2014-05-06 Roland McGrath <roland@hack.frob.com>
8023 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8024 * sysdeps/arm/unwind.h: ... here.
8026 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8029 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8032 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8034 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8035 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8036 multiarch strncpy for PPC64.
8037 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8038 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8040 multiarch optimizations.
8041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8042 (__libc_ifunc_impl_list): Likewise.
8043 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8044 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8045 multiarch stpncpy for PPC64.
8046 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8047 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8049 2014-05-06 Andreas Schwab <schwab@suse.de>
8052 * gmon/mcount.c (_MCOUNT_DECL): Use
8053 atomic_compare_and_exchange_bool_acq instead of
8054 catomic_compare_and_exchange_bool_acq.
8056 2014-05-05 Roland McGrath <roland@hack.frob.com>
8058 * elf/Makefile (others, install-bin): Remove pldd.
8059 (pldd-modules): Variable removed.
8060 ($(objpfx)pldd): Target removed.
8061 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8062 (others, install-bin): Append pldd here.
8063 ($(objpfx)pldd): New target.
8065 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8066 to 0, so the first #if test emitted later doesn't see it undefined.
8067 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8068 * sysdeps/gnu/errlist.c: Regenerated.
8070 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8072 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8073 [libc_hidden_builtin_def]: Define to empty value.
8074 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8075 [libc_hidden_builtin_def]: Likewise.
8076 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8077 [libc_hidden_builtin_def]: Likewise.
8078 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8079 [libc_hidden_builtin_def]: Likewise.
8080 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8081 __redirect_memcpy and define ifunc as default hidden symbol.
8082 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8083 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8085 2014-05-04 Adam Conrad <adconrad@0c3.net>
8087 * locale/iso-4217.def: Reintroduce XDR currency.
8089 2014-05-04 Allan McRae <allan@archlinux.org>
8091 * po/eo.po: Update Esperanto translation from translation project.
8093 2014-05-02 Carlos O'Donell <carlos@redhat.com>
8095 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8096 and FEATURE_INDEX_MAX to 1.
8097 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8099 2014-05-01 Steve Ellcey <sellcey@mips.com>
8101 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8102 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8103 * iconvdata/big5.c (ONE_DIRECTION): Define.
8104 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8105 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8106 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8107 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8108 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8109 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8110 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8111 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8112 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8113 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8114 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8115 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8116 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8117 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8118 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8119 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8120 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8121 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8122 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8123 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8124 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8125 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8126 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8127 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8128 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8129 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8130 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8131 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8132 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8133 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8134 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8135 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8136 * iconvdata/johab.c (ONE_DIRECTION): Define.
8137 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8138 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8139 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8140 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8141 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8142 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8143 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8144 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8145 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8146 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8148 2014-05-01 Roland McGrath <roland@hack.frob.com>
8150 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8151 (_IO_JUMPS_OFFSET): Define to 0.
8153 * nptl/sysdeps/pthread/bits/libc-lock.h
8154 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8155 (__libc_lock_define_initialized_recursive): Always define using
8156 initializer. Modern compilers treat uninitialized (implicit zero) and
8157 explicit zero initializers the same (i.e. put the datum in bss).
8159 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8161 * nscd/nscd-client.h: Include <string.h>.
8163 2014-05-01 David S. Miller <davem@davemloft.net>
8166 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8167 multiple zero bytes exist at the end of a string.
8168 Reported by Aurelien Jarno <aurelien@aurel32.net>
8170 * string/test-strcmp.c (check): Add explicit test for situations where
8171 there are multiple zero bytes after the first.
8173 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8176 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8177 when compiling wprintf.
8178 * stdio-common/tstdiomisc.c (t3): New function.
8181 2014-05-01 Steve Ellcey <sellcey@mips.com>
8183 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8184 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8185 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8186 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8188 2014-05-01 Steve Ellcey <sellcey@mips.com>
8190 * stdlib/longlong.h: Updated from GCC.
8192 2014-05-01 Will Newton <will.newton@linaro.org>
8193 Bernard Ogden <bernie.ogden@linaro.org>
8195 * NEWS: Update fixed bug list.
8198 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8200 2014-04-30 David S. Miller <davem@davemloft.net>
8202 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8203 (libc_feholdexcept_setround_sparc_ctx): New function.
8204 (libc_fesetenv_sparc_ctx): Likewise.
8205 (libc_feupdateenv_sparc_ctx): Likewise.
8206 (libc_feholdsetround_sparc_ctx): Likewise.
8207 (libc_feholdexcept_setround_ctx): Define.
8208 (libc_feholdexcept_setroundf_ctx): Likewise.
8209 (libc_feholdexcept_setroundl_ctx): Likewise.
8210 (libc_fesetenv_ctx): Likewise.
8211 (libc_fesetenvf_ctx): Likewise.
8212 (libc_fesetenvl_ctx): Likewise.
8213 (libc_feupdateenv_ctx): Likewise.
8214 (libc_feupdateenvf_ctx): Likewise.
8215 (libc_feupdateenvl_ctx): Likewise.
8216 (libc_feresetround_ctx): Likewise.
8217 (libc_feresetroundf_ctx): Likewise.
8218 (libc_feresetroundl_ctx): Likewise.
8219 (libc_feholdsetround_ctx): Likewise.
8220 (libc_feholdsetroundf_ctx): Likewise.
8221 (libc_feholdsetroundl_ctx): Likewise.
8223 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8224 with __USE_GNU instead of XOPEN cpp guards.
8226 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8229 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8230 with XOPEN cpp guards.
8232 2014-04-30 Julian Brown <julian@codesourcery.com>
8235 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8238 2014-04-30 Joseph Myers <joseph@codesourcery.com>
8241 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8243 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8244 * sysdeps/unix/sysv/linux/configure: Regenerated.
8245 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8246 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8247 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8248 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8249 * README: Update reference to required Linux kernel version.
8250 * manual/install.texi (Linux): Update reference to required Linux
8251 kernel headers version.
8252 * INSTALL: Regenerated.
8254 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8256 [POSIX] (limits.h): Likewise.
8257 [POSIX] (math.h): Likewise.
8258 [POSIX] (sys/wait.h): Likewise.
8259 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8261 [POSIX] (stddef.h): Do not allow header inclusion.
8263 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8265 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8267 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8269 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8270 Return immediately after lll_futex_wake.
8272 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8275 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8277 (datahead_init_pos): Call datahead_init_common early.
8278 (datahead_init_neg): Likewise.
8280 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8281 datahead_init_neg): New functions.
8282 * nscd/aicache.c (addhstaiX): Use them.
8283 * nscd/grpcache.c (cache_addgr): Likewise.
8284 * nscd/hstcache.c (cache_addhst): Likewise.
8285 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8286 * nscd/netgroupcache.c (do_notfound): Likewise.
8287 (addgetnetgrentX): Likewise.
8288 (addinnetgrX): Likewise.
8289 * nscd/pwdcache.c (cache_addpw): Likewise.
8290 * nscd/servicescache.c (cache_addserv): Likewise.
8292 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8293 Atsushi Onoe <atsushi@onoe.org>
8298 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8299 one response is valid.
8300 * resolv/res_send.c (send_dg): Check for validity of other
8301 response if the current response is a referral.
8303 2014-04-29 Steve Ellcey <sellcey@mips.com>
8305 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8307 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8310 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8311 Always divide by positive zero when computing -Inf result.
8312 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8313 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8315 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8317 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8318 FPSCR if value do not change.
8319 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8320 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8321 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8322 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8323 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8324 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8327 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8329 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8330 * sysdeps/unix/sysv/linux/hppa: Move directory from
8331 ports/systeps/unix/sysv/linux/hppa.
8332 * README: Update listing for hppa-*-linux-gnu.
8334 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
8337 * manual/stdio.texi (Hook functions): Fix types of stream hook
8340 * socket/sys/socket.h: Fix typo in comment.
8342 2014-04-28 Wilco <wdijkstr@arm.com>
8344 * sysdeps/arm/fenv_private.h: New file.
8345 * sysdeps/arm/math_private.h: New file.
8346 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8348 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8350 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8352 (La_x86_64_retval): Likewise.
8354 2014-04-24 Ian Bolton <ian.bolton@arm.com>
8356 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8357 fpsr if value didn't change.
8358 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8359 to fpcr if value didn't change.
8360 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8361 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8362 fpsr or fpcr if value didn't change.
8363 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8364 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8365 fpcr if value didn't change.
8366 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8367 to fpsr if value didn't change.
8369 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8371 * nptl/tst-sem3.c: Use test-skeleton.c
8372 (main): Rename to do_test. Use return instead of
8374 * nptl/tst-sem4.c: Use test-skeleton.c
8375 (main): Rename to do_test.
8377 2014-04-22 David S. Miller <davem@davemloft.net>
8379 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8380 (struct sigaction): New struct member __glibc_reserved0, change
8381 type of sa_flags to int.
8383 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8385 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8386 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8388 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8390 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8391 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8393 2014-04-22 Will Newton <will.newton@linaro.org>
8394 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8396 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8397 (__longjmp): Add longjmp and longjmp_target SystemTap
8399 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8400 (__sigsetjmp): Add setjmp SystemTap probe.
8402 2014-04-17 Carlos O'Donell <carlos@redhat.com>
8404 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8407 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8409 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8411 * sysdeps/powerpc/fpu/fenv_private.h
8412 (libc_feholdexcept_setroundl_ctx): Define to
8413 libc_feholdexcept_setround_ppc_ctx.
8414 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8415 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8416 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8417 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8419 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8421 * sysdeps/aarch64/math-tests.h: New file.
8423 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8425 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8428 Check and set bit_AVX2_Usable.
8429 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8431 (bit_AVX2): Likewise.
8432 (index_AVX2_Usable): Likewise.
8433 (CPUID_AVX2): Likewise.
8434 (HAS_AVX2): Likewise.
8436 2014-04-17 Will Newton <will.newton@linaro.org>
8438 * manual/setjmp.texi (System V contexts): Add note that
8439 calling setcontext on a context created by a call to a
8440 signal handler is undefined. Update text to note that
8441 setcontext from a signal handler is possible but not
8445 * stdlib/tst-setcontext.c: Include signal.h.
8446 (main): Check that the signal stack before and
8447 after swapcontext is the same.
8449 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8450 Re-implement to restore registers in user code and avoid
8451 rt_sigreturn system call.
8453 2014-04-17 Wilco <wdijkstr@arm.com>
8455 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8456 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8457 * math/test-fenv.c: Skip exception trap tests on targets which only
8458 support non-stop mode.
8460 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8461 Wilco Dijkstra <wilco.dijkstra@arm.com>
8463 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8464 (libc_feholdsetround_aarch64_ctx)
8465 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8466 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8467 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8468 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8469 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8470 (libc_feresetround_noexl_ctx): Define.
8472 2014-04-16 Richard Henderson <rth@redhat.com>
8474 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8476 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8479 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8480 const from the non-libc, non-ldso copy.
8482 * sysdeps/alpha/libm-test-ulps: Regenerate.
8484 2014-04-16 Ian Bolton <ian.bolton@arm.com>
8485 Wilco Dijkstra <wilco.dijkstra@arm.com>
8487 * sysdeps/aarch64/fpu/math_private.h: New file.
8489 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8491 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8493 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8496 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8497 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8499 Intel MPX bound registers before _dl_profile_fixup.
8500 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8501 registers after _dl_profile_fixup. Save and restore bound
8502 registers bnd0/bnd1 when calling _dl_call_pltexit.
8503 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8504 (LR_BND_OFFSET): Likewise.
8505 (LRV_BND0_OFFSET): Likewise.
8506 (LRV_BND1_OFFSET): Likewise.
8508 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8510 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8512 * sysdeps/mach/hurd/i386/tls.h: ... here.
8513 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8514 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8517 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8519 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8521 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8523 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8525 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8528 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8529 * sysdeps/s390/configure: Regenerate.
8532 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8533 Set round-to-nearest internally to reduce error accumulation.
8535 2014-04-16 Alan Modra <amodra@gmail.com>
8539 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8540 * math/libm-test.inc (frexp_test_data): Add tests.
8541 * NEWS: Update fixed bug list.
8543 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8545 * benchtests/Makefile: Depend on libraries in build directory.
8546 (bench-math): Separate out math tests.
8547 (bench-pthread): Separate out pthread tests.
8548 (bench): Include math and pthread tests.
8550 2014-04-14 Carlos O'Donell <carlos@redhat.com>
8553 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8554 _dl_debug_initialize.
8556 * configure.ac: Remove SELinux header check.
8557 * configure: Regenerate.
8558 * nscd/selinux.c (perms): Array of const char* to permission names.
8559 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8560 default policy. Call string_to_security_class and string_to_av_perm to
8561 translate strings. Enforce default policy and call avs_has_perm with
8562 results of translated strings.
8564 2014-04-13 David S. Miller <davem@davemloft.net>
8566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8568 2014-04-12 Allan McRae <allan@archlinux.org>
8571 * manual/string.texi (Collation Functions): Fix qsort argument
8573 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8575 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8577 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8578 Make the test a no-op if there are no exceptions defined.
8580 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8582 * elf/Makefile (tests): make tst-dlopen-aout conditional on
8583 enable-hardcoded-path-in-tests
8585 2014-04-11 Will Newton <will.newton@linaro.org>
8587 * benchtests/Makefile (extra-objs): Add json-lib.o.
8588 (bench-func): Tidy up JSON output.
8589 * benchtests/bench-skeleton.c: Include json-lib.h.
8590 (main): Use JSON library functions to do output of
8592 * benchtests/bench-timing-type.c (main): Output the
8593 timing type simply, leaving formatting to the user.
8594 * benchtests/json-lib.c: New file.
8595 * benchtests/json-lib.h: Likewise.
8597 2014-04-11 Torvald Riegel <triegel@redhat.com>
8600 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8601 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8602 memory barriers. Add comments.
8603 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8604 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8605 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8606 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8607 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8608 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8610 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8612 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8613 * sysdeps/s390/s390-64/configure.ac: ... this ...
8614 * sysdeps/s390/configure.ac: ... to here.
8615 * sysdeps/s390/s390-32/configure: Delete file.
8616 * sysdeps/s390/s390-64/configure: Delete file.
8617 * sysdeps/s390/configure: Regenerate.
8619 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8621 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8623 2014-04-11 Will Newton <will.newton@linaro.org>
8625 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8626 to zero if it is not defined elsewhere. (mtrim): Test
8627 the value of MALLOC_DEBUG with #if rather than #ifdef.
8629 2014-04-10 Torvald Riegel <triegel@redhat.com>
8631 * benchtests/pthread_once-inputs: New file.
8632 * benchtests/pthread_once-source.c: New file.
8633 * benchtests/README: Update documentation.
8635 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8636 H.J. Lu <hongjiu.lu@intel.com>
8639 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8640 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8641 * sysdeps/x86_64/configure: Regenerated.
8642 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8644 (REGISTER_SAVE_RAX): Likewise.
8645 (REGISTER_SAVE_RCX): Likewise.
8646 (REGISTER_SAVE_RDX): Likewise.
8647 (REGISTER_SAVE_RSI): Likewise.
8648 (REGISTER_SAVE_RDI): Likewise.
8649 (REGISTER_SAVE_R8): Likewise.
8650 (REGISTER_SAVE_R9): Likewise.
8651 (REGISTER_SAVE_BND0): Likewise.
8652 (REGISTER_SAVE_BND1): Likewise.
8653 (REGISTER_SAVE_BND2): Likewise.
8654 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8655 bound registers when calling _dl_fixup.
8657 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8659 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8660 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8662 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8663 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8664 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8665 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8666 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8667 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8668 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8670 2014-04-09 Peter Brett <peter@peter-b.co.uk>
8673 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8674 pathconf(_PC_NAME_MAX).
8676 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8678 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8680 (__PTHREAD_SPINS): Move definition to ...
8681 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8682 (__PTHREAD_SPINS): ... here.
8683 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8684 (__PTHREAD_SPIN): Likewise.
8685 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8686 (__PTHREAD_SPIN): Likewise.
8687 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8688 (__PTHREAD_SPIN): Likewise.
8689 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8690 (__PTHREAD_SPIN): Likewise.
8691 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8692 (__PTHREAD_SPIN): Likewise.
8693 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8694 (__PTHREAD_SPIN): Likewise.
8695 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8696 (__PTHREAD_SPIN): Likewise.
8697 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8698 (__PTHREAD_SPIN): Likewise.
8699 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8700 (__PTHREAD_SPIN): Likewise.
8701 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8702 (__PTHREAD_SPIN): Likewise.
8703 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8704 (__PTHREAD_SPIN): Likewise.
8705 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8706 (__PTHREAD_SPIN): Likewise.
8708 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8709 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8710 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8711 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8713 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8714 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8715 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8716 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8718 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8719 strlen symbol for non multi-arch builds.
8720 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8721 missing hidden_def and weak_alias.
8723 2014-04-08 Carlos O'Donell <carlos@redhat.com>
8725 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8727 2014-04-07 Will Newton <will.newton@linaro.org>
8729 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8730 and contents. [!_LIBC] Remove #ifndef and contents.
8731 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
8732 * string/memccpy.c (__memccpy): Use ANSI prototype.
8733 * string/memfrob.c (memfrob): Likewise.
8734 * string/strcoll.c (STRCOLL): Likewise.
8735 * string/strlen.c (strlen): Likewise.
8736 * string/strtok.c (STRTOK): Likewise.
8737 * string/strcat.c: Remove unused #include of memcopy.h.
8738 (strcat): Use ANSI prototype.
8739 * string/strchr.c: Remove unused #include of memcopy.h.
8740 (strchr): Use ANSI prototype.
8741 * string/strcmp.c: Remove unused #include of memcopy.h.
8742 (strcmp): Use ANSI prototype.
8743 * string/strcpy.c: Remove unused #include of memcopy.h.
8744 (strcpy): Use ANSI prototype.
8746 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8748 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8749 * config.make.in (config-extra-cppflags): Set it from
8750 libc_extra_cppflags.
8751 * configure.ac (libc_extra_cflags): Make it accumulate over
8752 configure fragments.
8753 (libc_extra_cppflags): New flag.
8754 * configure. Regenerate.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8756 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8757 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
8758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8761 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8762 result for FE_DOWNWARD rounding mode.
8763 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8767 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
8769 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8770 in function argument name.
8772 2014-04-03 David Svoboda <svoboda@cert.org>
8775 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8778 2014-04-03 Roland McGrath <roland@hack.frob.com>
8780 * elf/dl-unmap-segments.h: New file.
8781 * sysdeps/generic/ldsodefs.h
8782 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8783 * elf/dl-close.c: Include <dl-unmap-segments.h>.
8784 * elf/dl-fptr.c: Likewise.
8785 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8786 * sysdeps/aarch64/tlsdesc.c: Likewise.
8787 * sysdeps/arm/tlsdesc.c: Likewise.
8788 * sysdeps/i386/tlsdesc.c: Likewise.
8789 * sysdeps/tile/dl-runtime.c: Likewise.
8790 * sysdeps/x86_64/tlsdesc.c: Likewise.
8791 * elf/dl-load.h: New file.
8792 * elf/dl-load.c: Include it.
8793 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8794 Macros moved to dl-load.h.
8795 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8796 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8797 Use _dl_unmap_segments in place of __munmap.
8798 Break out segment-mapping loop into ...
8799 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8801 2014-04-03 Will Newton <will.newton@linaro.org>
8803 * elf/dl-lookup.c (do_lookup_x): Remove comment
8804 referring to nested function and move variable
8805 declarations down to before first use.
8807 2014-04-02 Joseph Myers <joseph@codesourcery.com>
8811 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8813 * math/s_catanf.c (__catanf): Likewise.
8814 * math/s_catanh.c (__catanh): Likewise.
8815 * math/s_catanhf.c (__catanhf): Likewise.
8816 * math/s_catanhl.c (__catanhl): Likewise.
8817 * math/s_catanl.c (__catanl): Likewise.
8818 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8819 by positive zero when computing -Inf result.
8820 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8821 (catanh_test): Likewise.
8822 * sysdeps/i386/fpu/libm-test-ulps: Update.
8823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8826 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8827 instead of using underflowing value in computing result.
8828 * math/s_clog10.c (__clog10): Likewise.
8829 * math/s_clog10f.c (__clog10f): Likewise.
8830 * math/s_clog10l.c (__clog10l): Likewise.
8831 * math/s_clogf.c (__clogf): Likewise.
8832 * math/s_clogl.c (__clogl): Likewise.
8833 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8834 (clog10_test): Likewise.
8835 * sysdeps/i386/fpu/libm-test-ulps: Update.
8836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8838 2014-04-02 Alan Modra <amodra@gmail.com>
8841 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8842 output when value is near a power of two. Use int64_t for lx and
8843 remove casts. Use decimal rather than hex exponent constants.
8844 Don't use long double multiplication when double will suffice.
8845 * math/libm-test.inc (nextafter_test_data): Add tests.
8846 * NEWS: Add 16739 and 16786 to bug list.
8848 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8850 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8852 2014-04-01 Will Newton <will.newton@linaro.org>
8854 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8855 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
8857 2014-04-01 Florian Weimer <fweimer@redhat.com>
8860 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8861 * nptl/tst-setuid2.c: New file.
8862 * nptl/Makefile (xtests): Add tst-setuid2.
8864 2014-04-01 Alan Modra <amodra@gmail.com>
8867 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8869 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8873 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8874 set errno as appropriate.
8875 * math/w_scalbf.c (__scalbf): Likewise.
8876 * math/w_scalbl.c (__scalbl): Likewise.
8877 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8878 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8879 * math/libm-test.inc (scalb_test_data): Add errno expectations.
8883 * math/w_atan2.c: Include <errno.h>.
8884 (__atan2): Set errno for result underflowing to zero.
8885 * math/w_atan2f.c: Include <errno.h>.
8886 (__atan2f): Set errno for result underflowing to zero.
8887 * math/w_atan2l.c: Include <errno.h>.
8888 (__atan2l): Set errno for result underflowing to zero.
8889 * math/auto-libm-test-in: Don't allow missing errno for some atan2
8891 * math/auto-libm-test-out: Regenerated.
8893 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8895 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8896 Encode instruction correctly in little endian.
8897 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8899 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8901 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8903 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8906 2014-03-31 Joseph Myers <joseph@codesourcery.com>
8909 * sysdeps/unix/sysv/linux/kernel-features.h
8910 [__sparc__ && !__arch64__ && !__sparc_v9__]
8911 (__ASSUME_SET_ROBUST_LIST): Do not define.
8912 [__sparc__ && !__arch64__ && !__sparc_v9__]
8913 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8914 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8916 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8917 (__ASSUME_FUTEX_LOCK_PI): Undefine.
8918 (__ASSUME_REQUEUE_PI): Likewise.
8919 (__ASSUME_SET_ROBUST_LIST): Likewise.
8920 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8921 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8923 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8924 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8926 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8928 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8930 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8931 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8933 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8934 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8938 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8939 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8940 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8942 2014-03-31 Will Newton <will.newton@linaro.org>
8944 * benchtests/Makefile (bench): Add ffs and ffsll to list
8946 * benchtests/ffs-inputs: New file.
8947 * benchtests/ffsll-inputs: Likewise.
8949 2014-03-29 Joseph Myers <joseph@codesourcery.com>
8952 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8953 too large before casting to int.
8954 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8955 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8956 * math/libm-test.inc (scalb_test_data): Add more tests.
8958 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8960 * benchtests/Makefile (DETAILED_OPT): New make option.
8961 (bench-func): Run benchmark program with -d if DETAILED_OPT is
8963 * benchtests/bench-skeleton.c: Include stdbool.h.
8964 (main): Store and print timings per input.
8965 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8966 member to each argument value.
8967 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8968 (_print_arg_data): Initialize per-input timing to 0.
8970 * benchtests/Makefile (timing-type): New binary.
8971 (bench-clean): Also remove bench-timing-type.
8972 (bench): New target for timing-type.
8973 (bench-func): Print output in JSON format.
8974 * benchtests/bench-skeleton.c (main): Print output in JSON
8976 * benchtests/bench-timing-type.c: New file.
8977 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8978 (TIMING_PRINT_STATS): Remove.
8979 * benchtests/scripts/bench.py (_print_arg_data): Store variant
8982 * benchtests/bench-modf.c: Remove.
8983 * benchtests/modf-inputs: New inputs file.
8985 2014-03-28 Joseph Myers <joseph@codesourcery.com>
8988 * math/s_clog10.c (M_PI_LOG10E): New macro.
8989 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8990 imaginary parts are 0.
8991 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8992 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8993 imaginary parts are 0.
8994 * math/s_clog10l.c (M_PI_LOG10El): New macro.
8995 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8996 imaginary parts are 0.
8997 * math/libm-test.inc (clog10_test_data): Update expected results
8998 for when real and imaginary parts are 0.
9000 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9002 * elf/dl-load.c: Finish conversion of __builtin_expect into
9005 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9008 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9009 1+x for argument with exponent below -67.
9010 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9012 * math/auto-libm-test-in: Add more tests of exp.
9013 * math/auto-libm-test-out: Regenerated.
9015 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9018 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9019 (nscd_getnetgrent): Use it.
9022 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9025 2014-03-27 Andi Kleen <ak@linux.intel.com>
9027 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9028 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9029 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9030 (lll_robust_unlock): Remove out of line section. Use cfi
9032 (LLL_STUB_UNWIND_INFO*): Remove.
9033 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9034 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9035 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9036 (lll_robust_unlock): Remove out of line section. Use cfi
9038 (LLL_STUB_UNWIND_INFO*): Remove.
9040 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9043 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9046 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9048 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9050 2014-03-26 Joseph Myers <joseph@codesourcery.com>
9053 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9055 * math/test-fenv-preserve.c: New file.
9056 * math/Makefile (tests): Add test-fenv-preserve.
9058 2014-03-26 Will Newton <will.newton@linaro.org>
9060 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9062 2014-03-25 Roland McGrath <roland@hack.frob.com>
9064 * scripts/versionlist.awk: Partition the version sets and emit all
9065 GLIBC_* (sorted) before all others (sorted).
9067 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9069 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9070 GLIBC_2.2.5 version.
9072 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9074 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9077 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9082 2014-03-25 Andreas Schwab <schwab@suse.de>
9084 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9085 label to be used after in6ailist is initialized.
9087 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9089 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9090 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9092 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9096 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9098 (fp_formats): Update initializers.
9099 (init_fp_formats): Initialize new field.
9100 (output_for_one_input_case): Allow underflow for results up to
9102 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9103 * math/auto-libm-test-in: Don't mark some underflows from asin and
9105 * math/auto-libm-test-out: Regenerated.
9106 * sysdeps/i386/fpu/libm-test-ulps: Update.
9107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9109 2014-03-25 Andreas Schwab <schwab@suse.de>
9111 * libio/Makefile (tst-ftell-partial-wide-ENV)
9112 (tst-ftell-active-handler-ENV): Define.
9114 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9116 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9118 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9120 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9122 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9124 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9125 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9126 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9128 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9131 * elf/dl-load.c (open_verify): Add mode parameter.
9132 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9133 (open_path): Change from boolean 'secure' to complete flag 'mode'
9134 (_dl_map_object): Adjust.
9135 * elf/Makefile (tests): Add tst-dlopen-aout.
9136 * elf/tst-dlopen-aout.c: New test.
9138 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9141 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9142 (struct stat): Rename member pad0 to __glibc_reserved0.
9145 * sysdeps/s390/s390-32/bits/wordsize.h
9146 (__WORDSIZE32_SIZE_ULONG): New define.
9147 * sysdeps/s390/s390-64/bits/wordsize.h
9148 (__WORDSIZE32_SIZE_ULONG): Likewise.
9149 * sysdeps/generic/stdint.h (SIZE_MAX):
9150 Define as UL if __WORDSIZE32_SIZE_ULONG.
9153 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9154 (__glibc_reserved0): New variable.
9155 (sa_flags): Change type to int.
9157 * posix/Makefile (before-compile): Use += before-compile instead
9160 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9161 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9163 2014-03-20 Andreas Schwab <schwab@suse.de>
9166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9167 non-matching result from nscd.
9169 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9171 * scripts/bench.py: Moved to ...
9172 * benchtests/scripts/bench.py: ... here.
9173 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9175 2014-03-24 Andreas Schwab <schwab@suse.de>
9178 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9179 alloca_account and account alloca use for struct in6ailist.
9181 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9184 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9185 rounding mode to recompute results that overflow to infinity or
9187 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9189 * math/auto-libm-test-out: Regenerated.
9190 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9191 (ccosh_test): Likewise.
9192 (csin_test_data): Use plus_oflow.
9193 (csin_test): Use ALL_RM_TEST.
9194 (csinh_test_data): Use plus_oflow.
9195 (csinh_test): Use ALL_RM_TEST.
9196 * sysdeps/i386/fpu/libm-test-ulps: Update.
9197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9199 2014-03-21 Joseph Myers <joseph@codesourcery.com>
9201 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9202 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9203 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9206 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9208 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9209 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9210 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9211 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9213 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9214 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9216 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9217 * sysdeps/i386/fpu/libm-test-ulps: Update.
9218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9220 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9222 * scripts/bench.pl: Remove file.
9223 * scripts/bench.py: New benchmark script.
9224 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9225 * benchtests/README: Mention python dependency.
9226 * scripts/pylintrc: New file.
9227 * scripts/pylint: New file.
9229 * bits/mathdef.h: Use #ifdef instead of #if.
9230 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9231 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9232 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9233 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9234 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9235 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9237 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9238 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9240 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9242 and strpbrk-ppc64 objects.
9243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9244 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9245 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9246 multiarch strpbrk for POWER7.
9247 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9248 multiarch strpbrk for PPC64.
9249 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9251 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9254 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9256 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9257 (atan_test): Likewise.
9258 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9259 (atanh_test): Use ALL_RM_TEST.
9260 (atan2_test_data): Likewise.
9261 (cabs_test): Likewise.
9262 (cacosh_test): Likewise.
9263 (carg_test): Likewise.
9264 (casin_test): Likewise.
9265 (casinh_test): Likewise.
9266 (cbrt_test): Likewise.
9267 (csqrt_test): Likewise.
9268 (erf_test): Likewise.
9269 (erfc_test): Likewise.
9270 (pow10_test): Likewise.
9271 (exp2_test): Likewise.
9272 (hypot_test): Likewise.
9273 (j0_test): Likewise.
9274 (j1_test): Likewise.
9275 (lgamma_test): Likewise.
9276 (gamma_test): Likewise.
9277 (sincos_test): Likewise.
9278 (tanh_test): Likewise.
9279 (y0_test): Likewise.
9280 (y1_test): Likewise.
9281 * sysdeps/i386/fpu/libm-test-ulps: Update.
9282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9284 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9286 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9288 and strcspn-ppc64 objects.
9289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9290 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9291 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9292 multiarch strcspn for POWER7.
9293 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9294 multiarch strcspn for PPC64.
9295 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9297 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9300 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9302 * math/gen-libm-test.pl (generate_testfile): Expect only function
9303 name as argument to AUTO_TESTS_* and pass results for all rounding
9304 modes to parse_args.
9305 (parse_auto_input): Separate inputs of automatic tests from
9306 outputs before storing in %auto_tests.
9307 * math/libm-test.inc (acos_test_data): Update call to
9309 (acos_test): Use ALL_RM_TEST.
9310 (acos_tonearest_test_data): Remove.
9311 (acos_test_tonearest): Likewise.
9312 (acos_towardzero_test_data): Likewise.
9313 (acos_test_towardzero): Likewise.
9314 (acos_downward_test_data): Likewise.
9315 (acos_test_downward): Likewise.
9316 (acos_upward_test_data): Likewise.
9317 (acos_test_upward): Likewise.
9318 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9319 (asin_test_data): Likewise.
9320 (asin_test): Use ALL_RM_TEST.
9321 (asin_tonearest_test_data): Remove.
9322 (asin_test_tonearest): Likewise.
9323 (asin_towardzero_test_data): Likewise.
9324 (asin_test_towardzero): Likewise.
9325 (asin_downward_test_data): Likewise.
9326 (asin_test_downward): Likewise.
9327 (asin_upward_test_data): Likewise.
9328 (asin_test_upward): Likewise.
9329 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9330 (atan_test_data): Likewise.
9331 (atanh_test_data): Likewise.
9332 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9333 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9334 (carg_test_data): Likewise.
9335 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9336 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9337 (ccosh_test_data): Likewise.
9338 (cexp_test_data): Likewise.
9339 (clog_test_data): Likewise.
9340 (clog10_test_data): Likewise.
9341 (cos_test_data): Update call to AUTO_TESTS_f_f.
9342 (cos_test): Use ALL_RM_TEST.
9343 (cos_tonearest_test_data): Remove.
9344 (cos_test_tonearest): Likewise.
9345 (cos_towardzero_test_data): Likewise.
9346 (cos_test_towardzero): Likewise.
9347 (cos_downward_test_data): Likewise.
9348 (cos_test_downward): Likewise.
9349 (cos_upward_test_data): Likewise.
9350 (cos_test_upward): Likewise.
9351 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9352 (cosh_test): Use ALL_RM_TEST.
9353 (cosh_tonearest_test_data): Remove.
9354 (cosh_test_tonearest): Likewise.
9355 (cosh_towardzero_test_data): Likewise.
9356 (cosh_test_towardzero): Likewise.
9357 (cosh_downward_test_data): Likewise.
9358 (cosh_test_downward): Likewise.
9359 (cosh_upward_test_data): Likewise.
9360 (cosh_test_upward): Likewise.
9361 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9362 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9363 (ctan_test_data): Likewise.
9364 (ctan_test): Use ALL_RM_TEST.
9365 (ctan_tonearest_test_data): Remove.
9366 (ctan_test_tonearest): Likewise.
9367 (ctan_towardzero_test_data): Likewise.
9368 (ctan_test_towardzero): Likewise.
9369 (ctan_downward_test_data): Likewise.
9370 (ctan_test_downward): Likewise.
9371 (ctan_upward_test_data): Likewise.
9372 (ctan_test_upward): Likewise.
9373 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9374 (ctanh_test): Use ALL_RM_TEST.
9375 (ctanh_tonearest_test_data): Remove.
9376 (ctanh_test_tonearest): Likewise.
9377 (ctanh_towardzero_test_data): Likewise.
9378 (ctanh_test_towardzero): Likewise.
9379 (ctanh_downward_test_data): Likewise.
9380 (ctanh_test_downward): Likewise.
9381 (ctanh_upward_test_data): Likewise.
9382 (ctanh_test_upward): Likewise.
9383 (erf_test_data): Update call to AUTO_TESTS_f_f.
9384 (erfc_test_data): Likewise.
9385 (exp_test_data): Likewise.
9386 (exp_test): Use ALL_RM_TEST.
9387 (exp_tonearest_test_data): Remove.
9388 (exp_test_tonearest): Likewise.
9389 (exp_towardzero_test_data): Likewise.
9390 (exp_test_towardzero): Likewise.
9391 (exp_downward_test_data): Likewise.
9392 (exp_test_downward): Likewise.
9393 (exp_upward_test_data): Likewise.
9394 (exp_test_upward): Likewise.
9395 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9396 (exp10_test): Use ALL_RM_TEST.
9397 (exp10_tonearest_test_data): Remove.
9398 (exp10_test_tonearest): Likewise.
9399 (exp10_towardzero_test_data): Likewise.
9400 (exp10_test_towardzero): Likewise.
9401 (exp10_downward_test_data): Likewise.
9402 (exp10_test_downward): Likewise.
9403 (exp10_upward_test_data): Likewise.
9404 (exp10_test_upward): Likewise.
9405 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9406 (expm1_test_data): Likewise.
9407 (expm1_test): Use ALL_RM_TEST.
9408 (expm1_tonearest_test_data): Remove.
9409 (expm1_test_tonearest): Likewise.
9410 (expm1_towardzero_test_data): Likewise.
9411 (expm1_test_towardzero): Likewise.
9412 (expm1_downward_test_data): Likewise.
9413 (expm1_test_downward): Likewise.
9414 (expm1_upward_test_data): Likewise.
9415 (expm1_test_upward): Likewise.
9416 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9417 (fma_test): Use ALL_RM_TEST.
9418 (fma_towardzero_test_data): Remove.
9419 (fma_test_towardzero): Likewise.
9420 (fma_downward_test_data): Likewise.
9421 (fma_test_downward): Likewise.
9422 (fma_upward_test_data): Likewise.
9423 (fma_test_upward): Likewise.
9424 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9425 (j0_test_data): Update call to AUTO_TESTS_f_f.
9426 (j1_test_data): Likewise.
9427 (jn_test_data): Update call to AUTO_TESTS_if_f.
9428 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9429 (log_test_data): Update call to AUTO_TESTS_f_f.
9430 (log10_test_data): Likewise.
9431 (log1p_test_data): Likewise.
9432 (log2_test_data): Likewise.
9433 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9434 (pow_tonearest_test_data): Likewise.
9435 (sin_test_data): Update call to AUTO_TESTS_f_f.
9436 (sin_test): Use ALL_RM_TEST.
9437 (sin_tonearest_test_data): Remove.
9438 (sin_test_tonearest): Likewise.
9439 (sin_towardzero_test_data): Likewise.
9440 (sin_test_towardzero): Likewise.
9441 (sin_downward_test_data): Likewise.
9442 (sin_test_downward): Likewise.
9443 (sin_upward_test_data): Likewise.
9444 (sin_test_upward): Likewise.
9445 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9446 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9447 (sinh_test): Use ALL_RM_TEST.
9448 (sinh_tonearest_test_data): Remove.
9449 (sinh_test_tonearest): Likewise.
9450 (sinh_towardzero_test_data): Likewise.
9451 (sinh_test_towardzero): Likewise.
9452 (sinh_downward_test_data): Likewise.
9453 (sinh_test_downward): Likewise.
9454 (sinh_upward_test_data): Likewise.
9455 (sinh_test_upward): Likewise.
9456 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9457 (sqrt_test): Use ALL_RM_TEST.
9458 (sqrt_tonearest_test_data): Remove.
9459 (sqrt_test_tonearest): Likewise.
9460 (sqrt_towardzero_test_data): Likewise.
9461 (sqrt_test_towardzero): Likewise.
9462 (sqrt_downward_test_data): Likewise.
9463 (sqrt_test_downward): Likewise.
9464 (sqrt_upward_test_data): Likewise.
9465 (sqrt_test_upward): Likewise.
9466 (tan_test_data): Update call to AUTO_TESTS_f_f.
9467 (tan_test): Use ALL_RM_TEST.
9468 (tan_tonearest_test_data): Remove.
9469 (tan_test_tonearest): Likewise.
9470 (tan_towardzero_test_data): Likewise.
9471 (tan_test_towardzero): Likewise.
9472 (tan_downward_test_data): Likewise.
9473 (tan_test_downward): Likewise.
9474 (tan_upward_test_data): Likewise.
9475 (tan_test_upward): Likewise.
9476 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9477 (tgamma_test_data): Likewise.
9478 (y0_test_data): Likewise.
9479 (y1_test_data): Likewise.
9480 (yn_test_data): Update call to AUTO_TESTS_if_f.
9481 (main): Do not call removed functions.
9483 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9485 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9486 (ldexp_test_data): Remove.
9487 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9489 (scalb_test): Use ALL_RM_TEST.
9491 2014-03-19 Andreas Schwab <schwab@suse.de>
9493 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9495 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9498 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9499 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9500 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9501 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9502 (__ASSUME_PREADV): Undefine.
9503 (__ASSUME_PWRITEV): Likewise.
9505 2014-03-18 Roland McGrath <roland@hack.frob.com>
9507 * bits/mman-linux.h: Add comment about non-Linux use.
9508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9509 bits/mman-linux.h resting place.
9511 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9512 * bits/mman-linux.h: ... here.
9514 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9516 * conform/conformtest.pl: Add standard definition when calling C
9517 preprocessor on data files.
9518 (checknamespace): Remove unused variable.
9520 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9522 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9523 minus_oflow, plus_uflow and minus_uflow in expected results.
9524 * math/libm-test.inc (scalbn_test_data): Add more tests of
9525 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9527 (scalbn_test): Use ALL_RM_TEST.
9528 (scalbln_test_data): Add more tests of negative arguments. Use
9529 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9530 (scalbln_test): Use ALL_RM_TEST.
9532 2014-03-18 Roland McGrath <roland@hack.frob.com>
9534 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9536 2014-03-18 Will Newton <will.newton@linaro.org>
9538 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9541 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9543 * Makerules [!subdir] (check-abi): Exit with error status if a
9546 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9548 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9549 for rint. Include results for all rounding modes.
9550 (nearbyint_test): Use ALL_RM_TEST.
9551 (rint_test_data): Include all tests used for nearbyint.
9553 2014-03-17 Will Newton <will.newton@linaro.org>
9555 * nptl/sysdeps/pthread/pthread.h: Revert previous
9558 * sysdeps/generic/ldsodefs.h: Revert previous
9561 * libio/genops.c: Revert previous change.
9562 * libio/libioP.h: Likewise.
9563 * stdio-common/vfprintf.c: Likewise.
9565 * sysdeps/generic/math_private.h: Revert previous
9568 * sysdeps/generic/math_private.h: Check whether
9569 HAVE_RM_CTX is defined with #ifdef rather
9572 * argp/argp-fmtstream.h: Check whether
9573 __STRICT_ANSI__ is defined with #ifdef rather
9575 * argp/argp.h: Likewise.
9577 * libio/genops.c: Check whether
9578 _IO_JUMPS_OFFSET is defined with #ifdef rather
9580 * libio/libioP.h: Likewise.
9581 * stdio-common/vfprintf.c: Likewise.
9583 * sysdeps/generic/ldsodefs.h: Check whether
9584 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9587 * nptl/sysdeps/pthread/pthread.h: Check
9588 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9591 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9593 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9595 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9599 * libio/fileops.c (_IO_file_open): Seek to end of file but
9600 don't cache the offset.
9601 (get_file_offset): Remove function.
9602 (do_ftell): Use cached offset when available.
9603 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9604 don't cache the offset.
9605 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9607 (do_one_test): Call it.
9608 (do_ftell_test): Fix up expected old offset for a+ mode.
9609 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9612 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9613 up test status with function return status.
9614 (do_write_test): Likewise.
9615 (do_append_test): Likewise.
9617 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9618 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9621 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9623 * math/gen-libm-test.pl (parse_args): Handle results specified for
9624 each rounding mode separately.
9625 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9626 tests and results from lrint_tonearest_test_data,
9627 lrint_towardzero_test_data, lrint_downward_test_data and
9628 lrint_upward_test_data.
9629 (lrint_test): Use ALL_RM_TEST.
9630 (lrint_tonearest_test_data): Remove.
9631 (lrint_test_tonearest): Likewise.
9632 (lrint_towardzero_test_data): Likewise.
9633 (lrint_test_towardzero): Likewise.
9634 (lrint_downward_test_data): Likewise.
9635 (lrint_test_downward): Likewise.
9636 (lrint_upward_test_data): Likewise.
9637 (lrint_test_upward): Likewise.
9638 (llrint_test_data): Merge in per-rounding-mode tests and results
9639 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9640 llrint_downward_test_data and llrint_upward_test_data.
9641 (llrint_test): Use ALL_RM_TEST.
9642 (llrint_tonearest_test_data): Remove.
9643 (llrint_test_tonearest): Likewise.
9644 (llrint_towardzero_test_data): Likewise.
9645 (llrint_test_towardzero): Likewise.
9646 (llrint_downward_test_data): Likewise.
9647 (llrint_test_downward): Likewise.
9648 (llrint_upward_test_data): Likewise.
9649 (llrint_test_upward): Likewise.
9650 (rint_test_data): Merge in per-rounding-mode tests and results
9651 from rint_tonearest_test_data, rint_towardzero_test_data,
9652 rint_downward_test_data and rint_upward_test_data. Add
9653 per-rounding-mode results for tests not in those arrays.
9654 (rint_test): Use ALL_RM_TEST.
9655 (rint_tonearest_test_data): Remove.
9656 (rint_test_tonearest): Likewise.
9657 (rint_towardzero_test_data): Likewise.
9658 (rint_test_towardzero): Likewise.
9659 (rint_downward_test_data): Likewise.
9660 (rint_test_downward): Likewise.
9661 (rint_upward_test_data): Likewise.
9662 (rint_test_upward): Likewise.
9663 (main): Don't call removed functions.
9665 2014-03-14 Roland McGrath <roland@hack.frob.com>
9667 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9668 "Compiled on ..." crapola. It is anti-useful.
9670 2014-03-14 Joseph Myers <joseph@codesourcery.com>
9672 * scripts/evaluate-test.sh: Handle fourth argument to determine
9673 whether test run should stop on failure.
9674 * Makeconfig (stop-on-test-failure): New variable.
9675 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9676 $(stop-on-test-failure).
9677 * Makefile (tests): Give a summary of results from testing and
9678 exit with failure status if they include an ERROR or FAIL.
9680 * manual/install.texi (Configuring and compiling): Mention
9681 stop-on-test-failure=y.
9682 * INSTALL: Regenerated.
9684 2014-03-14 Roland McGrath <roland@hack.frob.com>
9686 * scripts/versionlist.awk: New file.
9687 * Makerules [$(build-shared) = yes]
9688 (postclean-generated): Add Versions.def, not Versions.def.v and
9690 ($(common-objpfx)Versions.def.v.i): Target removed.
9691 ($(common-objpfx)Versions.def): New target.
9692 ($(common-objpfx)Versions.all): Depend on that rather that
9693 $(common-objpfx)Versions.def.v.
9694 * Versions.def: File removed.
9696 * Makeconfig (+gccwarn): Add -Wundef.
9697 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9698 a dl-sysdep.h breaking its contract.
9699 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9700 * include/stackinfo.h: New file.
9701 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9702 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9703 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9704 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9705 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9706 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9707 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9708 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9709 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9710 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9711 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9712 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9713 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9714 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9715 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9717 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9720 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9722 * math/libm-test.inc (round_test_data): Add more tests.
9725 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9727 * math/libm-test.inc (nearbyint_test_data): Add more tests.
9730 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9732 * math/libm-test.inc (ceil_test_data): Add more tests.
9734 * math/libm-test.inc (trunc_test_data): Add more tests related to
9737 2014-03-14 Roland McGrath <roland@hack.frob.com>
9739 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9740 with #if rather than #ifdef.
9741 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9743 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
9745 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9746 first. Disable AVX-512 GCC support if assembler doesn't support
9748 * sysdeps/x86_64/configure: Regenerated.
9750 2014-03-13 Carlos O'Donell <carlos@redhat.com>
9752 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9753 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9754 (__old_pthread_attr_setstack): Likewise.
9755 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9756 [!_STACK_GROWS_DOWN]: Likewise.
9758 2014-03-13 Mike Frysinger <vapier@gentoo.org>
9760 * config.make.in (have-bash2): Delete.
9761 * configure.ac (libc_cv_have_bash2): Delete.
9762 * configure: Regenerate.
9763 * elf/Makefile (common-ldd-rewrite): Rename to ...
9764 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
9765 (sh-ldd-rewrite): Delete.
9766 (bash-ldd-rewrite): Delete.
9767 (have-bash2): Delete checks.
9768 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9771 * config.make.in (have-ksh): Delete.
9773 * configure.ac (libc_cv_have_ksh): Delete.
9774 * configure: Regenerate.
9776 * elf/Makefile: Delete $(have-ksh) check.
9777 ($(objpfx)sotruss): Change KSH to BASH.
9778 * elf/sotruss.ksh: Rename to ...
9779 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
9780 function style to match POSIX. Drop ksh vim mode setting.
9782 * manual/time.texi (Specifying the Time Zone with TZ): Change
9783 Tuesday to Thursday.
9785 * debug/tst-longjmp_chk2.c: Update header comment.
9786 (stackoverflow_handler): Add comment. Call assert on pass value.
9788 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
9791 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9792 (HAVE_AVX512_ASM_SUPPORT): Likewise.
9793 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9794 (La_x86_64_vector): Add zmm.
9795 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9796 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9797 ($(objpfx)tst-audit10): New target.
9798 ($(objpfx)tst-audit10.out): Likewise.
9799 (tst-audit10-ENV): New.
9800 (AVX512-CFLAGS): Likewise.
9801 (CFLAGS-tst-audit10.c): Likewise.
9802 (CFLAGS-tst-auditmod10a.c): Likewise.
9803 (CFLAGS-tst-auditmod10b.c): Likewise.
9804 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9805 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9806 * sysdeps/x86_64/configure: Regenerated.
9807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9808 AVX-512 zmm register support.
9809 (_dl_x86_64_save_sse): Likewise.
9810 (_dl_x86_64_restore_sse): Likewise.
9811 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9812 size vector registers.
9813 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9814 (ZMM_SIZE): Likewise.
9815 * sysdeps/x86_64/tst-audit10.c: New file.
9816 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9817 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9819 2014-03-13 Roland McGrath <roland@hack.frob.com>
9821 * configure.ac (HAVE_EHDR_START): New check.
9822 * configure: Regenerated.
9823 * config.h.in (HAVE_EHDR_START): New #undef.
9824 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9825 assuming the lowest-addressed segment maps the start of the file.
9827 2014-03-13 Joseph Myers <joseph@codesourcery.com>
9829 * INSTALL: Regenerated.
9831 2014-03-13 Will Newton <will.newton@linaro.org>
9833 * manual/setjmp.texi (System V contexts): Improve
9834 clarity and grammar of documentation.
9836 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
9839 * elf/Makefile (tests): Add tst-pie2.
9840 (tests-pie): Add tst-pie2.
9841 * elf/tst-pie2.c: New file.
9842 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9844 * elf/rtld.c (map_doit): Load executable as lt_executable.
9845 (dl_main): Likewise.
9847 2014-03-12 Joseph Myers <joseph@codesourcery.com>
9850 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9851 (__ASSUME_PSELECT): Undefine.
9853 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9856 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9857 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9859 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9860 selector for static builds.
9862 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9865 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9868 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9870 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9871 IFUNC selector for static builds.
9873 2014-03-11 Joseph Myers <joseph@codesourcery.com>
9875 * sysdeps/mips/math_private.h [__mips_hard_float]
9876 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9877 libc_feresetround_mips_ctx.
9878 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9879 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9880 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9883 * math/s_nextafter.c (__nextafter): Do not return value from
9884 overflowing computation.
9885 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9886 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9887 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9889 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9891 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9892 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9894 2014-03-11 Roland McGrath <roland@hack.frob.com>
9896 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9897 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9898 Move sfi_sp use from the load-multiple (that no longer sets sp) to
9899 the new mov targetting sp.
9901 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9904 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9905 Define it for static builds as well.
9906 (NO_BZERO_IMPL): Likewise.
9908 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9910 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9911 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9912 multiarch strspn for PPC64.
9913 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9914 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9916 (__libc_ifunc_impl_list): Likewise.
9917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9918 multiarch optimizations
9919 * string/strspn.c (strspn): Using macro to redefine symbol name.
9921 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9922 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9924 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9925 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9926 multiarch strncat for PPC64.
9927 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9928 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9930 (__libc_ifunc_impl_list): Likewise.
9931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9932 multiarch optimizations
9934 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9937 * nscd/nscd.service: Make service type forking.
9939 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9941 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9942 sign in non default rounding modes.
9943 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9945 2014-03-08 Joseph Myers <joseph@codesourcery.com>
9947 * math/libm-test.inc (ALL_RM_TEST): New macro.
9948 (ceil_test): Use ALL_RM_TEST.
9949 (cimag_test): Likewise.
9950 (conj_test): Likewise.
9951 (copysign_test): Likewise.
9952 (cproj_test): Likewise.
9953 (creal_test): Likewise.
9954 (fabs_test): Likewise.
9955 (floor_test): Likewise.
9956 (fmax_test): Likewise.
9957 (fmin_test): Likewise.
9958 (fmod_test): Likewise.
9959 (fpclassify_test): Likewise.
9960 (frexp_test): Likewise.
9961 (ilogb_test): Likewise.
9962 (isfinite_test): Likewise.
9963 (finite_test): Likewise.
9964 (isgreater_test): Likewise.
9965 (isgreaterequal_test): Likewise.
9966 (isinf_test): Likewise.
9967 (isless_test): Likewise.
9968 (islessequal_test): Likewise.
9969 (islessgreater_test): Likewise.
9970 (isnan_test): Likewise.
9971 (isnormal_test): Likewise.
9972 (issignaling_test): Likewise.
9973 (isunordered_test): Likewise.
9974 (logb_test): Likewise.
9975 (logb_downward_test_data): Remove.
9976 (logb_test_downward): Likewise.
9977 (lround_test): Use ALL_RM_TEST.
9978 (llround_test): Likewise.
9979 (modf_test): Likewise.
9980 (nexttoward_test): Likewise.
9981 (remainder_test): Likewise.
9982 (drem_test): Likewise.
9983 (remainder_tonearest_test_data): Likewise.
9984 (remainder_test_tonearest): Likewise.
9985 (drem_test_tonearest): Likewise.
9986 (remainder_towardzero_test_data): Likewise.
9987 (remainder_test_towardzero): Likewise.
9988 (drem_test_towardzero): Likewise.
9989 (remainder_downward_test_data): Likewise.
9990 (remainder_test_downward): Likewise.
9991 (drem_test_downward): Likewise.
9992 (remainder_upward_test_data): Likewise.
9993 (remainder_test_upward): Likewise.
9994 (drem_test_upward): Likewise.
9995 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
9996 (round_test): Use ALL_RM_TEST.
9997 (signbit_test): Likewise.
9998 (trunc_test): Likewise.
9999 (significand_test): Likewise.
10000 (main): Don't call removed functions.
10002 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10005 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10006 || __USE_XOPEN2K8].
10007 (ILL_ILLOPN): Likewise.
10008 (ILL_ILLADR): Likewise.
10009 (ILL_ILLTRP): Likewise.
10010 (ILL_PRVOPC): Likewise.
10011 (ILL_PRVREG): Likewise.
10012 (ILL_COPROC): Likewise.
10013 (ILL_BADSTK): Likewise.
10014 (FPE_INTDIV): Likewise.
10015 (FPE_INTOVF): Likewise.
10016 (FPE_FLTDIV): Likewise.
10017 (FPE_FLTOVF): Likewise.
10018 (FPE_FLTUND): Likewise.
10019 (FPE_FLTRES): Likewise.
10020 (FPE_FLTINV): Likewise.
10021 (FPE_FLTSUB): Likewise.
10022 (SEGV_MAPERR): Likewise.
10023 (SEGV_ACCERR): Likewise.
10024 (BUS_ADRALN): Likewise.
10025 (BUS_ADRERR): Likewise.
10026 (BUS_OBJERR): Likewise.
10027 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10028 (TRAP_TRACE): Likewise.
10029 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10031 (CLD_KILLED): Likewise.
10032 (CLD_DUMPED): Likewise.
10033 (CLD_TRAPPED): Likewise.
10034 (CLD_STOPPED): Likewise.
10035 (CLD_CONTINUED): Likewise.
10036 (POLL_IN): Likewise.
10037 (POLL_OUT): Likewise.
10038 (POLL_MSG): Likewise.
10039 (POLL_ERR): Likewise.
10040 (POLL_PRI): Likewise.
10041 (POLL_HUP): Likewise.
10042 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10044 (ILL_ILLOPN): Likewise.
10045 (ILL_ILLADR): Likewise.
10046 (ILL_ILLTRP): Likewise.
10047 (ILL_PRVOPC): Likewise.
10048 (ILL_PRVREG): Likewise.
10049 (ILL_COPROC): Likewise.
10050 (ILL_BADSTK): Likewise.
10051 (FPE_INTDIV): Likewise.
10052 (FPE_INTOVF): Likewise.
10053 (FPE_FLTDIV): Likewise.
10054 (FPE_FLTOVF): Likewise.
10055 (FPE_FLTUND): Likewise.
10056 (FPE_FLTRES): Likewise.
10057 (FPE_FLTINV): Likewise.
10058 (FPE_FLTSUB): Likewise.
10059 (SEGV_MAPERR): Likewise.
10060 (SEGV_ACCERR): Likewise.
10061 (BUS_ADRALN): Likewise.
10062 (BUS_ADRERR): Likewise.
10063 (BUS_OBJERR): Likewise.
10064 (BUS_MCEERR_AR): Likewise.
10065 (BUS_MCEERR_AO): Likewise.
10066 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10067 (TRAP_TRACE): Likewise.
10068 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10070 (CLD_KILLED): Likewise.
10071 (CLD_DUMPED): Likewise.
10072 (CLD_TRAPPED): Likewise.
10073 (CLD_STOPPED): Likewise.
10074 (CLD_CONTINUED): Likewise.
10075 (POLL_IN): Likewise.
10076 (POLL_OUT): Likewise.
10077 (POLL_MSG): Likewise.
10078 (POLL_ERR): Likewise.
10079 (POLL_PRI): Likewise.
10080 (POLL_HUP): Likewise.
10081 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10082 (ILL_ILLOPN): Likewise.
10083 (ILL_ILLADR): Likewise.
10084 (ILL_ILLTRP): Likewise.
10085 (ILL_PRVOPC): Likewise.
10086 (ILL_PRVREG): Likewise.
10087 (ILL_COPROC): Likewise.
10088 (ILL_BADSTK): Likewise.
10089 (FPE_INTDIV): Likewise.
10090 (FPE_INTOVF): Likewise.
10091 (FPE_FLTDIV): Likewise.
10092 (FPE_FLTOVF): Likewise.
10093 (FPE_FLTUND): Likewise.
10094 (FPE_FLTRES): Likewise.
10095 (FPE_FLTINV): Likewise.
10096 (FPE_FLTSUB): Likewise.
10097 (SEGV_MAPERR): Likewise.
10098 (SEGV_ACCERR): Likewise.
10099 (BUS_ADRALN): Likewise.
10100 (BUS_ADRERR): Likewise.
10101 (BUS_OBJERR): Likewise.
10102 (BUS_MCEERR_AR): Likewise.
10103 (BUS_MCEERR_AO): Likewise.
10104 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10105 (TRAP_TRACE): Likewise.
10106 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10108 (CLD_KILLED): Likewise.
10109 (CLD_DUMPED): Likewise.
10110 (CLD_TRAPPED): Likewise.
10111 (CLD_STOPPED): Likewise.
10112 (CLD_CONTINUED): Likewise.
10113 (POLL_IN): Likewise.
10114 (POLL_OUT): Likewise.
10115 (POLL_MSG): Likewise.
10116 (POLL_ERR): Likewise.
10117 (POLL_PRI): Likewise.
10118 (POLL_HUP): Likewise.
10119 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10121 (ILL_ILLOPN): Likewise.
10122 (ILL_ILLADR): Likewise.
10123 (ILL_ILLTRP): Likewise.
10124 (ILL_PRVOPC): Likewise.
10125 (ILL_PRVREG): Likewise.
10126 (ILL_COPROC): Likewise.
10127 (ILL_BADSTK): Likewise.
10128 (ILL_BADIADDR): Likewise.
10129 (ILL_BREAK): Likewise.
10130 (FPE_INTDIV): Likewise.
10131 (FPE_INTOVF): Likewise.
10132 (FPE_FLTDIV): Likewise.
10133 (FPE_FLTOVF): Likewise.
10134 (FPE_FLTUND): Likewise.
10135 (FPE_FLTRES): Likewise.
10136 (FPE_FLTINV): Likewise.
10137 (FPE_FLTSUB): Likewise.
10138 (FPE_DECOVF): Likewise.
10139 (FPE_DECDIV): Likewise.
10140 (FPE_DECERR): Likewise.
10141 (FPE_INVASC): Likewise.
10142 (FPE_INVDEC): Likewise.
10143 (SEGV_MAPERR): Likewise.
10144 (SEGV_ACCERR): Likewise.
10145 (SEGV_PSTKOVF): Likewise.
10146 (BUS_ADRALN): Likewise.
10147 (BUS_ADRERR): Likewise.
10148 (BUS_OBJERR): Likewise.
10149 (BUS_MCEERR_AR): Likewise.
10150 (BUS_MCEERR_AO): Likewise.
10151 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10152 (TRAP_TRACE): Likewise.
10153 (TRAP_BRANCH): Likewise.
10154 (TRAP_HWBKPT): Likewise.
10155 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10157 (CLD_KILLED): Likewise.
10158 (CLD_DUMPED): Likewise.
10159 (CLD_TRAPPED): Likewise.
10160 (CLD_STOPPED): Likewise.
10161 (CLD_CONTINUED): Likewise.
10162 (POLL_IN): Likewise.
10163 (POLL_OUT): Likewise.
10164 (POLL_MSG): Likewise.
10165 (POLL_ERR): Likewise.
10166 (POLL_PRI): Likewise.
10167 (POLL_HUP): Likewise.
10168 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10169 (ILL_ILLOPN): Likewise.
10170 (ILL_ILLADR): Likewise.
10171 (ILL_ILLTRP): Likewise.
10172 (ILL_PRVOPC): Likewise.
10173 (ILL_PRVREG): Likewise.
10174 (ILL_COPROC): Likewise.
10175 (ILL_BADSTK): Likewise.
10176 (FPE_INTDIV): Likewise.
10177 (FPE_INTOVF): Likewise.
10178 (FPE_FLTDIV): Likewise.
10179 (FPE_FLTOVF): Likewise.
10180 (FPE_FLTUND): Likewise.
10181 (FPE_FLTRES): Likewise.
10182 (FPE_FLTINV): Likewise.
10183 (FPE_FLTSUB): Likewise.
10184 (SEGV_MAPERR): Likewise.
10185 (SEGV_ACCERR): Likewise.
10186 (BUS_ADRALN): Likewise.
10187 (BUS_ADRERR): Likewise.
10188 (BUS_OBJERR): Likewise.
10189 (BUS_MCEERR_AR): Likewise.
10190 (BUS_MCEERR_AO): Likewise.
10191 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10192 (TRAP_TRACE): Likewise.
10193 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10195 (CLD_KILLED): Likewise.
10196 (CLD_DUMPED): Likewise.
10197 (CLD_TRAPPED): Likewise.
10198 (CLD_STOPPED): Likewise.
10199 (CLD_CONTINUED): Likewise.
10200 (POLL_IN): Likewise.
10201 (POLL_OUT): Likewise.
10202 (POLL_MSG): Likewise.
10203 (POLL_ERR): Likewise.
10204 (POLL_PRI): Likewise.
10205 (POLL_HUP): Likewise.
10206 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10207 (ILL_ILLOPN): Likewise.
10208 (ILL_ILLADR): Likewise.
10209 (ILL_ILLTRP): Likewise.
10210 (ILL_PRVOPC): Likewise.
10211 (ILL_PRVREG): Likewise.
10212 (ILL_COPROC): Likewise.
10213 (ILL_BADSTK): Likewise.
10214 (FPE_INTDIV): Likewise.
10215 (FPE_INTOVF): Likewise.
10216 (FPE_FLTDIV): Likewise.
10217 (FPE_FLTOVF): Likewise.
10218 (FPE_FLTUND): Likewise.
10219 (FPE_FLTRES): Likewise.
10220 (FPE_FLTINV): Likewise.
10221 (FPE_FLTSUB): Likewise.
10222 (SEGV_MAPERR): Likewise.
10223 (SEGV_ACCERR): Likewise.
10224 (BUS_ADRALN): Likewise.
10225 (BUS_ADRERR): Likewise.
10226 (BUS_OBJERR): Likewise.
10227 (BUS_MCEERR_AR): Likewise.
10228 (BUS_MCEERR_AO): Likewise.
10229 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10230 (TRAP_TRACE): Likewise.
10231 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10233 (CLD_KILLED): Likewise.
10234 (CLD_DUMPED): Likewise.
10235 (CLD_TRAPPED): Likewise.
10236 (CLD_STOPPED): Likewise.
10237 (CLD_CONTINUED): Likewise.
10238 (POLL_IN): Likewise.
10239 (POLL_OUT): Likewise.
10240 (POLL_MSG): Likewise.
10241 (POLL_ERR): Likewise.
10242 (POLL_PRI): Likewise.
10243 (POLL_HUP): Likewise.
10244 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10245 (ILL_ILLOPN): Likewise.
10246 (ILL_ILLADR): Likewise.
10247 (ILL_ILLTRP): Likewise.
10248 (ILL_PRVOPC): Likewise.
10249 (ILL_PRVREG): Likewise.
10250 (ILL_COPROC): Likewise.
10251 (ILL_BADSTK): Likewise.
10252 (FPE_INTDIV): Likewise.
10253 (FPE_INTOVF): Likewise.
10254 (FPE_FLTDIV): Likewise.
10255 (FPE_FLTOVF): Likewise.
10256 (FPE_FLTUND): Likewise.
10257 (FPE_FLTRES): Likewise.
10258 (FPE_FLTINV): Likewise.
10259 (FPE_FLTSUB): Likewise.
10260 (SEGV_MAPERR): Likewise.
10261 (SEGV_ACCERR): Likewise.
10262 (BUS_ADRALN): Likewise.
10263 (BUS_ADRERR): Likewise.
10264 (BUS_OBJERR): Likewise.
10265 (BUS_MCEERR_AR): Likewise.
10266 (BUS_MCEERR_AO): Likewise.
10267 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10268 (TRAP_TRACE): Likewise.
10269 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10271 (CLD_KILLED): Likewise.
10272 (CLD_DUMPED): Likewise.
10273 (CLD_TRAPPED): Likewise.
10274 (CLD_STOPPED): Likewise.
10275 (CLD_CONTINUED): Likewise.
10276 (POLL_IN): Likewise.
10277 (POLL_OUT): Likewise.
10278 (POLL_MSG): Likewise.
10279 (POLL_ERR): Likewise.
10280 (POLL_PRI): Likewise.
10281 (POLL_HUP): Likewise.
10282 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10283 (ILL_ILLOPN): Likewise.
10284 (ILL_ILLADR): Likewise.
10285 (ILL_ILLTRP): Likewise.
10286 (ILL_PRVOPC): Likewise.
10287 (ILL_PRVREG): Likewise.
10288 (ILL_COPROC): Likewise.
10289 (ILL_BADSTK): Likewise.
10290 (ILL_DBLFLT): Likewise.
10291 (ILL_HARDWALL): Likewise.
10292 (FPE_INTDIV): Likewise.
10293 (FPE_INTOVF): Likewise.
10294 (FPE_FLTDIV): Likewise.
10295 (FPE_FLTOVF): Likewise.
10296 (FPE_FLTUND): Likewise.
10297 (FPE_FLTRES): Likewise.
10298 (FPE_FLTINV): Likewise.
10299 (FPE_FLTSUB): Likewise.
10300 (SEGV_MAPERR): Likewise.
10301 (SEGV_ACCERR): Likewise.
10302 (BUS_ADRALN): Likewise.
10303 (BUS_ADRERR): Likewise.
10304 (BUS_OBJERR): Likewise.
10305 (BUS_MCEERR_AR): Likewise.
10306 (BUS_MCEERR_AO): Likewise.
10307 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10308 (TRAP_TRACE): Likewise.
10309 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10311 (CLD_KILLED): Likewise.
10312 (CLD_DUMPED): Likewise.
10313 (CLD_TRAPPED): Likewise.
10314 (CLD_STOPPED): Likewise.
10315 (CLD_CONTINUED): Likewise.
10316 (POLL_IN): Likewise.
10317 (POLL_OUT): Likewise.
10318 (POLL_MSG): Likewise.
10319 (POLL_ERR): Likewise.
10320 (POLL_PRI): Likewise.
10321 (POLL_HUP): Likewise.
10322 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10323 (ILL_ILLOPN): Likewise.
10324 (ILL_ILLADR): Likewise.
10325 (ILL_ILLTRP): Likewise.
10326 (ILL_PRVOPC): Likewise.
10327 (ILL_PRVREG): Likewise.
10328 (ILL_COPROC): Likewise.
10329 (ILL_BADSTK): Likewise.
10330 (FPE_INTDIV): Likewise.
10331 (FPE_INTOVF): Likewise.
10332 (FPE_FLTDIV): Likewise.
10333 (FPE_FLTOVF): Likewise.
10334 (FPE_FLTUND): Likewise.
10335 (FPE_FLTRES): Likewise.
10336 (FPE_FLTINV): Likewise.
10337 (FPE_FLTSUB): Likewise.
10338 (SEGV_MAPERR): Likewise.
10339 (SEGV_ACCERR): Likewise.
10340 (BUS_ADRALN): Likewise.
10341 (BUS_ADRERR): Likewise.
10342 (BUS_OBJERR): Likewise.
10343 (BUS_MCEERR_AR): Likewise.
10344 (BUS_MCEERR_AO): Likewise.
10345 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10346 (TRAP_TRACE): Likewise.
10347 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10349 (CLD_KILLED): Likewise.
10350 (CLD_DUMPED): Likewise.
10351 (CLD_TRAPPED): Likewise.
10352 (CLD_STOPPED): Likewise.
10353 (CLD_CONTINUED): Likewise.
10354 (POLL_IN): Likewise.
10355 (POLL_OUT): Likewise.
10356 (POLL_MSG): Likewise.
10357 (POLL_ERR): Likewise.
10358 (POLL_PRI): Likewise.
10359 (POLL_HUP): Likewise.
10360 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10361 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10364 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10365 before #include of <time.h>.
10366 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10367 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10368 (test-xfail-UNIX98/sched.h/conform): Likewise.
10370 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10372 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10373 error absence of trapping exception support.
10374 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10376 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10378 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10379 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10380 * timezone/Makefile (testdata): Move definition above include of
10382 (test-zones): New variable.
10383 (tests-special): Add zone files.
10384 (build-testdata): Use $(evaluate-test).
10386 * elf/Makefile (tests-special): Rename tests to end with .out.
10387 ($(objpfx)noload-mem): Likewise.
10388 ($(objpfx)tst-leaks1-mem): Likewise.
10389 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10390 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10391 $(objpfx)test-iconvconfig.out.
10392 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10393 set -e inside subshell and redirect output to file.
10394 * iconvdata/Makefile (generated): Rename tests to end with .out.
10396 (tests-special): Rename tests to end with .out.
10397 ($(objpfx)mtrace-tst-loading): Likewise.
10398 * intl/Makefile (generated): Likewise.
10399 (tests-special): Likewise.
10400 ($(objpfx)mtrace-tst-gettext): Likewise.
10401 * misc/Makefile (generated): Likewise.
10402 (tests-special): Likewise.
10403 ($(objpfx)tst-error1-mem): Likewise.
10404 * nptl/Makefile (tests-special): Likewise.
10405 ($(objpfx)tst-stack3-mem): Likewise.
10406 (generated): Likewise.
10407 * posix/Makefile (generated): Likewise.
10408 (tests-special): Likewise.
10409 (xtests-special): Likewise.
10410 ($(objpfx)tst-fnmatch-mem): Likewise.
10411 ($(objpfx)bug-regex2-mem): Likewise.
10412 ($(objpfx)bug-regex14-mem): Likewise.
10413 ($(objpfx)bug-regex21-mem): Likewise.
10414 ($(objpfx)bug-regex31-mem): Likewise.
10415 ($(objpfx)tst-vfork3-mem): Likewise.
10416 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10417 ($(objpfx)tst-pcre-mem): Likewise.
10418 ($(objpfx)tst-boost-mem): Likewise.
10419 ($(objpfx)bug-ga2-mem): Likewise.
10420 ($(objpfx)bug-glob2-mem): Likewise.
10421 * resolv/Makefile (generate): Likewise.
10422 (tests-special): Likewise.
10423 (xtests-special): Likewise.
10424 (generated): Likewise.
10425 ($(objpfx)mtrace-tst-leaks): Likewise.
10426 ($(objpfx)mtrace-tst-leaks2): Likewise.
10428 * scripts/merge-test-results.sh: New file.
10429 * Makefile (tests-special-notdir): New variable.
10430 (tests): Run merge-test-results.sh.
10431 (xtests): Likewise.
10432 * Rules (tests-special-notdir): New variable.
10433 (xtests-special-notdir): Likewise.
10434 (tests): Run merge-test-results.sh
10435 (xtests): Likewise.
10437 * Makeconfig (test-xfail-name): New variable.
10438 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10439 compute variable name for expected failures.
10440 * conform/Makefile (conformtest-headers-data): New variable.
10441 (conformtest-standards): Likewise.
10442 (conformtest-headers-ISO): Likewise.
10443 (conformtest-headers-ISO99): Likewise.
10444 (conformtest-headers-ISO11): Likewise.
10445 (conformtest-headers-POSIX): Likewise.
10446 (conformtest-headers-XPG3): Likewise.
10447 (conformtest-headers-XPG4): Likewise.
10448 (conformtest-headers-UNIX98): Likewise.
10449 (conformtest-headers-XOPEN2K): Likewise.
10450 (conformtest-headers-POSIX2008): Likewise.
10451 (conformtest-headers-XOPEN2K8): Likewise.
10452 (conformtest-header-list-base): Likewise.
10453 (conformtest-header-list-tests): Likewise.
10454 (conformtest-header-base): Likewise.
10455 (conformtest-header-tests): Likewise.
10456 (tests-special): Add $(conformtest-header-list-tests). If
10457 [$(fast-check) && !$(cross-compiling)], add
10458 $(conformtest-header-tests) instead of
10459 $(objpfx)run-conformtest.out.
10460 (generated): Add $(conformtest-header-list-base). If
10461 [$(fast-check) && !$(cross-compiling)], add
10462 $(conformtest-header-base). Remove previous setting.
10463 ($(conformtest-header-list-tests)): New target.
10464 (test-xfail-run-conformtest): Remove variable.
10465 ($(objpfx)run-conformtest.out): Remove target.
10466 (test-xfail-ISO11/complex.h/conform): New variable.
10467 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10468 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10469 (test-xfail-XPG3/varargs.h/conform): Likewise.
10470 (test-xfail-XPG4/varargs.h/conform): Likewise.
10471 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10472 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10473 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10474 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10475 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10476 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10477 (test-xfail-XPG3/ftw.h/conform): Likewise.
10478 (test-xfail-XPG3/grp.h/conform): Likewise.
10479 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10480 (test-xfail-XPG3/limits.h/conform): Likewise.
10481 (test-xfail-XPG3/pwd.h/conform): Likewise.
10482 (test-xfail-XPG3/search.h/conform): Likewise.
10483 (test-xfail-XPG3/signal.h/conform): Likewise.
10484 (test-xfail-XPG3/stdio.h/conform): Likewise.
10485 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10486 (test-xfail-XPG3/string.h/conform): Likewise.
10487 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10488 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10489 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10490 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10491 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10492 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10493 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10494 (test-xfail-XPG3/termios.h/conform): Likewise.
10495 (test-xfail-XPG3/time.h/conform): Likewise.
10496 (test-xfail-XPG3/unistd.h/conform): Likewise.
10497 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10498 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10499 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10500 (test-xfail-XPG4/netdb.h/conform): Likewise.
10501 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10502 (test-xfail-XPG4/signal.h/conform): Likewise.
10503 (test-xfail-XPG4/stdio.h/conform): Likewise.
10504 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10505 (test-xfail-XPG4/stropts.h/conform): Likewise.
10506 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10507 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10508 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10509 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10510 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10511 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10512 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10513 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10514 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10515 (test-xfail-XPG4/termios.h/conform): Likewise.
10516 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10517 (test-xfail-XPG4/unistd.h/conform): Likewise.
10518 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10519 (test-xfail-POSIX/sched.h/conform): Likewise.
10520 (test-xfail-POSIX/signal.h/conform): Likewise.
10521 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10522 (test-xfail-POSIX/tar.h/conform): Likewise.
10523 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10524 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10525 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10526 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10527 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10528 (test-xfail-UNIX98/sched.h/conform): Likewise.
10529 (test-xfail-UNIX98/signal.h/conform): Likewise.
10530 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10531 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10532 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10533 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10534 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10535 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10536 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10537 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10538 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10539 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10540 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10541 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10542 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10543 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10544 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10545 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10546 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10547 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10548 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10549 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10550 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10551 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10552 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10553 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10554 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10555 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10556 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10557 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10558 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10559 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10560 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10561 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10562 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10563 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10564 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10565 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10566 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10567 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10568 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10569 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10570 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10571 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10572 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10573 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10574 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10575 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10576 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10577 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10578 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10579 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10580 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10581 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10582 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10583 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10584 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10585 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10586 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10587 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10588 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10589 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10590 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10591 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10592 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10593 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10594 (conformtest-cc-flags): Likewise.
10595 ($(conformtest-header-tests): New target.
10596 * conform/check-header-lists.sh: New file.
10597 * conform/run-conformtest.sh: Remove.
10599 * conform/conformtest.pl: Allow ' and \ in values given for
10601 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10603 [POSIX] (sys/types.h): Likewise.
10604 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10606 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10608 * conform/data/signal.h-data (SIGIO): Remove expectation.
10609 [XPG3] (SIGBUS): Do not expect.
10610 [POSIX || XPG3] (SIGPOLL): Likewise.
10611 [POSIX || XPG3] (SIGPROF): Likewise.
10612 [POSIX || XPG3] (SIGSYS): Likewise.
10613 [XPG3] (SIGTRAP): Likewise.
10614 [POSIX || XPG3] (SIGURG): Likewise.
10615 [POSIX || XPG3] (SIGVTALRM): Likewise.
10616 [POSIX || XPG3] (SIGXCPU): Likewise.
10617 [POSIX || XPG3] (SIGXFSZ): Likewise.
10618 [POSIX] (SA_SIGINFO): Expect.
10619 [XPG3] (siginfo_t): Do not expect type or contents.
10620 [POSIX] (si_pid): Do not expect element.
10621 [POSIX] (si_uid): Likewise.
10622 [POSIX] (si_addr): Likewise.
10623 [POSIX] (si_status): Likewise.
10624 [POSIX] (si_band): Likewise.
10625 [XPG4] (si_value): Likewise.
10626 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10627 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10628 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10629 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10630 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10631 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10632 [POSIX || XPG3] (ILL_COPROC): Likewise.
10633 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10634 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10635 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10636 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10637 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10638 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10639 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10640 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10641 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10642 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10643 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10644 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10645 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10646 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10647 [POSIX || XPG3] (CLD_EXITED): Likewise.
10648 [POSIX || XPG3] (CLD_KILLED): Likewise.
10649 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10650 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10651 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10652 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10653 [POSIX || XPG3] (POLL_IN): Likewise.
10654 [POSIX || XPG3] (POLL_OUT): Likewise.
10655 [POSIX || XPG3] (POLL_MSG): Likewise.
10656 [POSIX || XPG3] (POLL_ERR): Likewise.
10657 [POSIX || XPG3] (POLL_PRI): Likewise.
10658 [POSIX || XPG3] (POLL_HUP): Likewise.
10659 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10660 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10661 (SIG*): Do not allow.
10662 [XPG3] (si_*): Likewise.
10663 [XPG3] (SI_*): Likewise.
10664 [XPG3 || XPG4] (sigev_*): Likewise.
10665 [XPG3 || XPG4] (SIGEV_*): Likewise.
10666 [XPG3 || XPG4] (sival_*): Likewise.
10667 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10668 [POSIX || XPG3] (BUS_*): Likewise.
10669 [POSIX || XPG3] (CLD_*): Likewise.
10670 [POSIX || XPG3] (FPE_*): Likewise.
10671 [POSIX || XPG3] (ILL_*): Likewise.
10672 [POSIX || XPG3] (POLL_*): Likewise.
10673 [POSIX || XPG3] (SEGV_*): Likewise.
10674 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10675 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10676 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10677 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10678 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10679 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10680 Specify type and value.
10681 (TVERSLEN): Likewise.
10682 (REGTYPE): Likewise.
10683 (AREGTYPE): Likewise.
10684 (LNKTYPE): Likewise.
10685 (SYMTYPE): Likewise.
10686 (CHRTYPE): Likewise.
10687 (BLKTYPE): Likewise.
10688 (DIRTYPE): Likewise.
10689 (FIFOTYPE): Likewise.
10690 (CONTTYPE): Likewise.
10694 (TUREAD): Likewise.
10695 (TUWRITE): Likewise.
10696 (TUEXEC): Likewise.
10697 (TGREAD): Likewise.
10698 (TGWRITE): Likewise.
10699 (TGEXEC): Likewise.
10700 (TOREAD): Likewise.
10701 (TOWRITE): Likewise.
10702 (TOEXEC): Likewise.
10703 [POSIX] (TSVTX): Expect constant.
10705 2014-03-06 Joseph Myers <joseph@codesourcery.com>
10707 * Makefile (tests): Change dependencies to ....
10708 (tests-special): ... additions to this variable.
10709 (tests): Depend on $(tests-special).
10710 * Makerules (check-abi-list): New variable.
10711 (check-abi): Depend on $(check-abi-list).
10712 [$(subdir) = elf] (tests-special): Add
10713 $(objpfx)check-abi-libc.out.
10714 [$(build-shared) = yes && subdir] (tests-special): Add
10716 [$(build-shared) = yes && subdir] (tests): Do not depend on
10718 * Rules (tests): Depend on $(tests-special).
10719 (xtests): Depend on $(xtests-special).
10720 * catgets/Makefile (tests): Change dependencies to ....
10721 (tests-special): ... additions to this variable.
10722 * conform/Makefile (tests): Change dependencies to ....
10723 (tests-special): ... additions to this variable.
10724 * elf/Makefile (tests): Change dependencies to ....
10725 (tests-special): ... additions to this variable.
10726 * grp/Makefile (tests): Change dependencies to ....
10727 (tests-special): ... additions to this variable.
10728 * iconv/Makefile (xtests): Change dependencies to ....
10729 (xtests-special): ... additions to this variable.
10730 * iconvdata/Makefile (tests): Change dependencies to ....
10731 (tests-special): ... additions to this variable.
10732 * intl/Makefile (tests): Change dependencies to ....
10733 (tests-special): ... additions to this variable. Also add
10734 $(objpfx)tst-gettext.out.
10735 * io/Makefile (tests): Change dependencies to ....
10736 (tests-special): ... additions to this variable.
10737 * libio/Makefile (tests): Change dependencies to ....
10738 (tests-special): ... additions to this variable.
10739 * malloc/Makefile (tests): Change dependencies to ....
10740 (tests-special): ... additions to this variable.
10741 * misc/Makefile (tests): Change dependencies to ....
10742 (tests-special): ... additions to this variable.
10743 * nptl/Makefile (tests): Change dependencies to ....
10744 (tests-special): ... additions to this variable.
10745 * nptl_db/Makefile (tests): Change dependencies to ....
10746 (tests-special): ... additions to this variable.
10747 * posix/Makefile (tests): Change dependencies to ....
10748 (tests-special): ... additions to this variable.
10749 (xtests): Change dependencies to ....
10750 (xtests-special): ... additions to this variable.
10751 * resolv/Makefile (tests): Change dependencies to ....
10752 (tests-special): ... additions to this variable.
10753 (xtests): Change dependencies to ....
10754 (xtests-special): ... additions to this variable.
10755 * stdio-common/Makefile (tests): Change dependencies to ....
10756 (tests-special): ... additions to this variable.
10757 (do-tst-unbputc): Remove target.
10758 (do-tst-printf): Likewise.
10759 * stdlib/Makefile (tests): Change dependencies to ....
10760 (tests-special): ... additions to this variable.
10761 * string/Makefile (tests): Change dependencies to ....
10762 (tests-special): ... additions to this variable.
10763 * sysdeps/x86/Makefile (tests): Change dependencies to ....
10764 (tests-special): ... additions to this variable.
10766 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10768 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10770 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10771 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10773 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10774 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10775 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10776 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10777 * conform/data/libgen.h-data [XPG3]: Likewise.
10778 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10779 * conform/data/ndbm.h-data [XPG3]: Likewise.
10780 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10781 * conform/data/netdb.h-data [XPG3]: Likewise.
10782 * conform/data/netinet/in.h-data [XPG3]: Likewise.
10783 * conform/data/poll.h-data [XPG3]: Likewise.
10784 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10785 * conform/data/strings.h-data [XPG3]: Likewise.
10786 * conform/data/stropts.h-data [XPG3]: Likewise.
10787 * conform/data/sys/mman.h-data [XPG3]: Likewise.
10788 * conform/data/sys/resource.h-data [XPG3]: Likewise.
10789 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10791 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10792 * conform/data/sys/time.h-data [XPG3]: Likewise.
10793 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10794 * conform/data/sys/uio.h-data [XPG3]: Likewise.
10795 * conform/data/sys/un.h-data [XPG3]: Likewise.
10796 * conform/data/syslog.h-data [XPG3]: Likewise.
10797 * conform/data/ucontext.h-data [XPG3]: Likewise.
10798 * conform/data/utmpx.h-data [XPG3]: Likewise.
10799 * conform/data/varargs.h-data [UNIX98]: Enable file.
10801 * manual/Makefile (INSTALL_INFO): Remove variable setting.
10803 * math/libm-test.inc (struct test_f_f_data): Move expected results
10804 into structure for each rounding mode.
10805 (struct test_ff_f_data): Likewise.
10806 (struct test_ff_f_data_nexttoward): Likewise.
10807 (struct test_fi_f_data): Likewise.
10808 (struct test_fl_f_data): Likewise.
10809 (struct test_if_f_data): Likewise.
10810 (struct test_fff_f_data): Likewise.
10811 (struct test_c_f_data): Likewise.
10812 (struct test_f_f1_data): Likewise.
10813 (struct test_fF_f1_data): Likewise.
10814 (struct test_ffI_f1_data): Likewise.
10815 (struct test_c_c_data): Likewise.
10816 (struct test_cc_c_data): Likewise.
10817 (struct test_f_i_data): Likewise.
10818 (struct test_ff_i_data): Likewise.
10819 (struct test_f_l_data): Likewise.
10820 (struct test_f_L_data): Likewise.
10821 (struct test_fFF_11_data): Likewise.
10823 (RM_FE_DOWNWARD): Likewise.
10824 (RM_FE_TONEAREST): Likewise.
10825 (RM_FE_TOWARDZERO): Likewise.
10826 (RM_FE_UPWARD): Likewise.
10827 (RUN_TEST_LOOP_f_f): Update references to expected results.
10828 (RUN_TEST_LOOP_2_f): Likewise.
10829 (RUN_TEST_LOOP_fff_f): Likewise.
10830 (RUN_TEST_LOOP_c_f): Likewise.
10831 (RUN_TEST_LOOP_f_f1): Likewise.
10832 (RUN_TEST_LOOP_fF_f1): Likewise.
10833 (RUN_TEST_LOOP_fI_f1): Likewise.
10834 (RUN_TEST_LOOP_ffI_f1): Likewise.
10835 (RUN_TEST_LOOP_c_c): Likewise.
10836 (RUN_TEST_LOOP_cc_c): Likewise.
10837 (RUN_TEST_LOOP_f_i): Likewise.
10838 (RUN_TEST_LOOP_f_i_tg): Likewise.
10839 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10840 (RUN_TEST_LOOP_f_b): Likewise.
10841 (RUN_TEST_LOOP_f_b_tg): Likewise.
10842 (RUN_TEST_LOOP_f_l): Likewise.
10843 (RUN_TEST_LOOP_f_L): Likewise.
10844 (RUN_TEST_LOOP_fFF_11): Likewise.
10845 * math/gen-libm-test.pl (parse_args): Output four copies of
10846 expected results for each test.
10848 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10849 (__ASSUME_UTIMES): Remove.
10850 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10851 (__ASSUME_UTIMES): Likewise.
10853 * math/gen-auto-libm-tests.c: Update comment on output format.
10854 (output_for_one_input_case): Generate before-rounding and
10855 after-rounding information as conditions on output flags not
10856 floating-point format.
10857 * math/auto-libm-test-out: Regenerated.
10858 * math/gen-libm-test.pl (cond_value): New function.
10859 (or_cond_value): Use cond_value.
10860 (generate_testfile): Handle conditional exceptions.
10862 2014-03-05 Joseph Myers <joseph@codesourcery.com>
10864 * math/libm-test.inc (max_valid_error): New variable.
10865 (init_max_error): Take new argument specifying whether function
10866 results are exactly determined. Set max_valid_error and bound
10867 other variables for errors based on this argument.
10868 (set_max_error): Do not record results above max_valid_error.
10869 (check_float_internal): Only accept errors of up to 0.5ulps if
10870 also at most max_valid_error.
10871 (START): Take new argument EXACT and pass it to init_max_error.
10872 (acos_test): Update call to START.
10873 (acos_test_tonearest): Likewise.
10874 (acos_test_towardzero): Likewise.
10875 (acos_test_downward): Likewise.
10876 (acos_test_upward): Likewise.
10877 (acosh_test): Likewise.
10878 (asin_test): Likewise.
10879 (asin_test_tonearest): Likewise.
10880 (asin_test_towardzero): Likewise.
10881 (asin_test_downward): Likewise.
10882 (asin_test_upward): Likewise.
10883 (asinh_test): Likewise.
10884 (atan_test): Likewise.
10885 (atanh_test): Likewise.
10886 (atan2_test): Likewise.
10887 (cabs_test): Likewise.
10888 (cacos_test): Likewise.
10889 (cacosh_test): Likewise.
10890 (carg_test): Likewise.
10891 (casin_test): Likewise.
10892 (casinh_test): Likewise.
10893 (catan_test): Likewise.
10894 (catanh_test): Likewise.
10895 (cbrt_test): Likewise.
10896 (ccos_test): Likewise.
10897 (ccosh_test): Likewise.
10898 (ceil_test): Likewise.
10899 (cexp_test): Likewise.
10900 (cimag_test): Likewise.
10901 (clog_test): Likewise.
10902 (clog10_test): Likewise.
10903 (conj_test): Likewise.
10904 (copysign_test): Likewise.
10905 (cos_test): Likewise.
10906 (cos_test_tonearest): Likewise.
10907 (cos_test_towardzero): Likewise.
10908 (cos_test_downward): Likewise.
10909 (cos_test_upward): Likewise.
10910 (cosh_test): Likewise.
10911 (cosh_test_tonearest): Likewise.
10912 (cosh_test_towardzero): Likewise.
10913 (cosh_test_downward): Likewise.
10914 (cosh_test_upward): Likewise.
10915 (cpow_test): Likewise.
10916 (cproj_test): Likewise.
10917 (creal_test): Likewise.
10918 (csin_test): Likewise.
10919 (csinh_test): Likewise.
10920 (csqrt_test): Likewise.
10921 (ctan_test): Likewise.
10922 (ctan_test_tonearest): Likewise.
10923 (ctan_test_towardzero): Likewise.
10924 (ctan_test_downward): Likewise.
10925 (ctan_test_upward): Likewise.
10926 (ctanh_test): Likewise.
10927 (ctanh_test_tonearest): Likewise.
10928 (ctanh_test_towardzero): Likewise.
10929 (ctanh_test_downward): Likewise.
10930 (ctanh_test_upward): Likewise.
10931 (erf_test): Likewise.
10932 (erfc_test): Likewise.
10933 (exp_test): Likewise.
10934 (exp_test_tonearest): Likewise.
10935 (exp_test_towardzero): Likewise.
10936 (exp_test_downward): Likewise.
10937 (exp_test_upward): Likewise.
10938 (exp10_test): Likewise.
10939 (exp10_test_tonearest): Likewise.
10940 (exp10_test_towardzero): Likewise.
10941 (exp10_test_downward): Likewise.
10942 (exp10_test_upward): Likewise.
10943 (pow10_test): Likewise.
10944 (exp2_test): Likewise.
10945 (expm1_test): Likewise.
10946 (expm1_test_tonearest): Likewise.
10947 (expm1_test_towardzero): Likewise.
10948 (expm1_test_downward): Likewise.
10949 (expm1_test_upward): Likewise.
10950 (fabs_test): Likewise.
10951 (fdim_test): Likewise.
10952 (floor_test): Likewise.
10953 (fma_test): Likewise.
10954 (fma_test_towardzero): Likewise.
10955 (fma_test_downward): Likewise.
10956 (fma_test_upward): Likewise.
10957 (fmax_test): Likewise.
10958 (fmin_test): Likewise.
10959 (fmod_test): Likewise.
10960 (fpclassify_test): Likewise.
10961 (frexp_test): Likewise.
10962 (hypot_test): Likewise.
10963 (ilogb_test): Likewise.
10964 (isfinite_test): Likewise.
10965 (finite_test): Likewise.
10966 (isgreater_test): Likewise.
10967 (isgreaterequal_test): Likewise.
10968 (isinf_test): Likewise.
10969 (isless_test): Likewise.
10970 (islessequal_test): Likewise.
10971 (islessgreater_test): Likewise.
10972 (isnan_test): Likewise.
10973 (isnormal_test): Likewise.
10974 (issignaling_test): Likewise.
10975 (isunordered_test): Likewise.
10976 (j0_test): Likewise.
10977 (j1_test): Likewise.
10978 (jn_test): Likewise.
10979 (ldexp_test): Likewise.
10980 (lgamma_test): Likewise.
10981 (gamma_test): Likewise.
10982 (lrint_test): Likewise.
10983 (lrint_test_tonearest): Likewise.
10984 (lrint_test_towardzero): Likewise.
10985 (lrint_test_downward): Likewise.
10986 (lrint_test_upward): Likewise.
10987 (llrint_test): Likewise.
10988 (llrint_test_tonearest): Likewise.
10989 (llrint_test_towardzero): Likewise.
10990 (llrint_test_downward): Likewise.
10991 (llrint_test_upward): Likewise.
10992 (log_test): Likewise.
10993 (log10_test): Likewise.
10994 (log1p_test): Likewise.
10995 (log2_test): Likewise.
10996 (logb_test): Likewise.
10997 (logb_test_downward): Likewise.
10998 (lround_test): Likewise.
10999 (llround_test): Likewise.
11000 (modf_test): Likewise.
11001 (nearbyint_test): Likewise.
11002 (nextafter_test): Likewise.
11003 (nexttoward_test): Likewise.
11004 (pow_test): Likewise.
11005 (pow_test_tonearest): Likewise.
11006 (pow_test_towardzero): Likewise.
11007 (pow_test_downward): Likewise.
11008 (pow_test_upward): Likewise.
11009 (remainder_test): Likewise.
11010 (drem_test): Likewise.
11011 (remainder_test_tonearest): Likewise.
11012 (drem_test_tonearest): Likewise.
11013 (remainder_test_towardzero): Likewise.
11014 (drem_test_towardzero): Likewise.
11015 (remainder_test_downward): Likewise.
11016 (drem_test_downward): Likewise.
11017 (remainder_test_upward): Likewise.
11018 (drem_test_upward): Likewise.
11019 (remquo_test): Likewise.
11020 (rint_test): Likewise.
11021 (rint_test_tonearest): Likewise.
11022 (rint_test_towardzero): Likewise.
11023 (rint_test_downward): Likewise.
11024 (rint_test_upward): Likewise.
11025 (round_test): Likewise.
11026 (scalb_test): Likewise.
11027 (scalbn_test): Likewise.
11028 (scalbln_test): Likewise.
11029 (signbit_test): Likewise.
11030 (sin_test): Likewise.
11031 (sin_test_tonearest): Likewise.
11032 (sin_test_towardzero): Likewise.
11033 (sin_test_downward): Likewise.
11034 (sin_test_upward): Likewise.
11035 (sincos_test): Likewise.
11036 (sinh_test): Likewise.
11037 (sinh_test_tonearest): Likewise.
11038 (sinh_test_towardzero): Likewise.
11039 (sinh_test_downward): Likewise.
11040 (sinh_test_upward): Likewise.
11041 (sqrt_test): Likewise.
11042 (sqrt_test_tonearest): Likewise.
11043 (sqrt_test_towardzero): Likewise.
11044 (sqrt_test_downward): Likewise.
11045 (sqrt_test_upward): Likewise.
11046 (tan_test): Likewise.
11047 (tan_test_tonearest): Likewise.
11048 (tan_test_towardzero): Likewise.
11049 (tan_test_downward): Likewise.
11050 (tan_test_upward): Likewise.
11051 (tanh_test): Likewise.
11052 (tgamma_test): Likewise.
11053 (trunc_test): Likewise.
11054 (y0_test): Likewise.
11055 (y1_test): Likewise.
11056 (yn_test): Likewise.
11057 (significand_test): Likewise.
11059 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11060 individual tests in comment.
11061 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11062 (prev_max_error): New variable.
11063 (prev_real_max_error): Likewise.
11064 (prev_imag_max_error): Likewise.
11065 (compare_ulp_data): Don't refer to test names in comment.
11066 (find_test_ulps): Remove function.
11067 (find_function_ulps): Likewise.
11068 (find_complex_function_ulps): Likewise.
11069 (init_max_error): Take function name as argument. Look up ulps
11071 (print_ulps): Remove function.
11072 (print_max_error): Use prev_max_error instead of calling
11073 find_function_ulps.
11074 (print_complex_max_error): Use prev_real_max_error and
11075 prev_imag_max_error instead of calling find_complex_function_ulps.
11076 (check_float_internal): Take max_ulp parameter instead of calling
11077 find_test_ulps. Don't call print_ulps.
11078 (check_float): Update call to check_float_internal.
11079 (check_complex): Update calls to check_float_internal.
11080 (START): Pass argument to init_max_error.
11081 * math/gen-libm-test.pl (%results): Don't include "kind"
11083 (parse_ulps): Don't handle ulps of individual tests.
11084 (print_ulps_file): Likewise.
11085 (output_ulps): Likewise.
11086 * math/README.libm-test: Update.
11087 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11089 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11090 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11091 * sysdeps/arm/libm-test-ulps: Likewise.
11092 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11093 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11094 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11095 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11096 * sysdeps/microblaze/libm-test-ulps: Likewise.
11097 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11098 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11099 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11100 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11101 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11102 * sysdeps/sh/libm-test-ulps: Likewise.
11103 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11104 * sysdeps/tile/libm-test-ulps: Likewise.
11105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11107 2014-03-04 Joseph Myers <joseph@codesourcery.com>
11109 * math/libm-test.inc (print_complex_max_error): Check separately
11110 whether real and imaginary errors are within allowed range and
11111 pass 0 to print_complex_function_ulps instead of value within
11114 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11116 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11118 (get_handles_fopen): Likewise.
11119 (do_write_test): Likewise.
11121 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11123 * libio/fileops.c (do_ftell): Use cached offset when
11125 * libio/iofwide.c (do_ftell_wide): Likewise.
11126 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11128 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11131 * libio/libioP.h (get_file_offset): New function.
11132 * libio/fileops.c (get_file_offset): Likewise.
11133 (do_ftell): Likewise.
11134 (_IO_new_file_seekoff): Split out ftell logic.
11135 * libio/wfileops.c (do_ftell_wide): Likewise.
11136 (_IO_wfile_seekoff): Split out ftell logic.
11137 * libio/tst-ftell-active-handler.c: New test case.
11138 * libio/Makefile (tests): Add it.
11140 2014-03-03 Roland McGrath <roland@hack.frob.com>
11142 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11143 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11145 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11148 * nscd/connections.c (nscd_init): Call do_exit.
11149 (start_threads): Call do_exit and notify_parent.
11150 (begin_drop_privileges): Call do_exit.
11151 (finish_drop_privileges): Likewise.
11152 * nscd/selinux.c (preserve_capabilities): Likewise.
11153 (install_real_capabilities): Likewise.
11154 (nscd_selinux_enabled): Likewise.
11155 (avc_create_thread): Likewise.
11156 (avc_alloc_lock): Likewise.
11157 (nscd_avc_init): Likewise.
11158 * nscd/nscd.c (parent_fd): New static variable.
11159 (main): Create a pipe between parent and child processes.
11160 Skip closing parent_fd.
11161 (monitor_child): New function.
11162 (do_exit): Likewise.
11163 (notify_parent): Likewise.
11164 * nscd/nscd.h (notify_parent): Likewise.
11165 (do_exit): Likewise.
11167 2014-03-03 Carlos O'Donell <carlos@redhat.com>
11169 * malloc/malloc.c (__libc_calloc): Revert last change.
11171 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11175 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11177 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11181 (__libc_ifunc_impl_list): Likewise.
11182 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11183 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11184 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11185 * string/strrchr.c: Define STRRCHR.
11187 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
11189 * benchtest/bench-strtok.c (simple_strtok): Delete.
11190 (strtok_string): Use as benchmark.
11191 * string/strtok (STRTOK): New macro.
11193 2014-02-28 Carlos O'Donell <carlos@redhat.com>
11195 * manual/threads.texi: Add header and standard comments to all
11198 * elf/dl-lookup.c (check_match): New function.
11199 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11200 (do_lookup_x): Remove nested function check_match. Use non-nested
11201 function check_match.
11203 2014-02-28 Roland McGrath <roland@hack.frob.com>
11205 * csu/Makefile (generated, before-compile): Use += rather than =.
11206 * catgets/Makefile (generated, generated-dirs): Likewise.
11207 * debug/Makefile (generated): Likewise.
11208 * dlfcn/Makefile (generated): Likewise.
11209 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11210 * iconvdata/Makefile (before-compile, generated): Likewise.
11211 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11212 * libio/Makefile (generated): Likewise.
11213 * malloc/Makefile (generated): Likewise.
11214 * manual/Makefile (generated, generated-dirs): Likewise.
11215 * misc/Makefile (generated): Likewise.
11216 * posix/Makefile (generated): Likewise.
11217 * resolv/Makefile (generated): Likewise.
11218 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11219 * timezone/Makefile (generated, generated-dirs): Likewise.
11221 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11223 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11226 power8 implementation.
11227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11228 file: POWER8 llround ifunc implementation.
11229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11230 (__lllround): Add POWER8 implementation.
11231 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11232 POWER8 llround implementation.
11234 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11235 power8 implementation.
11236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11237 file: POWER8 llrint ifunc implementation.
11238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11239 Add POWER8 implementation.
11240 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11241 POWER8 llrint implementation.
11243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11244 power8 implementation.
11245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11246 file: POWER8 finite ifunc implementation.
11247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11248 Add POWER8 implementation.
11249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11251 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11252 POWER8 finite implementation.
11253 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11256 power8 implementation.
11257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11258 file: POWER8 isinf ifunc implementation.
11259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11260 POWER8 implementation.
11261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11263 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11264 isinf implementation.
11265 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11267 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11268 (INIT_ARCH): Add hwcap2 initialization.
11269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11270 power8 implementation.
11271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11272 file: POWER8 isnan ifunc implementation.
11273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11274 POWER8 implementation.
11275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11277 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11278 isnan implementation.
11279 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11281 2014-02-27 Joey Ye <joey.ye@arm.com>
11283 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11284 (_FP_NANFRAC_Q): Set to zero.
11286 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11289 * math/auto-libm-test-in: New test inputs.
11290 * math/auto-libm-test-out: Regenerate.
11291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11294 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11296 2014-02-27 Joseph Myers <joseph@codesourcery.com>
11298 * scripts/evaluate-test.sh: Take new argument indicating whether
11299 failure is expected.
11300 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11301 indicating whether failure is expected.
11302 * conform/Makefile (test-xfail-run-conformtest): New variable.
11303 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11305 * posix/Makefile (test-xfail-annexc): New variable.
11306 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11308 2014-02-26 Joseph Myers <joseph@codesourcery.com>
11310 * argp/Makefile: Include Makeconfig immediately after defining
11312 * assert/Makefile: Likewise.
11313 * benchtests/Makefile: Likewise.
11314 * catgets/Makefile: Likewise.
11315 * conform/Makefile: Likewise.
11316 * crypt/Makefile: Likewise.
11317 * csu/Makefile: Likewise.
11318 (all): Remove target.
11319 * ctype/Makefile: Include Makeconfig immediately after defining
11321 * debug/Makefile: Likewise.
11322 * dirent/Makefile: Likewise.
11323 * dlfcn/Makefile: Likewise.
11324 * gmon/Makefile: Likewise.
11325 * gnulib/Makefile: Likewise.
11326 * grp/Makefile: Likewise.
11327 * gshadow/Makefile: Likewise.
11328 * hesiod/Makefile: Likewise.
11329 * hurd/Makefile: Likewise.
11330 (all): Remove target.
11331 * iconvdata/Makefile: Include Makeconfig immediately after
11333 * inet/Makefile: Likewise.
11334 * intl/Makefile: Likewise.
11335 * io/Makefile: Likewise.
11336 * libio/Makefile: Likewise.
11337 (all): Remove target.
11338 * locale/Makefile: Include Makeconfig immediately after defining
11340 * login/Makefile: Likewise.
11341 * mach/Makefile: Likewise.
11342 (all): Remove target.
11343 * malloc/Makefile: Include Makeconfig immediately after defining
11345 (all): Remove target.
11346 * manual/Makefile: Include Makeconfig immediately after defining
11348 * math/Makefile: Likewise.
11349 * misc/Makefile: Likewise.
11350 * nis/Makefile: Likewise.
11351 * nss/Makefile: Likewise.
11352 * po/Makefile: Likewise.
11353 (all): Remove target.
11354 * posix/Makefile: Include Makeconfig immediately after defining
11356 * pwd/Makefile: Likewise.
11357 * resolv/Makefile: Likewise.
11358 * resource/Makefile: Likewise.
11359 * rt/Makefile: Likewise.
11360 * setjmp/Makefile: Likewise.
11361 * shadow/Makefile: Likewise.
11362 * signal/Makefile: Likewise.
11363 * socket/Makefile: Likewise.
11364 * soft-fp/Makefile: Likewise.
11365 * stdio-common/Makefile: Likewise.
11366 * stdlib/Makefile: Likewise.
11367 * streams/Makefile: Likewise.
11368 * string/Makefile: Likewise.
11369 * sunrpc/Makefile: Likewise.
11370 (all): Remove target.
11371 * sysvipc/Makefile: Include Makeconfig immediately after defining
11373 * termios/Makefile: Likewise.
11374 * time/Makefile: Likewise.
11375 * timezone/Makefile: Likewise.
11376 (all): Remove target.
11377 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11379 * wctype/Makefile: Likewise.
11381 2014-02-26 Steve Ellcey <sellcey@mips.com>
11383 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11384 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11385 (libc_feholdexcept_setround_mips): Ditto.
11386 (libc_feholdsetround): New.
11387 (libc_feholdsetroundf): New.
11388 (libc_feholdsetroundl): New.
11389 (libc_feupdateenv_test_mips): New.
11390 (libc_feupdateenv_test): New.
11391 (libc_feupdateenv_testf): New.
11392 (libc_feupdateenv_testl): New.
11393 (libc_feresetround): New.
11394 (libc_feresetroundf): New.
11395 (libc_feresetroundl): New.
11396 (libc_fetestexcept_mips): New.
11397 (libc_fetestexcept): New.
11398 (libc_fetestexceptf): New.
11399 (libc_fetestexceptl): New.
11400 (HAVE_RM_CTX): New.
11401 (libc_feholdexcept_setround_mips_ctx): New.
11402 (libc_feholdexcept_setround_ctx): New.
11403 (libc_feholdexcept_setroundf_ctx): New.
11404 (libc_feholdexcept_setroundl_ctx): New.
11405 (libc_fesetenv_mips_ctx): New.
11406 (libc_fesetenv_ctx): New.
11407 (libc_fesetenv_ctxf): New.
11408 (libc_fesetenv_ctxl): New.
11409 (libc_feupdateenv_mips_ctx): New.
11410 (libc_feupdateenv_ctx): New.
11411 (libc_feupdateenvf_ctx): New.
11412 (libc_feupdateenvl_ctx): New.
11413 (libc_feholdsetround_mips_ctx): New.
11414 (libc_feholdsetround_ctx): New.
11415 (libc_feholdsetroundf_ctx): New.
11416 (libc_feholdsetroundl_ctx): New.
11417 (libc_feresetround_mips_ctx): New.
11418 (libc_feresetround_ctx): New.
11419 (libc_feresetroundf_ctx): New.
11420 (libc_feresetroundl_ctx): New.
11422 2014-02-26 Carlos O'Donell <carlos@redhat.com>
11424 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11426 * manual/ipc.texi: New file.
11427 * manual/Makefile (chapters): Add ipc.
11428 * manual/job.texi: Add "Inter-Process Communication" to next.
11429 * manual/process.texi: Add "Inter-Process Communication" to prev.
11431 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11435 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
11437 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11439 * manual/arith.texi: Fix spaces after sentences.
11440 * manual/charset.texi: Likewise.
11441 * manual/errno.texi: Likewise.
11442 * manual/install.texi: Likewise.
11443 * manual/llio.texi: Likewise.
11444 * manual/locale.texi: Likewise.
11445 * manual/maint.texi: Likewise.
11446 * manual/math.texi: Likewise.
11447 * manual/memory.texi: Likewise.
11448 * manual/message.texi: Likewise.
11449 * manual/probes.texi: Likewise.
11450 * manual/resource.texi: Likewise.
11451 * manual/signal.texi: Likewise.
11452 * manual/socket.texi: Likewise.
11453 * manual/stdio.texi: Likewise.
11454 * manual/string.texi: Likewise.
11455 * manual/time.texi: Likewise.
11456 * manual/users.texi: Likewise.
11458 2014-02-25 Carlos O'Donell <carlos@redhat.com>
11461 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11462 _DEFAULT_SOURCE is defined.
11464 2014-02-25 Ulrich Drepper <drepper@gmail.com>
11465 Carlos O'Donell <carlos@redhat.com>
11468 * elf/dl-tls.c (_dl_count_modids): New function.
11469 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11470 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11471 audit library and increment generation counter.
11472 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11473 * elf/tst-audit9.c: New file.
11474 * elf/tst-auditmod9a.c: New file.
11475 * elf/tst-auditmod9b.c: New file.
11476 * elf/Makefile: Add rules to build and run tst-audit9.
11478 2014-02-25 Florian Weimer <fweimer@redhat.com>
11481 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11483 2014-02-25 Will Newton <will.newton@linaro.org>
11485 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11486 (__longjmp): Restore sp and lr before restoring callee
11487 saved registers. Add longjmp and longjmp_target
11488 SystemTap probe point.
11489 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11490 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11491 Define to zero to match jmpbuf layout.
11492 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11493 (__sigsetjmp): Save sp and lr before saving callee
11494 saved registers. Add setjmp SystemTap probe point.
11496 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11498 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11500 2014-02-24 Andreas Schwab <schwab@suse.de>
11503 * elf/pldd.c (wait_for_ptrace_stop): New function.
11504 (main): Call it after attaching.
11506 2014-02-22 Roland McGrath <roland@hack.frob.com>
11508 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11509 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11510 Versions files is now verboten.
11511 * hurd/Versions (libc: GLIBC_2.0):
11512 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11513 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11514 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11515 * mach/Versions: Likewise.
11517 * csu/Versions: Remove unused %include.
11518 * resolv/Versions: Likewise.
11520 2014-02-21 Joseph Myers <joseph@codesourcery.com>
11522 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11523 ($(objpfx)check-local-headers.out): Likewise.
11524 ($(objpfx)begin-end-check.out): Likewise.
11525 * Makerules (check-abi-%.out): Likewise.
11526 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11527 ($(objpfx)test2.cat): Likewise.
11528 ($(objpfx)de/libc.cat): Likewise.
11529 ($(objpfx)test-gencat.out): Likewise.
11530 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11531 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11532 ($(objpfx)noload-mem): Likewise.
11533 ($(objpfx)tst-pathopt.out): Likewise.
11534 ($(objpfx)tst-rtld-load-self.out): Likewise.
11535 ($(objpfx)tst-array1-cmp.out): Likewise.
11536 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11537 ($(objpfx)tst-array2-cmp.out): Likewise.
11538 ($(objpfx)tst-array3-cmp.out): Likewise.
11539 ($(objpfx)tst-array4-cmp.out): Likewise.
11540 ($(objpfx)tst-array5-cmp.out): Likewise.
11541 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11542 ($(objpfx)check-textrel.out): Likewise.
11543 ($(objpfx)check-execstack.out): Likewise.
11544 ($(objpfx)check-localplt.out): Likewise.
11545 ($(objpfx)order2-cmp.out): Likewise.
11546 ($(objpfx)tst-leaks1-mem): Likewise.
11547 ($(objpfx)tst-leaks1-static-mem): Likewise.
11548 ($(objpfx)tst-initorder-cmp.out): Likewise.
11549 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11550 ($(objpfx)tst-unused-dep.out): Likewise.
11551 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11552 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11553 * iconv/Makefile (test-iconvconfig): Likewise.
11554 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11555 ($(objpfx)iconv-test.out): Likewise.
11556 ($(objpfx)tst-tables.out): Likewise.
11557 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11558 ($(objpfx)tst-gettext.out): Likewise.
11559 ($(objpfx)tst-translit.out): Likewise.
11560 ($(objpfx)tst-gettext2.out): Likewise.
11561 ($(objpfx)tst-gettext4.out): Likewise.
11562 ($(objpfx)tst-gettext6.out): Likewise.
11563 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11564 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11565 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11566 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11567 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11568 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11569 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11570 ($(objpfx)wordexp-tst.out): Likewise.
11571 ($(objpfx)annexc.out): Likewise.
11572 ($(objpfx)tst-fnmatch-mem): Likewise.
11573 ($(objpfx)bug-regex2-mem): Likewise.
11574 ($(objpfx)bug-regex14-mem): Likewise.
11575 ($(objpfx)bug-regex21-mem): Likewise.
11576 ($(objpfx)bug-regex31-mem): Likewise.
11577 ($(objpfx)tst-vfork3-mem): Likewise.
11578 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11579 ($(objpfx)tst-pcre-mem): Likewise.
11580 ($(objpfx)tst-boost-mem): Likewise.
11581 ($(objpfx)tst-getconf.out): Likewise.
11582 ($(objpfx)bug-ga2-mem): Likewise.
11583 ($(objpfx)bug-glob2-mem): Likewise.
11584 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11585 ($(objpfx)mtrace-tst-leaks2): Likewise.
11586 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11587 ($(objpfx)tst-printf.out): Likewise.
11588 ($(objpfx)tst-setvbuf1.out): Likewise.
11589 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11590 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11591 ($(objpfx)tst-fmtmsg.out): Likewise.
11592 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11593 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11595 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11596 * bits/sigaction.h [__USE_MISC]: Likewise.
11597 * bits/waitstatus.h: Update #endif comments.
11598 * ctype/ctype.h: Likewise.
11599 * dirent/dirent.h: Likewise.
11600 [__USE_MISC]: Remove redundant conditionals.
11601 * grp/grp.h: Update #endif comments.
11602 [__USE_GNU]: Remove redundant conditionals.
11603 [__USE_MISC]: Likewise.
11604 * inet/netinet/in.h [__USE_GNU]: Likewise.
11605 * io/sys/stat.h [__USE_MISC]: Likewise.
11606 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11607 * libio/bits/stdio.h: Update #endif comments.
11608 [__USE_MISC]: Remove redundant conditionals.
11609 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11610 * libio/stdio.h: Update #endif comments.
11611 [__USE_MISC]: Remove redundant conditionals.
11612 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11613 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11614 * math/math.h: Update #else and #endif comments.
11615 [__USE_MISC]: Remove redundant conditionals.
11616 * misc/sys/uio.h: Update #endif comments.
11617 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11618 * posix/glob.h [__USE_MISC]: Likewise.
11619 * posix/sys/types.h: Update #endif comments.
11620 [__USE_MISC]: Remove redundant conditionals.
11621 * posix/sys/wait.h: Update #endif comments.
11622 [__USE_MISC]: Remove redundant conditionals.
11623 * posix/unistd.h: Update #endif comments.
11624 [__USE_MISC]: Remove redundant conditionals.
11625 * pwd/pwd.h [__USE_GNU]: Likewise.
11626 [__USE_MISC]: Likewise.
11627 * resolv/netdb.h [__USE_GNU]: Likewise.
11628 * signal/signal.h: Update #endif comments.
11629 [__USE_MISC]: Remove redundant conditionals.
11630 * stdlib/stdlib.h: Update #else and #endif comments.
11631 [__USE_MISC]: Remove redundant conditionals.
11632 [__USE_GNU]: Likewise.
11633 * string/bits/string2.h [__USE_MISC]: Likewise.
11634 * string/string.h: Update #endif comments.
11635 [__USE_MISC]: Remove redundant conditionals.
11636 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11638 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11639 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11640 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11642 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11646 [__USE_MISC]: Remove redundant conditionals.
11647 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11648 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11649 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11650 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11651 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11653 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11654 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11656 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11657 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11659 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11661 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11662 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11664 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11666 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11667 * sysdeps/x86/bits/string.h: Update #endif comments.
11668 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11670 * time/sys/time.h: Update #endif comments.
11671 * time/time.h: Likewise.
11672 [__USE_MISC]: Remove redundant conditionals.
11674 2014-02-21 Yury Gribov <y.gribov@samsung.com>
11677 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11679 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11681 * Versions.def (librt): Add GLIBC_2.17.
11683 2014-02-21 Adam Conrad <adconrad@0c3.net>
11685 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11686 synonym for _SYS_AUXV_H to allow direct inclusion.
11687 * sysdeps/sparc/bits/hwcap.h: Likewise.
11688 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11689 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11690 * sysdeps/sparc/sysdep.h: Likewise.
11692 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11694 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11696 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11698 * benchtests/bench-strrchr.c: Print length instead of position.
11700 2014-02-20 Joseph Myers <joseph@codesourcery.com>
11703 * sysdeps/unix/sysv/linux/kernel-features.h
11704 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11705 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11706 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11707 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11709 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11710 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11711 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11712 (__ASSUME_SENDMMSG): Define instead of using previous
11713 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11714 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11715 (__ASSUME_SENDMMSG_SYSCALL): Define.
11716 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11717 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11719 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11720 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11722 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11723 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11725 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11726 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11727 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11728 [__ASSUME_SENDMMSG]: Change conditionals to
11729 [__ASSUME_SENDMMSG_SOCKETCALL].
11730 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11731 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11733 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11734 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11736 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11737 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11738 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11739 [!__ASSUME_SENDMMSG]: Change conditional to
11740 [!__ASSUME_SENDMMSG_SOCKETCALL].
11741 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11742 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11746 * sysdeps/unix/sysv/linux/kernel-features.h
11747 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11748 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11749 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11750 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11751 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11752 [__i386__ || __sparc__]
11753 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11754 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11755 (__ASSUME_RECVMMSG): Define instead of using previous
11756 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11757 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11758 (__ASSUME_RECVMMSG_SYSCALL): Define.
11759 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11760 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11762 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11763 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11765 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11766 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11768 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11769 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11770 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11771 [__ASSUME_RECVMMSG]: Change condition to
11772 [__ASSUME_RECVMMSG_SOCKETCALL].
11773 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11774 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11776 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11777 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11778 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11780 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11781 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11782 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11783 [!__ASSUME_RECVMMSG]: Change condition to
11784 [!__ASSUME_RECVMMSG_SOCKETCALL].
11785 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11786 (__ASSUME_RECVMMSG_SYSCALL): Define.
11789 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11790 __powerpc__ || __s390__ || __sh__ || __sparc__]
11791 (__ASSUME_SOCKETCALL): Define.
11792 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11793 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11794 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11795 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11796 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11797 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11798 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11799 (__ASSUME_ACCEPT4): Define instead of using previous
11800 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11801 __powerpc__ || __sparc__ || __s390__)] condition.
11802 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11803 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11804 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11805 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11806 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11807 [!__ASSUME_ACCEPT4]: Change condition to
11808 [!__ASSUME_ACCEPT4_SOCKETCALL].
11809 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11810 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
11811 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11812 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11813 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11814 __ASSUME_ACCEPT4_SYSCALL.
11815 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11816 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11817 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11818 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11819 __ASSUME_ACCEPT4_SYSCALL.
11820 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11821 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11822 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11823 [__ASSUME_ACCEPT4]: Change condition to
11824 [__ASSUME_ACCEPT4_SOCKETCALL].
11825 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11826 (__ASSUME_SOCKETCALL): Define.
11827 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11828 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11829 (__ASSUME_SOCKETCALL): Define.
11830 (__ASSUME_ACCEPT4): Remove.
11831 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11833 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11834 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11836 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11837 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11839 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11841 (HWCAP_ARM_LPAE): Likewise.
11842 (HWCAP_ARM_EVTSTRM): Likewise.
11843 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11844 Add vpfd32, lpae and evtstrm.
11845 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11848 2014-02-19 Joseph Myers <joseph@codesourcery.com>
11850 * math/auto-libm-test-in: Add tests of clog10.
11851 * math/auto-libm-test-out: Regenerated.
11852 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11853 * sysdeps/i386/fpu/libm-test-ulps: Update.
11854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11856 2014-02-18 Andreas Schwab <schwab@suse.de>
11859 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11860 Store non-zero if the second buffer was newly allocated.
11861 (send_dg): Likewise.
11862 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11863 to send_vc and send_dg.
11864 (res_nsend): Pass NULL for ansp2_malloced.
11865 * resolv/res_query.c (__libc_res_nquery): Add parameter
11866 answerp2_malloced and pass it down to __libc_res_nsend.
11867 (res_nquery): Pass additional NULL to __libc_res_nquery.
11868 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11869 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
11870 second answer buffer if answerp2_malloced was set.
11871 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11872 (__libc_res_nquerydomain): Add parameter
11873 answerp2_malloced and pass it down to __libc_res_nquery.
11874 (res_nquerydomain): Pass additional NULL to
11875 __libc_res_nquerydomain.
11876 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11877 additional NULL to __libc_res_nsend and __libc_res_nquery.
11878 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11879 additional NULL to __libc_res_nsearch.
11880 (_nss_dns_gethostbyname4_r): Revert last change. Use new
11881 parameter of __libc_res_nsearch to check for separately allocated
11883 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11885 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11886 additional NULL to __libc_res_nquery.
11887 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11888 __libc_res_nsearch.
11889 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11890 * include/resolv.h: Update prototypes of __libc_res_nquery,
11891 __libc_res_nsearch, __libc_res_nsend.
11893 2014-02-18 Joseph Myers <joseph@codesourcery.com>
11895 * math/auto-libm-test-in: Add tests of fma.
11896 * math/auto-libm-test-out: Regenerated.
11897 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11898 (fma_towardzero_test_data): Likewise.
11899 (fma_downward_test_data): Likewise.
11900 (fma_upward_test_data): Likewise.
11901 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11903 (rounding_modes): Add values for new field.
11904 (func_calc_method): Add value mpfr_fff_f.
11905 (func_calc_desc): Add mpfr_fff_f union field.
11906 (test_function): Add field exact_args.
11907 (FUNC): Add macro argument EXACT_ARGS.
11908 (FUNC_mpfr_f_f): Update call to FUNC.
11909 (FUNC_mpfr_f_f): Likewise.
11910 (FUNC_mpfr_ff_f): Likewise.
11911 (FUNC_mpfr_if_f): Likewise.
11912 (FUNC_mpc_c_f): Likewise.
11913 (FUNC_mpc_c_c): Likewise.
11914 (test_functions): Add fma. Update calls to FUNC.
11915 (handle_input_arg): Add argument exact_args.
11916 (add_test): Update call to handle_input_arg.
11917 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
11918 (output_for_one_input_case): Update call to calc_generic_results.
11919 Recalculate exact zero results in each rounding mode.
11921 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11922 non-negative before setting low bit.
11923 * math/auto-libm-test-in: Mark one asin test possibly having
11924 spurious underflow.
11925 * math/auto-libm-test-out: Regenerated.
11926 * sysdeps/i386/fpu/libm-test-ulps: Update.
11927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11929 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
11931 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11932 * sysdeps/unix/sysv/linux/microblaze: Move directory from
11933 ports/sysdeps/unix/sysv/linux/microblaze.
11934 * README: Add missing listing for microblaze*-*-linux-gnu.
11936 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
11938 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11941 2014-02-16 Mike Frysinger <vapier@gentoo.org>
11943 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11944 * sysdeps/unix/sysv/linux/ia64: Move directory from
11945 ports/sysdeps/unix/sysv/linux/ia64.
11946 * README: Update listing for ia64-*-linux-gnu.
11948 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
11949 Joseph Myers <joseph@codesourcery.com>
11951 * Makeconfig (test-name): New variable.
11952 (evaluate-test): Likewise.
11953 * Makerules (do-test-clean): Remove .test-result files.
11954 (common-mostlyclean): Likewise.
11955 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11956 * scripts/evaluate-test.sh: New file.
11958 2014-02-14 Joseph Myers <joseph@codesourcery.com>
11960 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11961 separate $(objpfx)tst-fopenloc-cmp.out and
11962 $(objpfx)tst-fopenloc-mem.out targets.
11963 (tests): Update dependencies.
11964 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11965 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11966 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11967 (tst-rxspencer-no-utf8-ARGS): New variable.
11968 (tst-rxspencer-no-utf8-ENV): Likewise.
11969 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11970 instead of $(objpfx)tst-rxspencer-mem.
11971 ($(objpfx)tst-rxspencer-mem): Change target to
11972 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
11973 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11974 * posix/tst-rxspencer-no-utf8.c: New file.
11976 * elf/Makefile ($(objpfx)order.out): Remove rule.
11977 [$(run-built-tests) = yes] (tests): Depend on
11978 $(objpfx)order-cmp.out.
11979 ($(objpfx)order-cmp.out): New rule.
11980 [$(run-built-tests) = yes] (tests): Depend on
11981 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11982 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11983 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11984 $(objpfx)tst-array5-static-cmp.out.
11985 ($(objpfx)tst-array1.out): Remove rule.
11986 ($(objpfx)tst-array1-cmp.out): New rule.
11987 ($(objpfx)tst-array1-static.out): Remove rule.
11988 ($(objpfx)tst-array1-static-cmp.out): New rule.
11989 ($(objpfx)tst-array2.out): Remove rule.
11990 ($(objpfx)tst-array2-cmp.out): New rule.
11991 ($(objpfx)tst-array3.out): Remove rule.
11992 ($(objpfx)tst-array3-cmp.out): New rule.
11993 ($(objpfx)tst-array4.out): Remove rule.
11994 ($(objpfx)tst-array4-cmp.out): New rule.
11995 ($(objpfx)tst-array5.out): Remove rule.
11996 ($(objpfx)tst-array5-cmp.out): New rule.
11997 ($(objpfx)tst-array5-static.out): Remove rule.
11998 ($(objpfx)tst-array5-static-cmp.out): New rule.
11999 [$(run-built-tests) = yes] (tests): Depend on
12000 $(objpfx)order2-cmp.out.
12001 ($(objpfx)order2.out): Remove rule.
12002 ($(objpfx)order2-cmp.out): New rule.
12003 ($(objpfx)tst-initorder.out): Remove rule.
12004 [$(run-built-tests) = yes] (tests): Depend on
12005 $(objpfx)tst-initorder-cmp.out.
12006 ($(objpfx)tst-initorder-cmp.out): New rule.
12007 ($(objpfx)tst-initorder2.out): Remove rule.
12008 [$(run-built-tests) = yes] (tests): Depend on
12009 $(objpfx)tst-initorder2-cmp.out.
12010 ($(objpfx)tst-initorder2-cmp.out): New rule.
12011 [$(run-built-tests) = yes] (tests): Depend on
12012 $(objpfx)tst-unused-dep-cmp.out.
12013 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12014 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12015 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12016 on $(objpfx)tst-setvbuf1-cmp.out.
12017 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12018 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12019 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12020 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12021 ($(objpfx)tst-svc.out): Remove rule.
12022 ($(objpfx)tst-svc-cmp.out): New rule.
12024 2014-02-13 Joseph Myers <joseph@codesourcery.com>
12026 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12027 * ctype/ctype.h [__USE_MISC]: Likewise.
12028 * dirent/dirent.h [__USE_MISC]: Likewise.
12029 * grp/grp.h [__USE_MISC]: Likewise.
12030 * io/fcntl.h [__USE_MISC]: Likewise.
12031 * io/sys/stat.h [__USE_MISC]: Likewise.
12032 * libio/stdio.h [__USE_MISC]: Likewise.
12033 * posix/unistd.h [__USE_MISC]: Likewise.
12034 * pwd/pwd.h [__USE_MISC]: Likewise.
12035 * stdlib.h [__USE_MISC]: Likewise.
12036 * string/bits/string2.h [__USE_MISC]: Likewise.
12037 * string/string.h [__USE_MISC]: Likewise.
12038 * time/time.h [__USE_MISC]: Likewise.
12040 2014-02-13 Andreas Schwab <schwab@suse.de>
12043 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12044 second answer buffer if it was separately allocated.
12046 2014-02-12 Joseph Myers <joseph@codesourcery.com>
12048 * sysdeps/mips/math-tests.h: Include <features.h>.
12049 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12050 (ROUNDING_TESTS_long_double): Do not define.
12051 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12052 (EXCEPTION_TESTS_long_double): Likewise.
12053 * sysdeps/mips/mips64/libm-test-ulps: Update.
12055 * include/features.h (__USE_BSD): Remove macro definitions.
12056 (__USE_SVID): Likewise.
12057 (_BSD_SOURCE): Likewise.
12058 (_SVID_SOURCE): Likewise.
12059 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12060 from definition of _DEFAULT_SOURCE.
12061 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12063 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12064 * bits/mman.h [__USE_BSD]: Likewise.
12065 * bits/termios.h [__USE_BSD]: Likewise.
12066 * bits/waitstatus.h [__USE_BSD]: Likewise.
12067 * ctype/ctype.h [__USE_SVID]: Likewise.
12068 * dirent/dirent.h [__USE_BSD]: Likewise.
12069 * grp/grp.h [__USE_SVID]: Likewise.
12070 [__USE_BSD]: Likewise.
12071 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12072 * io/fcntl.h [__USE_BSD]: Likewise.
12073 * io/ftw.h [__USE_BSD]: Likewise.
12074 * io/sys/stat.h [__USE_BSD]: Likewise.
12075 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12076 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12077 * libio/stdio.h [__USE_SVID]: Likewise.
12078 [__USE_BSD]: Likewise.
12079 * math/math.h [__USE_SVID]: Likewise.
12080 [__USE_BSD]: Likewise.
12081 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12082 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12083 * misc/search.h [__USE_SVID]: Likewise.
12084 * misc/sys/mman.h [__USE_BSD]: Likewise.
12085 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12086 * misc/sys/uio.h [__USE_BSD]: Likewise.
12087 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12088 * posix/glob.h [__USE_BSD]: Likewise.
12089 * posix/regex.h [__USE_BSD]: Likewise.
12090 * posix/sys/types.h [__USE_BSD]: Likewise.
12091 [__USE_SVID]: Likewise.
12092 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12093 * posix/sys/wait.h [__USE_BSD]: Likewise.
12094 [__USE_SVID]: Likewise.
12095 * posix/unistd.h [__USE_BSD]: Likewise.
12096 [__USE_SVID]: Likewise.
12097 * pwd/pwd.h [__USE_SVID]: Likewise.
12098 * resolv/netdb.h [__USE_BSD]: Likewise.
12099 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12100 * signal/signal.h [__USE_BSD]: Likewise.
12101 [__USE_SVID]: Likewise.
12102 * socket/sys/socket.h [__USE_BSD]: Likewise.
12103 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12104 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12105 [__USE_SVID]: Likewise.
12106 * string/bits/string2.h [__USE_BSD]: Likewise.
12107 [__USE_SVID]: Likewise.
12108 * string/bits/string3.h [__USE_BSD]: Likewise.
12109 * string/endian.h [__USE_BSD]: Likewise.
12110 * string/string.h [__USE_SVID]: Likewise.
12111 [__USE_BSD]: Likewise.
12112 * string/strings.h [__USE_BSD]: Likewise.
12113 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12114 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12115 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12116 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12117 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12118 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12120 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12122 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12123 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12125 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12126 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12128 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12130 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12131 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12132 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12134 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12136 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12137 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12138 * termios/termios.h [__USE_BSD]: Likewise.
12139 * time/sys/time.h [__USE_BSD]: Likewise.
12140 * time/time.h [__USE_BSD]: Likewise.
12141 [__USE_SVID]: Likewise.
12143 * Makefile (subdir_targets): Remove subdir_lint.out.
12145 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12146 (do-tst-printf): Likewise.
12147 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12148 $(objpfx)tst-printf.out.
12150 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12152 * Makerules (check-abi-%): Change target to
12153 $(objpfx)check-abi-%.out.
12154 (check-abi target): Update dependencies.
12155 (check-abi-pattern variable): Redirect output of diff to $@.
12156 (check-abi variable): Likewise.
12157 * elf/Makefile (check-abi): Update dependencies.
12159 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12161 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12162 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12164 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12165 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12166 value has largest subnormal exponent.
12167 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12168 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12169 * sysdeps/aarch64/soft-fp/sfp-machine.h
12170 (_FP_TININESS_AFTER_ROUNDING): New macro.
12171 * sysdeps/alpha/soft-fp/sfp-machine.h
12172 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12173 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12175 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12176 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12177 * sysdeps/mips/soft-fp/sfp-machine.h
12178 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12179 * sysdeps/powerpc/soft-fp/sfp-machine.h
12180 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12181 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12183 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12184 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12185 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12186 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12187 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12190 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
12193 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12196 2014-02-12 Richard Henderson <rth@redhat.com>
12198 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12199 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12200 * sysdeps/unix/sysv/linux/alpha: Move directory from
12201 ports/sysdeps/unix/sysv/linux/alpha.
12202 * README: Update listing for alpha-*-linux-gnu.
12204 2014-02-11 Joseph Myers <joseph@codesourcery.com>
12206 * include/features.h: Update comment documenting feature test
12208 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12210 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12211 (_SVID_SOURCE): Likewise.
12212 (_DEFAULT_SOURCE): Update description of default features.
12213 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12215 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12216 (S_ISVTX): Likewise.
12217 * manual/math.texi (Mathematical Constants): Likewise.
12218 * manual/signal.texi (Interrupted Primitives): Likewise.
12219 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12220 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12221 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12222 Don't refer to _SVID_SOURCE in warning text.
12224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12226 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12228 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12229 * sysdeps/mips/dl-lookup.c: Remove.
12230 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12232 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12235 * math/auto-libm-test-in: Add testcase for expl.
12236 * math/auto-libm-test-out: Regenerate.
12237 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12238 calculation of unsafe.
12239 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12241 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12243 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12244 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12245 ports/sysdeps/unix/sysv/linux/aarch64.
12246 * README: Update listing for aarch64*-*-linux-gnu.
12248 2014-02-11 Will Newton <will.newton@linaro.org>
12250 * manual/probes.texi (Mathematical Function Probes): Use
12251 "triggered" instead of "hit".
12253 * manual/probes.texi (Internal Probes): Add documentation
12254 of setjmp, longjmp and longjmp_target probes.
12256 * include/stap-probe.h: Add comment about probe argument
12259 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12260 definition. (tr_where, tr_freehook, tr_mallochook,
12261 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12263 2014-02-11 David S. Miller <davem@davemloft.net>
12265 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12266 processing int_tests.
12268 2014-02-10 Joseph Myers <joseph@codesourcery.com>
12270 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12271 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12272 * sysdeps/unix/sysv/linux/mips: Move directory from
12273 ports/sysdeps/unix/sysv/linux/mips.
12274 * README: Update listing for mips-*-linux-gnu and
12275 mips64-*-linux-gnu.
12277 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12279 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12280 * sysdeps/unix/sysv/linux/m68k: Move directory from
12281 ports/sysdeps/unix/sysv/linux/m68k.
12282 * README: Update listing for m68k-*-linux-gnu.
12284 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12286 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12287 * sysdeps/unix/sysv/linux/generic: Move directory from
12288 ports/sysdeps/unix/sysv/linux/generic.
12289 * sysdeps/unix/sysv/linux/tile: Move directory from
12290 ports/sysdeps/unix/sysv/linux/tile.
12291 * README: Update listing for tile*-*-linux-gnu.
12293 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
12295 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12297 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12298 * catgets/open_catalog.c (__open_catalog): Likewise.
12299 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12300 * debug/confstr_chk.c: Likewise.
12301 * debug/fread_chk.c (__fread_chk): Likewise.
12302 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12303 * debug/getgroups_chk.c: Likewise.
12304 * debug/mbsnrtowcs_chk.c: Likewise.
12305 * debug/mbsrtowcs_chk.c: Likewise.
12306 * debug/mbstowcs_chk.c: Likewise.
12307 * debug/memcpy_chk.c: Likewise.
12308 * debug/memmove_chk.c: Likewise.
12309 * debug/mempcpy_chk.c: Likewise.
12310 * debug/memset_chk.c: Likewise.
12311 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12312 * debug/strcat_chk.c (__strcat_chk): Likewise.
12313 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12314 * debug/strncat_chk.c (__strncat_chk): Likewise.
12315 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12316 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12317 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12318 * debug/wcpncpy_chk.c: Likewise.
12319 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12320 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12321 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12322 * debug/wcsncpy_chk.c: Likewise.
12323 * debug/wcsnrtombs_chk.c: Likewise.
12324 * debug/wcsrtombs_chk.c: Likewise.
12325 * debug/wcstombs_chk.c: Likewise.
12326 * debug/wmemcpy_chk.c: Likewise.
12327 * debug/wmemmove_chk.c: Likewise.
12328 * debug/wmempcpy_chk.c: Likewise.
12329 * debug/wmemset_chk.c: Likewise.
12330 * dirent/scandirat.c (SCANDIRAT): Likewise.
12331 * dlfcn/dladdr1.c (dladdr1): Likewise.
12332 * dlfcn/dladdr.c (dladdr): Likewise.
12333 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12334 * dlfcn/dlerror.c (__dlerror): Likewise.
12335 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12336 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12337 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12338 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12339 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12340 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12341 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12342 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12344 * elf/dl-conflict.c: Likewise.
12345 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12346 * elf/dl-dst.h: Likewise.
12347 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12348 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12349 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12350 * elf/dl-init.c (call_init, _dl_init): Likewise.
12351 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12352 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12353 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12355 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12357 * elf/dl-minimal.c (__libc_memalign): Likewise.
12358 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12359 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12360 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12361 * elf/dl-sym.c (do_sym): Likewise.
12362 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12363 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12364 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12365 * elf/dl-writev.h (_dl_writev): Likewise.
12366 * elf/ldconfig.c (search_dir): Likewise.
12367 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12368 (dl_main): Likewise.
12369 * elf/setup-vdso.h (setup_vdso): Likewise.
12370 * grp/compat-initgroups.c (compat_call): Likewise.
12371 * grp/fgetgrent.c (fgetgrent): Likewise.
12372 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12373 * grp/putgrent.c (putgrent): Likewise.
12374 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12376 * hurd/hurdinit.c: Likewise.
12377 * iconvdata/8bit-gap.c (struct): Likewise.
12378 * iconvdata/ansi_x3.110.c : Likewise.
12379 * iconvdata/big5.c : Likewise.
12380 * iconvdata/big5hkscs.c : Likewise.
12381 * iconvdata/cp1255.c: Likewise.
12382 * iconvdata/cp1258.c : Likewise.
12383 * iconvdata/cp932.c : Likewise.
12384 * iconvdata/euc-cn.c: Likewise.
12385 * iconvdata/euc-jisx0213.c : Likewise.
12386 * iconvdata/euc-jp.c: Likewise.
12387 * iconvdata/euc-jp-ms.c : Likewise.
12388 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12389 * iconvdata/gb18030.c : Likewise.
12390 * iconvdata/gbbig5.c (const): Likewise.
12391 * iconvdata/gbgbk.c: Likewise.
12392 * iconvdata/gbk.c : Likewise.
12393 * iconvdata/ibm1364.c : Likewise.
12394 * iconvdata/ibm930.c : Likewise.
12395 * iconvdata/ibm932.c: Likewise.
12396 * iconvdata/ibm933.c : Likewise.
12397 * iconvdata/ibm935.c : Likewise.
12398 * iconvdata/ibm937.c : Likewise.
12399 * iconvdata/ibm939.c : Likewise.
12400 * iconvdata/ibm943.c: Likewise.
12401 * iconvdata/iso_11548-1.c: Likewise.
12402 * iconvdata/iso-2022-cn.c : Likewise.
12403 * iconvdata/iso-2022-cn-ext.c : Likewise.
12404 * iconvdata/iso-2022-jp-3.c: Likewise.
12405 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12406 * iconvdata/iso-2022-kr.c : Likewise.
12407 * iconvdata/iso646.c (gconv_end): Likewise.
12408 * iconvdata/iso_6937-2.c : Likewise.
12409 * iconvdata/iso_6937.c : Likewise.
12410 * iconvdata/iso8859-1.c: Likewise.
12411 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12412 * iconvdata/shift_jisx0213.c : Likewise.
12413 * iconvdata/sjis.c : Likewise.
12414 * iconvdata/t.61.c : Likewise.
12415 * iconvdata/tcvn5712-1.c : Likewise.
12416 * iconvdata/tscii.c: Likewise.
12417 * iconvdata/uhc.c : Likewise.
12418 * iconvdata/unicode.c (gconv_end): Likewise.
12419 * iconvdata/utf-16.c (gconv_end): Likewise.
12420 * iconvdata/utf-32.c (gconv_end): Likewise.
12421 * iconvdata/utf-7.c (base64): Likewise.
12422 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12423 * iconv/gconv_close.c (__gconv_close): Likewise.
12424 * iconv/gconv_open.c (__gconv_open): Likewise.
12425 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12426 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12427 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12428 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12429 (ucs4le_internal_loop_single): Likewise.
12430 * iconv/iconv.c (iconv): Likewise.
12431 * iconv/iconv_close.c: Likewise.
12432 * iconv/loop.c (SINGLE): Likewise.
12433 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12434 * include/atomic.h: Likewise.
12435 * inet/inet6_option.c (option_alloc): Likewise.
12436 * intl/bindtextdom.c (set_binding_values): Likewise.
12437 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12438 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12439 * intl/localealias.c (read_alias_file): Likewise.
12440 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12441 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12442 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12443 * libio/fmemopen.c (fmemopen): Likewise.
12444 * libio/iofgets.c (_IO_fgets): Likewise.
12445 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12446 * libio/iofgetws.c (fgetws): Likewise.
12447 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12448 * libio/iogetdelim.c (_IO_getdelim): Likewise.
12449 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12450 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12451 * locale/findlocale.c (_nl_find_locale): Likewise.
12452 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12453 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12455 * locale/setlocale.c (setlocale): Likewise.
12456 * login/programs/pt_chown.c (main): Likewise.
12457 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12458 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12459 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12460 (mmap, mmap64, mremap, munmap): Likewise.
12461 * math/e_exp2l.c: Likewise.
12462 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12463 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12464 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12465 * math/s_catan.c (__catan): Likewise.
12466 * math/s_catanf.c (__catanf): Likewise.
12467 * math/s_catanh.c (__catanh): Likewise.
12468 * math/s_catanhf.c (__catanhf): Likewise.
12469 * math/s_catanhl.c (__catanhl): Likewise.
12470 * math/s_catanl.c (__catanl): Likewise.
12471 * math/s_ccosh.c (__ccosh): Likewise.
12472 * math/s_ccoshf.c (__ccoshf): Likewise.
12473 * math/s_ccoshl.c (__ccoshl): Likewise.
12474 * math/s_cexp.c (__cexp): Likewise.
12475 * math/s_cexpf.c (__cexpf): Likewise.
12476 * math/s_cexpl.c (__cexpl): Likewise.
12477 * math/s_clog10.c (__clog10): Likewise.
12478 * math/s_clog10f.c (__clog10f): Likewise.
12479 * math/s_clog10l.c (__clog10l): Likewise.
12480 * math/s_clog.c (__clog): Likewise.
12481 * math/s_clogf.c (__clogf): Likewise.
12482 * math/s_clogl.c (__clogl): Likewise.
12483 * math/s_csin.c (__csin): Likewise.
12484 * math/s_csinf.c (__csinf): Likewise.
12485 * math/s_csinh.c (__csinh): Likewise.
12486 * math/s_csinhf.c (__csinhf): Likewise.
12487 * math/s_csinhl.c (__csinhl): Likewise.
12488 * math/s_csinl.c (__csinl): Likewise.
12489 * math/s_csqrt.c (__csqrt): Likewise.
12490 * math/s_csqrtf.c (__csqrtf): Likewise.
12491 * math/s_csqrtl.c (__csqrtl): Likewise.
12492 * math/s_ctan.c (__ctan): Likewise.
12493 * math/s_ctanf.c (__ctanf): Likewise.
12494 * math/s_ctanh.c (__ctanh): Likewise.
12495 * math/s_ctanhf.c (__ctanhf): Likewise.
12496 * math/s_ctanhl.c (__ctanhl): Likewise.
12497 * math/s_ctanl.c (__ctanl): Likewise.
12498 * math/w_pow.c: Likewise.
12499 * math/w_powf.c: Likewise.
12500 * math/w_powl.c: Likewise.
12501 * math/w_scalb.c (sysv_scalb): Likewise.
12502 * math/w_scalbf.c (sysv_scalbf): Likewise.
12503 * math/w_scalbl.c (sysv_scalbl): Likewise.
12504 * misc/error.c (error_tail): Likewise.
12505 * misc/pselect.c (__pselect): Likewise.
12506 * nis/nis_callback.c (__nis_create_callback): Likewise.
12507 * nis/nis_call.c (__nisfind_server): Likewise.
12508 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12509 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12510 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12511 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12512 * nis/nis_lookup.c (nis_lookup): Likewise.
12513 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12514 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12515 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12516 * nis/nis_xdr.c (xdr_endpoint): Likewise.
12517 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12518 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12519 * nis/nss_compat/compat-initgroups.c (add_group)
12520 (internal_getgrent_r): Likewise.
12521 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12522 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12523 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12524 (internal_getspnam_r): Likewise.
12525 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12526 (_nss_nis_getaliasbyname_r): Likewise.
12527 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12528 (_nss_nis_getntohost_r): Likewise.
12529 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12530 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12531 (_nss_nis_getgrgid_r): Likewise.
12532 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12533 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12534 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12535 (_nss_nis_gethostbyname4_r): Likewise.
12536 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12537 (initgroups_netid): Likewise.
12538 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12539 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12540 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12541 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12542 (_nss_nis_getprotobynumber_r): Likewise.
12543 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12544 (_nss_nis_getsecretkey): Likewise.
12545 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12546 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12547 (_nss_nis_getpwuid_r): Likewise.
12548 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12549 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12550 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12551 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12552 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12553 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12554 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12556 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12557 (_nss_nisplus_getntohost_r): Likewise.
12558 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12559 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12560 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12561 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12563 * nis/nss_nisplus/nisplus-initgroups.c
12564 (_nss_nisplus_initgroups_dyn): Likewise.
12565 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12566 (_nss_nisplus_getnetbyaddr_r): Likewise.
12567 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12568 (_nss_nisplus_getprotobynumber_r): Likewise.
12569 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12570 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12571 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12573 * nis/nss_nisplus/nisplus-service.c
12574 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12575 (_nss_nisplus_getservbyport_r): Likewise.
12576 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12577 (_nss_nisplus_getspnam_r): Likewise.
12578 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12580 * nscd/aicache.c (addhstaiX): Likewise.
12581 * nscd/cache.c (cache_search, prune_cache): Likewise.
12582 * nscd/connections.c (register_traced_file, send_ro_fd)
12583 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12584 (main_loop_epoll): Likewise.
12585 * nscd/grpcache.c (addgrbyX): Likewise.
12586 * nscd/hstcache.c (addhstbyX): Likewise.
12587 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12588 * nscd/mem.c (gc, mempool_alloc): Likewise.
12589 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12590 (addinnetgrX): Likewise.
12591 * nscd/nscd-client.h (__nscd_acquire_maplock)
12592 (__nscd_drop_map_ref): Likewise.
12593 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12594 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12595 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12597 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12598 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12599 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12600 (__nscd_get_map_ref): Likewise.
12601 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12602 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12604 * nscd/pwdcache.c (addpwbyX): Likewise.
12605 * nscd/selinux.c (preserve_capabilities): Likewise.
12606 * nscd/servicescache.c (addservbyX): Likewise.
12607 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12608 * posix/fnmatch.c (fnmatch): Likewise.
12609 * posix/getopt.c (_getopt_internal_r): Likewise.
12610 * posix/glob.c (glob, glob_in_dir): Likewise.
12611 * posix/wordexp.c (exec_comm_child): Likewise.
12612 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12613 (getanswer_r, gaih_getanswer_slice): Likewise.
12614 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12615 * resolv/res_init.c: Likewise.
12616 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12617 * resolv/res_query.c (__libc_res_nquery): Likewise.
12618 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12620 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12621 * stdio-common/perror.c (perror): Likewise.
12622 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12623 * stdio-common/tmpnam.c (tmpnam): Likewise.
12624 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12625 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12626 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12628 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12629 * stdlib/putenv.c (putenv): Likewise.
12630 * stdlib/setenv.c (__add_to_environ): Likewise.
12631 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12632 * stdlib/strtol_l.c (INTERNAL): Likewise.
12633 * string/memmem.c (memmem): Likewise.
12634 * string/strerror.c (strerror): Likewise.
12635 * string/strnlen.c (__strnlen): Likewise.
12636 * string/test-memmem.c (simple_memmem): Likewise.
12637 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12638 * sunrpc/pm_getport.c (__get_socket): Likewise.
12639 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12640 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12641 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12642 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12644 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12645 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12646 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12647 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12648 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12649 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12651 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12653 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12654 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12655 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12656 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12657 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12659 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12660 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12661 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12662 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12663 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12664 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12666 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12668 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12670 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12672 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12673 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12674 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12675 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12676 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12677 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12678 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12679 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12680 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12681 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12682 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12683 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12684 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12685 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12687 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12689 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12691 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12693 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12695 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12697 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12698 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12699 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12700 * sysdeps/posix/sleep.c: Likewise.
12701 * sysdeps/posix/tempname.c: Likewise.
12702 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12703 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12705 * sysdeps/powerpc/powerpc32/dl-machine.h
12706 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12707 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12708 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12709 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12710 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12712 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12713 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12714 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12715 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12716 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12717 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12718 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12719 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12720 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12721 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
12722 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12723 (elf_machine_lazy_rel): Likewise.
12724 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12725 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12726 (elf_machine_lazy_rel): Likewise.
12727 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12728 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12729 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12730 * sysdeps/unix/grantpt.c (grantpt): Likewise.
12731 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12732 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12733 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12736 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12737 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12738 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12739 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12740 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12741 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12742 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12743 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12744 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12745 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12746 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12748 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12749 (__posix_fallocate64_l64): Likewise.
12750 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12751 (posix_fallocate): Likewise.
12752 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12754 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12755 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12756 (getifaddrs_internal): Likewise.
12757 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12758 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12759 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12760 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12761 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12762 (__posix_fallocate64_l64): Likewise.
12763 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12765 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
12766 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12767 (__get_clockfreq): Likewise.
12768 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12769 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12770 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12773 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12774 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12775 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12777 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12778 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12779 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12780 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12781 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12782 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12783 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12785 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12786 (posix_fallocate): Likewise.
12787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12788 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12789 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
12790 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12791 (elf_machine_rela, elf_machine_rela_relative)
12792 (elf_machine_lazy_rel): Likewise.
12793 * time/asctime.c (asctime_internal): Likewise.
12794 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12795 * time/tzset.c (__tzset_parse_tz): Likewise.
12796 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12797 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12798 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12799 * wcsmbs/wcsmbsload.h: Likewise.
12802 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12804 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12805 (arena_get2): Remove THREAD_STATS conditionals.
12806 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12807 (__malloc_stats, int): Likewise.
12809 2014-02-08 Mike Frysinger <vapier@gentoo.org>
12811 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12812 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
12814 * manual/setjmp.texi: Fix typos/grammar errors.
12816 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12817 Only return early when n is <= 0. Delete unused return statement.
12819 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12820 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12821 * debug/tst-longjmp_chk3.c: New file.
12823 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12824 (test_main): Replace code with set_fortify_handler call.
12825 * debug/test-strcpy_chk.c: Likewise.
12826 * debug/tst-chk1.c: Likewise.
12827 * debug/tst-longjmp_chk.c: Likewise.
12828 * test-skeleton.c: Include fcntl.h & paths.h
12829 (set_fortify_handler): Define.
12831 * debug/tst-longjmp_chk.c: Add header comment and include
12832 ../test-skeleton.c.
12833 (do_test): Mark static.
12834 (TEST_FUNCTION): Define.
12836 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12837 (IP_PMTUDISC_INTERFACE): Likewise.
12838 (IP_MULTICAST_IF): Likewise.
12839 (IP_MULTICAST_TTL): Likewise.
12840 (IP_MULTICAST_LOOP): Likewise.
12841 (IP_ADD_MEMBERSHIP): Likewise.
12842 (IP_DROP_MEMBERSHIP): Likewise.
12843 (IP_UNBLOCK_SOURCE): Likewise.
12844 (IP_BLOCK_SOURCE): Likewise.
12845 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12846 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12847 (IP_MSFILTER): Likewise.
12848 (MCAST_JOIN_GROUP): Likewise.
12849 (MCAST_BLOCK_SOURCE): Likewise.
12850 (MCAST_UNBLOCK_SOURCE): Likewise.
12851 (MCAST_LEAVE_GROUP): Likewise.
12852 (MCAST_JOIN_SOURCE_GROUP): Likewise.
12853 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12854 (MCAST_MSFILTER): Likewise.
12855 (IP_MULTICAST_ALL): Likewise.
12856 (IP_UNICAST_IF): Likewise.
12858 * timezone/Makefile: Delete $(have-ksh) check.
12859 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12860 * timezone/tzselect.ksh: Add +x mode bits.
12862 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12863 (ANON_INODE_FS_MAGIC): Likewise.
12864 (BDEVFS_MAGIC): Likewise.
12865 (BINFMTFS_MAGIC): Likewise.
12866 (BTRFS_TEST_MAGIC): Likewise.
12867 (CRAMFS_MAGIC_WEND): Likewise.
12868 (DEBUGFS_MAGIC): Likewise.
12869 (ECRYPTFS_SUPER_MAGIC): Likewise.
12870 (EXT3_SUPER_MAGIC): Likewise.
12871 (EXT4_SUPER_MAGIC): Likewise.
12872 (FUTEXFS_SUPER_MAGIC): Likewise.
12873 (HOSTFS_SUPER_MAGIC): Likewise.
12874 (HUGETLBFS_MAGIC): Likewise.
12875 (MINIX3_SUPER_MAGIC): Likewise.
12876 (MTD_INODE_FS_MAGIC): Likewise.
12877 (NILFS_SUPER_MAGIC): Likewise.
12878 (OPENPROM_SUPER_MAGIC): Likewise.
12879 (PIPEFS_MAGIC): Likewise.
12880 (PSTOREFS_MAGIC): Likewise.
12881 (QNX6_SUPER_MAGIC): Likewise.
12882 (RAMFS_MAGIC): Likewise.
12883 (REISERFS_SUPER_MAGIC_STRING): Likewise.
12884 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12885 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12886 (SECURITYFS_MAGIC): Likewise.
12887 (SELINUX_MAGIC): Likewise.
12888 (SMACK_MAGIC): Likewise.
12889 (SOCKFS_MAGIC): Likewise.
12890 (SQUASHFS_MAGIC): Likewise.
12891 (STACK_END_MAGIC): Likewise.
12892 (TMPFS_MAGIC): Likewise.
12893 (USBDEVICE_SUPER_MAGIC): Likewise.
12894 (V9FS_MAGIC): Likewise.
12895 (XENFS_SUPER_MAGIC): Likewise.
12896 (CRAMFS_MAGIC): Fix typo in comment.
12897 (EXT2_SUPER_MAGIC): Update comment.
12898 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12900 2014-02-08 Joseph Myers <joseph@codesourcery.com>
12902 * sysdeps/arm: Move directory from ports/sysdeps/arm.
12903 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12904 * sysdeps/unix/sysv/linux/arm: Move directory from
12905 ports/sysdeps/unix/sysv/linux/arm.
12906 * README: Update listing for arm-*-linux-gnueabi.
12908 * README: Remove mention of am33.
12910 2014-02-07 Roland McGrath <roland@hack.frob.com>
12912 * bits/sigset.h (__sigemptyset): Use a statement expression rather
12913 than the comma operator, to avoid "rhs of comma has no effect"
12915 (__sigfillset, __sigandset, __sigorset): Likewise.
12916 * include/signal.h (__sigemptyset): Likewise.
12917 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12919 2014-02-07 Allan McRae <allan@archlinux.org>
12921 * version.h (RELEASE): Set to "development".
12922 (VERSION): Set to "2.19.90"
12923 * NEWS: Add 2.20 section.
12925 2014-02-06 Carlos O'Donell <carlos@redhat.com>
12928 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12930 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12932 * manual/contrib.texi: Update entry for Carlos O'Donell,
12933 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12935 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
12937 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12939 * sysdeps/unix/sysv/linux/kernel-features.h
12940 [__LINUX_KERNEL_VERSION >= 0x020621]
12941 (__ASSUME_PROC_PID_TASK_COMM): Define.
12943 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12946 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12947 conversion when destination buffer does not have enough space.
12948 * libio/tst-ftell-partial-wide.c: New test case.
12949 * libio/Makefile (tests): Add tst-ftell-partial-wide.
12951 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12952 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
12953 Leonard and Allan McRae.
12955 2014-02-04 David S. Miller <davem@davemloft.net>
12957 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12960 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12989 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12991 * nptl/shlib-versions: Change powerpc*le start to 2.17.
12992 * shlib-versions: Likewise.
12994 2014-02-04 Roland McGrath <roland@hack.frob.com>
12995 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12997 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12998 (abilist-pattern): New variable, set to %-le.abilist.
13000 * Makerules (abilist-pattern): New variable.
13001 (vpath): Use $(abilist-pattern) in place of %.abilist.
13002 (check-abi-% pattern rule): Likewise.
13003 (check-abi, update-abi): Likewise.
13005 2014-02-04 Eric Wong <normalperson@yhbt.net>
13007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13009 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13011 * manual/startup.texi: Add next, previous, and top entries for
13012 the `Program Arguments' and `Environment Variables' nodes.
13014 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13016 * manual/macros.texi: Add comments before MTASC-safety macros.
13018 * manual/users.texi: Document MTASC-safety properties.
13020 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13021 (pthread_getspecific, pthread_setspecific): Format with
13022 @deftypefun, and add @safety note.
13023 * manual/signal.texi: Move comments that analyze the above
13024 functions to their home place.
13026 2014-02-03 Allan McRae <allan@archlinux.org>
13028 * po/sl.po: Update Slovenian translation from translation project.
13030 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
13032 * manual/time.texi (timegm): Add missing blank after @c.
13033 Reported by Joseph Myers <joseph@codesourcery.com>.
13035 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
13037 * manual/check-safety.sh: New.
13038 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13040 * manual/terminal.texi: Document MTASC-safety properties.
13042 * manual/filesys.texi: Document MTASC-safety properties.
13044 * manual/errno.texi: Document MTASC-safety properties.
13046 * manual/intro.texi: Document safety identifiers and
13049 * manual/string.texi (wcstok): Fix prototype.
13050 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13052 * manual/time.texi: Document MTASC-safety properties.
13054 * manual/string.texi: Document MTASC-safety properties.
13056 * manual/threads.texi: Document MTASC-safety properties.
13058 * manual/stdio.texi: Document MTASC-safety properties.
13060 * manual/syslog.texi: Document MTASC-safety properties.
13062 * manual/sysinfo.texi: Document MTASC-safety properties.
13064 * manual/startup.texi: Document MTASC-safety properties.
13066 * manual/socket.texi: Document MTASC-safety properties.
13068 * manual/signal.texi: Document MTASC-safety properties.
13070 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
13072 * manual/setjmp.texi: Document MTASC-safety properties.
13074 * manual/search.texi: Document MTASC-safety properties.
13076 * manual/resource.texi: Document MTASC-safety properties.
13078 * manual/process.texi: Document MTASC-safety properties.
13080 * manual/platform.texi: Document MTASC-safety properties.
13082 * manual/pipe.texi: Document MTASC-safety properties.
13084 * manual/pattern.texi: Document MTASC-safety properties.
13086 * manual/message.texi: Document MTASC-safety properties.
13089 * manual/memory.texi: Document MTASC-safety properties.
13091 * manual/math.texi: Document MTASC-safety properties.
13093 * manual/locale.texi: Document MTASC-safety properties.
13095 * manual/llio.texi: Document MTASC-safety properties.
13097 * manual/libdl.texi: New.
13099 * manual/lang.texi: Document MTASC-safety properties.
13101 * manual/job.texi: Document MTASC-safety properties.
13103 * manual/getopt.texi: Document MTASC-safety properties.
13105 * manual/ctype.texi: Document MTASC-safety properties.
13107 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13110 * csu/libc-tls.c (static_map): Remove variable.
13111 (__libc_setup_tls): Use main executable's link map for TLS data.
13112 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13113 casing for LM_ID_BASE and GL(dl_nns).
13114 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13115 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13116 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13117 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13118 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13120 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13123 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
13125 * manual/debug.texi: Document MTASC-safety properties.
13127 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13130 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13131 of __x86_64__ when disabling x87 inline functions.
13133 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
13135 * manual/charset.texi: Document MTASC-safety properties.
13137 * manual/crypt.texi: Document MTASC-safety properties.
13139 * manual/conf.texi: Document MTASC-safety properties.
13141 * manual/arith.texi: Document MTASC-safety properties.
13143 * manual/argp.texi: Document MTASC-safety properties.
13145 * manual/macros.texi: Introduce macros to document multi
13146 thread, asynchronous signal and asynchronous cancellation
13148 * manual/intro.texi: Introduce the properties themselves.
13150 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13152 * sysdeps/sh/sh4/Makefile: New file.
13154 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13156 * math/gen-libm-test.pl ($srcdir): New variable.
13157 ($auto_input): Use it.
13159 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13162 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13163 access beyond array bounds when parsing netgroups file.
13165 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13166 the old buffer before realloc.
13168 2014-01-27 Allan McRae <allan@archlinux.org>
13170 * po/fr.po: Update French translation from translation project.
13172 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13174 * sysdeps/sh/libm-test-ulps: Regenerate.
13176 2014-01-24 David S. Miller <davem@davemloft.net>
13178 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13180 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13182 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13183 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13185 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13188 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13189 string pointers after reallocation.
13191 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13193 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13194 __SH4A__ instead of __SH_FPU_ANY__.
13196 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13198 * sysdeps/sh/fpu_control.h: New file.
13199 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13200 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13201 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13202 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13203 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13204 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13205 * sysdeps/sh/sys/ucontext.h: Remove.
13206 * sysdeps/sh/sys: Remove directory.
13208 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13210 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13211 s390/sys/ucontext.h.
13212 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13213 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13215 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13218 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13220 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13223 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13224 Adjust the vDSO correctly for internal calls.
13225 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13227 2014-01-20 Allan McRae <allan@archlinux.org>
13229 * po/ca.po: Update Catalan translation from translation project.
13231 2014-01-16 Mike Frysinger <vapier@gentoo.org>
13233 * sysdeps/s390/sotruss-lib.c: New file.
13235 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13238 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13239 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13240 local calls issues by not having a PLT stub required for IFUNC calls.
13241 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13243 2014-01-16 Joseph Myers <joseph@codesourcery.com>
13245 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13246 * math/test-fpucw-static.c: Likewise.
13248 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13251 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13253 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13255 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13256 implementation for powerpc.
13258 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
13261 * sysdeps/posix/system.c (__libc_system): Do not enable
13262 asynchronous cancellation.
13264 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13267 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13268 handling only for numbers special also in the IEEE case.
13270 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13272 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13274 2014-01-11 Allan McRae <allan@archlinux.org>
13276 * po/bg.po: Update Bulgarian translation from translation project.
13278 * po/de.po: Update German translation from translation project.
13280 2014-01-10 Roland McGrath <roland@hack.frob.com>
13282 * sysdeps/generic/gcc-compat.h: New file.
13284 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13286 * benchtests/asin-inputs: Correct slow inputs.
13287 * benchtests/acos-inputs: Likewise.
13289 2014-01-10 Allan McRae <allan@archlinux.org>
13291 * po:sv.po: Update Swedish translation from translation project.
13293 * po/vi.po: Update Vietnamese translation from translation project.
13295 * po/eo.po: Update Esperanto translation from translation project.
13297 * po/cs.po: Update Czech translation from translation project.
13299 * po/nl.po: Update Dutch translation from translation project.
13301 * po/pl.po: Update Polish translation from translation project.
13303 * po/ru.po: Update Russian translation from translation project.
13305 * po/uk.po: Update Ukrainian translation from translation project.
13307 2014-01-08 Brooks Moses <bmoses@google.com>
13309 * elf/dl-load.c: Fix comment typo.
13311 2014-01-08 Carlos O'Donell <carlos@redhat.com>
13313 * po/header.pot: Rename to...
13314 * po/pot.header: ... this.
13315 * po/Makefile: Use pot.header.
13317 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13318 Maxim Kuvyrkov <maxim@kugelworks.com>
13321 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13322 SRC and DEST against LEN.
13324 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13327 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13329 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13331 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13335 2014-01-08 Joseph Myers <joseph@codesourcery.com>
13338 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13339 for large positive arguments.
13341 2014-01-07 Joseph Myers <joseph@codesourcery.com>
13343 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13345 * math/auto-libm-test-in: Mark various tests with
13346 xfail-rounding:ldbl-128ibm.
13347 * math/auto-libm-test-out: Regenerated.
13350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13351 Increase overflow threshold.
13353 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
13356 * stdio-common/vfprintf.c: Check for integer overflow.
13358 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13360 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13361 the first argument and return value of __tls_get_addr_internal.
13363 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13365 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13366 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13368 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13370 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13371 * sysdeps/s390/rtld-global-offsets.sym: New file.
13372 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13374 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13375 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13376 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13378 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13379 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13385 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13386 halfs of GPRs for high_gprs contexts.
13387 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13388 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13390 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13392 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13394 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13395 for high GPRs (uc_high_gprs) and for future extensions
13397 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13398 for future extensions (__reserved).
13399 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13401 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13402 SC_HIGHGPRS offset definition.
13403 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13404 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13406 * Versions.def: Add GLIBC_2.19 for libpthread.
13407 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13408 siglongjmp for libpthread with GLIBC_2.19 symver.
13409 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13410 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13411 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13412 * sysdeps/s390/__longjmp.c: New file.
13413 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13414 * sysdeps/s390/longjmp.c: New file.
13415 * sysdeps/s390/setjmp.S: New file.
13416 * sysdeps/s390/sigjmp.S: New file.
13417 * sysdeps/s390/v1-longjmp.c: New file.
13418 * sysdeps/s390/v1-setjmp.h: New file.
13419 * sysdeps/s390/v1-sigjmp.c: New file.
13420 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13421 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13422 GLIBC_2.19 version.
13423 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13424 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13425 versioned symbols for ____longjmp_chk.
13426 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13436 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13437 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13438 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13439 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13440 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13441 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13442 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13443 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13444 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13445 * sysdeps/s390/rtld-__longjmp.c: New file.
13446 * sysdeps/s390/rtld-setjmp.S: New file.
13448 2014-01-06 Joseph Myers <joseph@codesourcery.com>
13451 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13452 Return -__logl (x) for small positive arguments without evaluating
13455 2014-01-06 Mike Frysinger <vapier@gentoo.org>
13457 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13459 (__ptrace_peeksiginfo_args): ... this.
13460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13461 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13464 2014-01-06 Allan McRae <allan@archlinux.org>
13466 * inet/netinet/in.h: Fix typo in comment.
13468 2014-01-05 Andreas Jaeger <aj@suse.de>
13470 * sysdeps/i386/fpu/libm-test-ulps: Update.
13472 2014-01-05 Allan McRae <allan@archlinux.org>
13474 * po/libc.pot: Regenerated.
13476 * malloc/memusagestat.c: Fix gettext call formatting.
13478 2014-01-04 Sami Kerola <kerolasa@iki.fi>
13480 * nscd/nscd.c: Improve usage() output.
13482 2014-01-04 Mike Frysinger <vapier@gentoo.org>
13484 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13485 * sysdeps/unix/sysv/linux/configure: Regenerated.
13486 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13487 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13489 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13492 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13493 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13495 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13497 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13498 extra tokens at end of #undef directive.
13499 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13500 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13501 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13503 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13505 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13507 * math/auto-libm-test-in: Mark various tests with
13508 xfail-rounding:ldbl-128ibm.
13509 * math/auto-libm-test-out: Regenerated.
13511 2014-01-02 Joseph Myers <joseph@codesourcery.com>
13514 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13515 numbers with subnormal high part when calculating exponent.
13518 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13522 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13524 (__ieee754_acoshl): Use __log1pl not __log1p.
13526 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
13528 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13529 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13530 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13531 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13532 (reused_arena, arena_get2): Convert to GNU style.
13533 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13534 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13535 (memalign_check, __malloc_set_state): Likewise.
13536 * malloc/mallocbug.c (main): Likewise.
13537 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13538 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13539 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13540 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13541 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13542 (__posix_memalign, malloc_info): Likewise.
13543 * malloc/malloc.h: Likewise.
13544 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13545 (mallochook, memalignhook, reallochook, mabort): Likewise.
13546 * malloc/mcheck.h: Likewise.
13547 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13548 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13549 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13550 * malloc/morecore.c (__default_morecore): Likewise.
13551 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13552 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13553 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13554 (print_and_abort): Likewise.
13555 * malloc/obstack.h: Likewise.
13556 * malloc/set-freeres.c (__libc_freeres): Likewise.
13557 * malloc/tst-mallocstate.c (main): Likewise.
13558 * malloc/tst-mtrace.c (main): Likewise.
13559 * malloc/tst-realloc.c (do_test): Likewise.
13561 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13564 * nscd/netgroupcache.c (do_notfound): New function.
13565 (addgetnetgrentX): Use it.
13568 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13569 NSS_STATUS_NOTFOUND.
13571 2014-01-01 Joseph Myers <joseph@codesourcery.com>
13573 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13576 2014-01-01 Allan McRae <allan@archlinux.org>
13578 * scripts/update-copyrights: Update configure input file suffix.
13580 * NEWS: Update copyright year.
13581 * catgets/gencat.c: Likewise.
13582 * csu/version.c: Likewise.
13583 * debug/catchsegv.sh: Likewise.
13584 * debug/pcprofiledump.c: Likewise.
13585 * debug/xtrace.sh: Likewise.
13586 * elf/ldconfig.c: Likewise.
13587 * elf/ldd.bash.in: Likewise.
13588 * elf/pldd.c: Likewise.
13589 * elf/sotruss.ksh: Likewise.
13590 * elf/sprof.c: Likewise.
13591 * iconv/iconv_prog.c: Likewise.
13592 * iconv/iconvconfig.c: Likewise.
13593 * locale/programs/locale.c: Likewise.
13594 * locale/programs/localedef.c: Likewise.
13595 * login/programs/pt_chown.c: Likewise.
13596 * malloc/memusage.sh: Likewise.
13597 * malloc/memusagestat.c: Likewise.
13598 * malloc/mtrace.pl: Likewise.
13599 * manual/libc.texinfo: Likewise.
13600 * nscd/nscd.c: Likewise.
13601 * nss/getent.c: Likewise.
13602 * nss/makedb.c: Likewise.
13603 * posix/getconf.c: Likewise.
13604 * scripts/test-installation.pl: Likewise.
13606 * All files with FSF copyright notices: Update copyright dates
13607 using scripts/update-copyrights.
13608 * intl/plural.c: Regenerated.
13609 * locale/programs/charmap-kw.h: Likewise.
13610 * locale/programs/locfile-kw.h: Likewise.
13612 2013-12-31 Mike Frysinger <vapier@gentoo.org>
13614 * sysdeps/unix/sysv/linux/configure: Regenerated.
13615 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13616 the linux/fanotify.h header.
13617 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13618 HAVE_LINUX_FANOTIFY_H is defined.
13620 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13622 * benchtests/cos-inputs: New inputs.
13623 * benchtests/sin-inputs: Likewise.
13625 * benchtests/atan-inputs: New inputs. Fix name of multiple
13626 precision fallback inputs.
13628 * benchtests/atanh-inputs: New inputs.
13629 * benchtests/tanh-inputs: Likewise.
13631 * benchtests/acosh-inputs: New inputs.
13632 * benchtests/asinh-inputs: Likewise.
13634 * benchtests/cosh-inputs: New inputs.
13635 * benchtests/sinh-inputs: Likewise.
13637 * benchtests/acos-inputs: Add more inputs.
13638 * benchtests/asin-inputs: Likewise.
13640 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
13643 * manual/arith.texi: Fix spelling.
13644 * manual/charset.texi: Likewise.
13645 * manual/errno.texi: Likewise.
13646 * manual/filesys.texi: Likewise.
13647 * manual/lang.texi: Likewise.
13648 * manual/llio.texi: Likewise.
13649 * manual/locale.texi: Likewise.
13650 * manual/message.texi: Likewise.
13651 * manual/resource.texi: Likewise.
13652 * manual/search.texi: Likewise.
13653 * manual/setjmp.texi: Likewise.
13654 * manual/stdio.texi: Likewise.
13655 * manual/string.texi: Likewise.
13656 * manual/sysinfo.texi: Likewise.
13657 * manual/time.texi: Likewise.
13659 2013-12-27 Carlos O'Donell <carlos@redhat.com>
13661 * po/sl.po: New file.
13663 2013-12-27 Mike Frysinger <vapier@gentoo.org>
13665 * .gitignore: Add core/.gdbinit/.gdb_history.
13667 2013-12-27 Allan McRae <allan@archlinux.org>
13670 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13671 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13673 2013-12-24 Brooks Moses <bmoses@google.com>
13675 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13676 all compilers that claim C++98 compliance, not just GCC.
13677 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13680 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13682 * NEWS: Restore accidentally deleted bug-fix entries.
13684 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13685 Ondřej Bílka <neleai@seznam.cz>
13688 * malloc/malloc.c (_int_free): Perform sanity check only if we
13691 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
13694 * manual/stdio.texi (String Input Conversions): Clarify that character
13695 classes are not supported.
13697 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13701 2013-12-22 Joseph Myers <joseph@codesourcery.com>
13704 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13705 Calculate results for small negative arguments directly rather
13706 than using reflection formula with special underflow handling.
13708 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13709 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13710 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13711 (fchflags): Likewise.
13712 (revoke): Likewise.
13713 (setlogin): Likewise.
13714 (sigaltstack): Likewise.
13716 (sigblock): Remove.
13717 (sigsetmask): Likewise.
13719 (waitpid): Likewise.
13720 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13721 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13723 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13724 * sysdeps/unix/bsd/Makefile: ... here.
13725 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13726 * sysdeps/unix/bsd/Versions: ... here.
13727 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13728 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13729 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13730 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13731 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13732 * sysdeps/unix/bsd/sigblock.c: ... here.
13733 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13734 * sysdeps/unix/bsd/sigsetmask.c: ... here.
13735 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13736 * sysdeps/unix/bsd/sigvec.c: ... here.
13737 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13738 * sysdeps/unix/bsd/tcdrain.c: ... here.
13739 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13740 * sysdeps/unix/bsd/tcgetattr.c: ... here.
13741 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13742 * sysdeps/unix/bsd/tcsetattr.c: ... here.
13743 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13744 * sysdeps/unix/bsd/wait.c: ... here.
13745 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13746 * sysdeps/unix/bsd/wait3.c: ... here.
13747 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13748 * sysdeps/unix/bsd/waitpid.c: ... here.
13750 2013-12-21 Joseph Myers <joseph@codesourcery.com>
13753 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13754 round-to-nearest for [!USE_AS_EXPM1L].
13755 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13756 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
13757 more tests of exp and exp10. Expect some exp10 tests to miss
13758 exceptions or fail in directed rounding modes.
13759 * math/auto-libm-test-out: Regenerated.
13760 * math/libm-test.inc (exp10_tonearest_test_data): New array.
13761 (exp10_test_tonearest): New function.
13762 (exp10_towardzero_test_data): New array.
13763 (exp10_test_towardzero): New function.
13764 (exp10_downward_test_data): New array.
13765 (exp10_test_downward): New function.
13766 (exp10_upward_test_data): New array.
13767 (exp10_test_upward): New function.
13768 (main): Call the new functions.
13769 * sysdeps/i386/fpu/libm-test-ulps: Update.
13770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13772 2013-12-20 Joseph Myers <joseph@codesourcery.com>
13774 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13775 asinh, atan, atan2, atanh, cbrt, cos and cosh.
13776 * math/auto-libm-test-out: Regenerated.
13777 * math/libm-test.inc (acosh_test_data): Add more tests.
13778 (atanh_test_data): Likewise.
13779 (ceil_test_data): Likewise.
13780 (copysign_test_data): Likewise.
13781 * sysdeps/i386/fpu/libm-test-ulps: Update.
13782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13784 * timezone/checktab.awk: Update from tzcode 2013i.
13785 * timezone/private.h: Likewise.
13786 * timezone/scheck.c: Likewise.
13787 * timezone/tzfile.h: Likewise.
13788 * timezone/tzselect.ksh: Likewise.
13789 * timezone/zdump.c: Likewise.
13790 * timezone/zic.c: Likewise.
13792 * math/auto-libm-test-in: Add tests of cpow.
13793 * math/auto-libm-test-out: Regenerated.
13794 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13795 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13797 (func_calc_desc): Add mpc_cc_c union field.
13798 (test_functions): Add cpow.
13799 (special_fill_2pi): New function.
13800 (special_real_inputs): Add 2pi.
13801 (calc_generic_results): Handle mpc_cc_c.
13802 * sysdeps/i386/fpu/libm-test-ulps: Update.
13803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13805 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13806 csqrt, ctan and ctanh.
13807 * math/auto-libm-test-out: Regenerated.
13808 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13809 (TEST_COND_x86): Likewise.
13810 (ccos_test_data): Use AUTO_TESTS_c_c.
13811 (ccosh_test_data): Likewise.
13812 (cexp_test_data): Likewise.
13813 (clog_test_data): Likewise.
13814 (csqrt_test_data): Likewise.
13815 (ctan_test_data): Likewise.
13816 (ctan_tonearest_test_data): Likewise.
13817 (ctan_towardzero_test_data): Likewise.
13818 (ctan_downward_test_data): Likewise.
13819 (ctan_upward_test_data): Likewise.
13820 (ctanh_test_data): Likewise.
13821 (ctanh_tonearest_test_data): Likewise.
13822 (ctanh_towardzero_test_data): Likewise.
13823 (ctanh_downward_test_data): Likewise.
13824 (ctanh_upward_test_data): Likewise.
13825 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13827 (func_calc_desc): Add mpc_c_c union field.
13828 (FUNC_mpc_c_c): New macro.
13829 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13830 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13832 (special_fill_min_subnorm_p120): New function.
13833 (special_real_inputs): Add min_subnorm_p120.
13834 (calc_generic_results): Handle mpc_c_c.
13835 * sysdeps/i386/fpu/libm-test-ulps: Update.
13836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13838 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13840 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13841 (do_sin_slow): New functions.
13842 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13843 (cslow2, csloww1, csloww2): Use the new functions.
13845 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13846 Use M to change sign of result instead of X. Assume X is
13848 (csloww1): Likewise.
13852 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13853 arguments A and DA.
13857 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13859 (sloww1): Don't adjust sign of DX.
13860 (csloww1): Likewise.
13861 (sloww2): Use X directly and don't adjust sign of DX.
13862 (csloww2): Likewise.
13864 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13866 * math/auto-libm-test-in: Add tests of cabs and carg.
13867 * math/auto-libm-test-out: Regenerated.
13868 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13869 (carg_test_data): Likewise.
13870 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13872 (func_calc_desc): Add mpc_c_f union field.
13873 (test_functions): Add cabs and carg.
13874 (calc_generic_results): Handle mpc_c_f.
13876 * sysdeps/powerpc/powerpc32/libgcc-compat.S
13877 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13878 as a macro and a compat symbol.
13879 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13880 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13881 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13882 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13883 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13884 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13886 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13888 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13890 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13892 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13894 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13896 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13897 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13900 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13904 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13906 * manual/texinfo.tex: Update to version 2013-11-26.10 with
13907 trailing whitespace removed.
13908 * scripts/config.guess: Update to version 2013-11-29.
13909 * scripts/config.sub: Update to version 2013-10-01.
13911 * math/auto-libm-test-in: Add tests of sincos.
13912 * math/auto-libm-test-out: Regenerated.
13913 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13914 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13916 (func_calc_desc): Add mpfr_f_11 union field.
13917 (test_functions): Add sincos.
13918 (calc_generic_results): Handle mpfr_f_11.
13919 * sysdeps/i386/fpu/libm-test-ulps: Update.
13920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13922 2013-12-19 Andreas Schwab <schwab@suse.de>
13924 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13926 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13927 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13928 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13930 2013-12-19 Joseph Myers <joseph@codesourcery.com>
13932 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13933 * sysdeps/i386/fpu/libm-test-ulps: Update.
13934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13937 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13938 round-to-nearest mode when using frndint.
13939 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13940 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13941 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13943 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
13945 * math/auto-libm-test-out: Regenerated.
13946 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13947 (TEST_COND_x86): Likewise.
13948 (expm1_tonearest_test_data): New array.
13949 (expm1_test_tonearest): New function.
13950 (expm1_towardzero_test_data): New array.
13951 (expm1_test_towardzero): New function.
13952 (expm1_downward_test_data): New array.
13953 (expm1_test_downward): New function.
13954 (expm1_upward_test_data): New array.
13955 (expm1_test_upward): New function.
13956 (main): Run the new test functions.
13957 * sysdeps/i386/fpu/libm-test-ulps: Update.
13958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13960 * include/features.h: Update comment documenting feature test
13961 macros. Mention _DEFAULT_SOURCE in comment.
13962 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13963 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13964 _BSD_SOURCE and _SVID_SOURCE.
13965 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13966 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13967 !_SVID_SOURCE]: Likewise.
13968 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13969 (__USE_POSIX_IMPLICITLY): Define.
13970 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13971 (_POSIX_SOURCE): Undefine and redefine.
13972 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13973 (_POSIX_C_SOURCE): Likewise.
13974 * manual/creature.texi (_DEFAULT_SOURCE): Document.
13975 (Feature Test Macros): Update documentation of default features.
13977 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13979 * benchtests/Makefile: Add bench-strtok.
13980 * benchtests/bench-strtok.c: New file: strtok benchtest.
13982 2013-12-19 Allan McRae <allan@archlinux.org>
13984 * manual/install.texi: Suppress menu for plain text output.
13985 * INSTALL: Regenerated.
13987 2013-12-18 Brooks Moses <bmoses@google.com>
13990 * misc/getauxval.c: Include errno.h.
13991 (__getauxval): Set errno to ENOENT if the requested type is not
13993 * misc/sys/auxv.h (getauxval): Document that it may set errno;
13994 don't declare with __attribute_const__.
13995 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13996 * manual/startup.texi: Document that getauxval sets errno.
13998 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14000 * math/auto-libm-test-in: Add tests of jn and yn.
14001 * math/auto-libm-test-out: Regenerated.
14002 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14003 (yn_test_data): Likewise.
14004 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14006 (func_calc_desc): Add mpfr_if_f union field.
14007 (FUNC_mpfr_if_f): New macro.
14008 (test_functions): Add jn and yn.
14009 (calc_generic_results): Assert type of second input for
14010 mpfr_ff_f. Handle mpfr_if_f.
14011 (output_for_one_input_case): Disable all checking for arguments
14012 fitting floating-point types in case of an integer argument.
14013 * sysdeps/i386/fpu/libm-test-ulps: Update.
14014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14017 Don't expect fegetround reference in libm.so.
14019 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14021 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14022 $(config-cflags-nofma).
14024 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14026 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14027 * math/auto-libm-test-out: Regenerated.
14030 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14031 to determine exponent and adjust argument to have exponent of -1.
14032 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14034 * math/auto-libm-test-out: Regenerated.
14035 * sysdeps/i386/fpu/libm-test-ulps: Update.
14036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14038 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
14040 * manual/probes.texi: Remove cases when per-thread arenas are
14043 2013-12-18 Andreas Schwab <schwab@suse.de>
14045 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14046 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14047 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14048 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14049 * sysdeps/i386/i686/multiarch/Makefile: Update.
14050 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14052 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14054 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14055 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14057 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14060 Support TZ transition times < 00:00:00.
14061 This is needed for version-3 tz-format files; it supports time
14062 stamps past 2037 for America/Godthab (the only entry in the tz
14063 database for which this change is relevant).
14064 * manual/time.texi (TZ Variable): Document transition times
14065 from -167:59:59 through -00:00:01.
14066 * time/tzset.c (tz_rule): Time of day is now signed.
14067 (__tzset_parse_tz): Parse negative time of day.
14069 Document TZ transition times >= 25:00:00.
14070 * manual/time.texi (TZ Variable): Document transition times from
14071 25:00:00 through 167:59:59. These are already supported, and this
14072 support will help with version-3 tz-format files.
14074 * manual/time.texi (TZ Variable): Modernize North America example
14075 to reflect current (i.e., 2007-and-later) daylight saving rules.
14077 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14079 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14081 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14082 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14083 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14085 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14086 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14087 * sysdeps/unix/bsd/clock.c: Likewise.
14088 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14089 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14090 * sysdeps/unix/bsd/init-posix.c: Likewise.
14091 * sysdeps/unix/bsd/poll.c: Likewise.
14092 * sysdeps/unix/bsd/ptsname.c: Likewise.
14093 * sysdeps/unix/bsd/seekdir.c: Likewise.
14094 * sysdeps/unix/bsd/setegid.c: Likewise.
14095 * sysdeps/unix/bsd/seteuid.c: Likewise.
14096 * sysdeps/unix/bsd/setgid.c: Likewise.
14097 * sysdeps/unix/bsd/setrgid.c: Likewise.
14098 * sysdeps/unix/bsd/setruid.c: Likewise.
14099 * sysdeps/unix/bsd/setsid.c: Likewise.
14100 * sysdeps/unix/bsd/setuid.c: Likewise.
14101 * sysdeps/unix/bsd/sigaction.c: Likewise.
14102 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14103 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14104 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14105 * sysdeps/unix/bsd/telldir.c: Likewise.
14106 * sysdeps/unix/bsd/times.c: Likewise.
14107 * sysdeps/unix/bsd/usleep.c: Likewise.
14109 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14110 ($(objpfx)libbsd-compat.a): Remove rule.
14112 * include/features.h (__FAVOR_BSD): Do not define.
14113 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14114 features conflicting with POSIX.
14115 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14116 (_BSD_SOURCE): Remove description of not being a subset of other
14117 feature test macros.
14118 * manual/job.texi (getpgrp): Do not document BSD version.
14119 (getpgid): Do not document by reference to BSD getpgrp.
14120 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14121 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14122 * signal/signal.h [__FAVOR_BSD]: Likewise.
14123 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14124 instead of making contents conditional on [__FAVOR_BSD].
14125 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14127 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14131 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14134 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14135 values below 2**-450, not 2**-500.
14136 * math/auto-libm-test-in: Don't allow spurious underflow from
14138 * math/auto-libm-test-out: Regenerated.
14142 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14143 values of ha and hb and sort them after adjusting subnormal
14145 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14147 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14148 values of ea and eb and sort them after adjusting subnormal
14150 * math/auto-libm-test-in: Do not expect some hypot tests of
14151 subnormals to fail. Add more hypot tests.
14152 * math/auto-libm-test-out: Regenerated.
14154 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14157 * sysdeps/sh/s_fma.c: New file.
14158 * sysdeps/sh/s_fmaf.c: New file.
14159 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14161 * sysdeps/sh/Implies: Add sh/soft-fp.
14163 2013-12-16 Roland McGrath <roland@hack.frob.com>
14165 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14166 level of indirection to members `objname', `errstring', `malloced'.
14167 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14168 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14169 it as the __longjmp argument (just pass 1 instead).
14170 (_dl_catch_error): Initialize C with argument pointers and address of
14171 volatile local ERRCODE rather than copying values out of C at return.
14173 2013-12-16 Joseph Myers <joseph@codesourcery.com>
14175 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14176 * math/auto-libm-test-out: Regenerated.
14177 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14178 (hypot_test_data): Likewise.
14179 (pow_test_data): Likewise.
14180 (pow_tonearest_test_data): Likewise.
14181 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14183 (func_calc_desc): Add mpfr_ff_f union field.
14184 (FUNC_mpfr_ff_f): New macro.
14185 (test_functions): Add atan2, hypot and pow.
14186 (special_fill_min): New function.
14187 (special_fill_minus_min): Likewise.
14188 (special_fill_min_subnorm): Likewise.
14189 (special_fill_minus_min_subnorm): Likewise.
14190 (special_real_inputs): Add min, -min, min_subnorm and
14192 (calc_generic_results): Handle mpfr_ff_f.
14193 * sysdeps/i386/fpu/libm-test-ulps: Update.
14194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14196 2013-12-16 Will Newton <will.newton@linaro.org>
14198 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14199 (Aligned Memory Blocks): Add documentation for aligned_alloc
14200 and suggest it as an alternative to posix_memalign.
14201 (Hooks for Malloc): Document __memalign_hook is also called
14202 for aligned_alloc. (Summary of Malloc): Add summary for
14203 aligned alloc. Document __memalign_hook is also called
14206 2013-12-16 Will Newton <will.newton@linaro.org>
14208 * manual/memory.texi (Malloc Examples): Clarify default
14209 alignment documentation. Suggest posix_memalign rather
14210 than memalign or valloc.
14211 (Aligned Memory Blocks): Remove suggestion to use memalign
14212 or valloc. Remove obsolete comment about BSD.
14213 Document memalign errno values and mark the function obsolete.
14214 Document posix_memalign returned error codes. Mark valloc
14215 as obsolete. (Hooks for Malloc): __memalign_hook is also
14216 called for posix_memalign and valloc.
14217 (Summary of Malloc): Add posix_memalign to function summary.
14218 __memalign_hook is also called for posix_memalign and valloc.
14220 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14222 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14226 (sloww): Use mynumber union. Expand ternary operator into
14227 if-else statements.
14228 (cslow): use mynumber union.
14230 2013-12-16 Allan McRae <allan@archlinux.org>
14232 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14233 * configure: Regenerated.
14235 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14238 * configure.ac: Added --enable-maintainer-mode. Check for
14239 autoconf when enabled.
14240 * configure: Regenerated.
14242 * nscd/nscd.service: New file.
14243 * nscd/nscd.tmpfiles: New file.
14245 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
14248 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14249 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14250 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14251 (strstr): Add __strstr_sse2_unaligned ifunc.
14252 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14253 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14254 (strcasestr): Remove __strcasestr_sse42 ifunc.
14255 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14259 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14261 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14262 * sysdeps/sh/bits/fenv.h: ... here.
14263 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14265 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14267 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14270 hypotf multiarch implementations.
14271 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14272 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14273 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14274 multiarch hypot for PPC64.
14275 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14276 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14278 multiarch hypotf for PPC64.
14280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14281 modff multiarch implementations.
14282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14285 multiarch modf for PPC64.
14286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14289 multiarch modff for PPC64.
14291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14292 and logl multiarch implementations.
14293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14296 multiarch logb for PPC64.
14297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14300 multiarch logb for PPC64.
14301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14304 multiarch logb for PPC64.
14306 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14307 isinff multiarch implementation.
14308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14312 multiarch isinf for PPC64.
14313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14316 multiarch isinff for PPC64.
14318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14319 finitef multiarch implementation.
14320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14324 multiarch finite for PPC64.
14325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14328 multiarch finitef for PPC64.
14330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14331 lrint multiarch implementation.
14332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14336 multiarch llrint for PPC64.
14337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14338 multiarch lrint for PPC64.
14340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14341 copysignf multiarch implementation.
14342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14347 multiarch copysign for PPC64.
14348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14349 multiarch copysignf for PPC64.
14351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14352 multiarch implementation.
14353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14361 multiarch llround for PPC64.
14362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14363 multiarch trunc for PPC64.
14364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14365 multiarch truncf for PPC64.
14367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14368 multiarch implementation.
14369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14377 multiarch llround for PPC64.
14378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14379 multiarch round for PPC64.
14380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14381 multiarch roundf for PPC64.
14383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14384 multiarch implementation.
14385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14393 multiarch llround for PPC64.
14394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14395 multiarch floor for PPC64.
14396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14397 multiarch floorf for PPC64.
14399 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14400 multiarch implementation.
14401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14409 multiarch llround for PPC64.
14410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14411 multiarch ceil for PPC64.
14412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14413 multiarch ceilf for PPC64.
14415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14416 multiarch implementation.
14417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14424 multiarch llround for PPC64.
14425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14426 multiarch lround for PPC64.
14428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14429 multiarch implementation.
14430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14437 multiarch isnan for PPC64.
14438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14439 multiarch isnanf for PPC64.
14441 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14442 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14443 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14444 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14445 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14448 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14449 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14450 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14451 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14454 multiarch implementations.
14455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14456 (__libc_ifunc_impl_list): Likewise.
14457 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14458 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14459 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14460 multiarch stpcpy for PPC64.
14462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14463 multiarch implementations.
14464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14465 (__libc_ifunc_impl_list): Likewise.
14466 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14467 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14468 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14469 multiarch strcpy for PPC64.
14471 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14472 redefine function name.
14473 (_wordcopy_fwd_dest_aligned): Likewise.
14474 (_wordcopy_bwd_aligned): Likewise.
14475 (_wordcopy_bwd_dest_aligned): Likewise.
14476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14477 multiarch implementations.
14478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14479 (__libc_ifunc_impl_list): Likewise.
14480 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14481 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14482 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14483 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14484 multiarch wcscpy for PPC64.
14486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14487 multiarch implementations.
14488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14489 (__libc_ifunc_impl_list): Likewise.
14490 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14491 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14492 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14493 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14494 multiarch wcscpy for PPC64.
14496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14497 multiarch implementations.
14498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14499 (__libc_ifunc_impl_list): Likewise.
14500 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14501 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14502 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14503 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14504 multiarch wcsrchr for PPC64.
14506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14507 multiarch implementations.
14508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14509 (__libc_ifunc_impl_list): Likewise.
14510 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14511 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14512 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14513 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14514 multiarch wcschr for PPC64.
14516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14517 multiarch implementations.
14518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14519 (__libc_ifunc_impl_list): Likewise.
14520 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14521 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14522 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14523 multiarch strchrnul for PPC64.
14525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14528 (__libc_ifunc_impl_list): Likewise.
14529 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14530 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14531 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14532 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14538 (__libc_ifunc_impl_list): Likewise.
14539 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14540 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14541 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14542 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14546 multiarch implementations.
14547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14548 (__libc_ifunc_impl_list): Likewise.
14549 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14550 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14551 strncasecmp for PPC64.
14552 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14553 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14554 multiarch strncasecmp_l for PPC64.
14556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14557 multiarch implementations.
14558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14559 (__libc_ifunc_impl_list): Likewise.
14560 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14561 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14562 multiarch strcasecmp for PPC64.
14563 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14565 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14566 multiarch strcasecmp_l for PPC64.
14568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14571 (__libc_ifunc_impl_list): Likewise.
14572 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14573 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14574 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14580 (__libc_ifunc_impl_list): Likewise.
14581 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14582 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14583 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14589 (__libc_ifunc_impl_list): Likewise.
14590 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14591 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14592 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14593 rawmemrchr for PPC64.
14595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14598 (__libc_ifunc_impl_list): Likewise.
14599 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14600 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14601 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14607 (__libc_ifunc_impl_list): Likewise.
14608 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14609 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14610 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14616 (__libc_ifunc_impl_list): Likewise.
14617 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14618 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14619 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14622 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14623 avoid cretion of __bzero symbol.
14624 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14626 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14628 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14631 multiarch implementations.
14632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14633 (__libc_ifunc_impl_list): Likewise.
14634 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14635 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14636 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14637 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14639 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14640 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14641 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14642 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14643 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14645 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14647 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14651 (__libc_ifunc_impl_list): Likewise.
14652 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14653 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14654 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14655 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14659 multiarch for POWER/PPC64.
14660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14661 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14662 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14663 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14664 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14665 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14666 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14667 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14668 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14671 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14672 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14673 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14674 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14675 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14676 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14677 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14678 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14679 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14680 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14681 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14682 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14683 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14684 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14685 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14694 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14696 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14698 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14700 * benchtests/Makefile (bench): Add exp2 and log2.
14701 (LDLIBS-bench-exp2): Add -lm.
14702 (LDLIBS-bench-log2): Likewise.
14703 * benchtests/exp2-inputs: New inputs file.
14704 * benchtests/log2-inputs: New inputs file.
14705 * benchtests/log-inputs: Add new inputs.
14706 * benchtests/tan-inputs: Likewise.
14708 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14710 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14712 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14713 (csloww2): ... from here.
14715 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14716 instead of structures.
14717 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14718 (POLYNOMIAL): Likewise.
14719 (TAYLOR_SLOW): Likewise.
14725 (sloww1); Likewise.
14726 (sloww2): Likewise.
14727 (bsloww1): Likewise.
14728 (bsloww2): Likewise.
14729 (cslow2): Likewise.
14730 (csloww): Likewise.
14731 (csloww1): Likewise.
14732 (csloww2): Likewise.
14734 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
14736 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
14737 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14738 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
14739 * malloc/hooks.c (realloc_check): Likewise.
14741 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14742 * malloc/arena.c: Remove PER_THREAD conditional.
14743 [!PER_THREAD]: Remove code.
14744 (ptmalloc_unlock_all2): Likewise.
14745 (ptmalloc_init): Likewise.
14746 (_int_new_arena): Likewise.
14747 (arena_get2): Likewise.
14748 * malloc/hooks.c (__malloc_get_state): Likewise.
14749 (__malloc_set_state): Likewise.
14750 * malloc/malloc.c: Likewise.
14751 (struct malloc_state): Likewise.
14752 (struct malloc_par): Likewise.
14753 (__libc_realloc): Likewise.
14754 (__libc_mallopt): Likewise.
14756 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14758 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14760 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
14762 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14763 macro to a function. Check for zero perturb_byte.
14764 (_int_malloc, _int_free): Remove zero perturb_byte checks.
14766 * malloc/malloc.c: (force_reg): Remove.
14767 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14768 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
14769 force_reg by atomic_forced_read.
14770 * malloc/arena.c (ptmalloc_init): Likewise.
14771 * malloc/hooks.c (top_check): Likewise.
14773 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14777 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
14779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14781 2013-12-08 Joseph Myers <joseph@codesourcery.com>
14783 * math/auto-libm-test-in: Add tests of lgamma.
14784 * math/auto-libm-test-out: Regenerated.
14785 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14786 (M_LOG_2_SQRT_PIl): Likewise.
14787 (lgamma_test_data): Use AUTO_TESTS_f_f1.
14788 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14790 (func_calc_desc): Add mpfr_f_f1 union field.
14791 (ARGS1): New macro.
14799 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14800 (test_functions): Add lgamma.
14801 (calc_generic_results): Handle mpfr_f_f1.
14802 * sysdeps/i386/fpu/libm-test-ulps: Update.
14803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14805 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14807 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14808 __mpn_add_n for PowerPC64/POWER7.
14809 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14810 __mpn_sub_n for PowerPC64/POWER7.
14812 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14813 __mpn_addmul_1 for PowerPC64.
14814 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14815 __mpn_submul_1 for PowerPC64.
14816 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14818 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14821 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
14824 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14826 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14828 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14830 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14831 add multiarch folders.
14832 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14833 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14834 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14835 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14836 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14837 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14838 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14839 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14840 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14841 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14842 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14851 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14857 multiarch __ieee754_hypot for PowerPC32.
14858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14863 multiarch __ieee754_hypotf for PowerPC32.
14865 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14866 long_double_symbol only if __logbl is defined.
14867 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14868 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14869 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14870 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14872 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14873 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14874 path for implementation.
14875 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14876 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14878 logb, and logbl multiarch implementations for PowerPC32.
14879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14884 multiarch logb for PowerPC32.
14885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14890 multiarch logbf for PowerPC32.
14891 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14895 multiarch logbl implementation for PowerPC32.
14897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14898 and modff multiarch implementations.
14899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14904 multiarch modf for PowerPC32.
14905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14910 multiarch modff for PowerPC32.
14912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14913 and lrintf multiarch implementations.
14914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14919 multiarch lrint for PowerPC32.
14920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14921 file: multiarch lrintf for PowerPC32.
14923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14924 and lroundf multiarch implementations.
14925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14932 multiarch lround for PowerPC32.
14933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14934 file: multiarch lroundf for PowerPC32.
14936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14937 copysign and copysignf multiarch implementations.
14938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14943 file: multiarch copysign for PowerPC32.
14944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14945 file: multiarch copysignf for PowerPC32.
14947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14948 and truncf multiarch implementations.
14949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14954 multiarch trunc for PowerPC32.
14955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14960 multiarch truncf for PowerPC32.
14962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14963 and roundf multiarch implementations.
14964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14969 multiarch round for PowerPC32.
14970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14975 multiarch roundf for PowerPC32.
14977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14978 and floorf multiarch implementations.
14979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14984 multiarch floor for PowerPC32.
14985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14990 multiarch floorf for PowerPC32.
14992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14993 and ceilf multiarch implementations.
14994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14999 multiarch ceil for PowerPC32.
15000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15005 multiarch ceilf for PowerPC32.
15007 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15009 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15010 FINITEF is defined.
15011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15012 and finitef multiarch implementations.
15013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15018 multiarch finite for PowerPC32.
15019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15022 file: multiarch finitef for PowerPC32.
15024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15025 and isinff multiarch implementations.
15026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15031 multiarch isinf for PowerPC32.
15032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15035 multiarch isinff for PowerPC32.
15037 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15038 alias when __isnan is defined.
15039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15040 and isnanf multiarch implementations.
15041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15050 multiarch isnan for PowerPC32.
15051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15056 multiarch isnanf for PowerPC32.
15058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15059 and sqrtf multiarch implementations.
15060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15065 multiarch sqrt for PowerPC32.
15066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15071 multiarch sqrtf for PowerPC32.
15073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15074 and llroundf multiarch implementations.
15075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15082 file: multiarch llround for PowerPC32.
15083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15084 file: multiarch llroundf for PowerPC32.
15086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15087 multiarch PowerPC32 fpu implementations.
15088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15093 multiarch llrint for PowerPC32.
15094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15103 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15105 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15107 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15109 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15110 multiarch wordcopy for PPC32.
15111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15114 (__libc_ifunc_impl_list): Likewise.
15115 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15116 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15117 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15118 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15119 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15120 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15122 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15123 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15127 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15129 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15130 multiarch wcscpy for PPC32.
15131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15134 (__libc_ifunc_impl_list): Likewise.
15135 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15136 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15137 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15138 sysdeps/powerpc/power6/wcscpy.c.
15140 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15145 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15147 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15148 multiarch wcsrchr for PPC32.
15149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15152 (__libc_ifunc_impl_list): Likewise.
15153 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15154 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15155 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15156 sysdeps/powerpc/power6/wcsrchr.c.
15158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15162 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15163 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15164 multiarch wcschr for PPc32.
15165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15168 (__libc_ifunc_impl_list): Likewise.
15169 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15170 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15171 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15172 sysdeps/powerpc/power6/wcschr.c.
15174 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15175 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15177 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15178 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15179 file: multiarch strchr for PPC32.
15180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15182 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15183 (__libc_ifunc_impl_list): Likewise.
15185 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15187 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15189 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15191 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15192 multiarch strchrnul for PPC32.
15193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15196 (__libc_ifunc_impl_list): Likewise.
15198 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15200 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15201 multiarch strncasecmp for PPC32.
15202 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15204 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15205 multiarch strncasecmp_l for PPC32.
15206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15207 strncasecmp multiarch objects.
15208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15209 (__libc_ifunc_impl_list): Likewise.
15211 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15213 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15214 multiarch strncasecmp for PPC32.
15215 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15217 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15218 multiarch strcasecmp_l for PPC32.
15219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15222 (__libc_ifunc_impl_list): Likewise.
15224 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15226 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15228 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15229 multiarch strncmp for PPC32.
15230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15233 (__libc_ifunc_impl_list): Likewise.
15235 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15236 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15238 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15239 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15243 (__libc_ifunc_impl_list): Likewise.
15245 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15247 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15249 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15253 (__libc_ifunc_impl_list): Likewise.
15255 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15257 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15259 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15260 multiarch rawmemchr for PPC32.
15261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15264 (__libc_ifunc_impl_list): Likewise.
15266 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15268 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15270 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15271 file: memrchr multiarch for PPC32.
15272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15275 (__libc_ifunc_impl_list): Likewise.
15277 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15278 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15280 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15281 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15282 multiarch memchr for PPC32.
15283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15286 (__libc_ifunc_impl_list): Likewise.
15288 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15289 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15291 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15293 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15294 file: multiarch mempcpy for PPC32.
15295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15298 (__libc_ifunc_impl_list): Likewise.
15300 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15301 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15302 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15303 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15304 multiarch bzero for PPC32.
15305 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15307 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15309 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15310 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15311 file: multiarch memset for PPC32.
15312 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15313 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15314 memset multiarch objects.
15315 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15316 (__libc_ifunc_impl_list): Likewise.
15318 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15320 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15321 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15323 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15327 (__libc_ifunc_impl_list): Likewise.
15329 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15330 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15331 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15333 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15335 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15337 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15338 multiarch memcpy for PPC32.
15339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15342 (__libc_ifunc_impl_list): Likewise.
15344 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15345 support multiarch for POWER/PPC32.
15346 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15348 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15350 Implies file to make multiarch folder appers before the fpu and
15351 default folder for power4 configuration.
15353 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15355 * scripts/bench.pl: Append volatile keyword to type.
15357 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15359 * sysdeps/sh/sotruss-lib.c: New file.
15360 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15362 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15366 2013-12-05 Joseph Myers <joseph@codesourcery.com>
15369 * math/w_tgamma.c: Include <errno.h>.
15370 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15371 * math/w_tgammaf.c: Include <errno.h>.
15372 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15373 * math/w_tgammal.c: Include <errno.h>.
15374 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15375 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15376 underflow. Add more tgamma tests.
15377 * math/auto-libm-test-out: Regenerated.
15378 * sysdeps/i386/fpu/libm-test-ulps: Update.
15379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15381 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15382 sin, sinh, tan, tanh, tgamma, y0 and y1.
15383 * math/auto-libm-test-out: Regenerated.
15384 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15385 (TEST_COND_x86): Likewise.
15386 (M_E2l): Remove macro.
15388 (M_2_SQRT_PIl): Likewise.
15389 (M_SQRT_PIl): Likewise.
15390 (M_1_DIV_El): Likewise.
15391 (log_test_data): Use AUTO_TESTS_f_f.
15392 (log10_test_data): Likewise.
15393 (log1p_test_data): Likewise.
15394 (log2_test_data): Likewise.
15395 (sin_test_data): Likewise.
15396 (sin_tonearest_test_data): Likewise.
15397 (sin_towardzero_test_data): Likewise.
15398 (sin_downward_test_data): Likewise.
15399 (sin_upward_test_data): Likewise.
15400 (sinh_test_data): Likewise.
15401 (sinh_tonearest_test_data): Likewise.
15402 (sinh_towardzero_test_data): Likewise.
15403 (sinh_downward_test_data): Likewise.
15404 (sinh_upward_test_data): Likewise.
15405 (tan_test_data): Likewise.
15406 (tan_tonearest_test_data): Likewise.
15407 (tan_towardzero_test_data): Likewise.
15408 (tan_downward_test_data): Likewise.
15409 (tan_upward_test_data): Likewise.
15410 (tanh_test_data): Likewise.
15411 (tgamma_test_data): Likewise.
15412 (y0_test_data): Likewise.
15413 (y1_test_data): Likewise.
15414 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15415 (special_real_inputs): Add pi/4.
15416 * sysdeps/i386/fpu/libm-test-ulps: Update.
15417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15419 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15421 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15422 "longjmp_target" static probes.
15423 (__longjmp): Rename to __longjmp_symbol.
15424 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15425 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15426 on which longjmp to generate.
15427 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15428 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15430 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15431 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15432 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15433 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15434 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15435 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15437 __longjmp_symbol based on which __longjmp to generate.
15438 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15440 (setjmp): Rename to setjmp_symbol.
15441 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15442 (_setjmp): Rename to _setjmp_symbol.
15443 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15444 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15445 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15446 which setjmp to generate.
15447 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15448 "longjmp_target" static probes.
15450 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15452 * benchtests/README: Add note about output arguments.
15453 * benchtests/bench-sincos.c: Remove file.
15454 * benchtests/sincos-inputs: New file.
15455 * scripts/bench.pl: Identify output arguments and define
15456 static variables for them.
15458 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15461 * Makefile (INSTALL): Add install-plain.texi as the primary
15463 * manual/install-plain.texi: New file.
15464 * manual/install.texi: Include node directive only for
15465 non-plaintext output.
15467 2013-12-04 Joseph Myers <joseph@codesourcery.com>
15469 * stdlib/longlong.h: Update from GCC.
15473 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15474 * math/w_j0f.c (y0f): Likewise.
15475 * math/w_j0l.c (__y0l): Likewise.
15476 * math/w_j1.c (y1): Likewise.
15477 * math/w_j1f.c (y1f): Likewise.
15478 * math/w_j1l.c (__y1l): Likewise
15479 * math/w_jn.c (yn): Likewise.
15480 * math/w_jnf.c (ynf): Likewise.
15481 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15482 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15483 value for Bessel function domain errors outside _SVID_ mode.
15484 Adjust sign of return value for yn (negative integer, 0).
15485 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15486 by zero in return for negative x and set sign appropriately for
15488 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15489 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15490 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15491 expectations in error cases.
15492 (y1_test_data): Likewise.
15493 (yn_test_data): Likewise.
15494 * sysdeps/i386/fpu/libm-test-ulps: Update.
15495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15497 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15499 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15500 "64" to "64-v1". Add "64-v2".
15501 (abi-64-options): Rename to ...
15502 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15503 (abi-64-condition): Rename to ...
15504 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15505 (abi-64-ld-soname): Rename to ...
15506 (abi-64-v1-ld-soname): ... this.
15507 (abi-64-v2-options): Define.
15508 (abi-64-v2-condition): Likewise.
15509 (abi-64-v2-ld-soname): Likewise.
15510 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15511 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15516 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15517 Alan Modra <amodra@gmail.com>
15519 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15520 New versions for use with the ELFv2 ABI.
15521 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15522 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15524 (struct La_ppc64v2_retval): Likewise.
15525 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15526 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15527 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15528 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15529 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15530 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15531 Do not save or restore CR.
15532 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15533 (_dl_profile_resolve): Do no save or restore CR. Support extended
15534 return values for ELFv2 ABI. Fix location of FPR return registers.
15535 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15536 updated values for _CALL_ELF == 2.
15537 (La_regs, La_retval, int_retval): Likewise.
15539 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15541 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15542 (FRAME_MIN_SIZE_PARM): Likewise.
15543 (FRAME_BACKCHAIN): Likewise.
15544 (FRAME_CR_SAVE): Likewise.
15545 (FRAME_LR_SAVE): Likewise.
15546 (FRAME_TOC_SAVE): Likewise.
15547 (FRAME_PARM_SAVE): Likewise.
15548 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15549 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15550 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15551 (call_mcount_parm_offset): New macro.
15552 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15553 (PROF): Use symbolic stack frame offsets.
15554 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15555 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15556 Redefine in terms of FRAME_MIN_SIZE.
15557 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15558 (_dl_profile_resolve): Likewise. Update comment.
15559 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15560 symbols stack frame offsets.
15561 (__sigsetjmp): Likewise.
15562 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15563 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15564 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15565 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15568 (FRAME_BACKCHAIN): Remove.
15569 (FRAME_CR_SAVE): Likewise.
15570 (FRAME_LR_SAVE): Likewise.
15571 (FRAME_COMPILER_DW): Likewise.
15572 (FRAME_LINKER_DW): Likewise.
15573 (FRAME_TOC_SAVE): Likewise.
15574 (FRAME_PARM_SAVE): Likewise.
15575 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15576 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15577 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15579 (CHECK_SP): Use symbolic stack frame offsets.
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15581 zone" instead of caller's parameter save area for temp storage.
15582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15583 Likewise. Also, use symbolic stack frame offsets.
15584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15585 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15586 our own stack frame instead of the caller's.
15587 (__socket): Use symbolic stack frame offsets.
15589 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15590 Alan Modra <amodra@gmail.com>
15592 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15594 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15595 (PPC64_LOCAL_ENTRY_OFFSET): Define.
15596 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15598 (elf_machine_fixup_plt): Call it.
15599 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15601 (elf_machine_rela): Update call to elf_machine_plt_conflict.
15602 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15603 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15604 r2 before calling target.
15606 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15607 Alan Modra <amodra@gmail.com>
15609 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15610 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15611 versions of macros to support ELFv2 ABI.
15612 (LOCALENTRY): New macro.
15613 (ENTRY, EALIGN): Use it.
15614 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15615 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15616 fall through into ENTRY entry point.
15617 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15618 Only define if _CALL_ELF != 2.
15620 (elf_machine_matches_host): Verify ABI version matches.
15621 (RTLD_START): Use LOCALENTRY.
15622 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15623 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15624 (PLT_ENTRY_WORDS): New macro.
15625 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15626 (elf_machine_runtime_setup): Support ELFv2 ABI.
15627 (elf_machine_fixup_plt): Likewise.
15628 (elf_machine_plt_conflict): Likewise.
15629 (resolve_ifunc): Likewise.
15630 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15631 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15634 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15636 (makecontext): Support ELFv2 ABI.
15637 * elf/elf.h (EF_PPC64_ABI): Define.
15639 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15641 * sysdeps/powerpc/powerpc64/sysdep.h
15642 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15643 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15644 (ENTRY) [ASSEMBLER]: ... but instead here ...
15645 (EALIGN) [ASSEMBLER]: ... and here.
15646 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15647 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15648 (ENTRY_2) [!ASSEMBLER]: Use it.
15649 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15650 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
15651 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15652 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15653 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15655 Use PPC64_LOAD_FUNCPTR.
15657 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15659 2013-12-04 Alan Modra <amodra@gmail.com>
15661 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15662 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15663 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15664 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15666 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15667 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15668 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15669 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15670 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15671 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15673 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15676 (__makecontext): Fix incorrect CFI when backtracing out of
15677 context created via makecontext.
15678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15679 (__setcontext): Fix incorrect CFI during switch to new context.
15680 (__novec_setcontext): Likewise.
15682 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15685 * time/strptime_l.c (__strptime_internal): Allow modifiers
15687 * time/tst-strptime.c (day_tests): Add testcase.
15689 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15691 * scripts/bench.pl: Skip over blank lines.
15693 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15696 * manual/time.texi (Calendar Time): Clarify what timezone functions
15699 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15703 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15705 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15707 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15708 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15709 * debug/memset_chk.c (__memset_chk): Likewise.
15710 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15711 * debug/strncpy_chk.c: Likewise.
15713 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15717 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15718 (__ieee754_exp): For possibly underflowing results, check size of
15719 result and force underflow exception if required.
15720 * math/auto-libm-test-in: Add more tests of exp.
15721 * math/auto-libm-test-out: Regenerated.
15722 * sysdeps/i386/fpu/libm-test-ulps: Update.
15723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15726 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15727 * math/w_exp2f.c (__exp2f): Likewise.
15728 * math/w_exp2l.c (__exp2l): Likewise.
15729 * math/auto-libm-test-in: Do not allow missing errno on exp2
15731 * math/auto-libm-test-out: Regenerated.
15733 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
15736 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15737 handle filename validation.
15738 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15741 2013-12-03 Joseph Myers <joseph@codesourcery.com>
15744 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15745 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15746 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15748 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15749 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15750 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15752 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15753 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15754 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15755 * math/auto-libm-test-in: Don't allow missing errno from erfc.
15756 Add more erfc tests.
15757 * math/auto-libm-test-out: Regenerated.
15758 * sysdeps/i386/fpu/libm-test-ulps: Update.
15759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15761 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15762 exp2, expm1, j0 and j1.
15763 * math/auto-libm-test-out: Regenerated.
15764 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15765 (erfc_test_data): Likewise.
15766 (exp_test_data): Likewise.
15767 (exp_tonearest_test_data): Likewise.
15768 (exp_towardzero_test_data): Likewise.
15769 (exp_downward_test_data): Likewise.
15770 (exp_upward_test_data): Likewise.
15771 (exp10_test_data): Likewise.
15772 (exp2_test_data): Likewise.
15773 (expm1_test_data): Likewise.
15774 (j0_test_data): Likewise.
15775 (j1_test_data): Likewise.
15776 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15777 (input_flag_type): Add flag_xfail_rounding.
15778 (input_flags): Add xfail-rounding.
15779 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15780 (output_for_one_input_case): Handle flag_xfail_rounding.
15781 * sysdeps/i386/fpu/libm-test-ulps: Update.
15782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15784 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
15787 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15790 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15793 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15794 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15795 (STAP_PROBE0): New macro.
15796 (STAP_PROBE1): Likewise.
15797 (STAP_PROBE2): Likewise.
15798 (STAP_PROBE3): Likewise.
15799 (STAP_PROBE4): Likewise.
15801 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
15803 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15805 2013-12-02 Steve Ellcey <sellcey@mips.com>
15807 * benchtests/Makefile (bench): Add sqrt.
15808 (LDLIBS-bench-sqrt): New.
15809 * benchtests/sqrt-input: New.
15811 2013-12-02 Pavel Simerda <psimerda@redhat.com>
15813 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15814 (GAIH_EAI): Likewise.
15815 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15816 (gaih_inet): Likewise.
15817 (getaddrinfo): Don't use GAIH_EAI.
15819 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15820 (struct gaih): Remove definition.
15822 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15824 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15825 Use HERRNOP directly.
15827 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15831 2013-11-30 Joseph Myers <joseph@codesourcery.com>
15833 * math/gen-auto-libm-tests.c (test_functions): Add more
15834 single-argument functions.
15835 (special_fill_pi_2): New function.
15836 (special_fill_minus_pi_2): Likewise.
15837 (special_fill_pi_6): Likewise.
15838 (special_fill_minus_pi_6): Likewise.
15839 (special_fill_pi_3): Likewise.
15840 (special_fill_2pi_3): Likewise.
15841 (special_fill_e): Likewise.
15842 (special_fill_1_e): Likewise.
15843 (special_fill_e_minus_1): Likewise.
15844 (special_real_inputs): Add more special inputs.
15845 (output_for_one_input_case): Do not require ERANGE on underflow to
15846 zero if round-to-nearest result does not underflow to zero, unless
15847 exact results required.
15848 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15849 atan, atanh, cbrt, cos and cosh.
15850 * math/auto-libm-test-out: Regenerated.
15851 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15852 (acos_tonearest_test_data): Likewise.
15853 (acos_towardzero_test_data): Likewise.
15854 (acos_downward_test_data): Likewise.
15855 (acos_upward_test_data): Likewise.
15856 (acosh_test_data): Likewise.
15857 (asin_test_data): Likewise.
15858 (asin_tonearest_test_data): Likewise.
15859 (asin_towardzero_test_data): Likewise.
15860 (asin_upward_test_data): Likewise.
15861 (asinh_test_data): Likewise.
15862 (atan_test_data): Likewise.
15863 (atanh_test_data): Likewise.
15864 (cbrt_test_data): Likewise.
15865 (cos_test_data): Likewise.
15866 (cos_tonearest_test_data): Likewise.
15867 (cos_towardzero_test_data): Likewise.
15868 (cos_downward_test_data): Likewise.
15869 (cos_upward_test_data): Likewise.
15870 (cosh_test_data): Likewise.
15871 (cosh_tonearest_test_data): Likewise.
15872 (cosh_towardzero_test_data): Likewise.
15873 (cosh_downward_test_data): Likewise.
15874 (cosh_upward_test_data): Likewise.
15875 * sysdeps/i386/fpu/libm-test-ulps: Update.
15876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15878 2013-11-29 Joseph Myers <joseph@codesourcery.com>
15881 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15882 * math/w_exp10f.c (__exp10f): Likewise.
15883 * math/w_exp10l.c (__exp10l): Likewise.
15884 * math/libm-test.inc (exp10_test_data): Add more tests and expect
15885 errno settings in existing tests.
15888 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15889 precision control set to double precision.
15890 * sysdeps/i386/fpu/w_sqrt.c: New file.
15891 * math/auto-libm-test-in: Add more tests.
15892 * math/auto-libm-test-out: Update.
15894 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15895 (sqrt_test_tonearest): New function.
15896 (sqrt_towardzero_test_data): New variable.
15897 (sqrt_test_towardzero): New function.
15898 (sqrt_downward_test_data): New variable.
15899 (sqrt_test_downward): New function.
15900 (sqrt_upward_test_data): New variable.
15901 (sqrt_test_upward): New function.
15902 (main): Call the new functions.
15904 * math/gen-auto-libm-tests.c: New file.
15905 * math/auto-libm-test-in: Likewise.
15906 * math/auto-libm-test-out: New generated file.
15907 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15909 (%beautify): Add generated representations of zero.
15910 (top level): Set $auto_input and call parse_auto_input.
15911 (beautify): Remove trailing "f" from hex float constants.
15912 (parse_args): Handle XFAIL_TEST.
15913 (convert_condition): New function.
15914 (or_value): Likewise.
15915 (or_cond_value): Likewise.
15916 (generate_testfile): Handle AUTO_TESTS_* lines.
15917 (parse_auto_input): New function.
15918 * math/libm-test.inc (XFAIL_TEST): New macro.
15919 (ERRNO_UNCHANGED): Update value.
15920 (ERRNO_EDOM): Likewise.
15921 (ERRNO_ERANGE): Likewise.
15922 (IGNORE_RESULT): Likewise.
15923 (TEST_COND_flt_32): New macro.
15924 (TEST_COND_dbl_64): Likewise.
15925 (TEST_COND_ldbl_96_intel): Likewise.
15926 (TEST_COND_ldbl_96_m68k): Likewise.
15927 (TEST_COND_ldbl_128): Likewise.
15928 (TEST_COND_ldbl_128ibm): Likewise.
15929 (TEST_COND_long32): Likewise.
15930 (TEST_COND_long64): Likewise.
15931 (TEST_COND_before_rounding): Likewise.
15932 (TEST_COND_after_rounding): Likewise.
15933 (enable_test): Handle XFAIL_TEST flag.
15934 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15935 with finite results.
15936 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15937 auto-libm-test-out.
15939 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15940 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15943 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15944 __tls_get_addr_internal instead of __tls_get_offset in order to
15945 avoid GOT pointer dependency. Make rtld export
15946 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15947 __tls_get_addr since we are a __tls_get_offset platform.
15948 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15949 GOT pointer being set up before.
15950 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15952 2013-11-28 Joseph Myers <joseph@codesourcery.com>
15954 * manual/math.texi (Errors in Math Functions): Document accuracy
15958 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15959 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15960 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15961 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15962 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15963 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15964 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15965 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15966 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15969 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15970 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15971 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15975 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15976 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15977 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15978 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15979 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15981 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15983 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15985 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15986 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15987 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15988 atomic-feupdateenv and flt-rounds.
15989 * sysdeps/powerpc/nofpu/Versions (libc): Add
15990 __atomic_feholdexcept, __atomic_feclearexcept,
15991 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15992 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15993 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15994 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15995 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16000 * manual/arith.texi (FP Exceptions): Document that exceptions may
16001 not be raised when matherr is used.
16002 (Math Error Reporting): Document overflow in directed rounding
16003 modes. Document that errno may not be set when finite values are
16004 returned on overflow. Document intent to set errno on underflow
16005 only for underflow to zero.
16008 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16009 round-to-nearest then adjust result for other rounding modes.
16010 * include/fenv.h (fegetround): Use libm_hidden_proto.
16011 * math/fegetround.c (fegetround): Use libm_hidden_def.
16012 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16013 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16014 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16015 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16017 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16018 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16019 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16020 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16022 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16025 * nss/Versions (libnss_files): Add
16026 _nss_files_gethostbyname3_r.
16027 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16029 (HOST_DB_LOOKUP): Remove macro.
16030 (_nss_files_gethostbyname_r): Implement function without the
16031 HOST_DB_LOOKUP macro.
16032 (_nss_files_gethostbyname2_r): Likewise.
16034 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
16036 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16038 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
16040 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16041 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16044 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16046 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16047 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16048 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16049 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16050 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16051 __fe_nomask_env_priv and attribute_hidden.
16052 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16053 (libc_feupdateenv_test_ppc): Likewise.
16054 (libc_feresetround_ppc): Likewise.
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16056 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16057 compat_symbol macro.
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16059 (__fe_nomask_env): Likewise.
16060 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16062 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16064 * string/Makefile: Remove ifunc tests.
16065 * string/test-string.h: Define TEST_IFUNC.
16066 * string/test-bcopy-ifunc.c: Remove.
16067 * string/test-bzero-ifunc.c: Likewise.
16068 * string/test-memccpy-ifunc.c: Likewise.
16069 * string/test-memchr-ifunc.c: Likewise.
16070 * string/test-memcmp-ifunc.c: Likewise.
16071 * string/test-memcpy-ifunc.c: Likewise.
16072 * string/test-memmem-ifunc.c: Likewise.
16073 * string/test-memmove-ifunc.c: Likewise.
16074 * string/test-mempcpy-ifunc.c: Likewise.
16075 * string/test-memrchr-ifunc.c: Likewise.
16076 * string/test-memset-ifunc.c: Likewise.
16077 * string/test-rawmemchr-ifunc.c: Likewise.
16078 * string/test-stpcpy-ifunc.c: Likewise.
16079 * string/test-stpncpy-ifunc.c: Likewise.
16080 * string/test-strcasecmp-ifunc.c: Likewise.
16081 * string/test-strcasestr-ifunc.c: Likewise.
16082 * string/test-strcat-ifunc.c: Likewise.
16083 * string/test-strchr-ifunc.c: Likewise.
16084 * string/test-strchrnul-ifunc.c: Likewise.
16085 * string/test-strcmp-ifunc.c: Likewise.
16086 * string/test-strcpy-ifunc.c: Likewise.
16087 * string/test-strcspn-ifunc.c: Likewise.
16088 * string/test-strlen-ifunc.c: Likewise.
16089 * string/test-strncasecmp-ifunc.c: Likewise.
16090 * string/test-strncat-ifunc.c: Likewise.
16091 * string/test-strncmp-ifunc.c: Likewise.
16092 * string/test-strncpy-ifunc.c: Likewise.
16093 * string/test-strnlen-ifunc.c: Likewise.
16094 * string/test-strpbrk-ifunc.c: Likewise.
16095 * string/test-strrchr-ifunc.c: Likewise.
16096 * string/test-strspn-ifunc.c: Likewise.
16097 * string/test-strstr-ifunc.c: Likewise.
16099 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16101 * benchtests/Makefile: Remove ifunc tests.
16102 * benchtests/bench-string.h: Define TEST_IFUNC.
16103 * benchtests/bench-bcopy-ifunc.c: Remove.
16104 * benchtests/bench-bzero-ifunc.c: Likewise.
16105 * benchtests/bench-memccpy-ifunc.c: Likewise.
16106 * benchtests/bench-memchr-ifunc.c: Likewise.
16107 * benchtests/bench-memcmp-ifunc.c: Likewise.
16108 * benchtests/bench-memcpy-ifunc.c: Likewise.
16109 * benchtests/bench-memmem-ifunc.c: Likewise.
16110 * benchtests/bench-memmove-ifunc.c: Likewise.
16111 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16112 * benchtests/bench-memrchr-ifunc.c: Likewise.
16113 * benchtests/bench-memset-ifunc.c: Likewise.
16114 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16115 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16116 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16117 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16118 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16119 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16120 * benchtests/bench-strcat-ifunc.c: Likewise.
16121 * benchtests/bench-strchr-ifunc.c: Likewise.
16122 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16123 * benchtests/bench-strcmp-ifunc.c: Likewise.
16124 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16125 * benchtests/bench-strcpy-ifunc.c: Likewise.
16126 * benchtests/bench-strcspn-ifunc.c: Likewise.
16127 * benchtests/bench-strlen-ifunc.c: Likewise.
16128 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16129 * benchtests/bench-strncat-ifunc.c: Likewise.
16130 * benchtests/bench-strncmp-ifunc.c: Likewise.
16131 * benchtests/bench-strncpy-ifunc.c: Likewise.
16132 * benchtests/bench-strnlen-ifunc.c: Likewise.
16133 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16134 * benchtests/bench-strrchr-ifunc.c: Likewise.
16135 * benchtests/bench-strsep-ifunc.c: Likewise.
16136 * benchtests/bench-strspn-ifunc.c: Likewise.
16137 * benchtests/bench-strstr-ifunc.c: Likewise.
16139 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16141 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16143 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16145 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16146 * rt/aio.h: Likewise.
16147 * sysdeps/gnu/bits/utmp.h: Likewise.
16148 * sysdeps/gnu/bits/utmpx.h: Likewise.
16149 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16150 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16151 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16152 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16153 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16154 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16155 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16156 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16157 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16158 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16159 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16160 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16161 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16163 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16164 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16165 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16166 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16167 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16168 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16169 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16170 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16171 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16172 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16173 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16175 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16176 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16177 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16178 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16179 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16180 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16181 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16182 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16183 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16184 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16185 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16186 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16187 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16188 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16189 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16190 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16192 2013-11-25 Carlos O'Donell <carlos@redhat.com>
16195 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16196 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16198 2013-11-25 Joseph Myers <joseph@codesourcery.com>
16200 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16201 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16204 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16206 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16207 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16208 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16209 (__fesetround): Remove define.
16210 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16211 rounding and exceptions handling.
16212 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16213 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16214 (__fe_nomask_env): Likewise.
16215 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16216 __fegetround instead of fegetround.
16217 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16218 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16220 2013-11-21 Roland McGrath <roland@hack.frob.com>
16222 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16225 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16227 2013-11-21 Meador Inge <meadori@codesourcery.com>
16230 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16231 (encrypt_r): Likewise.
16232 * malloc/obstack.h (obstack_free): Likewise.
16233 * posix/unistd.h (encrypt): Likewise.
16235 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16237 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16238 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16239 DL_CALL_DT_FINI() that call the functions directly.
16240 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16241 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16242 * elf/dl-fini.c: Likewise.
16244 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
16246 * malloc/hooks.c (memalign_check): Add alignment rounding.
16247 * malloc/malloc.c (_mid_memalign): New function.
16248 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16249 Implement by calling _mid_memalign.
16250 * manual/probes.texi (Memory Allocation Probes): Remove
16251 memory_valloc_retry and memory_pvalloc_retry.
16253 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16255 * locale/programs/locarchive.c (open_archive): Add const
16256 qualifier to ARCHIVEFNAME and copy default fname to
16260 * libio/tst-widetext.input: Rename Oriya to Odia.
16261 * locale/iso-639.def: Likewise.
16263 * manual/probes.texi (Mathematical Function Probes): Add
16264 documentation for sin, cos, asin and acos probes.
16265 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16266 (__sin32): Add slowasin probe.
16267 (__cos32): Add slowacos probe.
16268 (__mpsin): Add slowsin probe.
16269 (__mpcos): Add slowcos probe.
16271 2013-11-19 Joseph Myers <joseph@codesourcery.com>
16274 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16275 thread-local __sim_exceptions_thread and global
16276 __sim_exceptions_global.
16277 (__sim_disabled_exceptions): Change to thread-local
16278 __sim_disabled_exceptions_thread and global
16279 __sim_disabled_exceptions_global.
16280 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16281 and global __sim_round_mode_global.
16282 (__simulate_exceptions): Use thread-local floating-point state and
16283 set global state from it as needed.
16284 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16285 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16286 __sim_round_mode_thread.
16287 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16288 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16289 and global __sim_exceptions_global.
16290 (__sim_disabled_exceptions): Change to thread-local
16291 __sim_disabled_exceptions_thread and global
16292 __sim_disabled_exceptions_global.
16293 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16294 and global __sim_round_mode_global.
16295 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16296 (SIM_SET_GLOBAL): Likewise.
16297 * sysdeps/powerpc/soft-fp/sfp-machine.h
16298 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16299 __sim_round_mode_thread.
16300 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16301 __sim_disabled_exceptions_thread.
16302 (__sim_exceptions): Change to __sim_exceptions_thread.
16303 (__sim_disabled_exceptions): Change to
16304 __sim_disabled_exceptions_thread.
16305 (__sim_round_mode): Change to __sim_round_mode_thread.
16306 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16307 thread-local floating-point state and set global state from it as
16309 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16310 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16311 (__sim_disabled_exceptions): Remove extern declaration.
16312 (feenableexcept): Use thread-local floating-point state and set
16313 global state from it as needed.
16314 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16315 extern declaration.
16316 (__sim_disabled_exceptions): Likewise.
16317 (__sim_round_mode): Likewise.
16318 (__fegetenv): Use thread-local floating-point state.
16319 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16320 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16321 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16322 floating-point state and set global state from it as needed.
16323 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16324 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16325 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16327 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16328 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16330 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16331 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16332 Use __sim_round_mode_thread.
16333 * math/test-fenv-tls.c: New file.
16334 * math/Makefile (tests): Add test-fenv-tls.
16335 ($(objpfx)test-fenv-tls): Depend on
16336 $(common-objpfx)nptl/libpthread.so.
16338 2013-11-19 Andreas Schwab <schwab@suse.de>
16340 * locale/programs/locale.c (show_info): Decode wordarray elements.
16341 * locale/categories.def (LC_MONETARY): Add element for
16342 _NL_MONETARY_CRNCYSTR.
16343 * locale/C-monetary.c (conversion_rate): New variable.
16344 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16347 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16349 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16350 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16352 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16354 * elf/Makefile (tst-auxv): New test.
16355 * elf/tst-auxv.c: New
16356 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16358 2013-11-18 Joseph Myers <joseph@codesourcery.com>
16360 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16361 (hidden_proto): Caller changed.
16362 (hidden_tls_proto): New macro.
16363 (libc_hidden_tls_proto): Likewise.
16364 (rtld_hidden_tls_proto): Likewise.
16365 (libm_hidden_tls_proto): Likewise.
16366 (libresolv_hidden_tls_proto): Likewise.
16367 (librt_hidden_tls_proto): Likewise.
16368 (libdl_hidden_tls_proto): Likewise.
16369 (libnss_files_hidden_tls_proto): Likewise.
16370 (libnsl_hidden_tls_proto): Likewise.
16371 (libnss_nisplus_hidden_tls_proto): Likewise.
16372 (libutil_hidden_tls_proto): Likewise.
16374 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
16377 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16378 (decompose_rpath): Defer expansion to fillin_rpath.
16379 (_dl_init_paths): Pass linkmap to fillin_rpath.
16381 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16383 * benchtests/Makefile: Add strsep.
16384 * benchtests/bench-strsep.c: New file: strsep benchtest.
16385 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16387 2013-11-18 Andreas Schwab <schwab@suse.de>
16389 * locale/programs/locale.c (show_info) [case byte]: Check for
16390 '\377' instead of '\177'.
16391 * locale/C-monetary.c (not_available): Always use "\377".
16392 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16393 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16394 detect unavailable sign_posn locale elements.
16395 * locale/localeconv.c (__localeconv): For grouping and
16396 mon_grouping handle "\177" and "\377" like no grouping.
16397 (INT_ELEM): New macro. Use it to set all numeric members.
16398 * locale/programs/ld-monetary.c (monetary_read)
16399 <tok_mon_grouping>: Normalize single -1 to the empty string.
16400 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16403 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16406 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16407 when we match (nil).
16408 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16410 2013-11-16 Joseph Myers <joseph@codesourcery.com>
16412 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16413 (NO_TEST_INLINE): Update value.
16414 (ERRNO_UNCHANGED): Likewise.
16415 (ERRNO_EDOM): Likewise.
16416 (ERRNO_ERANGE): Likewise.
16417 (IGNORE_RESULT): Likewise.
16418 (check_float_internal): Check signs of NaN results if
16419 TEST_NAN_SIGN used.
16420 (check_complex): Pass TEST_NAN_SIGN flag through to second
16421 check_float_internal call.
16422 (copysign_test_data): Add tests with quiet NaNs as second
16423 argument. Use TEST_NAN_SIGN.
16424 (fabs_test_data): Add test of negative quiet NaN argument. Use
16426 (signbit_test_data): Add tests of quiet NaN argument.
16427 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16429 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16431 (parse_args): Handle function results specified as IGNORE.
16432 * math/libm-test.inc (IGNORE_RESULT): New macro.
16433 (check_float_internal): Do not check numerical result if flag
16435 (check_complex): Pass through IGNORE_RESULT to second
16436 check_float_internal call.
16437 (check_int): Do not check numerical result if flag IGNORE_RESULT
16439 (check_long): Likewise.
16440 (check_bool): Likewise.
16441 (check_longlong): Likewise.
16442 (lrint_test_data): Add tests of infinite and NaN arguments.
16443 (lrint_tonearest_test_data): Likewise.
16444 (lrint_towardzero_test_data): Likewise.
16445 (lrint_downward_test_data): Likewise.
16446 (lrint_upward_test_data): Likewise.
16447 (llrint_test_data): Likewise.
16448 (llrint_tonearest_test_data): Likewise.
16449 (llrint_towardzero_test_data): Likewise.
16450 (llrint_downward_test_data): Likewise.
16451 (llrint_upward_test_data): Likewise.
16452 (lround_test_data): Likewise.
16453 (llround_test_data): Likewise.
16455 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16456 (ERRNO_UNCHANGED): Update value.
16457 (ERRNO_EDOM): Likewise.
16458 (ERRNO_ERANGE): Likewise.
16459 (NO_TEST_INLINE_FLOAT): New macro.
16460 (NO_TEST_INLINE_DOUBLE): Likewise.
16461 (enable_test): New function.
16462 (RUN_TEST_f_f): Check enable_test before running test.
16463 (RUN_TEST_2_f): Likewise.
16464 (RUN_TEST_fff_f): Likewise.
16465 (RUN_TEST_c_f): Likewise.
16466 (RUN_TEST_f_f1): Likewise.
16467 (RUN_TEST_fF_f1): Likewise.
16468 (RUN_TEST_fI_f1): Likewise.
16469 (RUN_TEST_ffI_f1): Likewise.
16470 (RUN_TEST_c_c): Likewise.
16471 (RUN_TEST_cc_c): Likewise.
16472 (RUN_TEST_f_i): Likewise.
16473 (RUN_TEST_f_i_tg): Likewise.
16474 (RUN_TEST_ff_i_tg): Likewise.
16475 (RUN_TEST_f_b): Likewise.
16476 (RUN_TEST_f_b_tg): Likewise.
16477 (RUN_TEST_f_l): Likewise.
16478 (RUN_TEST_f_L): Likewise.
16479 (RUN_TEST_fFF_11): Likewise.
16480 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16482 (cosh_test_data): Likewise.
16483 (exp_test_data): Likewise.
16484 (expm1_test_data): Likewise.
16485 (hypot_test_data): Likewise.
16486 (pow_test_data): Likewise.
16487 (sinh_test_data): Likewise.
16488 (tanh_test_data): Likewise.
16489 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16492 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16493 tests with quiet NaN input and output.
16494 (acosh_test_data): Likewise.
16495 (asin_test_data): Likewise.
16496 (asinh_test_data): Likewise.
16497 (atan_test_data): Likewise.
16498 (atanh_test_data): Likewise.
16499 (atan2_test_data): Likewise.
16500 (cbrt_test_data): Likewise.
16501 (cos_test_data): Likewise.
16502 (cosh_test_data): Likewise.
16503 (erf_test_data): Likewise.
16504 (erfc_test_data): Likewise.
16505 (exp_test_data): Likewise.
16506 (exp10_test_data): Likewise.
16507 (exp2_test_data): Likewise.
16508 (expm1_test_data): Likewise.
16509 (hypot_test_data): Likewise.
16510 (j0_test_data): Likewise.
16511 (j1_test_data): Likewise.
16512 (jn_test_data): Likewise.
16513 (lgamma_test_data): Likewise.
16514 (log_test_data): Likewise.
16515 (log10_test_data): Likewise.
16516 (log1p_test_data): Likewise.
16517 (log2_test_data): Likewise.
16518 (pow_test_data): Likewise.
16519 (scalb_test_data): Likewise.
16520 (sin_test_data): Likewise.
16521 (sincos_test_data): Likewise.
16522 (sinh_test_data): Likewise.
16523 (tan_test_data): Likewise.
16524 (tanh_test_data): Likewise.
16525 (tgamma_test_data): Likewise.
16526 (y0_test_data): Likewise.
16527 (y1_test_data): Likewise.
16528 (yn_test_data): Likewise.
16531 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16532 argument being NaN and avoid computations with second argument in
16534 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16535 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16536 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16538 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16540 * locale/iso-639.def: Add Chitwani Tharu (the).
16542 2013-11-14 Andreas Schwab <schwab@suse.de>
16544 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16545 word instead of empty string.
16547 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16550 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16552 (__fe_nomask_env): Likewise.
16554 2013-11-13 Steve Ellcey <sellcey@mips.com>
16556 * benchtests/bench-timing.h: Include time.h.
16558 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16561 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16563 * sysdeps/unix/sysv/linux/configure: Regenerated.
16565 2013-11-13 Joseph Myers <joseph@codesourcery.com>
16568 * stdlib/strtod_l.c (round_and_return): Do not consider
16569 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16570 exponent one less than half the least subnormal exponent.
16571 * stdlib/test-strtod-round-data: Add more tests.
16572 * stdlib/tst-strtod-round.c (tests): Regenerated.
16574 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16577 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16578 (__fe_mask_env): Likewise.
16579 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16580 libm_hidden_proto and add function prototype.
16581 (__fe_mask_env): Add function prototype.
16582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16583 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16585 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16587 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16589 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16591 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16592 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16594 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16596 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16597 of htab_find_slot().
16599 2013-11-11 David S. Miller <davem@davemloft.net>
16602 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16603 symbol in the non-vis3 case in static builds.
16604 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16605 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16606 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16607 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16609 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16612 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16615 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16617 * benchtests/Makefile: Add bench-strtod.
16618 * benchtests/bench-strtod.c: New file: strtod benchtest
16620 2013-11-11 Andreas Schwab <schwab@suse.de>
16623 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16624 terminating NUL in key length.
16626 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16628 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16629 Add artificial ODP entry for vDSO symbol for PPC64.
16630 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16631 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16633 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16636 * nss/getent.c (services_keys): Recognize services starting with digit.
16638 2013-11-06 David S. Miller <davem@davemloft.net>
16641 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16642 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16644 2013-11-06 Will Newton <will.newton@linaro.org>
16646 * manual/memory.texi (Malloc Examples): Remove register
16647 keyword from examples.
16649 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
16651 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16653 2013-11-04 Joseph Myers <joseph@codesourcery.com>
16656 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16657 depending on [__GCC_IEC_559 > 0].
16658 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16659 depending on [__GCC_IEC_559_COMPLEX > 0].
16661 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
16663 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16666 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
16668 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16670 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
16673 * malloc/malloc (malloc_info): Do not handle first bin as
16676 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
16678 * locale/iso-639.def: Add Central Nahuatl (nhn).
16680 2013-11-01 Bruno Haible <bruno@clisp.org>
16683 * manual/math.texi (BSD Random): Specify range upper bound as
16686 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
16688 * locale/iso-639.def: Add Meadow Mari (mhr).
16690 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
16692 [BZ #14752], [BZ #15763]
16693 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16695 * rt/tst_shm.c: Add test for escaping directory.
16697 2013-10-31 Andreas Schwab <schwab@suse.de>
16700 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16701 followed by 'x' as part of digit sequence.
16702 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16704 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16707 * configure.ac: allow GNU Make 4.0 and greater.
16708 * configure: Regenerated.
16710 2013-10-30 Will Newton <will.newton@linaro.org>
16713 * malloc/hooks.c (memalign_check): Limit alignment to the
16714 maximum representable power of two.
16715 * malloc/malloc.c (__libc_memalign): Likewise.
16716 * malloc/tst-memalign.c (do_test): Add test for very
16717 large alignment values.
16718 * malloc/tst-posix_memalign.c (do_test): Likewise.
16720 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
16723 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16724 (munmap_chunk): Likewise.
16725 (mremap_chunk): Likewise.
16727 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
16730 * stdlib/div.c (div): Remove obsolete code.
16731 * stdlib/ldiv.c (ldiv): Likewise.
16732 * stdlib/lldiv.c (lldiv): Likewise.
16734 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16737 * nss/nss_files/files-XXX.c (get_contents_ret): New
16739 (get_contents): New function.
16740 (internal_getent): Use it. Expand size of LINEBUFLEN.
16742 2013-10-30 Mike Frysinger <vapier@gentoo.org>
16744 * configure.in: Moved to ...
16745 * configure.ac: ... here. Change reference to configure.in
16747 * sysdeps/arm/preconfigure.ac: ... here.
16748 configure.in to configure.ac.
16749 * sysdeps/gnu/configure.in: Moved to ...
16750 * sysdeps/gnu/configure.ac: ... here.
16751 * sysdeps/i386/configure.in: Moved to ...
16752 * sysdeps/i386/configure.ac: ... here.
16753 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16754 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16755 * sysdeps/mach/configure.in: Moved to ...
16756 * sysdeps/mach/configure.ac: ... here.
16757 * sysdeps/mach/hurd/configure.in: Moved to ...
16758 * sysdeps/mach/hurd/configure.ac: ... here.
16759 * sysdeps/powerpc/configure.in: Moved to ...
16760 * sysdeps/powerpc/configure.ac: ... here.
16761 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16762 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16763 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16764 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16765 * sysdeps/s390/s390-32/configure.in: Moved to ...
16766 * sysdeps/s390/s390-32/configure.ac: ... here.
16767 * sysdeps/s390/s390-64/configure.in: Moved to ...
16768 * sysdeps/s390/s390-64/configure.ac: ... here.
16769 * sysdeps/sh/configure.in: Moved to ...
16770 * sysdeps/sh/configure.ac: ... here.
16771 * sysdeps/sparc/configure.in: Moved to ...
16772 * sysdeps/sparc/configure.ac: ... here.
16773 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16774 * sysdeps/unix/sysv/linux/configure.ac: ... here.
16775 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16776 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16777 * sysdeps/x86_64/configure.in: Moved to ...
16778 * sysdeps/x86_64/configure.ac: ... here.
16779 * sysdeps/x86_64/preconfigure.in: Moved to ...
16780 * sysdeps/x86_64/preconfigure.ac: ... here.
16781 * aclocal.m4: Change reference to configure.in to configure.ac.
16782 * config.h.in: Likewise.
16783 * manual/install.texi: Likewise.
16784 * manual/maint.texi: Likewise.
16785 * Makefile: Likewise.
16786 * malloc/Makefile: Likewise.
16787 * nscd/Makefile: Likewise.
16788 * Makeconfig: Change reference to configure.in and
16789 preconfigure.in to configure.ac and preconfigure.ac
16791 * INSTALL: Regenerated.
16792 * configure: Likewise.
16793 * sysdeps/gnu/configure: Likewise.
16794 * sysdeps/i386/configure: Likewise.
16795 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16796 * sysdeps/mach/configure: Likewise.
16797 * sysdeps/mach/hurd/configure: Likewise.
16798 * sysdeps/powerpc/configure: Likewise.
16799 * sysdeps/powerpc/powerpc32/configure: Likewise.
16800 * sysdeps/powerpc/powerpc64/configure: Likewise.
16801 * sysdeps/s390/s390-32/configure: Likewise.
16802 * sysdeps/s390/s390-64/configure: Likewise.
16803 * sysdeps/sh/configure: Likewise.
16804 * sysdeps/sparc/configure: Likewise.
16805 * sysdeps/unix/sysv/linux/configure: Likewise.
16806 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16807 * sysdeps/x86_64/configure: Likewise.
16808 * sysdeps/x86_64/preconfigure: Likewise.
16810 2013-10-29 Andreas Schwab <schwab@suse.de>
16812 * stdio-common/Makefile (tst-swscanf-ENV): Define.
16814 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16816 * benchtests/pow-inputs: Add new inputs.
16818 * benchtests/exp-inputs: Add new inputs.
16820 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16821 conditional check for return value.
16822 (__cos32): Likewise.
16824 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16826 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16827 to provide a boost for large inputs with word alignment.
16828 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16829 implementation based on optimized PPC64 strcpy.
16830 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16831 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16832 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16833 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16835 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16838 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16840 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16843 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16844 * time/tst-strptime.c (day_tests): Add testcase.
16846 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
16849 * manual/pattern.texi: Acknowledge that fnmatch can fail.
16851 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
16854 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16855 MAP_FAILED on error.
16857 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16860 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16861 heap for large requests.
16863 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
16866 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16867 result if the result has no associated interface.
16868 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16869 interface for all 127.X.Y.Z addresses.
16871 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
16873 * locale/iso-639.def: Add Ligurian (lij)
16875 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
16878 * sunrpc/rpc_main.c: Document rpcgen -5.
16880 2013-10-19 Michael Stahl <mstahl@redhat.com>
16882 * elf/rtld.c (do_preload): Print the reason why preloading failed.
16884 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16887 * posix/glob.c: Match only directories when trailing slash is present.
16888 * posix/tst-gnuglob.c (my_opendir): Do not open files.
16889 (main): Add testcase.
16891 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
16894 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16896 2013-10-18 Carlos O'Donell <carlos@redhat.com>
16898 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16899 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16900 AUTH_DES and cindex for FIPS 140-2.
16901 (DES Encryption): Add cindex FIPS 46-3.
16903 * locale/locarchive.h (struct locarhandle): Add fname.
16904 * locale/programs/localedef.c (main): Pass ARGV[remaining]
16905 if an optional argument was specified to --list-archive,
16907 * locale/programs/locarchive.c (show_archive_content): Take new
16908 argument fname and pass it via ah.fname to open_archive.
16909 * locale/programs/localedef.h: Update decl.
16910 (open_archive): If AH->fname is non-null, open that file
16911 rather than the default file name, and don't ignore ENOENT.
16912 (create_archive): Set AH.fname to NULL.
16913 (delete_locales_from_archive): Likewise.
16914 (add_locales_to_archive): Likewise.
16915 * locale/programs/locfile.c (write_all_categories): Likewise.
16917 2013-10-18 Joseph Myers <joseph@codesourcery.com>
16918 Aldy Hernandez <aldyh@redhat.com>
16920 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16921 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16922 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16923 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16924 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16925 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16926 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16927 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16928 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16929 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16930 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16931 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16932 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16933 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16934 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16936 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16938 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16940 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16942 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16943 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16945 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16946 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16947 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16948 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16950 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16951 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16952 * sysdeps/powerpc/preconfigure: Likewise.
16953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16955 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16956 Replace contents of file by #include of <fenv_libc.h>.
16957 * sysdeps/powerpc/soft-fp/sfp-machine.h
16958 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16960 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16961 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16962 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16963 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16964 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16965 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16967 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16968 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16969 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16970 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16971 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16973 Allow copysignl PLT reference to be missing.
16975 2013-10-18 Richard Sandiford <richard@codesourcery.com>
16976 Joseph Myers <joseph@codesourcery.com
16979 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16981 (add_to_tablewc): Assert sequence of wide characters is nonempty.
16983 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16985 * elf/tst-tls-dlinfo.c: Don't include tls.h.
16986 * elf/tst-tls1.c: Likewise.
16987 * elf/tst-tls10.h: Likewise.
16988 * elf/tst-tls14.c: Likewise.
16989 * elf/tst-tls2.c: Likewise.
16990 * elf/tst-tls3.c: Likewise.
16991 * elf/tst-tls4.c: Likewise.
16992 * elf/tst-tls5.c: Likewise.
16993 * elf/tst-tls6.c: Likewise.
16994 * elf/tst-tls7.c: Likewise.
16995 * elf/tst-tls8.c: Likewise.
16996 * elf/tst-tls9.c: Likewise.
16997 * elf/tst-tlsmod1.c: Likewise.
16998 * elf/tst-tlsmod13.c: Likewise.
16999 * elf/tst-tlsmod13a.c: Likewise.
17000 * elf/tst-tlsmod14a.c: Likewise.
17001 * elf/tst-tlsmod16a.c: Likewise.
17002 * elf/tst-tlsmod16b.c: Likewise.
17003 * elf/tst-tlsmod2.c: Likewise.
17004 * elf/tst-tlsmod3.c: Likewise.
17005 * elf/tst-tlsmod4.c: Likewise.
17006 * elf/tst-tlsmod5.c: Likewise.
17007 * elf/tst-tlsmod6.c: Likewise.
17009 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17012 * malloc/malloc.c: remove checks for statistics.
17014 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17017 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17018 * inet/tst-network.c: Add testcase.
17020 2013-10-17 Andreas Schwab <schwab@suse.de>
17023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17024 to determine canonical name.
17026 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17028 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17029 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17031 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17033 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17034 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17035 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17036 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17037 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17038 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17039 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17040 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17041 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17042 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17043 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17045 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17046 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17047 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17051 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17052 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17053 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17056 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17058 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17087 2013-10-17 Joseph Myers <joseph@codesourcery.com>
17090 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17091 make result into a quiet NaN.
17093 2013-10-16 Joseph Myers <joseph@codesourcery.com>
17095 * soft-fp/adddf3.c: Fix horizontal whitespace.
17096 * soft-fp/addsf3.c: Likewise.
17097 * soft-fp/addtf3.c: Likewise.
17098 * soft-fp/divdf3.c: Likewise.
17099 * soft-fp/divsf3.c: Likewise.
17100 * soft-fp/divtf3.c: Likewise.
17101 * soft-fp/double.h: Likewise.
17102 * soft-fp/eqdf2.c: Likewise.
17103 * soft-fp/eqsf2.c: Likewise.
17104 * soft-fp/eqtf2.c: Likewise.
17105 * soft-fp/extenddftf2.c: Likewise.
17106 * soft-fp/extended.h: Likewise.
17107 * soft-fp/extendsfdf2.c: Likewise.
17108 * soft-fp/extendsftf2.c: Likewise.
17109 * soft-fp/extendxftf2.c: Likewise.
17110 * soft-fp/fixdfdi.c: Likewise.
17111 * soft-fp/fixdfsi.c: Likewise.
17112 * soft-fp/fixdfti.c: Likewise.
17113 * soft-fp/fixsfdi.c: Likewise.
17114 * soft-fp/fixsfsi.c: Likewise.
17115 * soft-fp/fixsfti.c: Likewise.
17116 * soft-fp/fixtfdi.c: Likewise.
17117 * soft-fp/fixtfsi.c: Likewise.
17118 * soft-fp/fixtfti.c: Likewise.
17119 * soft-fp/fixunsdfdi.c: Likewise.
17120 * soft-fp/fixunsdfsi.c: Likewise.
17121 * soft-fp/fixunsdfti.c: Likewise.
17122 * soft-fp/fixunssfdi.c: Likewise.
17123 * soft-fp/fixunssfsi.c: Likewise.
17124 * soft-fp/fixunssfti.c: Likewise.
17125 * soft-fp/fixunstfdi.c: Likewise.
17126 * soft-fp/fixunstfsi.c: Likewise.
17127 * soft-fp/fixunstfti.c: Likewise.
17128 * soft-fp/floatdidf.c: Likewise.
17129 * soft-fp/floatdisf.c: Likewise.
17130 * soft-fp/floatditf.c: Likewise.
17131 * soft-fp/floatsidf.c: Likewise.
17132 * soft-fp/floatsisf.c: Likewise.
17133 * soft-fp/floatsitf.c: Likewise.
17134 * soft-fp/floattidf.c: Likewise.
17135 * soft-fp/floattisf.c: Likewise.
17136 * soft-fp/floattitf.c: Likewise.
17137 * soft-fp/floatundidf.c: Likewise.
17138 * soft-fp/floatundisf.c: Likewise.
17139 * soft-fp/floatunditf.c: Likewise.
17140 * soft-fp/floatunsidf.c: Likewise.
17141 * soft-fp/floatunsisf.c: Likewise.
17142 * soft-fp/floatunsitf.c: Likewise.
17143 * soft-fp/floatuntidf.c: Likewise.
17144 * soft-fp/floatuntisf.c: Likewise.
17145 * soft-fp/floatuntitf.c: Likewise.
17146 * soft-fp/fmadf4.c: Likewise.
17147 * soft-fp/fmasf4.c: Likewise.
17148 * soft-fp/fmatf4.c: Likewise.
17149 * soft-fp/gedf2.c: Likewise.
17150 * soft-fp/gesf2.c: Likewise.
17151 * soft-fp/getf2.c: Likewise.
17152 * soft-fp/ledf2.c: Likewise.
17153 * soft-fp/lesf2.c: Likewise.
17154 * soft-fp/letf2.c: Likewise.
17155 * soft-fp/muldf3.c: Likewise.
17156 * soft-fp/mulsf3.c: Likewise.
17157 * soft-fp/multf3.c: Likewise.
17158 * soft-fp/negdf2.c: Likewise.
17159 * soft-fp/negsf2.c: Likewise.
17160 * soft-fp/negtf2.c: Likewise.
17161 * soft-fp/op-1.h: Likewise.
17162 * soft-fp/op-2.h: Likewise.
17163 * soft-fp/op-4.h: Likewise.
17164 * soft-fp/op-8.h: Likewise.
17165 * soft-fp/op-common.h: Likewise.
17166 * soft-fp/quad.h: Likewise.
17167 * soft-fp/single.h: Likewise.
17168 * soft-fp/soft-fp.h: Likewise.
17169 * soft-fp/sqrtdf2.c: Likewise.
17170 * soft-fp/sqrtsf2.c: Likewise.
17171 * soft-fp/sqrttf2.c: Likewise.
17172 * soft-fp/subdf3.c: Likewise.
17173 * soft-fp/subsf3.c: Likewise.
17174 * soft-fp/subtf3.c: Likewise.
17175 * soft-fp/truncdfsf2.c: Likewise.
17176 * soft-fp/trunctfdf2.c: Likewise.
17177 * soft-fp/trunctfsf2.c: Likewise.
17178 * soft-fp/trunctfxf2.c: Likewise.
17179 * soft-fp/unorddf2.c: Likewise.
17180 * soft-fp/unordsf2.c: Likewise.
17181 * soft-fp/unordtf2.c: Likewise.
17183 2013-10-15 Joseph Myers <joseph@codesourcery.com>
17185 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17186 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17188 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
17190 * elf/dl-libc.c: Clear initfini list after freeing.
17192 2013-10-14 Joseph Myers <joseph@codesourcery.com>
17194 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17195 * soft-fp/addsf3.c: Likewise.
17196 * soft-fp/addtf3.c: Likewise.
17197 * soft-fp/divdf3.c: Likewise.
17198 * soft-fp/divsf3.c: Likewise.
17199 * soft-fp/divtf3.c: Likewise.
17200 * soft-fp/double.h: Likewise.
17201 * soft-fp/eqdf2.c: Likewise.
17202 * soft-fp/eqsf2.c: Likewise.
17203 * soft-fp/eqtf2.c: Likewise.
17204 * soft-fp/extenddftf2.c: Likewise.
17205 * soft-fp/extended.h: Likewise.
17206 * soft-fp/extendsfdf2.c: Likewise.
17207 * soft-fp/extendsftf2.c: Likewise.
17208 * soft-fp/extendxftf2.c: Likewise.
17209 * soft-fp/fixdfdi.c: Likewise.
17210 * soft-fp/fixdfsi.c: Likewise.
17211 * soft-fp/fixdfti.c: Likewise.
17212 * soft-fp/fixsfdi.c: Likewise.
17213 * soft-fp/fixsfsi.c: Likewise.
17214 * soft-fp/fixsfti.c: Likewise.
17215 * soft-fp/fixtfdi.c: Likewise.
17216 * soft-fp/fixtfsi.c: Likewise.
17217 * soft-fp/fixtfti.c: Likewise.
17218 * soft-fp/fixunsdfdi.c: Likewise.
17219 * soft-fp/fixunsdfsi.c: Likewise.
17220 * soft-fp/fixunsdfti.c: Likewise.
17221 * soft-fp/fixunssfdi.c: Likewise.
17222 * soft-fp/fixunssfsi.c: Likewise.
17223 * soft-fp/fixunssfti.c: Likewise.
17224 * soft-fp/fixunstfdi.c: Likewise.
17225 * soft-fp/fixunstfsi.c: Likewise.
17226 * soft-fp/fixunstfti.c: Likewise.
17227 * soft-fp/floatdidf.c: Likewise.
17228 * soft-fp/floatdisf.c: Likewise.
17229 * soft-fp/floatditf.c: Likewise.
17230 * soft-fp/floatsidf.c: Likewise.
17231 * soft-fp/floatsisf.c: Likewise.
17232 * soft-fp/floatsitf.c: Likewise.
17233 * soft-fp/floattidf.c: Likewise.
17234 * soft-fp/floattisf.c: Likewise.
17235 * soft-fp/floattitf.c: Likewise.
17236 * soft-fp/floatundidf.c: Likewise.
17237 * soft-fp/floatundisf.c: Likewise.
17238 * soft-fp/floatunsidf.c: Likewise.
17239 * soft-fp/floatunsisf.c: Likewise.
17240 * soft-fp/floatuntidf.c: Likewise.
17241 * soft-fp/floatuntisf.c: Likewise.
17242 * soft-fp/floatuntitf.c: Likewise.
17243 * soft-fp/fmadf4.c: Likewise.
17244 * soft-fp/fmasf4.c: Likewise.
17245 * soft-fp/fmatf4.c: Likewise.
17246 * soft-fp/gedf2.c: Likewise.
17247 * soft-fp/gesf2.c: Likewise.
17248 * soft-fp/getf2.c: Likewise.
17249 * soft-fp/ledf2.c: Likewise.
17250 * soft-fp/lesf2.c: Likewise.
17251 * soft-fp/letf2.c: Likewise.
17252 * soft-fp/muldf3.c: Likewise.
17253 * soft-fp/mulsf3.c: Likewise.
17254 * soft-fp/multf3.c: Likewise.
17255 * soft-fp/negdf2.c: Likewise.
17256 * soft-fp/negsf2.c: Likewise.
17257 * soft-fp/negtf2.c: Likewise.
17258 * soft-fp/op-1.h: Likewise.
17259 * soft-fp/op-2.h: Likewise.
17260 * soft-fp/op-4.h: Likewise.
17261 * soft-fp/op-8.h: Likewise.
17262 * soft-fp/op-common.h: Likewise.
17263 * soft-fp/quad.h: Likewise.
17264 * soft-fp/single.h: Likewise.
17265 * soft-fp/soft-fp.h: Likewise.
17266 * soft-fp/sqrtdf2.c: Likewise.
17267 * soft-fp/sqrtsf2.c: Likewise.
17268 * soft-fp/sqrttf2.c: Likewise.
17269 * soft-fp/subdf3.c: Likewise.
17270 * soft-fp/subsf3.c: Likewise.
17271 * soft-fp/subtf3.c: Likewise.
17272 * soft-fp/truncdfsf2.c: Likewise.
17273 * soft-fp/trunctfdf2.c: Likewise.
17274 * soft-fp/trunctfsf2.c: Likewise.
17275 * soft-fp/trunctfxf2.c: Likewise.
17276 * soft-fp/unorddf2.c: Likewise.
17277 * soft-fp/unordsf2.c: Likewise.
17278 * soft-fp/unordtf2.c: Likewise.
17280 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
17283 * misc/error.c (error_tail): Fix possible buffer overflow.
17285 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17288 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17291 2013-10-14 P. J. McDermott <pj@pehjota.net>
17294 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17295 testing pipefail option.
17297 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17299 * soft-fp/double.h: Indent preprocessor directives inside #if.
17300 * soft-fp/extended.h: Likewise.
17301 * soft-fp/op-2.h: Likewise.
17302 * soft-fp/op-4.h: Likewise.
17303 * soft-fp/op-common.h: Likewise.
17304 * soft-fp/quad.h: Likewise.
17305 * soft-fp/single.h: Likewise.
17306 * soft-fp/soft-fp.h: Likewise.
17308 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17310 * iconv/iconv_prog.c: Fix typos.
17311 * stdio-common/psiginfo-data.h: Likewise.
17313 2013-10-12 Reuben Thomas <rrt@sc3d.org>
17316 * locale/setlocale.c: Fix typo.
17318 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17321 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17322 signaling NaN arguments.
17323 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17324 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17327 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17328 unordered operands.
17329 * soft-fp/gesf2.c (__gesf2): Likewise.
17330 * soft-fp/getf2.c (__getf2): Likewise.
17331 * soft-fp/ledf2.c (__ledf2): Likewise.
17332 * soft-fp/lesf2.c (__lesf2): Likewise.
17333 * soft-fp/letf2.c (__letf2): Likewise.
17335 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17336 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17337 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17338 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17339 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17340 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17341 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17342 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17343 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17344 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17345 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17346 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17347 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17348 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17349 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17350 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17351 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17352 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17353 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17354 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17355 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17356 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17357 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17358 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17359 * soft-fp/floattidf.c (__floattidf): Likewise.
17360 * soft-fp/floattisf.c (__floattisf): Likewise.
17361 * soft-fp/floattitf.c (__floattitf): Likewise.
17362 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17363 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17364 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17365 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17366 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17367 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17368 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17369 * soft-fp/gesf2.c (__gesf2): Likewise.
17370 * soft-fp/getf2.c (__getf2): Likewise.
17371 * soft-fp/ledf2.c (__ledf2): Likewise.
17372 * soft-fp/lesf2.c (__lesf2): Likewise.
17373 * soft-fp/letf2.c (__letf2): Likewise.
17375 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17376 Undefine and redefine.
17377 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17378 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17379 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17380 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17381 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17382 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17383 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17384 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17385 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17386 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17387 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17388 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17389 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17390 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17391 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17394 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17395 without decrementing exponent if mantissa >= that for the
17396 denominator, not >.
17397 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17398 denominator, not >. Decrement exponent in < case instead of
17399 incrementing in >= case.
17400 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17401 without decrementing exponent if mantissa >= that for the
17402 denominator, not >.
17404 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17405 computing saturated result for unsigned overflow.
17407 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17408 Jeff Law <law@redhat.com>
17410 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17411 (atan2Mp): Add systemtap probe marker.
17412 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17413 (__ieee754_log): Add systemtap probe marker.
17414 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17415 (atanMp): Add systemtap probe marker.
17416 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17417 (tanMp): Add systemtap probe marker.
17418 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17419 (__slowexp): Add systemtap probe marker.
17420 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17421 (__slowpow): Add systemtap probe marker.
17422 * manual/probes.texi: Document probes.
17424 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
17427 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17429 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17431 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17432 written to buffer but not flushed.
17433 * libio/iofwrite_u.c: Likewise.
17434 * libio/iopadn.c: Return bytes returned even if EOF was
17436 * libio/iowpadn.c: Likewise.
17437 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17438 if _IO_padn does not write the whole buffer.
17439 [!COMPILE_WPRINTF] (PAD): Likewise.
17441 2013-10-10 David S. Miller <davem@davemloft.net>
17443 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17446 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17448 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17449 instead of FSF address.
17450 * soft-fp/fixdfti.c: Likewise.
17451 * soft-fp/fixsfti.c: Likewise.
17452 * soft-fp/fixtfti.c: Likewise.
17453 * soft-fp/fixunsdfti.c: Likewise.
17454 * soft-fp/fixunssfti.c: Likewise.
17455 * soft-fp/fixunstfti.c: Likewise.
17456 * soft-fp/floattidf.c: Likewise.
17457 * soft-fp/floattisf.c: Likewise.
17458 * soft-fp/floattitf.c: Likewise.
17459 * soft-fp/floatuntidf.c: Likewise.
17460 * soft-fp/floatuntisf.c: Likewise.
17461 * soft-fp/floatuntitf.c: Likewise.
17462 * soft-fp/trunctfxf2.c: Likewise.
17464 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17465 * soft-fp/fixdfti.c: Likewise.
17466 * soft-fp/fixsfti.c: Likewise.
17467 * soft-fp/fixtfti.c: Likewise.
17468 * soft-fp/fixunsdfti.c: Likewise.
17469 * soft-fp/fixunssfti.c: Likewise.
17470 * soft-fp/fixunstfti.c: Likewise.
17471 * soft-fp/floattidf.c: Likewise.
17472 * soft-fp/floattisf.c: Likewise.
17473 * soft-fp/floattitf.c: Likewise.
17474 * soft-fp/floatuntidf.c: Likewise.
17475 * soft-fp/floatuntisf.c: Likewise.
17476 * soft-fp/floatuntitf.c: Likewise.
17477 * soft-fp/trunctfxf2.c: Likewise.
17479 2013-10-10 David S. Miller <davem@davemloft.net>
17481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17483 2013-10-10 Joseph Myers <joseph@codsourcery.com>
17485 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17486 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17487 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17488 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17489 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17490 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17491 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17493 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17494 for NaNs before doing comparisons on argument.
17495 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17498 2013-10-10 Will Newton <will.newton@linaro.org>
17500 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17501 passed to _int_memalign does not overflow.
17503 2013-10-10 Torvald Riegel <triegel@redhat.com>
17505 * scripts/bench.pl: Add include-sources directive.
17506 * benchtests/README: Update documentation.
17508 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17510 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17511 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17512 instead of FP_INIT_ROUNDMODE.
17513 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17514 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17517 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17518 copy class of input value.
17519 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17520 not handle exceptions.
17521 * soft-fp/negsf2.c (__negsf2): Likewise.
17522 * soft-fp/negtf2.c (__negtf2): Likewise.
17523 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17525 2013-10-09 Joseph Myers <joseph@codesourcery.com>
17527 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17528 semicolon. From Linux kernel.
17530 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17532 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17534 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17537 * manual/socket.texi: Added statement about buffer
17538 for gethostbyname2_r.
17540 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
17542 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17543 Use .p2align directive instead, throughout.
17544 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17545 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17546 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17547 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17548 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17549 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17550 * sysdeps/x86_64/strchr.S: Likewise.
17551 * sysdeps/x86_64/strrchr.S: Likewise.
17553 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17555 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17557 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17559 * sysdeps/generic/math_private.h (__mpsin1): Remove
17561 (__mpcos1): Likewise.
17562 (__mpsin): New argument __range_reduce.
17563 (__mpcos): Likewise.
17564 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17565 (slow): Use __mpsin and __mpcos.
17569 (sloww1): Likewise.
17570 (sloww2): Likewise.
17571 (bsloww): Likewise.
17572 (bsloww1): Likewise.
17573 (bsloww2): Likewise.
17574 (cslow2): Likewise.
17575 (csloww): Likewise.
17576 (csloww1): Likewise.
17577 (csloww2): Likewise.
17578 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17579 range_reduce. Merge in __mpsin1.
17580 (__mpcos): Likewise.
17581 (__mpsin1): Remove.
17582 (__mpcos1): Likewise.
17584 2013-10-07 Joseph Myers <joseph@codesourcery.com>
17586 * locale/loadlocale.c (_nl_intern_locale_data): Use
17588 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17589 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17590 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17591 obstack data is appropriately aligned.
17592 (obstack_int32_grow_fast): Likewise.
17593 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17594 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17595 (add_locale_uint32_array): Likewise.
17597 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17599 * benchtests/Makefile: Remove ARGLIST and RET variables.
17600 ($(objpfx)bench-%.c): Pass only function name to the script.
17601 * benchtests/README: Update documentation.
17602 * benchtests/acos-inputs: Add new directives.
17603 * benchtests/acosh-inputs: Likewise.
17604 * benchtests/asin-inputs: Likewise.
17605 * benchtests/asinh-inputs: Likewise.
17606 * benchtests/atan-inputs: Likewise.
17607 * benchtests/atanh-inputs: Likewise.
17608 * benchtests/cos-inputs: Likewise.
17609 * benchtests/cosh-inputs: Likewise.
17610 * benchtests/exp-inputs: Likewise.
17611 * benchtests/log-inputs: Likewise.
17612 * benchtests/pow-inputs: Likewise.
17613 * benchtests/rint-inputs: Likewise.
17614 * benchtests/sin-inputs: Likewise.
17615 * benchtests/sinh-inputs: Likewise.
17616 * benchtests/tan-inputs: Likewise.
17617 * benchtests/tanh-inputs: Likewise.
17618 * scripts/bench.pl: Add support for new directives.
17620 2013-10-07 Alan Modra <amodra@gmail.com>
17622 * README: Fix careless merge.
17624 2013-10-05 Alan Modra <amodra@gmail.com>
17626 * NEWS: Mention powerpc64le support and bugs fixed.
17627 * README: Both big-endian and little-endian powerpc64 supported.
17629 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17631 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17632 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17633 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17634 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17636 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17638 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17641 2013-10-04 Joseph Myers <joseph@codesourcery.com>
17643 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17644 Move -mhard-float appending from
17645 ports/sysdeps/powerpc/powerpc32/Makefile.
17646 [$(with-fp) = yes] (ASFLAGS): Likewise.
17647 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17648 * sysdeps/powerpc/nofpu: Move directory from
17649 ports/sysdeps/powerpc/nofpu.
17650 * sysdeps/powerpc/soft-fp: Move directory from
17651 ports/sysdeps/powerpc/soft-fp.
17652 * sysdeps/powerpc/powerpc32/405: Move directory from
17653 ports/sysdeps/powerpc/powerpc32/405.
17654 * sysdeps/powerpc/powerpc32/440: Move directory from
17655 ports/sysdeps/powerpc/powerpc32/440.
17656 * sysdeps/powerpc/powerpc32/464: Move directory from
17657 ports/sysdeps/powerpc/powerpc32/464.
17658 * sysdeps/powerpc/powerpc32/476: Move directory from
17659 ports/sysdeps/powerpc/powerpc32/476.
17660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17661 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17663 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17665 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17667 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17669 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17670 * README: Update for powerpc-*-linux-gnu software floating point
17673 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17674 case to powerpc/powerpc32*.
17675 * sysdeps/unix/sysv/linux/configure: Regenerated.
17677 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17678 (_FPU_MASK_OM): Define as 0x04.
17679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17687 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17690 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17693 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17694 and setcontext_e500.
17696 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17698 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17700 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17702 * manual/threads.texi (Default Thread Attributes): Fix typo.
17704 2013-10-04 Will Newton <will.newton@linaro.org>
17706 * malloc/Makefile: Add tst-memalign.
17707 * malloc/tst-memalign.c: New file.
17709 * malloc/tst-posix_memalign.c: Add comments.
17710 (do_test): Add comments and call free on all potentially
17711 allocated pointers. Add space after cast.
17713 * malloc/tst-pvalloc.c: Add comments.
17714 (do_test): Add comments and call free on all potentially
17715 allocated pointers. Remove duplicate check for NULL pointer.
17716 Add space after cast.
17718 * malloc/tst-valloc.c: Add comments.
17719 (do_test): Add comments and call free on all potentially
17720 allocated pointers. Remove duplicate check for NULL pointer.
17721 Add space after cast.
17723 2013-10-04 Alan Modra <amodra@gmail.com>
17725 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17726 Use stdint types in rather than __attribute__((mode())).
17727 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17729 2013-10-04 Alan Modra <amodra@gmail.com>
17731 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17732 Correct handling of unaligned relocs for little-endian.
17733 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17735 2013-10-04 Alan Modra <amodra@gmail.com>
17737 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17738 * configure: Regenerate.
17739 * nptl/shlib-versions: Powerpc*le starts at 2.18.
17740 * shlib-versions: Likewise.
17742 2013-10-04 Alan Modra <amodra@gmail.com>
17744 * string/tester.c (test_memrchr): Increment reported test cycle.
17746 2013-10-04 Alan Modra <amodra@gmail.com>
17748 * string/test-memcpy.c (do_one_test): When reporting errors, print
17749 string address and don't overrun end of string.
17751 2013-10-04 Alan Modra <amodra@gmail.com>
17753 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17754 insrdi. Make better use of reg selection to speed exit slightly.
17755 Schedule entry path a little better. Remove useless "are we done"
17756 checks on entry to main loop. Handle wrapping around zero address.
17757 Correct main loop count. Handle single left-over word from main
17758 loop inline rather than by using loop_small. Remove extra word
17759 case in loop_small caused by wrong loop count. Add little-endian
17761 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17762 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
17764 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17765 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17766 support. Avoid rlwimi.
17767 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17769 2013-10-04 Alan Modra <amodra@gmail.com>
17771 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
17772 insrdi. Formatting.
17773 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17774 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17775 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17776 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17777 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17778 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17780 2013-10-04 Alan Modra <amodra@gmail.com>
17782 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17783 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17784 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17785 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17786 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17787 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17788 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17789 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17790 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
17791 use of regs. Use power7 mtocrf. Tidy function tails.
17793 2013-10-04 Alan Modra <amodra@gmail.com>
17795 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17796 Formatting. Consistently use rXXX register defines or rN defines.
17797 Use early exit labels that avoid restoring unused non-volatile regs.
17798 Make cr field use more consistent with rWORDn compares. Rename
17799 regs used as shift registers for unaligned loop, using rN defines
17800 for short lifetime/multiple use regs.
17801 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17802 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
17803 addi 1,1,64 to pop stack frame. Simplify return value code.
17804 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17806 2013-10-04 Alan Modra <amodra@gmail.com>
17808 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17809 support. Correct typos, formatting. Optimize tail. Use insrdi
17810 rather than rlwimi.
17811 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17812 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17813 little-endian support. Correct typos.
17814 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
17815 rather than rlwimi.
17816 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
17817 in loop and entry code to keep "and." results.
17818 (strchr): Add little-endian support. Comment. Move cntlzd
17820 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17822 2013-10-04 Alan Modra <amodra@gmail.com>
17824 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17825 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17826 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17827 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17829 2013-10-04 Alan Modra <amodra@gmail.com>
17831 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17832 (rTMP): Define as r11.
17833 (strcmp): Add little-endian support. Optimise tail.
17834 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17835 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17836 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17837 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17838 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17839 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17840 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17842 2013-10-04 Alan Modra <amodra@gmail.com>
17844 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17845 little-endian support. Remove unnecessary "are we done" tests.
17846 Handle "s" wrapping around zero and extremely large "size".
17847 Correct main loop count. Handle single left-over word from main
17848 loop inline rather than by using small_loop. Correct comments.
17849 Delete "zero" tail, use "end_max" instead.
17850 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17852 2013-10-04 Alan Modra <amodra@gmail.com>
17854 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17855 support. Don't branch over align.
17856 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17857 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17858 support. Rearrange tmp reg use to suit. Comment.
17859 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17861 2013-10-04 Alan Modra <amodra@gmail.com>
17863 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17865 2013-10-04 Alan Modra <amodra@gmail.com>
17867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17868 conditional form of branch and link when obtaining pc.
17869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17871 2013-10-04 Alan Modra <amodra@gmail.com>
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17878 2013-10-04 Alan Modra <amodra@gmail.com>
17880 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17881 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17882 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17883 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17884 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17885 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17886 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17887 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17888 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17889 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17891 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17892 Alistair Popple <alistair@ozlabs.au.ibm.com>
17893 Alan Modra <amodra@gmail.com>
17896 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17897 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17898 _dl_hwcap access for little-endian.
17899 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
17900 destroy vmx regs when saving unaligned.
17901 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17902 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
17903 destroy vmx regs when saving unaligned.
17905 2013-10-04 Alan Modra <amodra@gmail.com>
17907 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17908 Don't use a union to pack hi/low value.
17910 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17912 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17914 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17916 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17917 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17918 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17920 2013-10-04 Alan Modra <amodra@gmail.com>
17922 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17923 constants to usual value for .cst8 section, and remove redundant
17925 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17926 constant for 0x1p52. Load little-endian words of double from
17927 correct stack offsets.
17929 2013-10-04 Alan Modra <amodra@gmail.com>
17931 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17932 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17933 words of double from correct stack offsets.
17934 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17935 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17936 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17937 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17939 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17940 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17941 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17942 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17943 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17944 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17945 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17946 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17947 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17948 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17949 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17950 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17952 2013-10-04 Alan Modra <amodra@gmail.com>
17954 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17955 64-bit int/double union.
17956 (_FPU_SETCW): Likewise.
17957 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17958 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17960 2013-10-04 Alan Modra <amodra@gmail.com>
17962 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17963 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17965 2013-10-04 Alan Modra <amodra@gmail.com>
17967 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17968 use vector int constants.
17969 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17971 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17973 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17974 array with long long.
17975 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17976 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17977 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17978 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17979 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17980 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17981 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17982 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17983 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17984 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17985 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17986 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17987 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17989 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
17991 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17992 (__signbit): Likewise. Correct for little-endian.
17993 (__signbitl): Call __signbit.
17994 (lrint): Correct for little-endian.
17995 (lrintf): Call lrint.
17997 2013-10-04 Alan Modra <amodra@gmail.com>
17999 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18000 union 32-bit int array member with 64-bit int array.
18001 (t515, tm256): Double rather than long double.
18002 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18004 2013-10-04 Alan Modra <amodra@gmail.com>
18006 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18008 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18009 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18010 version of math_ldbl.h.
18012 2013-10-04 Alan Modra <amodra@gmail.com>
18014 [BZ #15734], [BZ #15735]
18015 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18016 all uses of ieee875 long double macros and unions. Simplify test
18017 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18018 ldbl_extract_mantissa value for ix,iy exponents. Properly
18019 normalize after ldbl_extract_mantissa, and don't add hidden bit
18020 already handled. Don't treat low word of ieee854 mantissa like
18021 low word of IBM long double and mask off bit when testing for
18023 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18024 all uses of ieee875 long double macros and unions. Simplify tests
18025 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18026 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18027 two1022, instead use their values. Recognise that tests for large
18028 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18029 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18030 Rewrite all uses of ieee875 long double macros and unions. Simplify
18031 test for 0.0L and nan. Correct negation.
18032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18033 ieee875 long double macros and unions. Correct output for large
18034 magnitude x. Correct absolute value calculation.
18035 (__erfcl): Likewise.
18036 * math/libm-test.inc: Add tests for errors discovered in IBM long
18037 double versions of fmodl, remainderl, erfl and erfcl.
18039 2013-10-04 Alan Modra <amodra@gmail.com>
18041 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18042 all uses of ieee854 long double macros and unions. Simplify tests
18043 for long doubles that are fully specified by the high double.
18044 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18046 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18047 Remove dead code too.
18048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18049 (__ieee754_ynl): Likewise.
18050 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18051 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18053 Remove dead code too.
18054 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18055 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18056 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18057 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18059 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18061 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18062 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18063 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18064 Comment on variable precision.
18065 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18066 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18068 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18069 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18070 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18071 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18072 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18074 2013-10-04 Alan Modra <amodra@gmail.com>
18076 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18077 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18078 all uses of ieee854 long double macros and unions.
18079 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18080 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18081 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18082 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18083 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18084 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18086 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18087 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18088 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18089 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18090 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18091 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18092 Simplify sign and nan test too.
18093 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18094 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18095 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18096 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18098 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18099 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18101 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18102 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18103 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18104 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18105 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18106 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18108 2013-10-04 Alan Modra <amodra@gmail.com>
18110 * stdio-common/printf_size.c (__printf_size): Don't use
18111 union ieee854_long_double in fpnum union.
18112 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18113 signbit macro to retrieve sign from long double.
18114 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18115 retrieve sign from long double.
18116 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18117 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18118 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18119 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18120 * math/test-misc.c (main): Don't use union ieee854_long_double.
18122 2013-10-04 Alan Modra <amodra@gmail.com>
18125 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18126 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18127 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18128 calculation. Remove unnecessary test for denormal exponent.
18129 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18130 Correct handling of denormals. Avoid undefined shift behaviour.
18131 Correct normalisation of low mantissa when low double is denormal.
18132 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18133 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18134 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18135 Correct normalisation of low mantissa. Test for overflow of high
18136 mantissa and normalise.
18137 (ldbl_nearbyint): Use more readable constant for two52.
18138 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18139 (__mpn_construct_long_double): Fix test for overflow of high
18140 mantissa and correct normalisation. Avoid undefined shift.
18142 2013-10-04 Alan Modra <amodra@gmail.com>
18144 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18145 (union ibm_extended_long_double): Define as an array of ieee754_double.
18146 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18147 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18148 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18149 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18153 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18158 2013-10-03 Joseph Myers <joseph@codesourcery.com>
18160 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18161 page size instead of calling getpagesize.
18163 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18164 (LOCFILE_ALIGN_MASK): Likewise.
18165 (LOCFILE_ALIGN_UP): Likewise.
18166 (LOCFILE_ALIGNED_P): Likewise.
18167 * locale/programs/ld-collate.c (collate_output): Use the new
18168 macros instead of __alignof__ (int32_t).
18169 * locale/weight.h (findidx): Likewise.
18171 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
18174 * manual/string.texi: Fix strncat and wcsncat.
18176 2013-10-03 Brooks Moses <bmoses@google.com>
18179 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18180 * Makerules: ...here, and adjust associated comments.
18182 2013-10-02 Will Newton <will.newton@linaro.org>
18184 * malloc/Makefile: Add tst-pvalloc.
18185 * malloc/tst-pvalloc.c: New file.
18187 2013-10-02 Will Newton <will.newton@linaro.org>
18189 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18190 improve test coverage.
18192 2013-10-02 Will Newton <will.newton@linaro.org>
18194 * malloc/Makefile: Add tst-posix_memalign.
18195 * malloc/tst-posix_memalign.c: New file.
18197 2013-10-01 Eric Blake <eblake@redhat.com>
18199 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18200 Use __THROWNL rather than __THROW on static functions.
18202 2013-09-30 Petr Machata <pmachata@redhat.com>
18204 * elf/elf.h (R_AARCH64_ABS16): New macro.
18205 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18206 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18207 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18208 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18209 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18210 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18211 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18212 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18213 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18214 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18215 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18216 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18217 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18218 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18219 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18220 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18221 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18222 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18223 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18224 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18225 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18226 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18227 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18228 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18229 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18230 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18231 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18232 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18233 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18234 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18235 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18236 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18237 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18238 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18239 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18240 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18241 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18242 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18243 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18244 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18245 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18246 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18247 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18248 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18249 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18250 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18251 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18252 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18253 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18254 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18255 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18256 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18257 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18258 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18259 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18260 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18261 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18262 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18263 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18264 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18265 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18266 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18267 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18268 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18269 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18270 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18271 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18272 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18273 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18274 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18275 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18276 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18277 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18278 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18279 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18280 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18281 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18282 (R_AARCH64_TLSDESC_LDR): Likewise.
18283 (R_AARCH64_TLSDESC_ADD): Likewise.
18284 (R_AARCH64_TLSDESC_CALL): Likewise.
18286 2013-09-30 Andreas Schwab <schwab@suse.de>
18289 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18290 the nss database lookup.
18291 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18294 2013-09-28 Mike Frysinger <vapier@gentoo.org>
18296 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18298 2013-09-28 P. J. McDermott <pj@pehjota.net>
18300 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18301 ${Bash-specific parameter/pattern/string} parameter expansion.
18302 * sysdeps/unix/make-syscalls.sh: Likewise.
18304 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18306 * sysdeps/sh/stackguard-macros.h: New file.
18308 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
18310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18312 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18313 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18314 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18315 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18317 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18319 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18320 Fix thread ID register.
18322 2013-09-25 Joseph Myers <joseph@codesourcery.com>
18324 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18325 [POSIX || UNIX98]: Require rather than permitting all symbols from
18327 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18328 element of struct sched_param.
18329 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18330 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18331 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18332 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18335 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18337 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18338 argument calculation.
18340 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18342 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18344 [POSIX] (pthread_attr_t): Do not require type.
18345 [POSIX] (pthread_cond_t): Likewise.
18346 [POSIX] (pthread_condattr_t): Likewise.
18347 [POSIX] (pthread_key_t): Likewise.
18348 [POSIX] (pthread_mutex_t): Likewise.
18349 [POSIX] (pthread_mutexattr_t): Likewise.
18350 [POSIX] (pthread_once_t): Likewise.
18351 [POSIX] (pthread_t): Likewise.
18352 [POSIX-based standards] (pthread_atfork): Expect function.
18354 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18355 Richard Sandiford <richard@codesourcery.com>
18357 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18358 (swap_endianness_p): New extern variable.
18359 (set_big_endian): New inline function.
18360 (maybe_swap_uint32): Likewise.
18361 (maybe_swap_uint32_array): Likewise.
18362 (maybe_swap_uint32_obstack): Likewise.
18363 * locale/programs/locfile.c: Include <stdbool.h>.
18364 (swap_endianness_p): New variable.
18365 (add_locale_uint32): Call maybe_swap_uint32.
18366 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18367 (write_locale_data): Call maybe_swap_uint32_array.
18368 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18370 (obstack_int32_grow_fast): Likewise.
18371 (output_weightwc): Call maybe_swap_uint32_obstack.
18372 (collate_output): Likewise.
18373 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18374 (OPT_LITTLE_ENDIAN): Likewise.
18375 (options): Add --little-endian and --big-endian options.
18376 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18377 * locale/programs/locarchive.c: Include "locfile.h".
18381 (create_archive): Use the new macros to access fields of
18382 structures directly mapped from or written to locale archives.
18383 (oldlocrecentcmp): Likewise.
18384 (enlarge_archive): Likewise.
18385 (insert_name): Likewise.
18386 (add_alias): Likewise.
18387 (add_locale): Likewise.
18388 (delete_locales_from_archive): Likewise.
18389 (show_archive_content): Likewise.
18390 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18393 2013-09-24 Roland McGrath <roland@hack.frob.com>
18395 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18396 http://www.gnu.org/doc/freemanuals.texi.
18397 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18399 2013-09-24 Will Newton <will.newton@linaro.org>
18401 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18404 2013-09-23 Joseph Myers <joseph@codesourcery.com>
18406 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18409 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18411 * manual/threads.texi (POSIX Threads): Fix a typo.
18413 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18416 * string/tst-strcoll-overflow.c: New test case.
18417 * string/Makefile (xtests): Add tst-strcoll-overflow.
18418 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18419 cache if string sizes may cause integer overflow.
18422 * string/strcoll_l.c (coll_seq): New members rule, idx,
18423 save_idx and back_us.
18424 (get_next_seq_nocache): New function.
18425 (do_compare_nocache): New function.
18426 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18429 2013-09-23 Carlos O'Donell <carlos@redhat.com>
18432 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18433 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18434 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18437 * elf/Makefile (tests): Add tst-ptrguard1.
18438 (tests-static): Add tst-ptrguard1-static.
18439 (tst-ptrguard1-ARGS): Define.
18440 (tst-ptrguard1-static-ARGS): Define.
18441 * elf/tst-ptrguard1.c: New file.
18442 * elf/tst-ptrguard1-static.c: New file.
18443 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18444 * sysdeps/i386/stackguard-macros.h: Likewise.
18445 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18446 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18447 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18448 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18449 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18450 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18452 2013-09-23 Hector Marco <hecmargi@upv.es>
18453 Ismael Ripoll <iripoll@disca.upv.es>
18454 Carlos O'Donell <carlos@redhat.com>
18457 * sysdeps/generic/stackguard-macros.h: Define
18458 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18459 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18460 Define __pointer_chk_guard_local.
18461 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18462 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18464 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18467 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18469 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18471 * include/string.h (__ffs): Declare as hidden.
18472 * string/ffs.c (__ffs): Define as hidden.
18473 * sysdeps/i386/ffs.c (__ffs): Likewise.
18474 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18475 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18476 * sysdeps/s390/ffs.c (__ffs): Likewise.
18477 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18479 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
18481 * NEWS: Mention malloc probes.
18483 * malloc/arena.c (new_heap): New memory_heap_new probe.
18484 (grow_heap): New memory_heap_more probe.
18485 (shrink_heap): New memory_heap_less probe.
18486 (heap_trim): New memory_heap_free probe.
18487 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18488 (systrim): New memory_sbrk_less probe.
18489 * manual/probes.texi: Document them.
18491 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18492 * manual/probes.texi: Document it.
18494 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18495 (__libc_realloc): Add memory_realloc_retry probe.
18496 (__libc_memalign): Add memory_memalign_retry probe.
18497 (__libc_valloc): Add memory_valloc_retry probe.
18498 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18499 (__libc_calloc): Add memory_calloc_retry probe.
18500 * manual/probes.texi: Document them.
18502 * malloc/arena.c (get_free_list): Add probe
18503 memory_arena_reuse_free_list.
18504 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18505 and memory_arena_reuse.
18506 (arena_get2) [!PER_THREAD]: Likewise.
18507 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18508 memory_arena_reuse_realloc.
18509 * manual/probes.texi: Document them.
18511 * malloc/malloc.c (__libc_free): Add
18512 memory_mallopt_free_dyn_thresholds probe.
18513 (__libc_mallopt): Add multiple memory_mallopt probes.
18514 * manual/probes.texi: Document them.
18516 * malloc/malloc.c: Include stap-probe.h.
18517 (__libc_mallopt): Add memory_mallopt probe.
18518 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18519 * manual/probes.texi: New.
18520 * manual/Makefile (chapters): Add probes.
18521 * manual/threads.texi: Set next node.
18523 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
18525 [BZ #15963, #13985]
18526 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18527 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18528 Add `Chinese' to `nan' entry name.
18530 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18532 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18533 (POLYNOMIAL): Likewise.
18534 (TAYLOR_SINCOS): Likewise.
18535 (TAYLOR_SLOW): Likewise.
18536 (__sin): Use TAYLOR_SINCOS.
18538 (slow): Use TAYLOR_SLOW.
18540 (bsloww): Likewise.
18541 (csloww): Likewise.
18543 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18545 * stdlib/strtod_l.c: Fix buffer overrun.
18547 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18549 * benchtests/Makefile (bench): Add sincos.
18550 * benchtests/bench-sincos.c: New file.
18552 * math/libm-test.inc (cos_test_data): New test inputs.
18553 (sin_test_data): Likewise.
18555 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18561 (sloww1): Likewise.
18562 (sloww2): Likewise.
18563 (bsloww1): Likewise.
18564 (bsloww2): Likewise.
18565 (cslow2): Likewise.
18566 (csloww1): Likewise.
18567 (csloww2): Likewise.
18569 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18574 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18578 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18580 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18581 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18582 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18583 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18584 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18585 * elf/cache.c (print_entry): Handle the new cache flags.
18587 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18588 Aldy Hernandez <aldyh@redhat.com>
18590 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18591 Change condition to [_SOFT_FLOAT].
18592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18599 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18602 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18604 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18607 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18610 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18612 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18613 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18614 (__longjmp): Use LOAD_GP to load saved GPRs.
18615 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18616 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18617 (__sigsetjmp): Use SAVE_GP to save GPRs.
18619 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18620 Do not append -msoft-float.
18621 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18623 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18625 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18627 2013-09-17 Joseph Myers <joseph@codesourcery.com>
18630 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18631 (_FPU_GETCW): Use initial "__" on variable and field names but not
18632 on macro parameter name.
18633 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18634 parentheses around reference to macro parameter.
18636 2013-09-13 Richard Sandiford <richard@codesourcery.com>
18638 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18640 (ctype_startup): Use uint32_t in cast and sizeof for
18643 2013-09-11 Jia Liu <proljc@gmail.com>
18645 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18647 [__FreeBSD__]: Likewise.
18649 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
18651 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18652 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18653 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18654 (strchr): Remove __strchr_sse42 ifunc selection.
18655 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18656 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18658 2013-09-11 Will Newton <will.newton@linaro.org>
18660 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18661 parameter to RES. Remove hardcoded 1000 value.
18662 * benchtests/bench-skeleton.c (main): Pass RES parameter
18663 to TIMING_INIT and multiply result by 1000.
18665 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18669 2013-09-11 Andreas Schwab <schwab@suse.de>
18671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18673 (O_TMPFILE) [__USE_GNU]: Define.
18674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18677 2013-09-11 Will Newton <will.newton@linaro.org>
18680 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18683 2013-09-11 Will Newton <will.newton@linaro.org>
18686 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18689 2013-09-11 Will Newton <will.newton@linaro.org>
18692 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18695 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
18697 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18698 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18699 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18700 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18701 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18703 2013-09-10 Allan McRae <allan@archlinux.org>
18706 * manual/arith.texi (Parsing of Floats): Clarify
18710 * manual/install.texi (Running make install): Mention
18712 * INSTALL: Regenerated.
18714 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
18716 * csu/init-first.c (_init): Remove the !SHARED condition around
18717 FPU control word initialization.
18718 * elf/dl-support.c (_dl_fpu_control): New variable.
18719 (_dl_aux_init) <AT_FPUCW>: Initialize it.
18720 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18721 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18722 * math/test-fpucw-static.c: New file.
18723 * math/test-fpucw-ieee.c: New file.
18724 * math/test-fpucw-ieee-static.c: New file.
18725 * math/Makefile (tests): Add `test-fpucw-ieee' and
18727 (tests-static): New variable.
18728 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18730 [($(build-shared),yes)]
18731 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18733 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18736 2013-09-09 Allan McRae <allan@archlinux.org>
18739 * manual/string.texi (Collation Functions): Fix typo in
18741 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18744 * stdlib/isomac.c (get_null_defines): Fix memory leak.
18747 * libio/memstream.c (open_memstream): Fix memory leak.
18748 * libio/wmemstream.c (open_wmemstream): Likewise.
18751 * nscd/netgroupcache.c: Fix nesting of ifdefs.
18753 2013-09-09 Will Newton <will.newton@linaro.org>
18755 * malloc/Makefile: Add tst-realloc to tests.
18756 * malloc/tst-realloc.c: New file.
18758 2013-09-09 Allan McRae <allan@archlinux.org>
18761 * COPYING: Update from GNU website to fix FSF address.
18762 * COPYING.LIB: Likewise.
18764 2013-09-06 David S. Miller <davem@davemloft.net>
18766 * po/zh_TW.po: Update Chinese (traditional) translation from
18767 translation project.
18769 2013-09-06 Richard Sandiford <richard@codesourcery.com>
18770 Joseph Myers <joseph@codesourcery.com>
18772 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18774 (obstack_chunk_alloc): New macro.
18775 (obstack_chunk_free): Likewise.
18776 (record_offset): New function.
18777 (init_locale_data): Likewise.
18778 (align_locale_data): Likewise.
18779 (add_locale_empty): Likewise.
18780 (add_locale_raw_data): Likewise.
18781 (add_locale_raw_obstack): Likewise.
18782 (add_locale_string): Likewise.
18783 (add_locale_wstring): Likewise.
18784 (add_locale_uint32): Likewise.
18785 (add_locale_uint32_array): Likewise.
18786 (add_locale_char): Likewise.
18787 (start_locale_structure): Likewise.
18788 (end_locale_structure): Likewise.
18789 (start_locale_prelude): Likewise.
18790 (end_locale_prelude): Likewise.
18791 (write_locale_data): Take locale_file structure rather than an
18793 * locale/programs/locfile.h: Include "obstack.h".
18794 (struct locale_file): Change to store locale file contents instead
18796 (init_locale_data): New prototype.
18797 (align_locale_data): Likewise.
18798 (add_locale_empty): Likewise.
18799 (add_locale_raw_data): Likewise.
18800 (add_locale_raw_obstack): Likewise.
18801 (add_locale_string): Likewise.
18802 (add_locale_wstring): Likewise.
18803 (add_locale_uint32): Likewise.
18804 (add_locale_uint32_array): Likewise.
18805 (add_locale_char): Likewise.
18806 (start_locale_structure): Likewise.
18807 (end_locale_structure): Likewise.
18808 (start_locale_prelude): Likewise.
18809 (end_locale_prelude): Likewise.
18810 (write_locale_data): Update prototype.
18811 * locale/programs/3level.h (struct TABLE): Remove result field.
18812 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18813 Use new locale_file interface.
18814 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18815 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18816 * locale/programs/ld-address.c (address_output): Use new
18817 locale_file interface.
18818 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18820 (collate_finish): Don't call collseq_table_finalize.
18821 (collate_output): Use new locale_file interface.
18822 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18824 (NO_FINALIZE): Change to NO_ADD_LOCALE.
18825 (TABLE): Move defines earlier in file.
18826 (ELEMENT): Likewise.
18827 (DEFAULT): Likewise.
18828 (wctrans_table_add): Move macro and inline function earlier in
18830 (struct wctype_table): Move type earlier in file.
18831 (add_locale_wctype_table): New static prototype.
18832 (struct locale_ctype_t): Use logical types instead of struct iovec
18833 pointers for members.
18834 (ctype_output): Use new locale_file interface.
18835 (wctype_table_finalize): Change to add_locale_wctype_table. Use
18836 new locale_file interface.
18837 (allocate_arrays): Update for use of new locale_file interface.
18838 * locale/programs/ld-identification.c (identification_output): Use
18839 new locale_file interface.
18840 * locale/programs/ld-measurement.c (measurement_output): Likewise.
18841 * locale/programs/ld-messages.c (messages_output): Likewise.
18842 * locale/programs/ld-monetary.c (monetary_output): Likewise.
18843 * locale/programs/ld-name.c (name_output): Likewise.
18844 * locale/programs/ld-numeric.c (numeric_output): Likewise.
18845 * locale/programs/ld-paper.c (paper_output): Likewise.
18846 * locale/programs/ld-telephone.c (telephone_output): Likewise.
18847 * locale/programs/ld-time.c (time_output): Likewise.
18849 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18851 * benchtests/Makefile: Add memrchr benchmark.
18852 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18853 benchmark as memrchr.
18854 * benchtests/bench-memrchr-ifunc.c: New file.
18855 * benchtests/bench-memrchr.c: New file.
18857 2013-09-06 Will Newton <will.newton@linaro.org>
18859 * benchtests/Makefile (string-bench): Add memcpy.
18861 2013-09-05 Carlos O'Donell <carlos@redhat.com>
18862 Cong Wang <amwang@redhat.com>
18865 * sysdeps/unix/sysv/linux/bits/in.h
18866 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18867 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18868 before __USE_KERNEL_IPV6_DEFS uses.
18869 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18871 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18872 sockaddr_in6, or ipv6_mreq.
18874 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18876 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18877 memory access for final bytes in some large inputs.
18878 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18880 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18882 * string/test-memrchr.c: New file.
18883 * string/test-memrchr-ifunc.c: New file.
18884 * string/Makefile: Add new memrchr testcase.
18886 2013-09-05 Mike Frysinger <vapier@gentoo.org>
18888 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18889 fanotify_init returns EPERM.
18891 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18893 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18895 (top level): Treat second token from macro or constant entries for
18896 allowed headers as allowed.
18897 * include/complex.h: Condition internal declarations on
18899 * include/fenv.h: Condition include of <stdbool.h> and internal
18900 declarations on [!_ISOMAC].
18902 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
18905 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18907 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18909 * configure.in (--enable-versioning): Remove configure option.
18910 (libc_cv_asm_symver_directive): Remove configure test.
18911 (libc_cv_ld_version_script_option): Likewise.
18912 (VERSIONING): Remove variable and AC_SUBST.
18913 (DO_VERSIONING): Remove AC_DEFINE.
18914 * configure: Regenerated.
18915 * config.h.in (DO_VERSIONING): Remove macro.
18916 * Makerules [$(versioning) = yes]: Change conditionals to
18917 [$(build-shared) = yes].
18918 * config.make.in (versioning): Remove variable.
18919 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18920 [$(build-shared) = yes].
18921 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18922 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18923 * elf/Makefile [$(versioning) = yes]: Change conditionals to
18924 [$(build-shared) = yes].
18925 * extra-lib.mk [$(versioning) = yes]: Likewise.
18926 * hurd/Makefile [$(versioning) = yes]: Likewise.
18927 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18929 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18931 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18932 [SHARED && !NO_HIDDEN].
18933 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18935 [SHARED && DO_VERSIONING]: Likewise..
18936 * libio/Makefile [$(versioning) = yes]: Change conditionals to
18937 [$(build-shared) = yes].
18938 * manual/install.texi (--disable-versioning): Remove
18940 * INSTALL: Regenerated.
18941 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18943 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18944 [$(build-shared) = yes].
18945 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18946 * sysdeps/i386/i686/multiarch/strstr-c.c
18947 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18948 [SHARED && !NO_HIDDEN].
18949 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18950 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18951 * sysdeps/powerpc/powerpc32/dl-machine.c
18952 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18953 * sysdeps/powerpc/powerpc32/sysdep.h
18954 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18955 to [SHARED && PIC && !NO_HIDDEN].
18956 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18957 conditional to [SHARED].
18959 2013-09-04 Will Newton <will.newton@linaro.org>
18961 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18962 * benchtests/bench-string.h: Include bench-timing.h instead
18963 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18964 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18965 call to HP_TIMING_DIFF_INIT.
18966 * benchtests/bench-memccpy.c: Use bench-timing.h macros
18967 instead of hp-timing.h macros.
18968 * benchtests/bench-memchr.c: Likewise.
18969 * benchtests/bench-memcmp.c: Likewise.
18970 * benchtests/bench-memcpy.c: Likewise.
18971 * benchtests/bench-memmem.c: Likewise.
18972 * benchtests/bench-memmove.c: Likewise.
18973 * benchtests/bench-memset.c: Likewise.
18974 * benchtests/bench-rawmemchr.c: Likewise.
18975 * benchtests/bench-strcasecmp.c: Likewise.
18976 * benchtests/bench-strcasestr.c: Likewise.
18977 * benchtests/bench-strcat.c: Likewise.
18978 * benchtests/bench-strchr.c: Likewise.
18979 * benchtests/bench-strcmp.c: Likewise.
18980 * benchtests/bench-strcpy.c: Likewise.
18981 * benchtests/bench-strcpy_chk.c: Likewise.
18982 * benchtests/bench-strlen.c: Likewise.
18983 * benchtests/bench-strncasecmp.c: Likewise.
18984 * benchtests/bench-strncat.c: Likewise.
18985 * benchtests/bench-strncmp.c: Likewise.
18986 * benchtests/bench-strncpy.c: Likewise.
18987 * benchtests/bench-strnlen.c: Likewise.
18988 * benchtests/bench-strpbrk.c: Likewise.
18989 * benchtests/bench-strrchr.c: Likewise.
18990 * benchtests/bench-strspn.c: Likewise.
18991 * benchtests/bench-strstr.c: Likewise.
18993 2013-09-04 Will Newton <will.newton@linaro.org>
18995 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18997 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19000 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19001 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19002 * math/libm-test.inc (lgamma_test_data): Add more tests.
19003 * sysdeps/i386/fpu/libm-test-ulps: Update.
19004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19006 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19008 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19009 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19012 Add strcmp-sse2-unaligned
19013 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19015 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19017 * Versions.def (libc): Add GLIBC_2.19.
19019 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19021 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19022 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19024 2013-09-02 Joseph Myers <joseph@codesourcery.com>
19027 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19028 intermediate calculations in recurrence.
19029 (__ieee754_ynf): Likewise.
19030 * math/libm-test.inc (jn_test_data): Do not allow spurious
19031 underflow exception. Add more tests.
19032 (yn_test_data): Add more tests.
19033 * sysdeps/i386/fpu/libm-test-ulps: Update.
19034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19036 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
19038 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19040 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19042 * csu/init-first.c: Fix then/than typos.
19043 * locale/programs/ld-collate.c: Likewise.
19044 * locale/programs/linereader.h: Likewise.
19045 * manual/charset.texi: Likewise.
19046 * manual/filesys.texi: Likewise.
19047 * manual/stdio.texi: Likewise.
19048 * manual/string.texi: Likewise.
19049 * stdlib/fmtmsg.c: Likewise.
19050 * sysdeps/i386/stpncpy.S: Likewise.
19051 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19052 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19053 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19054 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19056 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19058 * elf/dl-open.c: Fix typos.
19059 * iconvdata/gbbig5.c: Likewise.
19060 * iconvdata/iso-2022-jp.c: Likewise.
19061 * iconv/gconv_int.h: Likewise.
19062 * iconv/loop.c: Likewise.
19063 * nis/rpcsvc/nis.h: Likewise.
19064 * resolv/ns_name.c: Likewise.
19065 * stdio-common/vfscanf.c: Likewise.
19066 * streams/stropts.h: Likewise.
19067 * sunrpc/rpc_thread.c: Likewise.
19068 * sysdeps/i386/strpbrk.S: Likewise.
19069 * sysdeps/ieee754/k_standard.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19072 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19073 * sysdeps/mach/hurd/profil.c: Likewise.
19074 * sysdeps/s390/dl-procinfo.h: Likewise.
19075 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19076 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19077 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19078 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19079 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19081 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19083 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19084 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19086 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19088 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19089 aix specific files.
19090 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19091 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19092 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19093 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19094 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19095 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19096 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19097 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19099 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19100 Roland McGrath <roland@hack.frob.com>
19102 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19103 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19105 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19107 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19108 __executable_start symbol instead of _start.
19110 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19112 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19113 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19115 * sysdeps/gnu/ldsodefs.h: ... this new file.
19117 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19118 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19119 instead of ELFOSABI_LINUX.
19121 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19122 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19123 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19124 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19126 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19127 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19128 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19130 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19131 (ibm_extended_long_double): Add ieee_nan member.
19132 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19133 (do_test): New function.
19135 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19137 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19138 functions, renamed from truncdfsf_test, trunctfsf_test,
19140 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19142 (do_test): Run all these.
19144 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19146 * argp/argp-help.c: Fix typos.
19147 * argp/argp-parse.c: Likewise.
19148 * debug/backtracesyms.c: Likewise.
19149 * elf/elf.h: Likewise.
19150 * malloc/malloc.c: Likewise.
19151 * nis/nis_print.c: Likewise.
19152 * resolv/res_comp.c: Likewise.
19153 * stdlib/stdlib.h: Likewise.
19154 * sunrpc/clnt_tcp.c: Likewise.
19155 * sunrpc/clnt_udp.c: Likewise.
19156 * sunrpc/clnt_unix.c: Likewise.
19157 * sysdeps/unix/bsd/ptsname.c: Likewise.
19158 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19159 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19166 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19168 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19170 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19173 2013-08-27 Mike Frysinger <vapier@gentoo.org>
19176 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19177 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19178 ($(objpfx)bug-dl-leaf): New rule.
19179 ($(objpfx)bug-dl-leaf.so): Likewise.
19180 ($(objpfx)bug-dl-leaf.out): Likewise.
19181 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19182 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19183 * dlfcn/bug-dl-leaf.c: New test.
19184 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19185 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19186 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19187 (dlclose): Likewise.
19188 (dlmopen): Likewise.
19190 2013-08-27 Roland McGrath <roland@hack.frob.com>
19192 * include/netdb.h [!_ISOMAC]:
19193 Don't include <tls.h>.
19194 (h_errno, __libc_h_errno): Move declaration and macros out of
19197 * include/resolv.h [_RESOLV_H_]:
19198 Don't include <tls.h>.
19199 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19200 * resolv/res_libc.c: Don't include <tls.h>.
19201 (_res): Use __attribute__ ((nocommon)) in place of
19202 __attribute__ ((section (".bss"))).
19204 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19205 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19207 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19209 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19210 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19212 * resolv/res_mkquery.c: Include <sys/time.h>.
19214 * inet/ifreq.c: Moved to ...
19215 * sysdeps/unix/ifreq.c: ... here.
19216 * inet/ifreq.c: New file, true stub version.
19218 * socket/sa_len.c: New file.
19219 * socket/Makefile (aux): Add it.
19220 * sysdeps/unix/sysv/linux/Makefile
19221 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19222 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19223 and #include <socket/sa_len.c>.
19224 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19225 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19227 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19228 * bits/socket.h: ... here.
19230 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19231 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19232 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19234 2013-08-27 Andreas Schwab <schwab@suse.de>
19237 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19238 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19239 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19240 * string/test-strcasecmp.c (test_main): Run tests in several
19242 * string/test-strncasecmp.c (test_main): Likewise.
19244 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19245 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19246 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19247 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19248 (__strncasecmp_ssse3) [PIC]: Likewise.
19250 2013-08-26 Roland McGrath <roland@hack.frob.com>
19252 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19254 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19255 instead of explicitly declaring xdecrypt.
19256 * nis/nss_nis/nis-publickey.c: Likewise.
19258 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19261 * nscd/aicache.c: Include res_hconf.h.
19262 (addhstaiX): Initialize res_hconf.
19264 2013-08-26 Andreas Schwab <schwab@suse.de>
19266 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19267 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19269 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19271 * nscd/aicache.c (addhstaiX): Fix indentation.
19273 2013-08-25 Mike Frysinger <vapier@gentoo.org>
19275 * configure.ac: Quote $build_pt_chown test.
19276 * configure: Regenerated.
19278 2013-08-23 Joseph Myers <joseph@codesourcery.com>
19281 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19282 * math/s_cexpf.c (__cexpf): Likewise.
19283 * math/s_cexpl.c (__cexpl): Likewise.
19284 * math/libm-test.inc (cexp_test_data): Correct expected return
19285 value for NaN + i0. Add another test.
19287 2013-08-22 David S. Miller <davem@davemloft.net>
19289 * po/ca.po: Update Catalan translation from translation project.
19290 * po/uk.po: Add Ukrainian translations from translation project.
19292 2013-08-21 Joseph Myers <joseph@codesourcery.com>
19295 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19296 is infinite, not alongside NaN test.
19297 * math/s_fdimf.c (__fdimf): Likewise.
19298 * math/s_fdiml.c (__fdiml): Likewise.
19299 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19300 errno is unchanged.
19302 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
19304 * argp/argp-help.c: Fix typos.
19305 * crypt/speeds.c: Likewise.
19306 * csu/check_fds.c: Likewise.
19307 * elf/dl-load.c: Likewise.
19308 * elf/dl-open.c: Likewise.
19309 * elf/reldep3.c: Likewise.
19310 * elf/reldep.c: Likewise.
19311 * elf/sprof.c: Likewise.
19312 * iconv/iconv_charmap.c: Likewise.
19313 * iconv/skeleton.c: Likewise.
19314 * iconv/strtab.c: Likewise.
19315 * io/lockf64.c: Likewise.
19316 * libio/libioP.h: Likewise.
19317 * resolv/gai_notify.c: Likewise.
19318 * resolv/ns_name.c: Likewise.
19319 * resolv/ns_samedomain.c: Likewise.
19320 * resolv/res_send.c: Likewise.
19321 * stdlib/random.c: Likewise.
19322 * sunrpc/rpc/xdr.h: Likewise.
19323 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19324 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19325 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19326 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19327 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19328 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19329 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19330 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19331 * sysdeps/mach/hurd/check_fds.c: Likewise.
19332 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19333 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19334 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19335 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19336 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19337 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19338 * sysdeps/pthread/aio_notify.c: Likewise.
19339 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19340 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19341 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19342 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19343 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19345 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19347 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19348 version if bit_Slow_SSE4_2 is set.
19349 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19350 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19352 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19355 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19356 trampoline stack frame information.
19357 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19358 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19359 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19360 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19361 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19362 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19363 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19364 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19366 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19367 interrupting a syscall and set with option SA_SIGINFO.
19369 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19372 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19373 argument is infinite.
19374 * math/s_cprojf.c (__cprojf): Likewise.
19375 * math/s_cprojl.c (__cprojl): Likewise.
19376 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19377 * math/libm-test.inc (cproj_test_data): Add more tests.
19379 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19381 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19382 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19383 size. Use __ffs to determine corresponding shift.
19385 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19386 Roland McGrath <roland@hack.frob.com>
19388 * Makefile (INSTALL): Remove trailing blank lines from output of
19391 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19393 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19394 Align 32 bit compat elf_greg to 8 bytes.
19396 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19398 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19400 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19402 * string/strcoll_l.c (coll_seq): New structure.
19403 (get_next_seq_cached): New function.
19404 (get_next_seq): New function.
19405 (do_compare): New function.
19406 (STRCOLL): Use GNU style definition. Simplify implementation
19407 by using get_next_seq, get_next_seq_cached and do_compare.
19409 2013-08-16 Florian Weimer <fweimer@redhat.com>
19413 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19415 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19417 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19418 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19419 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19421 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19422 GETDENTS_64BIT_ALIGNED.
19423 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19424 * manual/filesys.texi (Reading/Closing Directory): Document
19425 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19427 * manual/conf.texi (Limits for Files): Add portability note to
19428 NAME_MAX, PATH_MAX.
19429 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19431 2013-08-13 Andreas Schwab <schwab@suse.de>
19434 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19436 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19437 LDBL_MAX_EXP >= 16384]: Add tests for it.
19439 2013-08-12 David S. Miller <davem@davemloft.net>
19441 * version.h (RELEASE): Set to "development".
19442 (VERSION): Set to "2.18.90".
19443 * NEWS: Add 2.19 section.
19445 2013-08-03 David S. Miller <davem@davemloft.net>
19447 * po/ko.po: Update Korean translation from translation project.
19449 2013-08-01 David S. Miller <davem@davemloft.net>
19451 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19452 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19455 2013-07-30 David S. Miller <davem@davemloft.net>
19457 * po/fr.po: Update French translation from translation project.
19459 2013-07-28 David S. Miller <davem@davemloft.net>
19461 * po/cs.po: Update Czech translation from translation project.
19463 * po/sv.po: Update Swedish translation from translation project.
19465 2013-07-27 David S. Miller <davem@davemloft.net>
19467 * po/eo.po: Update Esperanto translation from translation project.
19469 * po/vi.po: Update Vietnamese translation from translation project.
19471 * po/de.po: Update German translation from translation project.
19473 2013-07-26 David S. Miller <davem@davemloft.net>
19475 * po/bg.po: Update Bulgarian translation from translation project.
19477 * po/nl.po: Update Dutch translation from translation project.
19478 * po/pl.po: Update Polish translation from translation project.
19479 * po/ru.po: Update Russian translation from translation project.
19481 2013-07-24 David S. Miller <davem@davemloft.net>
19483 * po/libc.pot: Update.
19485 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19487 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19488 variable page size.
19489 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19490 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19491 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19493 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19495 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19497 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19498 Andreas Schwab <schwab@suse.de>
19499 Roland McGrath <roland@hack.frob.com>
19500 Joseph Myers <joseph@codesourcery.com>
19501 Carlos O'Donell <carlos@redhat.com>
19504 * config.h.in: Define HAVE_PT_CHOWN.
19505 * config.make.in (build-pt-chown): New variable.
19506 * configure.in (--enable-pt_chown): New configure option.
19507 * configure: Regenerate.
19508 * login/Makefile: Include Makeconfig. Build pt_chown only if
19509 build-pt-chown is enabled.
19510 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19511 pt_chown to fix pty ownership.
19512 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19514 * manual/install.texi (Configuring and compiling): Mention
19515 --enable-pt_chown. Add @findex for grantpt.
19516 * INSTALL: Regenerate.
19518 2013-07-20 David S. Miller <davem@davemloft.net>
19520 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19521 difference between 32-bit and 64-bit.
19523 2013-07-15 Carlos O'Donell <carlos@redhat.com>
19526 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19527 Avoid system header dependency with -ffreestanding.
19528 ($(objpfx)bits/syscall%d): Likewise.
19530 2013-07-13 David S. Miller <davem@davemloft.net>
19532 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19533 underflows from atanl/atan2l due to bug 15319.
19534 (casinh_test_data): Likewise.
19536 2013-07-07 David S. Miller <davem@davemloft.net>
19538 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19540 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19542 * sysdeps/i386/fpu/libm-test-ulps: Update.
19543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19545 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19547 * configure.in (--enable-lock-elision): Fix message text.
19548 * INSTALL: Regenerate.
19549 * configure: Regenerate.
19551 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19555 2013-07-03 Andreas Jaeger <aj@suse.de>
19557 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19559 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19560 (ptrace_peeksiginfo_args): Add.
19561 (__ptrace_peeksiginfo_flags): Add.
19562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19566 2013-07-03 Allan McRae <allan@archlinux.org>
19568 * sysdeps/i386/fpu/libm-test-ulps: Update.
19570 2013-07-02 David S. Miller <davem@davemloft.net>
19572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19574 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19578 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19580 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19583 2013-07-02 Andi Kleen <ak@linux.intel.com>
19585 * config.h.in (ENABLE_LOCK_ELISION): Add.
19586 * configure.in (--enable-lock-elision): Add option.
19587 * manual/install.texi: Document --enable lock elision.
19588 * configure: Regenerate
19589 * INSTALL: Regenerate.
19591 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19593 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19594 SSE4.2 strcasecmp for libc.a.
19595 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19597 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19600 * soft-fp/op-common.h (_FP_FMA): New macro.
19601 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19602 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19603 (_FP_MUL_MEAT_1_imm): ... here.
19604 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19605 (_FP_MUL_MEAT_1_wide): ... here.
19606 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19607 (_FP_MUL_MEAT_1_hard): ... here.
19608 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19609 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19610 (_FP_MUL_MEAT_2_wide): ... here.
19611 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19612 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19613 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19614 (_FP_MUL_MEAT_2_gmp): ... here.
19615 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19616 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19617 (_FP_MUL_MEAT_4_wide): ... here.
19618 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19619 (_FP_MUL_MEAT_4_gmp): ... here.
19620 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19621 (_FP_WFRACBITS_DW_S): Likewise.
19622 (_FP_WFRACXBITS_DW_S): Likewise.
19623 (_FP_HIGHBIT_DW_S): Likewise.
19624 (FP_FMA_S): Likewise.
19625 (_FP_FRAC_HIGH_DW_S): Likewise.
19626 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19627 (_FP_WFRACBITS_DW_D): Likewise.
19628 (_FP_WFRACXBITS_DW_D): Likewise.
19629 (_FP_HIGHBIT_DW_D): Likewise.
19630 (FP_FMA_D): Likewise.
19631 (_FP_FRAC_HIGH_DW_D): Likewise.
19632 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19633 (_FP_WFRACBITS_DW_E): Likewise.
19634 (_FP_WFRACXBITS_DW_E): Likewise.
19635 (_FP_HIGHBIT_DW_E): Likewise.
19636 (FP_FMA_E): Likewise.
19637 (_FP_FRAC_HIGH_DW_E): Likewise.
19638 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19639 (_FP_WFRACBITS_DW_Q): Likewise.
19640 (_FP_WFRACXBITS_DW_Q): Likewise.
19641 (_FP_HIGHBIT_DW_Q): Likewise.
19642 (FP_FMA_Q): Likewise.
19643 (_FP_FRAC_HIGH_DW_Q): Likewise.
19644 * soft-fp/fmasf4.c: New file.
19645 * soft-fp/fmadf4.c: Likewise.
19646 * soft-fp/fmatf4.c: Likewise.
19648 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19651 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19653 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19655 (index_Slow_SSE4_2): Likewise.
19656 (index_Prefer_PMINUB_for_stringop): Likewise.
19657 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19658 bit_Slow_SSE4_2 is set.
19659 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19660 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19662 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19664 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19665 rtld_global._dl_hwcap2.
19666 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19668 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19669 POWER8 feature descriptions defined in _dl_hwcap2.
19670 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19671 string handling for POWER8 feature bits.
19672 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19673 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19674 _dl_powerpc_cap_flags.
19675 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19676 * sysdeps/powerpc/rtld-global-offsets.sym
19677 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19678 _dl_hwcap2 in the rtld_global_ro structure.
19680 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19682 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19683 hardware capabilities in support of AT_HWCAP2.
19684 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19685 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19687 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19688 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19689 explicitly the unknown a_type display mechanism is used.
19690 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19691 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19693 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19694 to macro prototype for AT_HWCAP2 support.
19695 * sysdeps/i386/dl-procinfo.h: Likewise.
19696 * sysdeps/s390/dl-procinfo.h: Likewise.
19697 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19698 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19699 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19700 return -1 for unknown a_type display fallback.
19701 * sysdeps/sparc/dl-procinfo.h: Likewise.
19702 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19703 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19705 2013-06-28 Joseph Myers <joseph@codesourcery.com>
19707 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19708 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19710 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19713 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19714 mprotect making __stack_prot writable.
19716 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
19717 Joseph Myers <joseph@codesourcery.com>
19719 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19720 as being properly aligned.
19722 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
19724 * dlfcn/modstatic5.c: New file.
19725 * dlfcn/tststatic5.c: New file.
19726 * dlfcn/Makefile (tests): Add tststatic5.
19727 (tests-static): Likewise.
19728 (modules-names): Add modstatic5.
19729 (tststatic5-ENV): New variable.
19730 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19733 * elf/dl-support.c (_dl_main_map): New variable.
19734 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19735 (_dl_nns, _dl_load_adds): Set to 1.
19736 (_dl_initial_searchlist): Refer to _dl_main_map.
19737 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19738 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19739 call to _dl_get_origin.
19740 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19742 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19743 * dlfcn/modstatic3.c: New file.
19744 * dlfcn/tststatic3.c: New file.
19745 * dlfcn/tststatic4.c: New file.
19746 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19747 (tests-static): Likewise.
19748 (modules-names): Add modstatic3.
19749 (tststatic3-ENV, tststatic4-ENV): New variables.
19750 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19751 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19753 2013-06-26 Joseph Myers <joseph@codesourcery.com>
19755 * configure.in (CC): Require GCC version 4.4 or later.
19756 * configure: Regenerated.
19757 * manual/install.texi (Tools for Compilation): Update GCC version
19759 * INSTALL: Regenerated.
19761 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19764 * string/test-memcmp.c (check2): New.
19765 (main): Call check2.
19767 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19769 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
19772 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19774 (dl_open_worker) [!SHARED]: ... here.
19776 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19778 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19780 2013-06-25 Richard Henderson <rth@redhat.com>
19782 * locale/programs/locarchive.c: Include <libc-internal.h>
19784 2013-06-25 Joseph Myers <joseph@codesourcery.com>
19786 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19787 trailing whitespace removed.
19789 2013-06-24 Mike Frysinger <vapier@gentoo.org>
19792 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19793 * locale/programs/locarchive.c: Include libc-mmap.h.
19794 (prepare_address_space): Take two new outputs (the mmap base and len).
19795 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
19797 (create_archive): Declare new mmap base and len values for
19798 prepare_address_space, and store the result in ah.
19799 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19800 (enlarge_archive): If ah->mmap_base is not NULL, use that and
19801 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19802 Declare new mmap base and len values for
19803 prepare_address_space, and store the result in new_ah.
19804 (open_archive): Declare new mmap base and len values for
19805 prepare_address_space, and store the result in ah.
19806 (close_archive): If ah->mmap_base is not NULL, use that and
19807 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19808 * sysdeps/generic/libc-mmap.h: New file.
19810 2013-06-24 Mike Frysinger <vapier@gentoo.org>
19812 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19813 (ALIGN_UP): Likewise.
19814 (PTR_ALIGN_DOWN): Likewise.
19815 (PTR_ALIGN_UP): Likewise.
19817 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19819 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19820 entry mapped to PPC_PLATFORM_POWER8.
19821 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19823 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19824 (_dl_string_platform): Add case for exporting platform position for
19826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19827 search path to sysdeps/powerpc/powerpc32/power8 directory.
19828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19829 search path to sysdeps/powerpc/powerpc64/power8 directory.
19830 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19831 power7 directories.
19832 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19833 power7 directories.
19835 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19837 * INSTALL: Regenerate.
19839 * nscd/connections.c (nscd_init): Fix comment.
19841 2013-06-22 Joseph Myers <joseph@codesourcery.com>
19843 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19846 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19847 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19849 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19851 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19853 (DL_DST_REQ_STATIC): Remove macro.
19855 2013-06-21 Joseph Myers <joseph@codesourcery.com>
19858 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19859 with a shift of 0 bits.
19861 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
19863 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19866 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19869 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19871 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19873 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19874 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19875 accepts -fno-tree-loop-distribute-patterns.
19876 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19877 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19879 * string/memset.c (memset): Likewise.
19880 * string/test-memmove.c (simple_memmove): Disable loop transformation
19882 * string/test-memset.c (simple_memset): Likewise.
19883 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19884 * benchtests/bench-memset.c (simple_memset): Likewise.
19885 * configure: Regenerated.
19887 2013-06-20 Joseph Myers <joseph@codesourcery.com>
19889 * math/test-misc.c (main): Ignore fesetround failure when failures
19890 of subsequent rounding tests would be ignored.
19893 * math/fedisblxcpt.c (fedisableexcept): Return 0.
19894 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19895 * math/fegetenv.c (__fegetenv): Return 0.
19896 * math/fegetexcept.c (fegetexcept): Return 0.
19897 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19899 * math/feholdexcpt.c (feholdexcept): Return 0.
19900 * math/fesetenv.c (__fesetenv): Return 0.
19901 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19902 argument FE_TONEAREST.
19903 * math/feupdateenv.c (__feupdateenv): Return 0.
19904 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19906 2013-06-18 Roland McGrath <roland@hack.frob.com>
19908 * elf/rtld-Rules (rtld-compile-command.S): New variable.
19909 (rtld-compile-command.s, rtld-compile-command.c): New variables.
19910 ($(objpfx)rtld-%.os rules): Use them.
19912 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19914 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19917 2013-06-17 Roland McGrath <roland@hack.frob.com>
19919 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19920 length of target pattern, then descending length of dependency pattern.
19921 * configure.in (AWK): Require gawk 3.1.2 or newer.
19922 * manual/install.texi (Tools for Compilation): Say that we do.
19923 * configure: Regenerated.
19925 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19926 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19927 * scripts/sysd-rules.awk: ... this new script.
19928 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19929 than a glob-style pattern.
19931 2013-06-17 Joseph Myers <joseph@codesourcery.com>
19933 * math/test-misc.c (main): Do not treat incorrectly rounded
19934 conversions as failure unless ROUNDING_TESTS passes.
19936 2013-06-15 Joseph Myers <joseph@codesourcery.com>
19939 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19940 restore exception state around main square root computation, then
19941 check for inexactness explicitly.
19943 * math/libm-test.inc (fma_test_data): Add another test.
19945 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19947 * manual/threads.texi (Non-POSIX Extensions): New document
19948 node. Document pthread_getattr_default_np and
19949 pthread_setattr_default_np.
19951 * Versions.def (libpthread): Add GLIBC_2.18.
19952 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19961 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19972 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19975 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19977 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19978 H.J. Lu <hjl.tools@gmail.com>
19981 * sysdeps/x86_64/rtld-memset.c: Remove file.
19982 * sysdeps/x86_64/rtld-memset.S: New file.
19984 2013-06-14 Joseph Myers <joseph@codesourcery.com>
19986 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19987 (test_in_one_mode): Take arguments for whether the rounding mode
19988 is supported for each floating-point type.
19989 (do_test): Pass new arguments to test_in_one_mode using
19992 2013-06-13 Roland McGrath <roland@hack.frob.com>
19994 * posix/tst-waitid.c (do_test): Distinguish different instances of
19995 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
19996 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19997 before entering the kernel for waitpid.
19999 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20001 * NEWS: Fix note on clock function precision. Text by Roland
20004 2013-06-13 Roland McGrath <roland@hack.frob.com>
20006 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20007 it into place only when and if the sanity check passes.
20009 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20011 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20012 output for whether conversion result is exact. Take argument
20013 indicating whether type is IBM long double.
20014 (round_for_all): Change need_exact field to ibm_ld.
20015 * stdlib/tst-strtod-round.c (struct exactness): New type.
20016 (struct test): Change bool ld_ok field to struct exactness exact.
20017 (TEST): Update all definitions for change to field.
20018 (tests): Regenerate array contents.
20019 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20020 field value. Check for IBM long double here.
20021 (do_test): Update calls to test_in_one_mode.
20023 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20026 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20027 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20029 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20032 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20033 generated by the compiler on loop optimizations.
20034 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20035 general definitions.
20037 2013-06-12 Joseph Myers <joseph@codesourcery.com>
20039 * math/bug-nextafter.c: Include <math-tests.h>.
20040 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20042 * math/bug-nexttoward.c: Include <math-tests.h>.
20043 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20045 * math/test-misc.c: Include <math-tests.h>.
20046 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20049 2013-06-12 Andreas Jaeger <aj@suse.de>
20051 * po/ia.po: Update Interlingua translation from translation
20054 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20056 * include/fenv.h: Include stdbool.h.
20057 (struct rm_ctx): New structure.
20058 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20060 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20061 (SET_RESTORE_ROUNDF): Likewise.
20062 (SET_RESTORE_ROUNDL): Likewise.
20063 (SET_RESTORE_ROUND_NOEX): Likewise.
20064 (SET_RESTORE_ROUND_NOEXF): Likewise.
20065 (SET_RESTORE_ROUND_NOEXL): Likewise.
20066 (SET_RESTORE_ROUND_53BIT): Likewise.
20067 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20068 (libc_feresetround_noexf_ctx): Likewise.
20069 (libc_feresetround_noexl_ctx): Likewise.
20070 (libc_feholdsetround_53bit_ctx): Likewise.
20071 (libc_feresetround_53bit_ctx): Likewise.
20072 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20073 (libc_feholdexcept_setround_sse_ctx): New function.
20074 (libc_fesetenv_sse_ctx): Likewise.
20075 (libc_feupdateenv_sse_ctx): Likewise.
20076 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20077 (libc_feholdexcept_setround_387_ctx): Likewise.
20078 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20079 (libc_feholdsetround_387_prec_ctx): Likewise.
20080 (libc_feholdsetround_387_ctx): Likewise.
20081 (libc_feholdsetround_387_53bit_ctx): Likewise.
20082 (libc_feholdsetround_sse_ctx): Likewise.
20083 (libc_feresetround_sse_ctx): Likewise.
20084 (libc_feresetround_387_ctx): Likewise.
20085 (libc_feupdateenv_387_ctx): Likewise.
20086 (libc_feholdexcept_setroundf_ctx): Define macro.
20087 (libc_fesetenvf_ctx): Likewise.
20088 (libc_feupdateenvf_ctx): Likewise.
20089 (libc_feholdsetroundf_ctx): Likewise.
20090 (libc_feresetroundf_ctx): Likewise.
20091 (libc_feholdexcept_setround_ctx): Likewise.
20092 (libc_fesetenv_ctx): Likewise.
20093 (libc_feupdateenv_ctx): Likewise.
20094 (libc_feholdsetround_ctx): Likewise.
20095 (libc_feresetround_ctx): Likewise.
20096 (libc_feholdexcept_setroundl_ctx): Likewise.
20097 (libc_feupdateenvl_ctx): Likewise.
20098 (libc_feholdsetroundl_ctx): Likewise.
20099 (libc_feresetroundl_ctx): Likewise.
20100 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20101 (libc_feresetround_53bit_ctx): Likewise.
20103 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20105 * locale/iso-639.def: Convert to UTF-8.
20107 2013-06-11 Joseph Myers <joseph@codesourcery.com>
20109 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20110 (EXCEPTION_TESTS_double): Likewise.
20111 (EXCEPTION_TESTS_long_double): Likewise.
20112 (EXCEPTION_TESTS): Likewise.
20113 * math/libm-test.inc (test_exceptions): Only test exceptions if
20114 EXCEPTION_TESTS (FLOAT).
20116 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20118 * benchtests/Makefile (string-bench): Add strcpy_chk and
20120 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20121 * benchtests/bench-stpcpy_chk.c: New file.
20122 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20123 * benchtests/bench-strcpy_chk.c: New file.
20124 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20126 (do_test): Likewise.
20128 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20130 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20131 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20132 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20133 with tabs where appropriate.
20134 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20136 [PPC_PLATFORM_PPC440]: Likewise.
20137 [PPC_PLATFORM_PPC464]: Likewise.
20138 [PPC_PLATFORM_PPC476]: Likewise.
20139 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20140 ppc464, and ppc476 platform strings merging from ports/
20143 2013-06-11 Andreas Schwab <schwab@suse.de>
20146 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20147 (from_ucs4_idx): Regenerate.
20148 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20149 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20150 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20151 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20152 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20153 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20154 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20155 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20156 from FROM_LOOP and TO_LOOP specific macros.
20157 (BODY): Handle combining characters.
20158 * iconvdata/BIG5HKSCS.irreversible: Update.
20159 * iconvdata/BIG5HKSCS.precomposed: New file.
20160 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20162 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20164 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20166 * include/sys/time.h: Fix indentation and add copyright header.
20168 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20169 (do_test): Likewise.
20170 * string/test-memchr.c (do_one_test): Likewise.
20171 (do_test): Likewise.
20172 * string/test-memcmp.c (do_one_test): Likewise.
20173 (do_test): Likewise.
20174 * string/test-memcpy.c (do_one_test): Likewise.
20175 (do_test): Likewise.
20176 * string/test-memmem.c (do_one_test): Likewise.
20177 (do_test): Likewise.
20178 (do_random_tests): Likewise.
20179 * string/test-memmove.c (do_one_test): Likewise.
20180 (do_test): Likewise.
20181 * string/test-memset.c (do_one_test): Likewise.
20182 (do_test): Likewise.
20183 * string/test-rawmemchr.c (do_one_test): Likewise.
20184 (do_test): Likewise.
20185 * string/test-strcasecmp.c (do_one_test): Likewise.
20186 (do_test): Likewise.
20187 * string/test-strcasestr.c (do_one_test): Likewise.
20188 (do_test): Likewise.
20189 * string/test-strcat.c (do_one_test): Likewise.
20190 (do_test): Likewise.
20191 * string/test-strchr.c (do_one_test): Likewise.
20192 (do_test): Likewise.
20193 * string/test-strcmp.c (do_one_test): Likewise.
20194 (do_test): Likewise.
20195 * string/test-strcpy.c (do_one_test): Likewise.
20196 (do_test): Likewise.
20197 * string/test-string.h: Likewise.
20198 (test_init): Likewise.
20199 * string/test-strlen.c (do_one_test): Likewise.
20200 (do_test): Likewise.
20201 * string/test-strncasecmp.c (do_one_test): Likewise.
20202 (do_test): Likewise.
20203 * string/test-strncat.c (do_one_test): Likewise.
20204 (do_test): Likewise.
20205 * string/test-strncmp.c (do_one_test): Likewise.
20206 (do_test_limit): Likewise.
20207 (do_test): Likewise.
20208 * string/test-strncpy.c (do_one_test): Likewise.
20209 (do_test): Likewise.
20210 * string/test-strnlen.c (do_one_test): Likewise.
20211 (do_test): Likewise.
20212 * string/test-strpbrk.c (do_one_test): Likewise.
20213 (do_test): Likewise.
20214 * string/test-strrchr.c (do_one_test): Likewise.
20215 (do_test): Likewise.
20216 * string/test-strspn.c (do_one_test): Likewise.
20217 (do_test): Likewise.
20218 * string/test-strstr.c (do_one_test): Likewise.
20219 (do_test): Likewise.
20221 * benchtests/Makefile (string-bench): Add string benchmarks.
20222 * benchtests/bench-bcopy-ifunc.c: New file.
20223 * benchtests/bench-bcopy.c: New file.
20224 * benchtests/bench-bzero-ifunc.c: New file.
20225 * benchtests/bench-bzero.c: New file.
20226 * benchtests/bench-memccpy-ifunc.c: New file.
20227 * benchtests/bench-memccpy.c: New file.
20228 * benchtests/bench-memchr-ifunc.c: New file.
20229 * benchtests/bench-memchr.c: New file.
20230 * benchtests/bench-memcmp-ifunc.c: New file.
20231 * benchtests/bench-memcmp.c: New file.
20232 * benchtests/bench-memmem-ifunc.c: New file.
20233 * benchtests/bench-memmem.c: New file.
20234 * benchtests/bench-memmove-ifunc.c: New file.
20235 * benchtests/bench-memmove.c: New file.
20236 * benchtests/bench-mempcpy-ifunc.c: New file.
20237 * benchtests/bench-mempcpy.c: New file.
20238 * benchtests/bench-memset-ifunc.c: New file.
20239 * benchtests/bench-memset.c: New file.
20240 * benchtests/bench-rawmemchr-ifunc.c: New file.
20241 * benchtests/bench-rawmemchr.c: New file.
20242 * benchtests/bench-stpcpy-ifunc.c: New file.
20243 * benchtests/bench-stpcpy.c: New file.
20244 * benchtests/bench-stpncpy-ifunc.c: New file.
20245 * benchtests/bench-stpncpy.c: New file.
20246 * benchtests/bench-strcasecmp-ifunc.c: New file.
20247 * benchtests/bench-strcasecmp.c: New file.
20248 * benchtests/bench-strcasestr-ifunc.c: New file.
20249 * benchtests/bench-strcasestr.c: New file.
20250 * benchtests/bench-strcat-ifunc.c: New file.
20251 * benchtests/bench-strcat.c: New file.
20252 * benchtests/bench-strchr-ifunc.c: New file.
20253 * benchtests/bench-strchr.c: New file.
20254 * benchtests/bench-strchrnul-ifunc.c: New file.
20255 * benchtests/bench-strchrnul.c: New file.
20256 * benchtests/bench-strcmp-ifunc.c: New file.
20257 * benchtests/bench-strcmp.c: New file.
20258 * benchtests/bench-strcpy-ifunc.c: New file.
20259 * benchtests/bench-strcpy.c: New file.
20260 * benchtests/bench-strcspn-ifunc.c: New file.
20261 * benchtests/bench-strcspn.c: New file.
20262 * benchtests/bench-strlen-ifunc.c: New file.
20263 * benchtests/bench-strlen.c: New file.
20264 * benchtests/bench-strncasecmp-ifunc.c: New file.
20265 * benchtests/bench-strncasecmp.c: New file.
20266 * benchtests/bench-strncat-ifunc.c: New file.
20267 * benchtests/bench-strncat.c: New file.
20268 * benchtests/bench-strncmp-ifunc.c: New file.
20269 * benchtests/bench-strncmp.c: New file.
20270 * benchtests/bench-strncpy-ifunc.c: New file.
20271 * benchtests/bench-strncpy.c: New file.
20272 * benchtests/bench-strnlen-ifunc.c: New file.
20273 * benchtests/bench-strnlen.c: New file.
20274 * benchtests/bench-strpbrk-ifunc.c: New file.
20275 * benchtests/bench-strpbrk.c: New file.
20276 * benchtests/bench-strrchr-ifunc.c: New file.
20277 * benchtests/bench-strrchr.c: New file.
20278 * benchtests/bench-strspn-ifunc.c: New file.
20279 * benchtests/bench-strspn.c: New file.
20280 * benchtests/bench-strstr-ifunc.c: New file.
20281 * benchtests/bench-strstr.c: New file.
20283 * benchtests/Makefile: Disable parallel execution of targets.
20284 (string-bench): Add memcpy.
20285 (benchset): New variable to store a list of benchmark sets.
20286 (bench-func): Renamed from bench.
20287 (bench-set): New target.
20288 (bench): Depend on bench-func and bench-set.
20289 * benchtests/README: Add section on benchmark sets.
20290 * benchtests/bench-memcpy-ifunc.c: New file.
20291 * benchtests/bench-memcpy.c: New file.
20292 * benchtests/bench-string.h: New file.
20294 2013-06-11 Andreas Schwab <schwab@suse.de>
20297 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20298 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20299 values in the triple.
20300 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20301 terminator in the group key.
20303 2013-06-11 Andreas Jaeger <aj@suse.de>
20305 * po/zh_TW.po: Update Chinese (traditional) translation from
20306 translation project.
20308 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20310 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20311 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20312 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20313 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20314 (clock_getcpuclockid): Likewise.
20315 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20316 Add weak_alias and libc_hidden_def.
20317 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20318 * rt/clock_gettime.c (clock_gettime): Rename to
20319 __clock_gettime. Add weak_alias and libc_hidden_def.
20320 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20321 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20322 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20323 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20324 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20326 * rt/clock_settime.c (clock_settime): Rename to
20327 __clock_settime. Add weak_alias and libc_hidden_def.
20328 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20330 2013-06-10 Joseph Myers <joseph@codesourcery.com>
20332 * mach/err_boot.sub: Remove trailing whitespace.
20333 * mach/err_ipc.sub: Likewise.
20334 * mach/err_mach.sub: Likewise.
20336 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20337 (ROUNDING_TESTS_double): Likewise.
20338 (ROUNDING_TESTS_long_double): Likewise.
20339 (ROUNDING_TESTS): Likewise.
20340 * math/libm-test.inc: Include <math-tests.h>.
20341 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20342 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20343 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20344 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20346 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20348 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20351 2013-06-08 Joseph Myers <joseph@codesourcery.com>
20353 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20354 otherwise empty TRANS lines.
20355 * sysdeps/gnu/errlist.c: Regenerated.
20357 * catgets/gencat.c (error_print): Use (void) in function
20359 * crypt/crypt_util.c (__init_des): Likewise.
20360 * crypt/speeds.c (Stop): Likewise.
20362 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20363 * inet/ruserpass.c (token): Likewise.
20364 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20365 * intl/localealias.c (extend_alias_table): Likewise.
20366 * intl/plural-exp.c (init_germanic_plural): Likewise.
20367 * libio/fcloseall.c (__fcloseall): Likewise.
20368 * libio/genops.c (_IO_flush_all): Likewise.
20369 (_IO_flush_all_linebuffered): Likewise.
20370 (_IO_cleanup): Likewise.
20371 (_IO_iter_begin): Likewise.
20372 (_IO_iter_end): Likewise.
20373 (_IO_list_lock): Likewise.
20374 (_IO_list_unlock): Likewise.
20375 (_IO_list_resetlock): Likewise.
20376 * libio/getchar.c (getchar): Likewise.
20377 * libio/getchar_u.c (getchar_unlocked): Likewise.
20378 * libio/getwchar.c (getwchar): Likewise.
20379 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20380 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20381 * login/getpt.c (__getpt): Likewise.
20382 * login/tst-utmp.c (main): Likewise.
20383 * malloc/hooks.c (__malloc_check_init): Likewise.
20384 * malloc/malloc.c (__malloc_stats): Likewise.
20385 * malloc/mtrace.c (tr_break): Likewise.
20386 (mtrace): Likewise.
20387 (muntrace): Likewise.
20388 * misc/fstab.c (endfsent): Likewise.
20389 * misc/getclktck.c (__getclktck): Likewise.
20390 * misc/getdtsz.c (__getdtablesize): Likewise.
20391 * misc/gethostid.c (gethostid): Likewise.
20392 * misc/getpagesize.c (__getpagesize): Likewise.
20393 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20394 (__get_nprocs): Likewise.
20395 (__get_phys_pages): Likewise.
20396 (__get_avphys_pages): Likewise.
20397 * misc/getttyent.c (getttyent): Likewise.
20398 (setttyent): Likewise.
20399 (endttyent): Likewise.
20400 * misc/getusershell.c (getusershell): Likewise.
20401 (endusershell): Likewise.
20402 (setusershell): Likewise.
20403 (initshells): Likewise.
20404 * misc/hsearch.c (__hdestroy): Likewise.
20405 * misc/sync.c (sync): Likewise.
20406 * misc/syslog.c (closelog_internal): Likewise.
20407 (closelog): Likewise.
20408 * misc/ttyslot.c (ttyslot): Likewise.
20409 * misc/vhangup.c (vhangup): Likewise.
20410 * posix/fork.c (__fork): Likewise.
20411 * posix/getegid.c (__getegid): Likewise.
20412 * posix/geteuid.c (__geteuid): Likewise.
20413 * posix/getgid.c (__getgid): Likewise.
20414 * posix/getpid.c (__getpid): Likewise.
20415 * posix/getppid.c (__getppid): Likewise.
20416 * posix/getuid.c (__getuid): Likewise.
20417 * posix/pause.c (pause): Likewise.
20418 * posix/setpgrp.c (setpgrp): Likewise.
20419 * posix/setsid.c (__setsid): Likewise.
20420 * posix/test-vfork.c (noop): Likewise.
20421 * resolv/gethnamaddr.c (_endhtent): Likewise.
20422 (_gethtent): Likewise.
20423 (ht_endhostent): Likewise.
20424 (gethostent): Likewise.
20425 (dns_service): Likewise.
20426 * stdlib/drand48.c (drand48): Likewise.
20427 * stdlib/lrand48.c (lrand48): Likewise.
20428 * stdlib/mrand48.c (mrand48): Likewise.
20429 * stdlib/rand.c (rand): Likewise.
20430 * stdlib/random.c (__random): Likewise.
20431 * stdlib/setenv.c (clearenv): Likewise.
20432 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20433 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20434 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20435 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20436 (__get_nprocs): Likewise.
20437 (__get_phys_pages): Likewise.
20438 (__get_avphys_pages): Likewise.
20439 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20440 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20441 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20442 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20443 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20444 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20445 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20446 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20447 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20448 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20449 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20450 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20451 * sysdeps/posix/clock.c (clock): Likewise.
20452 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20453 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20454 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20455 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20456 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20458 (__get_nprocs_conf): Likewise.
20459 (__get_phys_pages): Likewise.
20460 (__get_avphys_pages): Likewise.
20461 * time/clock.c (clock): Likewise.
20462 * time/tzset.c (__tzname_max): Likewise.
20464 2013-06-07 Joseph Myers <joseph@codesourcery.com>
20466 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20467 (__bswap_32): Do not use "register".
20468 * crypt/crypt.c (_ufc_doit_r): Likewise.
20469 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20470 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20471 * gmon/gmon.c (__monstartup): Likewise.
20472 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20473 * hurd/hurdmalloc.c (more_memory): Likewise.
20474 (malloc): Likewise.
20476 (realloc): Likewise.
20477 (malloc_fork_prepare): Likewise.
20478 (malloc_fork_parent): Likewise.
20479 (malloc_fork_child): Likewise.
20480 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20481 (_svcauth_des): Likewise.
20482 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20483 * inet/inet_net.c (inet_network): Likewise.
20484 * inet/inet_netof.c (inet_netof): Likewise.
20485 * inet/rcmd.c (__validuser2_sa): Likewise.
20486 * io/fts.c (fts_open): Likewise.
20487 (fts_load): Likewise.
20488 (fts_close): Likewise.
20489 (fts_read): Likewise.
20490 (fts_children): Likewise.
20491 (fts_build): Likewise.
20492 (fts_stat): Likewise.
20493 (fts_sort): Likewise.
20494 (fts_alloc): Likewise.
20495 (fts_lfree): Likewise.
20496 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20497 (_IO_file_xsgetn): Likewise.
20498 (_IO_file_xsgetn_mmap): Likewise.
20499 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20500 (_IO_cookie_write): Likewise.
20501 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20502 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20503 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20504 * malloc/obstack.c (_obstack_begin): Likewise.
20505 (_obstack_begin_1): Likewise.
20506 (_obstack_newchunk): Likewise.
20507 (_obstack_allocated_p): Likewise.
20508 (obstack_free): Likewise.
20509 (_obstack_memory_used): Likewise.
20510 * misc/getttyent.c (getttynam): Likewise.
20511 (getttyent): Likewise.
20514 * misc/getusershell.c (initshells): Likewise.
20515 * misc/syslog.c (__vsyslog_chk): Likewise.
20516 * misc/ttyslot.c (ttyslot): Likewise.
20517 * nis/nis_hash.c (__nis_hash): Likewise.
20518 * posix/fnmatch_loop.c (FCT): Likewise.
20519 * posix/getconf.c (print_all): Likewise.
20521 * posix/getopt.c (exchange): Likewise.
20522 * posix/glob.c (globfree): Likewise.
20523 (prefix_array): Likewise.
20524 (__glob_pattern_type): Likewise.
20525 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20526 (NS_GET32): Likewise.
20527 (NS_PUT16): Likewise.
20528 (NS_PUT32): Likewise.
20529 * resolv/gethnamaddr.c (getanswer): Likewise.
20530 (gethostbyname2): Likewise.
20531 (gethostbyaddr): Likewise.
20532 (_gethtent): Likewise.
20533 (_gethtbyname2): Likewise.
20534 (_gethtbyaddr): Likewise.
20535 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20536 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20537 * resolv/res_init.c (__res_vinit): Likewise.
20538 (net_mask): Likewise.
20539 * resolv/res_mkquery.c (outchar): Likewise.
20541 * stdio-common/printf_fp.c (outchar): Likewise.
20543 * stdio-common/printf_fphex.c (outchar): Likewise.
20545 * stdio-common/printf_size.c (outchar): Likewise.
20547 * stdio-common/test_rdwr.c (main): Likewise.
20548 * stdio-common/tfformat.c (matches): Likewise.
20549 * stdio-common/vfprintf.c (outchar): Likewise.
20550 (printf_unknown): Likewise.
20551 (buffered_vfprintf): Likewise.
20552 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20553 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20554 (ReadFile): Likewise.
20555 * stdlib/qsort.c (SWAP): Likewise.
20556 (_quicksort): Likewise.
20557 * stdlib/setenv.c (__add_to_environ): Likewise.
20558 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20559 * stdlib/strtol_l.c (__strtol_l): Likewise.
20560 * stdlib/tst-strtod.c (main): Likewise.
20561 * stdlib/tst-strtol.c (main): Likewise.
20562 * stdlib/tst-strtoll.c (main): Likewise.
20563 * string/bits/string2.h (__strcmp_cc): Likewise.
20564 (__strcmp_cg): Likewise.
20565 (__strcspn_c1): Likewise.
20566 (__strcspn_c2): Likewise.
20567 (__strcspn_c3): Likewise.
20568 (__strspn_c1): Likewise.
20569 (__strspn_c2): Likewise.
20570 (__strspn_c3): Likewise.
20571 (__strsep_1c): Likewise.
20572 (__strsep_2c): Likewise.
20573 (__strsep_3c): Likewise.
20574 * string/memccpy.c (__memccpy): Likewise.
20575 * string/stpcpy.c (__stpcpy): Likewise.
20576 * string/strcmp.c (strcmp): Likewise.
20577 * string/strrchr.c (strrchr): Likewise.
20578 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20580 * sysdeps/mach/hurd/getcwd.c
20581 (_hurd_canonicalize_directory_name_internal): Likewise.
20582 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20583 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20584 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20585 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20586 Likewise, in both definitions.
20587 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20589 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20590 64] (__bswap_64): Likewise.
20591 * time/test_time.c (main): Likewise.
20592 * time/tzfile.c (__tzfile_read): Likewise.
20593 (__tzfile_compute): Likewise.
20594 * time/tzset.c (__tzset_parse_tz): Likewise.
20595 (tzset_internal): Likewise.
20596 (compute_change): Likewise.
20597 * wcsmbs/wcscat.c (__wcscat): Likewise.
20598 * wcsmbs/wcschr.c (wcschr): Likewise.
20599 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20600 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20601 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20602 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20603 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20604 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20605 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20606 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20607 * wcsmbs/wmemset.c (wmemset): Likewise.
20609 2013-06-06 Joseph Myers <joseph@codesourcery.com>
20611 * scripts/config.guess: Update to version 2013-05-16.
20612 * scripts/config.sub: Update to version 2013-04-24.
20613 * scripts/install-sh: Update to version 2011-11-20.07.
20614 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20615 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20617 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
20619 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20620 * elf/sln.c: Likewise.
20621 * hurd/hurd/ioctl.h: Likewise.
20622 * hurd/hurdmalloc.c: Likewise.
20623 * hurd/xattr.c: Likewise.
20624 * include/shlib-compat.h: Likewise.
20625 * inet/ruserpass.c: Likewise.
20626 * libio/iofgets_u.c: Likewise.
20627 * libio/iofgetws_u.c: Likewise.
20628 * locale/programs/ld-identification.c: Likewise.
20629 * locale/programs/ld-time.c: Likewise.
20630 * mach/msg-destroy.c: Likewise.
20631 * nss/nss_files/files-netgrp.c: Likewise.
20632 * resolv/res_data.c: Likewise.
20633 * soft-fp/op-1.h: Likewise.
20634 * soft-fp/op-2.h: Likewise.
20635 * soft-fp/op-4.h: Likewise.
20636 * soft-fp/op-common.h: Likewise.
20637 * stdio-common/printf_fphex.c: Likewise.
20638 * stdlib/strtod_l.c: Likewise.
20639 * sunrpc/rpc/clnt.h: Likewise.
20640 * sysdeps/generic/framestate.c: Likewise.
20641 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20642 * sysdeps/i386/bsd-setjmp.S: Likewise.
20643 * sysdeps/i386/__longjmp.S: Likewise.
20644 * sysdeps/i386/setjmp.S: Likewise.
20645 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20646 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20647 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20648 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20650 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20651 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20652 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20653 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20654 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20655 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20656 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20657 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20658 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20659 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20660 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20661 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20662 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20663 * sysdeps/ieee754/support.c: Likewise.
20664 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20665 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20666 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20667 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20668 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20669 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20670 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20671 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20672 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20673 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20674 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20675 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20676 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20677 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20678 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20679 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20680 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20683 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
20685 * posix/transbug.c: Remove executable mode.
20687 2013-06-05 Joseph Myers <joseph@codesourcery.com>
20689 * crypt/speeds.c: Remove trailing whitespace.
20690 * dlfcn/default.c: Likewise.
20691 * elf/ifuncdep2.c: Likewise.
20692 * elf/ifuncmain1.c: Likewise.
20693 * elf/ifuncmain1vis.c: Likewise.
20694 * elf/testobj.h: Likewise.
20695 * elf/tst-stackguard1.c: Likewise.
20696 * gmon/sys/gmon.h: Likewise.
20697 * hurd/hurdmsg.c: Likewise.
20698 * hurd/new-fd.c: Likewise.
20699 * hurd/ports-get.c: Likewise.
20700 * iconvdata/ibm1008_420.c: Likewise.
20701 * inet/tst-getni1.c: Likewise.
20702 * inet/tst-getni2.c: Likewise.
20703 * libio/ioungetc.c: Likewise.
20704 * libio/wfiledoalloc.c: Likewise.
20705 * manual/libm-err-tab.pl: Likewise.
20706 * math/w_dremf.c: Likewise.
20707 * misc/ftruncate.c: Likewise.
20708 * posix/bug-glob2.c: Likewise.
20709 * posix/tst-pcre.c: Likewise.
20710 * posix/wait4.c: Likewise.
20711 * resolv/README: Likewise.
20712 * resolv/res_debug.h: Likewise.
20713 * resolv/tst-inet_ntop.c: Likewise.
20714 * setjmp/bug269-setjmp.c: Likewise.
20715 * soft-fp/extended.h: Likewise.
20716 * soft-fp/op-1.h: Likewise.
20717 * soft-fp/op-2.h: Likewise.
20718 * soft-fp/op-4.h: Likewise.
20719 * soft-fp/op-8.h: Likewise.
20720 * soft-fp/testit.c: Likewise.
20721 * stdio-common/bug16.c: Likewise.
20722 * stdlib/random.c: Likewise.
20723 * sunrpc/rpcsvc/rquota.x: Likewise.
20724 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20725 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20729 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20730 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20731 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20732 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20733 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20734 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20735 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20736 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20737 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20738 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20739 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20740 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20741 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20742 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20743 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20744 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20745 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20746 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20747 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20748 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20749 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20750 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20751 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20752 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20753 * sysdeps/ieee754/s_lib_version.c: Likewise.
20754 * sysdeps/mach/hurd/check_fds.c: Likewise.
20755 * sysdeps/mach/hurd/getsockname.c: Likewise.
20756 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20757 * sysdeps/mach/hurd/recvfrom.c: Likewise.
20758 * sysdeps/powerpc/bits/link.h: Likewise.
20759 * sysdeps/powerpc/dl-procinfo.c: Likewise.
20760 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20761 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20762 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20763 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20764 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20765 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20766 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20767 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20768 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20769 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20770 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20771 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20772 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20773 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20774 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20775 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20776 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20777 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20778 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20779 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20780 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20781 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20782 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20783 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20784 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20785 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20786 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20787 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20788 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20789 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20790 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20791 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20792 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20793 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20794 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20795 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20796 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20797 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20798 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20799 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20800 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20801 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20802 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20803 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20804 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20805 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20806 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20807 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20808 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20809 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20810 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20811 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20812 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20813 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20814 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20815 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20816 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20817 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20818 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20819 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20820 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20821 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20822 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20823 * sysdeps/powerpc/sysdep.h: Likewise.
20824 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20825 * sysdeps/s390/s390-64/sub_n.S: Likewise.
20826 * sysdeps/sh/dl-trampoline.S: Likewise.
20827 * sysdeps/sh/memset.S: Likewise.
20828 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20829 * sysdeps/sh/strlen.S: Likewise.
20830 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20831 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20832 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20833 * sysdeps/sparc/sparc32/rem.S: Likewise.
20834 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20835 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20836 * sysdeps/sparc/sparc32/strchr.S: Likewise.
20837 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20838 * sysdeps/sparc/sparc32/urem.S: Likewise.
20839 * sysdeps/sparc/sparc64/add_n.S: Likewise.
20840 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20841 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20842 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20843 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20844 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20845 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20846 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20847 * sysdeps/unix/bsd/times.c: Likewise.
20848 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20849 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20853 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20854 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20855 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20856 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20857 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20858 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20859 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20860 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20861 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20862 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20863 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20864 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20865 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20866 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20867 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20868 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20869 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20870 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20871 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20872 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20873 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20874 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20875 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20876 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20877 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20878 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20879 * sysdeps/x86_64/strcspn.S: Likewise.
20881 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20883 * locale/C-translit.h: Revert #include <stdint.h> because this is a
20884 generated file. Regenerate properly from gen-translit.pl.
20885 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
20886 locale/C-translit.h.
20888 2013-06-05 Andreas Schwab <schwab@suse.de>
20891 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20892 week as 6 instead of -1.
20893 * time/tst-strptime.c (day_tests): Add test case.
20895 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20897 * sysdeps/generic/math_private.h
20898 (libc_feholdexcept_setround_53bit): Replace with
20899 libc_feholdsetround_53bit.
20900 (libc_feupdateenv_53bit): Replace with
20901 libc_feresetround_53bit.
20902 (SET_RESTORE_ROUND_53BIT): Adjust.
20904 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20906 * string/test-strchrnul.c: Add copyright header.
20908 * posix/tst-getaddrinfo4.c: Increase test timeout.
20910 2013-06-03 Carlos O'Donell <carlos@redhat.com>
20913 * math/libm-test.inc (MAX_EXP): Remove
20915 (ulp): Use MIN_EXP - MANT_DIG.
20916 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20918 2013-05-31 Carlos O'Donell <carlos@redhat.com>
20920 * po/be.po: Revert last change.
20921 * po/zh_CN.po: Likewise.
20922 * po/header.pot: Likewise.
20924 2013-05-31 Joseph Myers <joseph@codesourcery.com>
20926 * Makefile ($(common-objpfx)linkobj/libc.so): Define
20927 link-libc-deps to empty as target-specific variable.
20928 * Makerules (link-libc-args): New variable.
20929 (libc-for-link): Likewise.
20930 (link-libc-deps): Likewise.
20931 (lib%.so): Depend on $(link-libc-deps). Link with
20933 (build-module): Link with $(link-libc-args).
20934 (build-module-asneeded): Likewise.
20935 (build-module-helper-objlist): Filter out $(link-libc-deps) from
20937 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20938 target-specific variable.
20939 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20940 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20941 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20943 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20945 ($(objpfx)libpcprofile.so): Likewise.
20946 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20948 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20949 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20950 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20952 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20953 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20954 * login/Makefile ($(objpfx)libutil.so): Likewise.
20955 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20956 * math/Makefile ($(objpfx)libm.so): Likewise.
20957 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20958 $(objpfx)libnsl.so): Define libc-for-link as target-specific
20959 variable instead of depending directly on libc.
20960 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20961 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20963 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20965 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20966 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20967 ($(objpfx)libanl.so): Likewise.
20968 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20970 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20972 * sysdeps/i386/fpu/Makefile: Remove file.
20973 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20974 ($(objpfx)libm.so): Remove dependency on ld.so.
20976 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
20979 * nis/yp_xdr.c (XDRMAXNAME): Define.
20980 (XDRMAXRECORD): Define.
20981 (xdr_domainname): Use XDRMAXNAME.
20982 (xdr_mapname): Likewise.
20983 (xdr_peername): Likewise.
20984 (xdr_keydat): Use XDRMAXRECORD.
20985 (xdr_valdat): Likewise.
20987 2013-05-30 Jeff Law <law@redhat.com>
20990 * manual/errno.texi (ESTALE): Update to account for more than
20991 just NFS file systems.
20992 * sysdeps/gnu/errlist.c: Regenerated.
20994 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20997 * elf/Makefile (tests): Add tst-null-argv.
20998 (modules-names): Add tst-null-argv-lib.
20999 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21000 (tst-null-argv-ENV): Set environment for tst-null-argv.
21001 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21002 (RTLD_PROGNAME): New macro.
21003 * elf/tst-null-argv.c: New test case.
21004 * elf/tst-null-argv-lib.c: Library for test case.
21005 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21006 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21007 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21008 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21009 * elf/dl-init.c (call_init): Likewise.
21010 (_dl_init): Likewise.
21011 * elf/dl-load.c (print_search_path): Likewise.
21012 (_dl_map_object): Likewise.
21013 * elf/dl-lookup.c (do_lookup_x): Likewise.
21014 (add_dependency): Likewise.
21015 (_dl_lookup_symbol_x): Likewise.
21016 (_dl_debug_bindings): Likewise.
21017 * elf/dl-open.c (_dl_show_scope): Likewise.
21018 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21019 * elf/dl-version.c (match_symbol): Likewise.
21020 (_dl_check_map_versions): Likewise.
21021 * elf/rtld.c (dl_main): Likewise.
21022 (print_unresolved): Use RTLD_PROGNAME.
21023 (print_missing_version): Likewise.
21024 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21025 (elf_machine_rela): Likewise.
21026 * sysdeps/powerpc/powerpc32/dl-machine.c
21027 (__process_machine_rela): Likewise.
21028 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21030 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21032 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21034 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21035 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21037 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21041 2013-05-28 Carlos O'Donell <carlos@redhat.com>
21043 * po/be.po: Add descriptive title.
21044 * po/zh_CN.po: Likewise.
21045 * po/header.pot: Likewise.
21047 2013-05-28 Mike Frysinger <vapier@gentoo.org>
21049 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21051 (enlarge_archive): Likewise.
21053 2013-05-28 Ben North <ben@redfrontdoor.org>
21055 * manual/arith.texi (frexp): It is the magnitude of the return
21056 value which lies in [0.5, 1), not the return value itself.
21058 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21062 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21064 * stdio-common/bug26.c (main): Correct fscanf template.
21066 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21067 declare _dl_skip_args.
21069 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21072 * manual/platform.texi: Add missing @end deftypefun.
21074 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21077 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21078 bit of mantissa of 2^16382.
21079 * math/libm-test.inc (hypot_test_data): Add more tests.
21081 * math/libm-test.inc: Add drem and pow10 to list of tested
21083 (pow10_test): New function.
21084 (drem_test): Likewise.
21085 (drem_test_tonearest): Likewise.
21086 (drem_test_towardzero): Likewise.
21087 (drem_test_downward): Likewise.
21088 (drem_test_upward): Likewise.
21089 (main): Call the new functions.
21091 * math/libm-test.inc (finite_test_data): Remove.
21092 (finite_test): Run tests from isfinite_test_data.
21093 (gamma_test_data): Remove.
21094 (gamma_test): Run tests from lgamma_test_data.
21095 * sysdeps/i386/fpu/libm-test-ulps: Update.
21096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21098 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21100 * manual/platform.texi: Add PowerPC PPR function set documentation.
21101 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21104 2013-05-24 Carlos O'Donell <carlos@redhat.com>
21106 * math/libm-test.inc (MAX_EXP): Define.
21108 (ulp): New function.
21109 (check_float_internal): Use ULPDIFF.
21110 (cpow_test): Disable failing test.
21111 (check_ulp): Test ulp() implemetnation.
21112 (main): Call check_ulp before starting tests.
21114 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21116 * math/gen-libm-test.pl (generate_testfile): Do not handle
21117 START_DATA and END_DATA.
21118 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21120 (acos_tonearest_test_data): Likewise.
21121 (acos_towardzero_test_data): Likewise.
21122 (acos_downward_test_data): Likewise.
21123 (acos_upward_test_data): Likewise.
21124 (acosh_test_data): Likewise.
21125 (asin_test_data): Likewise.
21126 (asin_tonearest_test_data): Likewise.
21127 (asin_towardzero_test_data): Likewise.
21128 (asin_downward_test_data): Likewise.
21129 (asin_upward_test_data): Likewise.
21130 (asinh_test_data): Likewise.
21131 (atan_test_data): Likewise.
21132 (atanh_test_data): Likewise.
21133 (atan2_test_data): Likewise.
21134 (cabs_test_data): Likewise.
21135 (cacos_test_data): Likewise.
21136 (cacosh_test_data): Likewise.
21137 (carg_test_data): Likewise.
21138 (casin_test_data): Likewise.
21139 (casinh_test_data): Likewise.
21140 (catan_test_data): Likewise.
21141 (catanh_test_data): Likewise.
21142 (cbrt_test_data): Likewise.
21143 (ccos_test_data): Likewise.
21144 (ccosh_test_data): Likewise.
21145 (ceil_test_data): Likewise.
21146 (cexp_test_data): Likewise.
21147 (cimag_test_data): Likewise.
21148 (clog_test_data): Likewise.
21149 (clog10_test_data): Likewise.
21150 (conj_test_data): Likewise.
21151 (copysign_test_data): Likewise.
21152 (cos_test_data): Likewise.
21153 (cos_tonearest_test_data): Likewise.
21154 (cos_towardzero_test_data): Likewise.
21155 (cos_downward_test_data): Likewise.
21156 (cos_upward_test_data): Likewise.
21157 (cosh_test_data): Likewise.
21158 (cosh_tonearest_test_data): Likewise.
21159 (cosh_towardzero_test_data): Likewise.
21160 (cosh_downward_test_data): Likewise.
21161 (cosh_upward_test_data): Likewise.
21162 (cpow_test_data): Likewise.
21163 (cproj_test_data): Likewise.
21164 (creal_test_data): Likewise.
21165 (csin_test_data): Likewise.
21166 (csinh_test_data): Likewise.
21167 (csqrt_test_data): Likewise.
21168 (ctan_test_data): Likewise.
21169 (ctan_tonearest_test_data): Likewise.
21170 (ctan_towardzero_test_data): Likewise.
21171 (ctan_downward_test_data): Likewise.
21172 (ctan_upward_test_data): Likewise.
21173 (ctanh_test_data): Likewise.
21174 (ctanh_tonearest_test_data): Likewise.
21175 (ctanh_towardzero_test_data): Likewise.
21176 (ctanh_downward_test_data): Likewise.
21177 (ctanh_upward_test_data): Likewise.
21178 (erf_test_data): Likewise.
21179 (erfc_test_data): Likewise.
21180 (exp_test_data): Likewise.
21181 (exp_tonearest_test_data): Likewise.
21182 (exp_towardzero_test_data): Likewise.
21183 (exp_downward_test_data): Likewise.
21184 (exp_upward_test_data): Likewise.
21185 (exp10_test_data): Likewise.
21186 (exp2_test_data): Likewise.
21187 (expm1_test_data): Likewise.
21188 (fabs_test_data): Likewise.
21189 (fdim_test_data): Likewise.
21190 (finite_test_data): Likewise.
21191 (floor_test_data): Likewise.
21192 (fma_test_data): Likewise.
21193 (fma_towardzero_test_data): Likewise.
21194 (fma_downward_test_data): Likewise.
21195 (fma_upward_test_data): Likewise.
21196 (fmax_test_data): Likewise.
21197 (fmin_test_data): Likewise.
21198 (fmod_test_data): Likewise.
21199 (fpclassify_test_data): Likewise.
21200 (frexp_test_data): Likewise.
21201 (gamma_test_data): Likewise.
21202 (hypot_test_data): Likewise.
21203 (ilogb_test_data): Likewise.
21204 (isfinite_test_data): Likewise.
21205 (isgreater_test_data): Likewise.
21206 (isgreaterequal_test_data): Likewise.
21207 (isinf_test_data): Likewise.
21208 (isless_test_data): Likewise.
21209 (islessequal_test_data): Likewise.
21210 (islessgreater_test_data): Likewise.
21211 (isnan_test_data): Likewise.
21212 (isnormal_test_data): Likewise.
21213 (issignaling_test_data): Likewise.
21214 (isunordered_test_data): Likewise.
21215 (j0_test_data): Likewise.
21216 (j1_test_data): Likewise.
21217 (jn_test_data): Likewise.
21218 (ldexp_test_data): Likewise.
21219 (lgamma_test_data): Likewise.
21220 (lrint_test_data): Likewise.
21221 (lrint_tonearest_test_data): Likewise.
21222 (lrint_towardzero_test_data): Likewise.
21223 (lrint_downward_test_data): Likewise.
21224 (lrint_upward_test_data): Likewise.
21225 (llrint_test_data): Likewise.
21226 (llrint_tonearest_test_data): Likewise.
21227 (llrint_towardzero_test_data): Likewise.
21228 (llrint_downward_test_data): Likewise.
21229 (llrint_upward_test_data): Likewise.
21230 (log_test_data): Likewise.
21231 (log10_test_data): Likewise.
21232 (log1p_test_data): Likewise.
21233 (log2_test_data): Likewise.
21234 (logb_test_data): Likewise.
21235 (logb_downward_test_data): Likewise.
21236 (lround_test_data): Likewise.
21237 (llround_test_data): Likewise.
21238 (modf_test_data): Likewise.
21239 (nearbyint_test_data): Likewise.
21240 (nextafter_test_data): Likewise.
21241 (nexttoward_test_data): Likewise.
21242 (pow_test_data): Likewise.
21243 (pow_tonearest_test_data): Likewise.
21244 (pow_towardzero_test_data): Likewise.
21245 (pow_downward_test_data): Likewise.
21246 (pow_upward_test_data): Likewise.
21247 (remainder_test_data): Likewise.
21248 (remainder_tonearest_test_data): Likewise.
21249 (remainder_towardzero_test_data): Likewise.
21250 (remainder_downward_test_data): Likewise.
21251 (remainder_upward_test_data): Likewise.
21252 (remquo_test_data): Likewise.
21253 (rint_test_data): Likewise.
21254 (rint_tonearest_test_data): Likewise.
21255 (rint_towardzero_test_data): Likewise.
21256 (rint_downward_test_data): Likewise.
21257 (rint_upward_test_data): Likewise.
21258 (round_test_data): Likewise.
21259 (scalb_test_data): Likewise.
21260 (scalbn_test_data): Likewise.
21261 (scalbln_test_data): Likewise.
21262 (signbit_test_data): Likewise.
21263 (sin_test_data): Likewise.
21264 (sin_tonearest_test_data): Likewise.
21265 (sin_towardzero_test_data): Likewise.
21266 (sin_downward_test_data): Likewise.
21267 (sin_upward_test_data): Likewise.
21268 (sincos_test_data): Likewise.
21269 (sinh_test_data): Likewise.
21270 (sinh_tonearest_test_data): Likewise.
21271 (sinh_towardzero_test_data): Likewise.
21272 (sinh_downward_test_data): Likewise.
21273 (sinh_upward_test_data): Likewise.
21274 (sqrt_test_data): Likewise.
21275 (tan_test_data): Likewise.
21276 (tan_tonearest_test_data): Likewise.
21277 (tan_towardzero_test_data): Likewise.
21278 (tan_downward_test_data): Likewise.
21279 (tan_upward_test_data): Likewise.
21280 (tanh_test_data): Likewise.
21281 (tgamma_test_data): Likewise.
21282 (trunc_test_data): Likewise.
21283 (y0_test_data): Likewise.
21284 (y1_test_data): Likewise.
21285 (yn_test_data): Likewise.
21286 (significand_test_data): Likewise.
21288 * math/gen-libm-test.pl (@functions): Remove variable.
21289 (generate_testfile): Don't handle START and END lines.
21290 * math/libm-test.inc (START): New macro.
21292 (END_COMPLEX): Likewise.
21293 (acos_test): Use END macro without arguments.
21294 (acos_test_tonearest): Likewise.
21295 (acos_test_towardzero): Likewise.
21296 (acos_test_downward): Likewise.
21297 (acos_test_upward): Likewise.
21298 (acosh_test): Likewise.
21299 (asin_test): Likewise.
21300 (asin_test_tonearest): Likewise.
21301 (asin_test_towardzero): Likewise.
21302 (asin_test_downward): Likewise.
21303 (asin_test_upward): Likewise.
21304 (asinh_test): Likewise.
21305 (atan_test): Likewise.
21306 (atanh_test): Likewise.
21307 (atan2_test): Likewise.
21308 (cabs_test): Likewise.
21309 (cacos_test): Use END_COMPLEX macro without arguments.
21310 (cacosh_test): Likewise.
21311 (carg_test): Use END macro without arguments.
21312 (casin_test): Use END_COMPLEX macro without arguments.
21313 (casinh_test): Likewise.
21314 (catan_test): Likewise.
21315 (catanh_test): Likewise.
21316 (cbrt_test): Use END macro without arguments.
21317 (ccos_test): Use END_COMPLEX macro without arguments.
21318 (ccosh_test): Likewise.
21319 (ceil_test): Use END macro without arguments.
21320 (cexp_test): Use END_COMPLEX macro without arguments.
21321 (cimag_test): Use END macro without arguments.
21322 (clog_test): Use END_COMPLEX macro without arguments.
21323 (clog10_test): Likewise.
21324 (conj_test): Likewise.
21325 (copysign_test): Use END macro without arguments.
21326 (cos_test): Likewise.
21327 (cos_test_tonearest): Likewise.
21328 (cos_test_towardzero): Likewise.
21329 (cos_test_downward): Likewise.
21330 (cos_test_upward): Likewise.
21331 (cosh_test): Likewise.
21332 (cosh_test_tonearest): Likewise.
21333 (cosh_test_towardzero): Likewise.
21334 (cosh_test_downward): Likewise.
21335 (cosh_test_upward): Likewise.
21336 (cpow_test): Use END_COMPLEX macro without arguments.
21337 (cproj_test): Likewise.
21338 (creal_test): Use END macro without arguments.
21339 (csin_test): Use END_COMPLEX macro without arguments.
21340 (csinh_test): Likewise.
21341 (csqrt_test): Likewise.
21342 (ctan_test): Likewise.
21343 (ctan_test_tonearest): Likewise.
21344 (ctan_test_towardzero): Likewise.
21345 (ctan_test_downward): Likewise.
21346 (ctan_test_upward): Likewise.
21347 (ctanh_test): Likewise.
21348 (ctanh_test_tonearest): Likewise.
21349 (ctanh_test_towardzero): Likewise.
21350 (ctanh_test_downward): Likewise.
21351 (ctanh_test_upward): Likewise.
21352 (erf_test): Use END macro without arguments.
21353 (erfc_test): Likewise.
21354 (exp_test): Likewise.
21355 (exp_test_tonearest): Likewise.
21356 (exp_test_towardzero): Likewise.
21357 (exp_test_downward): Likewise.
21358 (exp_test_upward): Likewise.
21359 (exp10_test): Likewise.
21360 (exp2_test): Likewise.
21361 (expm1_test): Likewise.
21362 (fabs_test): Likewise.
21363 (fdim_test): Likewise.
21364 (finite_test): Likewise.
21365 (floor_test): Likewise.
21366 (fma_test): Likewise.
21367 (fma_test_towardzero): Likewise.
21368 (fma_test_downward): Likewise.
21369 (fma_test_upward): Likewise.
21370 (fmax_test): Likewise.
21371 (fmin_test): Likewise.
21372 (fmod_test): Likewise.
21373 (fpclassify_test): Likewise.
21374 (frexp_test): Likewise.
21375 (gamma_test): Likewise.
21376 (hypot_test): Likewise.
21377 (ilogb_test): Likewise.
21378 (isfinite_test): Likewise.
21379 (isgreater_test): Likewise.
21380 (isgreaterequal_test): Likewise.
21381 (isinf_test): Likewise.
21382 (isless_test): Likewise.
21383 (islessequal_test): Likewise.
21384 (islessgreater_test): Likewise.
21385 (isnan_test): Likewise.
21386 (isnormal_test): Likewise.
21387 (issignaling_test): Likewise.
21388 (isunordered_test): Likewise.
21389 (j0_test): Likewise.
21390 (j1_test): Likewise.
21391 (jn_test): Likewise.
21392 (ldexp_test): Likewise.
21393 (lgamma_test): Likewise.
21394 (lrint_test): Likewise.
21395 (lrint_test_tonearest): Likewise.
21396 (lrint_test_towardzero): Likewise.
21397 (lrint_test_downward): Likewise.
21398 (lrint_test_upward): Likewise.
21399 (llrint_test): Likewise.
21400 (llrint_test_tonearest): Likewise.
21401 (llrint_test_towardzero): Likewise.
21402 (llrint_test_downward): Likewise.
21403 (llrint_test_upward): Likewise.
21404 (log_test): Likewise.
21405 (log10_test): Likewise.
21406 (log1p_test): Likewise.
21407 (log2_test): Likewise.
21408 (logb_test): Likewise.
21409 (logb_test_downward): Likewise.
21410 (lround_test): Likewise.
21411 (llround_test): Likewise.
21412 (modf_test): Likewise.
21413 (nearbyint_test): Likewise.
21414 (nextafter_test): Likewise.
21415 (nexttoward_test): Likewise.
21416 (pow_test): Likewise.
21417 (pow_test_tonearest): Likewise.
21418 (pow_test_towardzero): Likewise.
21419 (pow_test_downward): Likewise.
21420 (pow_test_upward): Likewise.
21421 (remainder_test): Likewise.
21422 (remainder_test_tonearest): Likewise.
21423 (remainder_test_towardzero): Likewise.
21424 (remainder_test_downward): Likewise.
21425 (remainder_test_upward): Likewise.
21426 (remquo_test): Likewise.
21427 (rint_test): Likewise.
21428 (rint_test_tonearest): Likewise.
21429 (rint_test_towardzero): Likewise.
21430 (rint_test_downward): Likewise.
21431 (rint_test_upward): Likewise.
21432 (round_test): Likewise.
21433 (scalb_test): Likewise.
21434 (scalbn_test): Likewise.
21435 (scalbln_test): Likewise.
21436 (signbit_test): Likewise.
21437 (sin_test): Likewise.
21438 (sin_test_tonearest): Likewise.
21439 (sin_test_towardzero): Likewise.
21440 (sin_test_downward): Likewise.
21441 (sin_test_upward): Likewise.
21442 (sincos_test): Likewise.
21443 (sinh_test): Likewise.
21444 (sinh_test_tonearest): Likewise.
21445 (sinh_test_towardzero): Likewise.
21446 (sinh_test_downward): Likewise.
21447 (sinh_test_upward): Likewise.
21448 (sqrt_test): Likewise.
21449 (tan_test): Likewise.
21450 (tan_test_tonearest): Likewise.
21451 (tan_test_towardzero): Likewise.
21452 (tan_test_downward): Likewise.
21453 (tan_test_upward): Likewise.
21454 (tanh_test): Likewise.
21455 (tgamma_test): Likewise.
21456 (trunc_test): Likewise.
21457 (y0_test): Likewise.
21458 (y1_test): Likewise.
21459 (yn_test): Likewise.
21460 (significand_test): Likewise.
21462 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
21465 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21467 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21470 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21471 __ppc_mdoio and __ppc_mdoom.
21472 * manual/platform.texi: Document new functions __ppc_yield,
21473 __ppc_mdoio and __ppc_mdoom.
21475 2013-05-22 Carlos O'Donell <carlos@redhat.com>
21477 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21478 (main): Mention "tls" pseudo-hwcap is legacy.
21479 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21481 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21483 * math/gen-libm-test.pl (parse_args): Output only string of
21484 arguments as text for test name, not full call or descriptions of
21485 tests for extra outputs.
21486 (generate_testfile): Do not pass function name to parse_args.
21487 Generate this_func variable from START.
21488 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21490 (struct test_ff_f_data): Likewise.
21491 (test_ff_f_data_nexttoward): Likewise.
21492 (struct test_fi_f_data): Likewise.
21493 (struct test_fl_f_data): Likewise.
21494 (struct test_if_f_data): Likewise.
21495 (struct test_fff_f_data): Likewise.
21496 (struct test_c_f_data): Likewise.
21497 (struct test_f_f1_data): Likewise. Remove field extra_name.
21498 (struct test_fF_f1_data): Likewise.
21499 (struct test_ffI_f1_data): Likewise.
21500 (struct test_c_c_data): Rename test_name field to arg_str.
21501 (struct test_cc_c_data): Likewise.
21502 (struct test_f_i_data): Likewise.
21503 (struct test_ff_i_data): Likewise.
21504 (struct test_f_l_data): Likewise.
21505 (struct test_f_L_data): Likewise.
21506 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21508 (COMMON_TEST_SETUP): New macro.
21509 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21510 (COMMON_TEST_CLEANUP): Likewise.
21511 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21512 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21514 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21515 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21517 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21518 (RUN_TEST_fff_f): Take argument string. Call new setup and
21520 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21521 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21523 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21524 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21526 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21527 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21529 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21530 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21532 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21533 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21535 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21536 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21538 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21539 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21541 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21542 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21544 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21545 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21547 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21548 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21550 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21551 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21553 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21554 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21556 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21557 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21559 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21560 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21562 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21563 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21565 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21567 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21569 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21570 to _sifields.sigfault.
21571 (si_addr_lsb): Define new macro.
21572 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21573 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21574 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21576 2013-05-03 Carlos O'Donell <carlos at redhat.com>
21579 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21581 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21583 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21584 loading the domain.
21586 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21588 * math/gen-libm-test.pl (parse_args): Do not include expected
21589 result in test name.
21590 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21591 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21592 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21593 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21594 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21597 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21599 * benchtests/Makefile: Sort function entries.
21601 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21602 tanh, asinh, acosh, atanh.
21603 * benchtests/acos-inputs: New file.
21604 * benchtests/acosh-inputs: New file.
21605 * benchtests/asin-inputs: New file.
21606 * benchtests/asinh-inputs: New file.
21607 * benchtests/atanh-inputs: New file.
21608 * benchtests/cosh-inputs: New file.
21609 * benchtests/log-inputs: New file.
21610 * benchtests/sinh-inputs: New file.
21611 * benchtests/tanh-inputs: New file.
21613 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21616 * posix/tst-getaddrinfo4.c: New test.
21617 * posix/Makefile (tests): Add it.
21619 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21622 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21623 when no services were used.
21624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21625 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21627 2013-05-21 Andreas Schwab <schwab@suse.de>
21630 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21631 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21633 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21634 redundant variable declarations and reallocation of buffer when
21635 parsing as IPv6 address. Always set NSS status when called from
21636 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21637 buffer too small. Correct computation of needed size.
21638 * nss/Makefile (tests): Add test-digits-dots.
21639 * nss/test-digits-dots.c: New test.
21641 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21643 * benchtests/Makefile: Remove instructions for adding
21645 * benchtests/README: New file to explain how to execute and
21646 enhance the benchmark tests.
21648 2013-05-21 Andreas Schwab <schwab@suse.de>
21651 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21652 * setjmp/tst-sigsetjmp.c: New test.
21654 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21656 * sysdeps/x86_64/memset.S (memset): New implementation.
21657 (__bzero): Likewise.
21658 (__memset_tail): New function.
21660 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21662 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21663 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21664 __memcpy_sse2_unaligned ifunc selection.
21665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21666 Add memcpy-sse2-unaligned.S.
21667 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21668 Add: __memcpy_sse2_unaligned.
21670 2013-05-19 Joseph Myers <joseph@codesourcery.com>
21673 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21674 math_force_eval before restoring floating-point envrionment.
21675 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21676 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21678 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21680 (__nearbyintl): Use math_force_eval before restoring
21681 floating-point environment.
21682 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21684 * math/gen-libm-test.pl (special_functions): Remove.
21685 (parse_args): Don't handle TEST_extra. Handle functions with no
21687 * math/libm-test.inc (struct test_sincos_data): Replace with
21688 struct test_fFF_11_data.
21689 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21690 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21691 (sincos_test_data): Change element type to struct
21692 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21693 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21694 RUN_TEST_LOOP_sincos.
21695 * math/README.libm-test: Don't mention special handling of
21696 individual functions.
21697 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21698 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21699 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21700 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21701 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21704 * math/gen-libm-test.pl (get_variable): Remove function.
21705 (parse_args): Don't show pointer parameters to call in test
21706 names. Use "extra output N" in test names for extra outputs
21707 rather than naming variables.
21709 2013-05-18 Joseph Myers <joseph@codesourcery.com>
21712 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21713 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21714 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21716 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21718 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21721 * math/gen-libm-test.pl (@tests): Remove variable.
21722 ($count): Likewise.
21723 (new_test): Remove function.
21724 (show_exceptions): New function.
21725 (special_functions): Use show_exceptions instead of new_test.
21726 (parse_args): Likewise.
21727 (generate_testfile): Pass only function name in generated call to
21728 print_max_error or print_complex_max_error.
21729 (get_ulps): Do not handle complex tests specially.
21730 (output_test): Rename to ...
21731 (get_all_ulps_for_test): ... this. Return a string rather than
21732 printing to a file. Require ulps to be present.
21733 (output_ulps): Generate arrays rather than #defines.
21734 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21735 (struct ulp_data): New type.
21736 (BUILD_COMPLEX_ULP): Remove macro.
21737 (compare_ulp_data): New function.
21738 (find_ulps): Likewise.
21739 (find_test_ulps): Likewise.
21740 (find_function_ulps): Likewise.
21741 (find_complex_function_ulps): Likewise.
21742 (print_max_error): Determine allowed ulps using
21743 find_function_ulps.
21744 (print_complex_max_error): Determine allowed ulps using
21745 find_complex_function_ulps.
21746 (check_float_internal): Determine max ulps using find_test_ulps.
21747 (check_float): Do not take max_ulp parameter. Update call to
21748 check_float_internal.
21749 (check_complex): Likewise.
21750 (check_int): Do not take max_ulp parameter.
21751 (check_long): Likewise.
21752 (check_bool): Likewise.
21753 (check_longlong): Likewise.
21754 (struct test_f_f_data): Remove max_ulp field.
21755 (struct test_ff_f_data): Likewise.
21756 (struct test_ff_f_data_nexttoward): Likewise.
21757 (struct test_fi_f_data): Likewise.
21758 (struct test_fl_f_data): Likewise.
21759 (struct test_if_f_data): Likewise.
21760 (struct test_fff_f_data): Likewise.
21761 (struct test_c_f_data): Likewise.
21762 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21763 (struct test_fF_f1_data): Likewise.
21764 (struct test_ffI_f1_data): Likewise.
21765 (struct test_c_c_data): Remove max_ulp field.
21766 (struct test_cc_c_data): Likewise.
21767 (struct test_f_i_data): Likewise.
21768 (struct test_ff_i_data): Likewise.
21769 (struct test_f_l_data): Likewise.
21770 (struct test_f_L_data): Likewise.
21771 (struct test_sincos_data): Likewise.
21772 (RUN_TEST_f_f): Do not handle ulps.
21773 (RUN_TEST_LOOP_f_f): Likewise.
21774 (RUN_TEST_2_f): Likewise.
21775 (RUN_TEST_LOOP_2_f): Likewise.
21776 (RUN_TEST_fff_f): Likewise.
21777 (RUN_TEST_LOOP_fff_f): Likewise.
21778 (RUN_TEST_c_f): Likewise.
21779 (RUN_TEST_LOOP_c_f): Likewise.
21780 (RUN_TEST_f_f1): Likewise.
21781 (RUN_TEST_LOOP_f_f1): Likewise.
21782 (RUN_TEST_fF_f1): Likewise.
21783 (RUN_TEST_LOOP_fF_f1): Likewise.
21784 (RUN_TEST_fI_f1): Likewise.
21785 (RUN_TEST_LOOP_fI_f1): Likewise.
21786 (RUN_TEST_ffI_f1): Likewise.
21787 (RUN_TEST_LOOP_ffI_f1): Likewise.
21788 (RUN_TEST_c_c): Likewise.
21789 (RUN_TEST_LOOP_c_c): Likewise.
21790 (RUN_TEST_cc_c): Likewise.
21791 (RUN_TEST_LOOP_cc_c): Likewise.
21792 (RUN_TEST_f_i): Likewise.
21793 (RUN_TEST_LOOP_f_i): Likewise.
21794 (RUN_TEST_f_i_tg): Likewise.
21795 (RUN_TEST_LOOP_f_i_tg): Likewise.
21796 (RUN_TEST_ff_i_tg): Likewise.
21797 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21798 (RUN_TEST_f_b): Likewise.
21799 (RUN_TEST_LOOP_f_b): Likewise.
21800 (RUN_TEST_f_b_tg): Likewise.
21801 (RUN_TEST_LOOP_f_b_tg): Likewise.
21802 (RUN_TEST_f_l): Likewise.
21803 (RUN_TEST_LOOP_f_l): Likewise.
21804 (RUN_TEST_f_L): Likewise.
21805 (RUN_TEST_LOOP_f_L): Likewise.
21806 (RUN_TEST_sincos): Likewise.
21807 (RUN_TEST_LOOP_sincos): Likewise.
21809 2013-05-17 Joseph Myers <joseph@codesourcery.com>
21813 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21814 main case of finite arguments, set rounding mode to FE_TONEAREST
21815 and discard exceptions.
21816 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21818 (remainder_tonearest_test_data): New variable.
21819 (remainder_test_tonearest): New function.
21820 (remainder_towardzero_test_data): New variable.
21821 (remainder_test_towardzero): New function.
21822 (remainder_downward_test_data): New variable.
21823 (remainder_test_downward): New function.
21824 (remainder_upward_test_data): New variable.
21825 (remainder_test_upward): New function.
21826 (main): Call the new test functions.
21828 * math/libm-test.inc (struct test_f_f1_data): Remove field
21830 (struct test_fF_f1_data): Likewise.
21831 (struct test_ffI_f1_data): Likewise.
21832 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
21833 based on value of EXTRA_EXPECTED.
21834 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21835 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
21836 EXTRA_VAR based on value of EXTRA_EXPECTED.
21837 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21838 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
21839 EXTRA_VAR based on value of EXTRA_EXPECTED.
21840 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21841 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
21842 EXTRA_VAR based on value of EXTRA_EXPECTED.
21843 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21844 * math/gen-libm-test.pl (parse_args): Don't output initializers
21845 for extra output values.
21847 * math/libm-test.inc (check_int): Expect result to be exactly
21848 equal to expected value and do not handle ulps.
21849 (check_long): Likewise.
21850 (check_longlong): Likewise.
21852 * math/libm-test.inc (ceil_test_data): Test for "inexact"
21854 (cimag_test_data): Likewise.
21855 (conj_test_data): Likewise.
21856 (copysign_test_data): Likewise.
21857 (cproj_test_data): Likewise.
21858 (creal_test_data): Likewise.
21859 (fabs_test_data): Likewise.
21860 (fdim_test_data): Likewise.
21861 (finite_test_data): Likewise.
21862 (floor_test_data): Likewise.
21863 (fmax_test_data): Likewise.
21864 (fmin_test_data): Likewise.
21865 (fmod_test_data): Likewise.
21866 (fpclassify_test_data): Likewise.
21867 (frexp_test_data): Likewise.
21868 (ilogb_test_data): Likewise.
21869 (isfinite_test_data): Likewise.
21870 (isgreater_test_data): Likewise.
21871 (isgreaterequal_test_data): Likewise.
21872 (isinf_test_data): Likewise.
21873 (isless_test_data): Likewise.
21874 (islessequal_test_data): Likewise.
21875 (islessgreater_test_data): Likewise.
21876 (isnan_test_data): Likewise.
21877 (isnormal_test_data): Likewise.
21878 (issignaling_test_data): Likewise.
21879 (isunordered_test_data): Likewise.
21880 (ldexp_test_data): Likewise.
21881 (lrint_test_data): Likewise.
21882 (lrint_test_data) [TEST_FLOAT]: Disable one test.
21883 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21884 (lrint_tonearest_test_data): Test for "inexact" exceptions.
21885 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21886 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21887 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21889 (lrint_towardzero_test_data): Test for "inexact" exceptions.
21890 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21891 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21892 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21894 (lrint_downward_test_data): Test for "inexact" exceptions.
21895 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21896 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21897 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21899 (lrint_upward_test_data): Test for "inexact" exceptions.
21900 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21902 (llrint_test_data): Test for "inexact" exceptions.
21903 (llrint_test_data) [TEST_FLOAT]: Disable one test.
21904 (llrint_tonearest_test_data): Test for "inexact" exceptions.
21905 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21906 (llrint_towardzero_test_data): Test for "inexact" exceptions.
21907 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21908 (llrint_downward_test_data): Test for "inexact" exceptions.
21909 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21910 (llrint_upward_test_data): Test for "inexact" exceptions.
21911 (logb_test_data): Likewise.
21912 (logb_downward_test_data): Likewise.
21913 (nextafter_test_data): Likewise.
21914 (nexttoward_test_data): Likewise.
21915 (remainder_test_data): Likewise.
21916 (remquo_test_data): Likewise.
21917 (scalbn_test_data): Likewise.
21918 (scalbln_test_data): Likewise.
21919 (signbit_test_data): Likewise.
21920 (sqrt_test_data): Likewise.
21921 (significand_test_data): Likewise.
21923 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21926 * benchtests/bench-modf.c (struct args): Mark arg0 as
21928 * scripts/bench.pl: Mark members of struct args as volatile.
21930 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21933 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21934 negative infinity on POWER6 or lower.
21935 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21937 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
21940 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21941 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21942 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21943 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21944 (_FP_SETQNAN): New macro.
21945 (_FP_SETQNAN_SEMIRAW): Likewise.
21946 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21947 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21948 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21949 (FP_EXTEND): Use _FP_FRAC_SNANP.
21950 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21951 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21953 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21955 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21958 2013-05-16 Joseph Myers <joseph@codesourcery.com>
21960 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21961 with DIVIDE_BY_ZERO_EXCEPTION.
21962 (gamma_test_data): Likewise.
21963 (lgamma_test_data): Likewise.
21964 (log_test_data): Likewise.
21965 (log10_test_data): Likewise.
21966 (log2_test_data): Likewise.
21967 (tgamma_test_data): Likewise.
21969 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21970 (acos_test_tonearest): Likewise.
21971 (acos_test_towardzero): Likewise.
21972 (acos_test_downward): Likewise.
21973 (acos_test_upward): Likewise.
21974 (acosh_test): Likewise.
21975 (asin_test): Likewise.
21976 (asin_test_tonearest): Likewise.
21977 (asin_test_towardzero): Likewise.
21978 (asin_test_downward): Likewise.
21979 (asin_test_upward): Likewise.
21980 (asinh_test): Likewise.
21981 (atan_test): Likewise.
21982 (atanh_test): Likewise.
21983 (atan2_test): Likewise.
21984 (cabs_test): Likewise.
21985 (cacos_test): Likewise.
21986 (cacosh_test): Likewise.
21987 (casin_test): Likewise.
21988 (casinh_test): Likewise.
21989 (catan_test): Likewise.
21990 (catanh_test): Likewise.
21991 (cbrt_test): Likewise.
21992 (ccos_test): Likewise.
21993 (ccosh_test): Likewise.
21994 (cexp_test): Likewise.
21995 (clog_test): Likewise.
21996 (clog10_test): Likewise.
21997 (cos_test): Likewise.
21998 (cos_test_tonearest): Likewise.
21999 (cos_test_towardzero): Likewise.
22000 (cos_test_downward): Likewise.
22001 (cos_test_upward): Likewise.
22002 (cosh_test): Likewise.
22003 (cosh_test_tonearest): Likewise.
22004 (cosh_test_towardzero): Likewise.
22005 (cosh_test_downward): Likewise.
22006 (cosh_test_upward): Likewise.
22007 (cpow_test): Likewise.
22008 (csin_test): Likewise.
22009 (csinh_test): Likewise.
22010 (csqrt_test): Likewise.
22011 (ctan_test): Likewise.
22012 (ctan_test_tonearest): Likewise.
22013 (ctan_test_towardzero): Likewise.
22014 (ctan_test_downward): Likewise.
22015 (ctan_test_upward): Likewise.
22016 (ctanh_test): Likewise.
22017 (ctanh_test_tonearest): Likewise.
22018 (ctanh_test_towardzero): Likewise.
22019 (ctanh_test_downward): Likewise.
22020 (ctanh_test_upward): Likewise.
22021 (erf_test): Likewise.
22022 (erfc_test): Likewise.
22023 (exp_test): Likewise.
22024 (exp_test_tonearest): Likewise.
22025 (exp_test_towardzero): Likewise.
22026 (exp_test_downward): Likewise.
22027 (exp_test_upward): Likewise.
22028 (exp10_test): Likewise.
22029 (exp2_test): Likewise.
22030 (expm1_test): Likewise.
22031 (fmod_test): Likewise.
22032 (gamma_test): Likewise.
22033 (hypot_test): Likewise.
22034 (j0_test): Likewise.
22035 (j1_test): Likewise.
22036 (jn_test): Likewise.
22037 (lgamma_test): Likewise.
22038 (log_test): Likewise.
22039 (log10_test): Likewise.
22040 (log1p_test): Likewise.
22041 (log2_test): Likewise.
22042 (logb_test_downward): Likewise.
22043 (pow_test): Likewise.
22044 (pow_test_tonearest): Likewise.
22045 (pow_test_towardzero): Likewise.
22046 (pow_test_downward): Likewise.
22047 (pow_test_upward): Likewise.
22048 (remainder_test): Likewise.
22049 (remquo_test): Likewise.
22050 (sin_test): Likewise.
22051 (sin_test_tonearest): Likewise.
22052 (sin_test_towardzero): Likewise.
22053 (sin_test_downward): Likewise.
22054 (sin_test_upward): Likewise.
22055 (sincos_test): Likewise.
22056 (sinh_test): Likewise.
22057 (sinh_test_tonearest): Likewise.
22058 (sinh_test_towardzero): Likewise.
22059 (sinh_test_downward): Likewise.
22060 (sinh_test_upward): Likewise.
22061 (sqrt_test): Likewise.
22062 (tan_test): Likewise.
22063 (tan_test_tonearest): Likewise.
22064 (tan_test_towardzero): Likewise.
22065 (tan_test_downward): Likewise.
22066 (tan_test_upward): Likewise.
22067 (tanh_test): Likewise.
22068 (tgamma_test): Likewise.
22069 (y0_test): Likewise.
22070 (y1_test): Likewise.
22071 (yn_test): Likewise.
22073 * math/gen-libm-test.pl (adjust_arg): Remove function.
22074 (special_function): Remove argument $in_func. Only handle
22075 generating output for tables of tests, not inside functions.
22076 (parse_args): Likewise.
22077 (generate_testfile): Remove variable $in_func. Update call to
22079 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22080 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22081 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22082 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22083 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22084 (MAX_VALUE_INIT): Rename macro to max_value.
22085 (MIN_VALUE_INIT): Rename macro to min_value.
22086 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22087 (plus_zero): Remove variable.
22088 (minus_zero): Likewise.
22089 (plus_infty): Likewise.
22090 (minus_infty): Likewise.
22091 (qnan_value): Likewise.
22092 (max_value): Likewise.
22093 (min_value): Likewise.
22094 (min_subnorm_value): Likewise.
22096 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22098 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22099 uint64_t or uint32_t usage.
22100 * crypt/sha256-block.c: Likewise.
22101 * crypt/sha256-crypt.c: Likewise.
22102 * crypt/sha256.c: Likewise.
22103 * crypt/sha512-block.c: Likewise.
22104 * crypt/sha512-crypt.c: Likewise.
22105 * crypt/sha512.c: Likewise.
22106 * debug/backtrace-tst.c: Likewise.
22107 * debug/pcprofiledump.c: Likewise.
22108 * elf/cache.c: Likewise.
22109 * elf/dl-cache.c: Likewise.
22110 * elf/dl-misc.c: Likewise.
22111 * elf/dl-profile.c: Likewise.
22112 * elf/dl-support.c: Likewise.
22113 * elf/ldconfig.c: Likewise.
22114 * elf/sprof.c: Likewise.
22115 * iconv/dummy-repertoire.c: Likewise.
22116 * iconv/iconv_charmap.c: Likewise.
22117 * iconv/skeleton.c: Likewise.
22118 * iconvdata/8bit-generic.c: Likewise.
22119 * iconvdata/cp737.h: Likewise.
22120 * iconvdata/cp775.h: Likewise.
22121 * iconvdata/ibm1008.h: Likewise.
22122 * iconvdata/ibm1025.h: Likewise.
22123 * iconvdata/ibm1046.h: Likewise.
22124 * iconvdata/ibm1097.h: Likewise.
22125 * iconvdata/ibm1112.h: Likewise.
22126 * iconvdata/ibm1122.h: Likewise.
22127 * iconvdata/ibm1123.h: Likewise.
22128 * iconvdata/ibm1124.h: Likewise.
22129 * iconvdata/ibm1129.h: Likewise.
22130 * iconvdata/ibm1130.h: Likewise.
22131 * iconvdata/ibm1132.h: Likewise.
22132 * iconvdata/ibm1133.h: Likewise.
22133 * iconvdata/ibm1137.h: Likewise.
22134 * iconvdata/ibm1140.h: Likewise.
22135 * iconvdata/ibm1141.h: Likewise.
22136 * iconvdata/ibm1142.h: Likewise.
22137 * iconvdata/ibm1143.h: Likewise.
22138 * iconvdata/ibm1144.h: Likewise.
22139 * iconvdata/ibm1145.h: Likewise.
22140 * iconvdata/ibm1146.h: Likewise.
22141 * iconvdata/ibm1147.h: Likewise.
22142 * iconvdata/ibm1148.h: Likewise.
22143 * iconvdata/ibm1149.h: Likewise.
22144 * iconvdata/ibm1153.h: Likewise.
22145 * iconvdata/ibm1154.h: Likewise.
22146 * iconvdata/ibm1155.h: Likewise.
22147 * iconvdata/ibm1156.h: Likewise.
22148 * iconvdata/ibm1157.h: Likewise.
22149 * iconvdata/ibm1158.h: Likewise.
22150 * iconvdata/ibm1160.h: Likewise.
22151 * iconvdata/ibm1161.h: Likewise.
22152 * iconvdata/ibm1162.h: Likewise.
22153 * iconvdata/ibm1163.h: Likewise.
22154 * iconvdata/ibm1164.h: Likewise.
22155 * iconvdata/ibm1166.h: Likewise.
22156 * iconvdata/ibm1167.h: Likewise.
22157 * iconvdata/ibm12712.h: Likewise.
22158 * iconvdata/ibm1390.h: Likewise.
22159 * iconvdata/ibm1399.h: Likewise.
22160 * iconvdata/ibm16804.h: Likewise.
22161 * iconvdata/ibm4517.h: Likewise.
22162 * iconvdata/ibm4899.h: Likewise.
22163 * iconvdata/ibm4909.h: Likewise.
22164 * iconvdata/ibm4971.h: Likewise.
22165 * iconvdata/ibm5347.h: Likewise.
22166 * iconvdata/ibm803.h: Likewise.
22167 * iconvdata/ibm856.h: Likewise.
22168 * iconvdata/ibm901.h: Likewise.
22169 * iconvdata/ibm902.h: Likewise.
22170 * iconvdata/ibm9030.h: Likewise.
22171 * iconvdata/ibm9066.h: Likewise.
22172 * iconvdata/ibm921.h: Likewise.
22173 * iconvdata/ibm922.h: Likewise.
22174 * iconvdata/ibm9448.h: Likewise.
22175 * iconvdata/isiri-3342.h: Likewise.
22176 * iconvdata/jis0201.h: Likewise.
22177 * include/link.h: Likewise.
22178 * include/netdb.h: Likewise.
22179 * inet/check_native.c: Likewise.
22180 * inet/check_pf.c: Likewise.
22181 * inet/getipv4sourcefilter.c: Likewise.
22182 * inet/getnameinfo.c: Likewise.
22183 * inet/getsourcefilter.c: Likewise.
22184 * inet/htonl.c: Likewise.
22185 * inet/setipv4sourcefilter.c: Likewise.
22186 * inet/setsourcefilter.c: Likewise.
22187 * inet/test-inet6_opt.c: Likewise.
22188 * inet/tst-network.c: Likewise.
22189 * locale/C-collate.c: Likewise.
22190 * locale/C-ctype.c: Likewise.
22191 * locale/C-time.c: Likewise.
22192 * locale/C-translit.h: Likewise.
22193 * locale/loadarchive.c: Likewise.
22194 * locale/programs/3level.h: Likewise.
22195 * locale/programs/charmap.c: Likewise.
22196 * locale/programs/charmap.h: Likewise.
22197 * locale/programs/ld-address.c: Likewise.
22198 * locale/programs/ld-collate.c: Likewise.
22199 * locale/programs/ld-ctype.c: Likewise.
22200 * locale/programs/ld-identification.c: Likewise.
22201 * locale/programs/ld-measurement.c: Likewise.
22202 * locale/programs/ld-messages.c: Likewise.
22203 * locale/programs/ld-monetary.c: Likewise.
22204 * locale/programs/ld-name.c: Likewise.
22205 * locale/programs/ld-numeric.c: Likewise.
22206 * locale/programs/ld-paper.c: Likewise.
22207 * locale/programs/ld-telephone.c: Likewise.
22208 * locale/programs/ld-time.c: Likewise.
22209 * locale/programs/linereader.c: Likewise.
22210 * locale/programs/locale.c: Likewise.
22211 * locale/programs/locarchive.c: Likewise.
22212 * locale/programs/locfile.h: Likewise.
22213 * locale/programs/repertoire.c: Likewise.
22214 * locale/programs/simple-hash.c: Likewise.
22215 * locale/programs/simple-hash.h: Likewise.
22216 * malloc/memusage.c: Likewise.
22217 * malloc/memusagestat.c: Likewise.
22218 * nis/nis_defaults.c: Likewise.
22219 * nis/nis_hash.c: Likewise.
22220 * nis/nis_print.c: Likewise.
22221 * nis/nis_xdr.c: Likewise.
22222 * nscd/connections.c: Likewise.
22223 * nscd/hstcache.c: Likewise.
22224 * nscd/nscd_gethst_r.c: Likewise.
22225 * nscd/nscd_getserv_r.c: Likewise.
22226 * nscd/nscd_helper.c: Likewise.
22227 * nscd/servicescache.c: Likewise.
22228 * nss/makedb.c: Likewise.
22229 * nss/nss_db/db-XXX.c: Likewise.
22230 * nss/nss_db/db-initgroups.c: Likewise.
22231 * nss/nss_db/db-netgrp.c: Likewise.
22232 * nss/nss_files/files-network.c: Likewise.
22233 * nss/nss_files/files-parse.c: Likewise.
22234 * posix/bug-regex5.c: Likewise.
22235 * posix/fnmatch_loop.c: Likewise.
22236 * posix/regcomp.c: Likewise.
22237 * posix/regexec.c: Likewise.
22238 * posix/tst-rfc3484-2.c: Likewise.
22239 * posix/tst-rfc3484-3.c: Likewise.
22240 * posix/tst-rfc3484.c: Likewise.
22241 * resolv/nss_dns/dns-canon.c: Likewise.
22242 * resolv/nss_dns/dns-network.c: Likewise.
22243 * resolv/res_init.c: Likewise.
22244 * resolv/res_mkquery.c: Likewise.
22245 * resolv/tst-aton.c: Likewise.
22246 * stdlib/cxa_atexit.c: Likewise.
22247 * stdlib/cxa_finalize.c: Likewise.
22248 * stdlib/gen-fpioconst.c: Likewise.
22249 * stdlib/strtol_l.c: Likewise.
22250 * string/tst-endian.c: Likewise.
22251 * sunrpc/auth_des.c: Likewise.
22252 * sunrpc/clnt_udp.c: Likewise.
22253 * sunrpc/rtime.c: Likewise.
22254 * sunrpc/svcauth_des.c: Likewise.
22255 * sunrpc/xdr.c: Likewise.
22256 * sunrpc/xdr_intXX_t.c: Likewise.
22257 * sunrpc/xdr_rec.c: Likewise.
22258 * sysdeps/generic/ldconfig.h: Likewise.
22259 * sysdeps/generic/ldsodefs.h: Likewise.
22260 * sysdeps/generic/memusage.h: Likewise.
22261 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22262 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22263 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22264 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22265 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22266 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22267 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22268 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22269 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22270 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22271 * sysdeps/posix/getaddrinfo.c: Likewise.
22272 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22273 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22274 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22275 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22276 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22277 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22278 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22279 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22280 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22281 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22282 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22283 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22284 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22285 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22286 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22287 * sysdeps/x86_64/dl-tls.h: Likewise.
22288 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22289 * time/alt_digit.c: Likewise.
22290 * time/era.c: Likewise.
22291 * wcsmbs/tst-c16c32-1.c: Likewise.
22293 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22295 * math/libm-test.inc (struct test_sincos_data): New type.
22296 (RUN_TEST_LOOP_sincos): New macro.
22297 (sincos_test_data): New variable.
22298 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22300 2013-05-16 Richard Henderson <rth@redhat.com>
22302 * math/atest-exp2.c (LIMB64): New macro.
22303 (CONSTSZ): New macro.
22304 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22306 (print_mpn_fp): ... to function scope.
22307 (read_mpn_hex): Remove.
22308 (get_log2): Remove.
22309 (exp2_mpn): Use mp_log2.
22310 (main): Use mp_exp1.
22312 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22314 * math/libm-test.inc: Remove comment about not testing "inexact"
22316 (INEXACT_EXCEPTION): New macro.
22317 (NO_INEXACT_EXCEPTION): Likewise.
22318 (INVALID_EXCEPTION_OK): Update value.
22319 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22320 (OVERFLOW_EXCEPTION_OK): Likewise.
22321 (UNDERFLOW_EXCEPTION_OK): Likewise.
22322 (IGNORE_ZERO_INF_SIGN): Likewise.
22323 (ERRNO_UNCHANGED): Likewise.
22324 (ERRNO_EDOM): Likewise.
22325 (ERRNO_ERANGE): Likewise.
22326 (test_exceptions): Handle testing "inexact" exceptions.
22327 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22328 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22329 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22330 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22332 (rint_towardzero_test_data): Likewise.
22333 (rint_downward_test_data): Likewise.
22334 (rint_upward_test_data): Likewise.
22336 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22337 with OVERFLOW_EXCEPTION.
22338 (exp10_test_data): Likewise.
22339 (exp2_test_data): Likewise.
22340 (expm1_test_data): Likewise.
22341 (lgamma_test_data): Likewise.
22342 (pow_test_data): Likewise.
22343 (tgamma_test_data): Likewise.
22344 (yn_test_data): Remove duplicate test of overflow.
22346 * math/libm-test.inc (struct test_cc_c_data): New type.
22347 (RUN_TEST_LOOP_cc_c): New macro.
22348 (cpow_test_data): New variable.
22349 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22351 * math/libm-test.inc (struct test_f_L_data): New type.
22352 (RUN_TEST_LOOP_f_L): New macro.
22353 (llrint_test_data): New variable.
22354 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22355 (llrint_tonearest_test_data): New variable.
22356 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22357 (llrint_towardzero_test_data): New variable.
22358 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22359 (llrint_downward_test_data): New variable.
22360 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22361 (llrint_upward_test_data): New variable.
22362 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22363 (llround_test_data): New variable.
22364 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22366 2013-05-13 Peter Collingbourne <pcc@google.com>
22368 * math/atest-exp2.c (get_log2): Remove const attribute.
22370 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22372 * math/libm-test.inc (struct test_f_l_data): New type.
22373 (RUN_TEST_LOOP_f_l): New macro.
22374 (lrint_test_data): New variable.
22375 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22376 (lrint_tonearest_test_data): New variable.
22377 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22378 (lrint_towardzero_test_data): New variable.
22379 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22380 (lrint_downward_test_data): New variable.
22381 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22382 (lrint_upward_test_data): New variable.
22383 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22384 (lround_test_data): New variable.
22385 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22387 2013-05-15 Peter Collingbourne <pcc@google.com>
22389 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22390 (EXTRACT_WORDS64) Use where appropriate.
22391 (INSERT_WORDS64) Likewise.
22393 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22394 constraints with x constraints.
22395 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22397 * malloc/obstack.c (_obstack_compat): Add initializer.
22399 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22401 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22402 si_trapno and add si_addr_lsb to _sifields.sigfault.
22403 (si_trapno): Remove macro.
22404 (si_addr_lsb): Define new macro.
22405 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22407 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22409 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22410 instead of TEST_f_l.
22411 (llrint_test_tonearest): Likewise.
22412 (llrint_test_towardzero): Likewise.
22413 (llrint_test_downward): Likewise.
22414 (llrint_test_upward): Likewise.
22415 (llround_test): Likewise.
22417 * math/libm-test.inc (struct test_f_i_data): Add comment.
22418 (RUN_TEST_LOOP_f_b): New macro.
22419 (RUN_TEST_LOOP_f_b_tg): Likewise.
22420 (finite_test_data): New variable.
22421 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22422 (isfinite_test_data): New variable.
22423 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22424 (isinf_test_data): New variable.
22425 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22426 (isnan_test_data): New variable.
22427 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22428 (isnormal_test_data): New variable.
22429 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22430 (issignaling_test_data): New variable.
22431 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22432 (signbit_test_data): New variable.
22433 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22435 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22436 with INVALID_EXCEPTION.
22437 (acosh_test_data): Likewise.
22438 (asin_test_data): Likewise.
22439 (atanh_test_data): Likewise.
22440 (fmod_test_data): Likewise.
22441 (log_test_data): Likewise.
22442 (log10_test_data): Likewise.
22443 (log2_test_data): Likewise.
22444 (pow_test_data): Likewise.
22445 (sqrt_test_data): Likewise.
22446 (y0_test_data): Likewise.
22447 (y1_test_data): Likewise.
22448 (yn_test_data): Likewise.
22450 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22453 * math/libm-test.inc (struct test_ff_i_data): New type.
22454 (RUN_TEST_LOOP_ff_i_tg): New macro.
22455 (isgreater_test_data): New variable.
22456 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22457 (isgreaterequal_test_data): New variable.
22458 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22459 (isless_test_data): New variable.
22460 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22461 (islessequal_test_data): New variable.
22462 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22463 (islessgreater_test_data): New variable.
22464 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22465 (isunordered_test_data): New variable.
22466 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22468 2013-05-14 David S. Miller <davem@davemloft.net>
22470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22472 2013-05-14 Joseph Myers <joseph@codesourcery.com>
22474 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22476 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22478 (struct test_f_i_data): Change type of max_ulp to int.
22480 * math/libm-test.inc (test_ffI_f1_data): New type.
22481 (RUN_TEST_LOOP_ffI_f1): New macro.
22482 (remquo_test_data): New variable.
22483 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22485 * setjmp/tst-setjmp-fp.c: New file.
22486 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22487 (link-libm): New variable.
22488 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22490 * math/libm-test.inc (struct test_f_i_data): New type.
22491 (RUN_TEST_LOOP_f_i): New macro.
22492 (RUN_TEST_LOOP_f_i_tg): Likewise.
22493 (fpclassify_test_data): New variable.
22494 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22495 (ilogb_test_data): New variable.
22496 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22498 * math/libm-test.inc (scalbln_test): Correct function name in END
22501 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22502 (RUN_TEST_LOOP_fI_f1): New macro.
22503 (frexp_test_data): New variable.
22504 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22506 * math/libm-test.inc (struct test_fF_f1_data): New type.
22507 (RUN_TEST_LOOP_fF_f1): New macro.
22508 (modf_test_data): New variable.
22509 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22511 * math/libm-test.inc (struct test_f_f1_data): New type.
22512 (RUN_TEST_LOOP_f_f1): New macro.
22513 (gamma_test_data): New variable.
22514 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22515 (lgamma_test_data): New variable.
22516 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22518 2013-05-13 Carlos O'Donell <carlos@redhat.com>
22520 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22521 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22522 (main): Comment "tls" pseudo-hwcap.
22524 2013-05-13 Joseph Myers <joseph@codesourcery.com>
22526 * math/libm-test.inc (struct test_fl_f_data): New type.
22527 (RUN_TEST_LOOP_fl_f): New variable.
22528 (scalbln_test_data): New variable.
22529 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22531 * math/libm-test.inc (struct test_fi_f_data): New type.
22532 (RUN_TEST_LOOP_fi_f): New macro.
22533 (ldexp_test_data): New variable.
22534 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22535 (scalbn_test_data): New variable.
22536 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22538 * math/libm-test.inc (struct test_c_f_data): New type.
22539 (RUN_TEST_LOOP_c_f): New macro.
22540 (cabs_test_data): New variable.
22541 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22542 (carg_test_data): New variable.
22543 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22544 (cimag_test_data): New variable.
22545 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22546 (creal_test_data): New variable.
22547 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22549 * math/libm-test.inc (struct test_if_f_data): New type.
22550 (RUN_TEST_LOOP_if_f): New macro.
22551 (jn_test_data): New variable.
22552 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22553 (yn_test_data): New variable.
22554 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22556 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22558 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22560 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22561 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22563 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22565 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22566 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22567 (bench-deps): Add bench-timing.h.
22568 * benchtests-bench-skeleton.c: Include bench-timing.h.
22569 (main): Use TIMING_* macros instead of clock_gettime.
22570 * benchtests/bench-timing.h: New file.
22573 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22574 Renamed from _LIB_VERSION.
22575 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22577 2013-05-12 Joseph Myers <joseph@codesourcery.com>
22579 * math/libm-test.inc (struct test_fff_f_data): New type.
22580 (RUN_TEST_LOOP_fff_f): New macro.
22581 (fma_test_data): New variable.
22582 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22583 (fma_towardzero_test_data): New variable.
22584 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22585 (fma_downward_test_data): New variable.
22586 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22587 (fma_upward_test_data): New variable.
22588 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22590 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22591 (struct test_c_c_data): New type.
22592 (RUN_TEST_LOOP_c_c): New macro.
22593 (cacos_test_data): New variable.
22594 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22595 (cacosh_test_data): New variable.
22596 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22597 (casin_test_data): New variable.
22598 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22599 (casinh_test_data): New variable.
22600 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22601 (catan_test_data): New variable.
22602 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22603 (catanh_test_data): New variable.
22604 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22605 (ccos_test_data): New variable.
22606 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22607 (ccosh_test_data): New variable.
22608 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22609 (cexp_test_data): New variable.
22610 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22611 (clog_test_data): New variable.
22612 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22613 (clog10_test_data): New variable.
22614 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22615 (conj_test_data): New variable.
22616 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22617 (cproj_test_data): New variable.
22618 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22619 (csin_test_data): New variable.
22620 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22621 (csinh_test_data): New variable.
22622 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22623 (csqrt_test_data): New variable.
22624 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22625 (ctan_test_data): New variable.
22626 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22627 (ctan_tonearest_test_data): New variable.
22628 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22629 (ctan_towardzero_test_data): New variable.
22630 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22631 (ctan_downward_test_data): New variable.
22632 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22633 (ctan_upward_test_data): New variable.
22634 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22635 (ctanh_test_data): New variable.
22636 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22637 (ctanh_tonearest_test_data): New variable.
22638 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22639 (ctanh_towardzero_test_data): New variable.
22640 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22641 (ctanh_downward_test_data): New variable.
22642 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22643 (ctanh_upward_test_data): New variable.
22644 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22645 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22648 * math/libm-test.inc (struct test_ff_f_data): New type.
22649 (struct test_ff_f_data_nexttoward): Likewise.
22650 (RUN_TEST_LOOP_2_f): New macro.
22651 (RUN_TEST_LOOP_ff_f): Likewise.
22652 (atan2_test_data): New variable.
22653 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22654 (copysign_test_data): New variable.
22655 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22656 (fdim_test_data): New variable.
22657 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22658 (fmax_test_data): New variable.
22659 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22660 (fmin_test_data): New variable.
22661 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22662 (fmod_test_data): New variable.
22663 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22664 (hypot_test_data): New variable.
22665 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22666 (nextafter_test_data): New variable.
22667 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22668 (nexttoward_test_data): New variable.
22669 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22670 (pow_test_data): New variable.
22671 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22672 (pow_tonearest_test_data): New variable.
22673 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22674 (pow_towardzero_test_data): New variable.
22675 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22676 (pow_downward_test_data): New variable.
22677 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22678 (pow_upward_test_data): New variable.
22679 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22680 (remainder_test_data): New variable.
22681 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22682 (scalb_test_data): New variable.
22683 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22684 * sysdeps/i386/fpu/libm-test-ulps: Update.
22686 2013-05-11 Joseph Myers <joseph@codesourcery.com>
22688 * math/libm-test.inc (fma_test): Use max_value instead of local
22690 (nextafter_test): Likewise.
22692 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22693 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22694 (acos_downward_test_data): New variable.
22695 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22696 (acos_upward_test_data): New variable.
22697 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22698 (acosh_test_data): New variable.
22699 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22700 (asin_test_data): New variable.
22701 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22702 (asin_tonearest_test_data): New variable.
22703 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22704 (asin_towardzero_test_data): New variable.
22705 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22706 (asin_downward_test_data): New variable.
22707 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22708 (asin_upward_test_data): New variable.
22709 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22710 (asinh_test_data): New variable.
22711 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22712 (atan_test_data): New variable.
22713 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22714 (atanh_test_data): New variable.
22715 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22716 (cbrt_test_data): New variable.
22717 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22718 (ceil_test_data): New variable.
22719 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22720 (cos_test_data): New variable.
22721 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22722 (cos_tonearest_test_data): New variable.
22723 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22724 (cos_towardzero_test_data): New variable.
22725 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22726 (cos_downward_test_data): New variable.
22727 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22728 (cos_upward_test_data): New variable.
22729 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22730 (cosh_test_data): New variable.
22731 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22732 (cosh_tonearest_test_data): New variable.
22733 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22734 (cosh_towardzero_test_data): New variable.
22735 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22736 (cosh_downward_test_data): New variable.
22737 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22738 (cosh_upward_test_data): New variable.
22739 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22740 (erf_test_data): New variable.
22741 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22742 (erfc_test_data): New variable.
22743 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22744 (exp_test_data): New variable.
22745 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22746 (exp_tonearest_test_data): New variable.
22747 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22748 (exp_towardzero_test_data): New variable.
22749 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22750 (exp_downward_test_data): New variable.
22751 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22752 (exp_upward_test_data): New variable.
22753 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22754 (exp10_test_data): New variable.
22755 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22756 (exp2_test_data): New variable.
22757 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22758 (expm1_test_data): New variable.
22759 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22760 (fabs_test_data): New variable.
22761 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22762 (floor_test_data): New variable.
22763 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22764 (j0_test_data): New variable.
22765 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22766 (j1_test_data): New variable.
22767 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22768 (log_test_data): New variable.
22769 (log_test): Run tests with RUN_TEST_LOOP_f_f.
22770 (log10_test_data): New variable.
22771 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22772 (log1p_test_data): New variable.
22773 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22774 (log2_test_data): New variable.
22775 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22776 (logb_test_data): New variable.
22777 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22778 (logb_downward_test_data): New variable.
22779 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22780 (nearbyint_test_data): New variable.
22781 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22782 (rint_test_data): New variable.
22783 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22784 (rint_tonearest_test_data): New variable.
22785 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22786 (rint_towardzero_test_data): New variable.
22787 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22788 (rint_downward_test_data): New variable.
22789 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22790 (rint_upward_test_data): New variable.
22791 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22792 (round_test_data): New variable.
22793 (round_test): Run tests with RUN_TEST_LOOP_f_f.
22794 (sin_test_data): New variable.
22795 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22796 (sin_tonearest_test_data): New variable.
22797 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22798 (sin_towardzero_test_data): New variable.
22799 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22800 (sin_downward_test_data): New variable.
22801 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22802 (sin_upward_test_data): New variable.
22803 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22804 (sinh_test_data): New variable.
22805 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22806 (sinh_tonearest_test_data): New variable.
22807 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22808 (sinh_towardzero_test_data): New variable.
22809 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22810 (sinh_downward_test_data): New variable.
22811 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22812 (sinh_upward_test_data): New variable.
22813 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22814 (sqrt_test_data): New variable.
22815 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22816 (tan_test_data): New variable.
22817 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22818 (tan_tonearest_test_data): New variable.
22819 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22820 (tan_towardzero_test_data): New variable.
22821 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22822 (tan_downward_test_data): New variable.
22823 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22824 (tan_upward_test_data): New variable.
22825 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22826 (tanh_test_data): New variable.
22827 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22828 (tgamma_test_data): New variable.
22829 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22830 (trunc_test_data): New variable.
22831 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22832 (y0_test_data): New variable.
22833 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22834 (y1_test_data): New variable.
22835 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22836 (significand_test_data): New variable.
22837 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22839 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
22842 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22844 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
22846 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22848 2013-05-10 Andreas Jaeger <aj@suse.de>
22851 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22852 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22854 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22856 * math/gen-libm-test.pl (adjust_arg): New function.
22857 (special_functions): Handle generating output in both functions
22859 (parse_args): Likewise.
22860 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
22861 $in_func argument to parse_args.
22862 * math/libm-test.inc (struct test_f_f_data): New type.
22863 (IF_ROUND_INIT_): New macro.
22864 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22865 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22866 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22867 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22868 (ROUND_RESTORE_): Likewise.
22869 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22870 (ROUND_RESTORE_FE_TONEAREST): Likewise.
22871 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22872 (ROUND_RESTORE_FE_UPWARD): Likewise.
22873 (RUN_TEST_LOOP_f_f): New macro.
22874 (acos_test_data): New variable.
22875 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22876 (acos_tonearest_test_data): New variable.
22877 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22879 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22881 * benchtests/bench-skeleton.c (startup): Fix coding style.
22883 2013-05-10 Joseph Myers <joseph@codesourcery.com>
22886 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22887 negative infinity argument.
22888 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22889 negative infinity argument.
22890 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22891 negative infinity argument.
22892 * math/libm-test.inc (tgamma_test): Expect errno to be set for
22895 2013-05-10 Florian Weimer <fweimer@redhat.com>
22897 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22898 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22899 * iconv/iconv_prog.c (main): Likewise.
22900 * locale/programs/charmap-dir.c (charmap_readdir)
22901 (fopen_uncompressed): Likewise.
22902 * locale/programs/locfile.c (siblings_uncached)
22903 (write_locale_data): Use lstat64 instead of lstat.
22904 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22907 2013-05-10 Andreas Jaeger <aj@suse.de>
22910 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22912 Include <locale.h>.
22914 2013-05-09 Carlos O'Donell <carlos@redhat.com>
22916 * elf/dl-close.c (_dl_close_worker): Add comments.
22918 2013-05-09 Joseph Myers <joseph@codesourcery.com>
22921 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22923 (__ieee754_rem_pio2l): Update comments.
22926 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22928 (__ieee754_rem_pio2l): Update comments.
22930 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22931 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22933 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22936 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22937 (M_PI_34_LOG10El): Likewise.
22938 (M_PI2_LOG10El): Likewise.
22939 (M_PI4_LOG10El): Likewise.
22940 (M_PI_LOG10El): Likewise.
22942 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22946 2013-05-08 Joseph Myers <joseph@codesourcery.com>
22948 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22949 (MINUS_ZERO_INIT): Likewise.
22950 (PLUS_INFTY_INIT): Likewise.
22951 (MINUS_INFTY_INIT): Likewise.
22952 (QNAN_VALUE_INIT): Likewise.
22953 (MAX_VALUE_INIT): Likewise.
22954 (MIN_VALUE_INIT): Likewise.
22955 (MIN_SUBNORM_VALUE_INIT): Likewise.
22956 (plus_zero): Initialize with PLUS_ZERO_INIT.
22957 (minus_zero): Initialize with MINUS_ZERO_INIT.
22958 (plus_infty): Initialize with PLUS_INFTY_INIT.
22959 (minus_infty): Initialize with MINUS_INFTY_INIT.
22960 (qnan_value): Initialize with QNAN_VALUE_INIT.
22961 (max_value): Initialize with MAX_VALUE_INIT.
22962 (min_value): Initialize with MIN_VALUE_INIT.
22963 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22965 * math/libm-test.inc (RUN_TEST_if_f): New macro.
22966 (jn_test): Use TEST_if_f instead of TEST_ff_f.
22967 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22968 (yn_test): Use TEST_if_f instead of TEST_ff_f.
22970 * math/libm-test.inc (RUN_TEST_f_f): New macro.
22971 (RUN_TEST_2_f): Likewise.
22972 (RUN_TEST_ff_f): Likewise.
22973 (RUN_TEST_fi_f): Likewise.
22974 (RUN_TEST_fl_f): Likewise.
22975 (RUN_TEST_fff_f): Likewise.
22976 (RUN_TEST_c_f): Likewise.
22977 (RUN_TEST_f_f1): Likewise.
22978 (RUN_TEST_fF_f1): Likewise.
22979 (RUN_TEST_fI_f1): Likewise.
22980 (RUN_TEST_ffI_f1): Likewise.
22981 (RUN_TEST_c_c): Likewise.
22982 (RUN_TEST_cc_c): Likewise.
22983 (RUN_TEST_f_i): Likewise.
22984 (RUN_TEST_f_i_tg): Likewise.
22985 (RUN_TEST_ff_i_tg): Likewise.
22986 (RUN_TEST_f_b): Likewise.
22987 (RUN_TEST_f_b_tg): Likewise.
22988 (RUN_TEST_f_l): Likewise.
22989 (RUN_TEST_f_L): Likewise.
22990 (RUN_TEST_sincos): Likewise.
22991 * math/gen-libm-test.pl (new_test): Take new argument to indicate
22992 whether to show exceptions. Do not include ");\n" in return
22994 (special_functions): Output call to RUN_TEST_sincos instead of
22995 check_float calls. Update calls to new_test.
22996 (parse_args): Output call to single RUN_TEST_* macro instead of
22997 check_* calls and other assignments. Update calls to new_test.
23003 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23004 input to result for tgamma overflow.
23005 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23006 (gamma_coeff): New variable.
23007 (NCOEFF): New macro.
23008 (gamma_positive): New function.
23009 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23010 underflow here. Use gamma_positive instead of exp (lgamma) for
23012 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23013 (gamma_coeff): New variable.
23014 (NCOEFF): New macro.
23015 (gammaf_positive): New function.
23016 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23017 underflow here. Use gamma_positive instead of exp (lgamma) for
23019 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23020 (gamma_coeff): New variable.
23021 (NCOEFF): New macro.
23022 (gammal_positive): New function.
23023 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23024 underflow here. Use gamma_positive instead of exp (lgamma) for
23026 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23027 (gamma_coeff): New variable.
23028 (NCOEFF): New macro.
23029 (gammal_positive): New function.
23030 (__ieee754_gammal_r): Handle positive infinity, overflow and
23031 underflow here. Handle NaN the same as positive infinity. Remove
23032 check x < 0xffffffff for negative integers. Use gamma_positive
23033 instead of exp (lgamma) for other arguments.
23034 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23035 (gamma_coeff): New variable.
23036 (NCOEFF): New macro.
23037 (gammal_positive): New function.
23038 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23039 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23040 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23041 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23042 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23043 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23044 * sysdeps/generic/math_private.h (__gamma_productf): New
23046 (__gamma_product): Likewise.
23047 (__gamma_productl): Likewise.
23048 * math/Makefile (libm-calls): Add gamma_product.
23049 * math/libm-test.inc (tgamma_test): Add more tests.
23050 * sysdeps/i386/fpu/libm-test-ulps: Update.
23051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23053 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
23055 * benchtests/bench-skeleton.c (main): Preheat CPU.
23057 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23059 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23061 2013-05-07 Roland McGrath <roland@hack.frob.com>
23063 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23064 and _dl_skip_args_internal.
23066 2013-05-07 Carlos O'Donell <carlos@redhat.com>
23068 * manual/message.texi (Message Translation): Talk about users.
23069 Message to key mapping impacts design.
23071 2013-05-06 Roland McGrath <roland@hack.frob.com>
23073 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23075 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23077 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23078 * sysdeps/wordsize-64/glob64.c: ... here.
23080 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23081 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23084 * debug/getlogin_r_chk.c: Moved to ...
23085 * login/getlogin_r_chk.c: ... here.
23086 * debug/Makefile (routines): Move getlogin_r_chk to ...
23087 * login/Makefile (routines): ... here.
23088 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23089 * login/Versions (libc: GLIBC_2.4): ... here.
23091 * io/poll.c (__poll): Renamed from poll.
23092 Add libc_hidden_def.
23093 (poll): Define as weak alias.
23095 * debug/ptsname_r_chk.c: Moved to ...
23096 * login/ptsname_r_chk.c: ... here.
23097 * debug/Makefile (routines): Move ptsname_r_chk to ...
23098 * login/Makefile (routines): ... here.
23099 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23100 * login/Versions (libc: GLIBC_2.4): ... here.
23102 * posix/getlogin.c: Moved to ...
23103 * login/getlogin.c: ... here.
23104 * posix/getlogin_r.c: Moved to ...
23105 * login/getlogin_r.c: ... here.
23106 * posix/getlogin_r.c: Moved to ...
23107 * login/getlogin_r.c: ... here.
23108 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23109 * login/Makefile (routines): ... here.
23110 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23111 * login/Versions (libc: GLIBC_2.0): ... here.
23113 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23114 (setrlimit): Define as weak alias.
23116 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23117 Call __ names for open, ftruncate, and close.
23118 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23119 (truncate): Define as weak alias.
23121 2013-05-06 Joseph Myers <joseph@codesourcery.com>
23123 * math/gen-libm-test.pl (parse_args): Initialize x before each
23124 test of frexp, modf and remquo.
23126 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23127 test signgam value.
23129 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23133 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23135 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23137 2013-05-06 Roland McGrath <roland@hack.frob.com>
23139 * elf/dl-writev.h: New file.
23140 * elf/dl-misc.c: Include it.
23141 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23142 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23144 2013-05-04 Joseph Myers <joseph@codesourcery.com>
23146 * math/libm-test.inc (noXFails): Remove variable.
23147 (noXPasses): Likewise.
23148 (BUILD_COMPLEX_INT): Remove macro.
23149 (print_screen): Remove xfail argument.
23150 (print_screen_max_error): Likewise.
23151 (update_stats): Likewise.
23152 (print_max_error): Likewise. Update calls to other affected
23154 (print_complex_max_error): Likewise.
23155 (test_single_exception): Update calls to print_screen.
23156 (test_single_errno): Likewise.
23157 (check_float_internal): Remove xfail argument. Update calls to
23158 other affected functions.
23159 (check_float): Likewise.
23160 (check_complex): Likewise.
23161 (check_int): Likewise.
23162 (check_long): Likewise.
23163 (check_bool): Likewise.
23164 (check_longlong): Likewise.
23165 (main): Don't print noXFails and noXPasses.
23166 * math/gen-libm-test.pl (top level): Don't mention expected
23167 failure handling in comment.
23168 (new_test): Don't handle expected failures.
23169 (parse_args): Don't mention expected failure handling in comment.
23170 (generate_testfile): Don't handle expected failures.
23171 (parse_ulps): Likewise.
23172 (print_ulps_file): Likewise.
23173 (get_failure): Remove function.
23174 (output_test): Don't handle expected failures.
23175 * make/README.libm-test: Don't mention expected failure handling.
23177 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23178 (minus_zero): Likewise.
23179 (plus_infty): Likewise.
23180 (minus_infty): Likewise.
23181 (qnan_value): Likewise.
23182 (max_value): Likewise.
23183 (min_value): Likewise.
23184 (min_subnorm_value): Likewise.
23185 (initialize): Do not initialize those variables dynamically.
23187 2013-05-03 Roland McGrath <roland@hack.frob.com>
23189 * io/open.c (__open_2): Moved to ...
23190 * io/open_2.c: ... this new file.
23191 * io/open64.c (__open64_2): Moved to ...
23192 * io/open64_2.c: ... this new file.
23193 * io/openat.c (__openat_2): Moved to ...
23194 * io/openat_2.c: ... this new file.
23195 * io/openat64.c (__openat64_2): Moved to ...
23196 * io/openat64_2.c: ... this new file.
23197 * io/Makefile (routines): Add them.
23198 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23199 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23200 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23201 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23202 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23203 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23204 (__openat64): Add hidden_ver.
23205 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23206 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23208 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23209 Separately conditionalize setting of GLRO(dl_sysinfo) so
23210 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23211 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23213 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23215 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23216 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23218 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23219 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23220 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23221 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23222 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23224 2013-05-03 Joseph Myers <joseph@codesourcery.com>
23226 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23227 test signgam value.
23229 * math/libm-test.inc (hypot_test): Do not use
23230 IGNORE_ZERO_INF_SIGN.
23232 2013-05-03 Andreas Jaeger <aj@suse.de>
23234 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23236 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23237 (PF_MAX): Adjust for VSOCK change.
23239 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23243 2013-05-02 Carlos O'Donell <carlos@redhat.com>
23246 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23247 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23248 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23250 2013-05-02 David S. Miller <davem@davemloft.net>
23252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23254 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
23256 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23258 2013-05-01 Roland McGrath <roland@hack.frob.com>
23260 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23262 2013-05-01 Richard Smith <richard@metafoo.co.uk>
23265 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23266 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23267 Use __attribute__ ((__gnu_inline__)).
23268 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23269 Don't use __attribute__ ((__gnu_inline__)).
23271 2013-05-01 Joseph Myers <joseph@codesourcery.com>
23274 * math/s_catan.c (__catan): Handle small real or imaginary part of
23275 input specially to avoid spurious underflow.
23276 * math/s_catanf.c (__catanf): Likewise.
23277 * math/s_catanh.c (__catanh): Likewise.
23278 * math/s_catanhf.c (__catanhf): Likewise.
23279 * math/s_catanhl.c (__catanhl): Likewise.
23280 * math/s_catanl.c (__catanl): Likewise.
23281 * math/libm-test.inc (catan_test): Add more tests.
23282 (catanh_test): Likewise.
23283 * sysdeps/i386/fpu/libm-test-ulps: Update.
23284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23286 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23290 2013-04-30 Joseph Myers <joseph@codesourcery.com>
23293 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23294 accurately for denominator in atan2.
23295 * math/s_catanf.c (__catanf): Likewise.
23296 * math/s_catanh.c (__catanh): Likewise.
23297 * math/s_catanhf.c (__catanhf): Likewise.
23298 * math/s_catanhl.c (__catanhl): Likewise.
23299 * math/s_catanl.c (__catanl): Likewise.
23300 * math/libm-test.inc (catan_test): Add more tests.
23301 (catanh_test): Likewise.
23302 * sysdeps/i386/fpu/libm-test-ulps: Update.
23303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23305 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23307 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23309 * benchtests/Makefile (bench): Remove slow benchmarks.
23310 * benchtests/atan-inputs: Add slow benchmark inputs.
23311 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23312 (BENCH_FUNC): Accept variant offset.
23314 * benchtests/bench-skeleton.c (main): Run benchmark for each
23316 * benchtests/cos-inputs: Add slow benchmark inputs.
23317 * benchtests/exp-inputs: Likewise.
23318 * benchtests/pow-inputs: Likewise.
23319 * benchtests/sin-inputs: Likewise.
23320 * benchtests/slowatan-inputs: Remove.
23321 * benchtests/slowatan.c: Remove.
23322 * benchtests/slowcos-inputs: Remove.
23323 * benchtests/slowcos.c: Remove.
23324 * benchtests/slowexp-inputs: Remove.
23325 * benchtests/slowexp.c: Remove.
23326 * benchtests/slowpow-inputs: Remove.
23327 * benchtests/slowpow.c: Remove.
23328 * benchtests/slowsin-inputs: Remove.
23329 * benchtests/slowsin.c: Remove.
23330 * benchtests/slowtan-inputs: Remove.
23331 * benchtests/slowtan.c: Remove.
23332 * benchtests/tan-inputs: Add slow benchmark inputs.
23333 * scripts/bench.pl: Parse comments and directives.
23335 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23337 ($(objpfx)bench-%.c): Remove *-ITER.
23338 * benchtests/bench-modf.c: Remove definition of ITER.
23339 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23340 (main): Loop for DURATION seconds instead of fixed number of
23342 * scripts/bench.pl: Don't expect iterations in parameters.
23344 2013-04-29 Roland McGrath <roland@hack.frob.com>
23346 * io/fchdir.c (__fchdir): Renamed from fchdir.
23347 (fchdir): Define as weak alias.
23349 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23351 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23352 (ERRNO_EDOM): Likewise.
23353 (ERRNO_ERANGE): Likewise.
23354 (noErrnoTests): New variable.
23355 (init_max_error): Set errno to 0.
23356 (test_single_errno): New function.
23357 (test_errno): Likewise.
23358 (check_float_internal): Call test_errno. Set errno to 0.
23359 (check_complex): Refer to errno tests in comment.
23360 (check_int): Call test_errno. Set errno to 0.
23361 (check_long): Likewise.
23362 (check_bool): Likewise.
23363 (check_longlong): Likewise.
23364 (cos_test): Use ERRNO_* flags for errno tests instead of
23366 (expm1_test): Likewise.
23367 (fmod_test): Likewise.
23368 (ilogb_test): Likewise.
23369 (lgamma_test): Likewise.
23370 (pow_test): Likewise.
23371 (remainder_test): Likewise.
23372 (sin_test): Likewise.
23373 (tan_test): Likewise.
23374 (yn_test): Likewise.
23375 (initialize): Set errno to 0.
23376 (main): Print number of errno tests.
23377 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23379 2013-04-29 Andreas Jaeger <aj@suse.de>
23382 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23386 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23387 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23391 * stdlib/random.c (__initstate): Return NULL if
23395 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23396 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23399 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23403 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23405 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23406 of individual tests.
23407 (casin_test): Likewise.
23408 (casinh_test): Likewise.
23410 2013-04-27 Joseph Myers <joseph@codesourcery.com>
23413 * math/s_catan.c (__catan): Handle arguments with large real or
23414 imaginary part separately without squaring.
23415 * math/s_catanf.c (__catanf): Likewise.
23416 * math/s_catanh.c (__catanh): Likewise.
23417 * math/s_catanhf.c (__catanhf): Likewise.
23418 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23420 (__catanhl): Handle arguments with large real or imaginary part
23421 separately without squaring.
23422 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23424 (__catanl): Handle arguments with large real or imaginary part
23425 separately without squaring.
23426 * math/libm-test.inc (catan_test): Add more tests.
23427 (catanh_test): Likewise.
23428 * sysdeps/i386/fpu/libm-test-ulps: Update.
23429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23431 2013-04-27 Andreas Jaeger <aj@suse.de>
23434 * stdlib/stdlib.h: Update guards for qecvt.
23435 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23438 2013-04-27 Allan McRae <allan@archlinux.org>
23440 * sysdeps/i386/fpu/libm-test-ulps: Update.
23442 2013-04-26 Joseph Myers <joseph@codesourcery.com>
23445 * math/s_catan.c: Include <float.h>.
23446 (__catan): Ensure underflow exception occurs for underflowed
23448 * math/s_catanf.c: Include <float.h>.
23449 (__catanf): Ensure underflow exception occurs for underflowed
23451 * math/s_catanh.c: Include <float.h>.
23452 (__catanh): Ensure underflow exception occurs for underflowed
23454 * math/s_catanhf.c: Include <float.h>.
23455 (__catanhf): Ensure underflow exception occurs for underflowed
23457 * math/s_catanhl.c: Include <float.h>.
23458 (__catanhl): Ensure underflow exception occurs for underflowed
23460 * math/s_catanl.c: Include <float.h>.
23461 (__catanl): Ensure underflow exception occurs for underflowed
23463 * math/libm-test.inc (catan_test): Add more tests.
23464 (catanh_test): Likewise.
23467 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23468 underflowed result.
23469 * math/s_ccoshf.c (__ccoshf): Likewise.
23470 * math/s_ccoshl.c (__ccoshl): Likewise.
23471 * math/s_csin.c (__csin): Likewise.
23472 * math/s_csinf.c (__csinf): Likewise.
23473 * math/s_csinh.c (__csinh): Likewise.
23474 * math/s_csinhf.c (__csinhf): Likewise.
23475 * math/s_csinhl.c (__csinhl): Likewise.
23476 * math/s_csinl.c (__csinl): Likewise.
23477 * math/libm-test.inc (ccos_test): Add more tests.
23478 (ccosh_test): Likewise.
23479 (csin_test): Likewise.
23480 (csinh_test): Likewise.
23482 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23484 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23485 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23486 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23487 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23488 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23489 powerpc/power5+/fpu folders.
23490 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23493 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23497 2013-04-25 Joseph Myers <joseph@codesourcery.com>
23499 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23500 additions to variable.
23501 [$(config-machine) = x86_64] (modules-names): Likewise.
23502 ($(objpfx)tst-audit3): Remove dependency.
23503 ($(objpfx)tst-audit3.out): Likewise.
23504 ($(objpfx)tst-audit4): Likewise.
23505 ($(objpfx)tst-audit4.out): Likewise.
23506 ($(objpfx)tst-audit5): Likewise.
23507 ($(objpfx)tst-audit5.out): Likewise.
23508 ($(objpfx)tst-audit6): Likewise.
23509 ($(objpfx)tst-audit6.out): Likewise.
23510 ($(objpfx)tst-audit7): Likewise.
23511 ($(objpfx)tst-audit7.out): Likewise.
23512 (tst-audit3-ENV): Remove variable.
23513 (tst-audit4-ENV): Likewise.
23514 (tst-audit5-ENV): Likewise.
23515 (tst-audit6-ENV): Likewise.
23516 (tst-audit7-ENV): Likewise.
23517 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23518 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23519 addition to variable.
23520 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23521 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23522 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23523 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23524 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23525 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23526 tst-audit3, tst-audit4 and tst-audit5.
23527 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23528 tst-audit6 and tst-audit7.
23529 [$(subdir) = elf] (modules-names): Add audit modules for those
23531 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23532 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23533 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23534 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23535 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23536 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23537 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23538 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23539 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23540 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23541 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23542 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23543 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23544 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23545 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23546 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23548 [$(subdir) = elf && $(config-cflags-avx) = yes]
23549 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23550 [$(subdir) = elf && $(config-cflags-avx) = yes]
23551 (CFLAGS-tst-auditmod4a.c): Likewise.
23552 [$(subdir) = elf && $(config-cflags-avx) = yes]
23553 (CFLAGS-tst-auditmod4b.c): Likewise.
23554 [$(subdir) = elf && $(config-cflags-avx) = yes]
23555 (CFLAGS-tst-auditmod6b.c): Likewise.
23556 [$(subdir) = elf && $(config-cflags-avx) = yes]
23557 (CFLAGS-tst-auditmod6c.c): Likewise.
23558 [$(subdir) = elf && $(config-cflags-avx) = yes]
23559 (CFLAGS-tst-auditmod7b.c): Likewise.
23560 * elf/tst-audit3.c: Move to ...
23561 * sysdeps/x86_64/tst-audit3.c: ... here.
23562 * elf/tst-audit4.c: Move to ...
23563 * sysdeps/x86_64/tst-audit4.c: ... here.
23564 * elf/tst-audit5.c: Move to ...
23565 * sysdeps/x86_64/tst-audit5.c: ... here.
23566 * elf/tst-audit6.c: Move to ...
23567 * sysdeps/x86_64/tst-audit6.c: ... here.
23568 * elf/tst-audit7.c: Move to ...
23569 * sysdeps/x86_64/tst-audit7.c: ... here.
23570 * elf/tst-auditmod3a.c: Move to ...
23571 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23572 * elf/tst-auditmod3b.c: Move to ...
23573 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23574 * elf/tst-auditmod4a.c: Move to ...
23575 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23576 * elf/tst-auditmod4b.c: Move to ...
23577 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23578 * elf/tst-auditmod5a.c: Move to ...
23579 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23580 * elf/tst-auditmod5b.c: Move to ...
23581 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23582 * elf/tst-auditmod6a.c: Move to ...
23583 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23584 * elf/tst-auditmod6b.c: Move to ...
23585 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23586 * elf/tst-auditmod6c.c: Move to ...
23587 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23588 * elf/tst-auditmod7a.c: Move to ...
23589 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23590 * elf/tst-auditmod7b.c: Move to ...
23591 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23593 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23596 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23597 define unconditionally.
23598 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23599 define unconditionally.
23600 (INT8_C, INT16_C, etc.): Likewise.
23602 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23604 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23605 __ehdr_start with hidden visibility.
23607 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23609 2013-04-24 Carlos O'Donell <carlos@redhat.com>
23611 * math/libm-test.inc (cos_test): Use accurate hex constants.
23612 (sincost_test): Likewise.
23614 2013-04-24 Joseph Myers <joseph@codesourcery.com>
23616 * math/libm-test.inc (catan_test): Add more tests.
23617 (catanh_test): Likewise.
23619 * math/s_catanf.c (__catanf): Use suffixed floating-point
23621 * math/s_catanhf.c (__catanhf): Likewise.
23622 * math/s_catanhl.c (__catanhl): Likewise.
23623 * math/s_catanl.c (__catanl): Likewise.
23626 * math/s_catan.c (__catan): Calculate imaginary part of result
23627 with log1p not log unless computing log of number close to 0.
23628 * math/s_catanf.c (__catanf): Likewise.
23629 * math/s_catanl.c (__catanl): Likewise.
23630 * math/s_catanh.c (__catanh): Calculate real part of result with
23631 log1p not log unless computing log of number close to 0.
23632 * math/s_catanhf.c (__catanhf): Likewise.
23633 * math/s_catanhl.c (__catanhl): Likewise.
23634 * math/libm-test.inc (catan_test): Add more tests.
23635 (catanh_test): Likewise.
23636 * sysdeps/i386/fpu/libm-test-ulps: Update.
23637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23639 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23641 * benchtests/Makefile: Mention files in which fast and slow
23642 paths of math functions are implemented.
23644 2013-04-23 Roland McGrath <roland@hack.frob.com>
23646 * sysdeps/posix/timespec_get.c: New file.
23648 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23650 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23652 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23654 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23655 powerpc/power5/fpu folders.
23656 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23657 * benchtests/Makefile: Add modf testcase.
23658 * benchtests/bench-modf.c: New file: Benchmark test for mo
23660 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23663 * time/Makefile (tests): Add tst-strptime-whitespace.
23664 * time/strptime_l.c (get_number): Use ISSPACE.
23665 (__strptime_internal): Likewise.
23666 * time/tst-strptime-whitespace.c: New test case.
23668 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23670 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23672 (_nss_files_init): Set it here.
23674 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23676 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23677 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23680 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23682 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23684 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23686 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23689 2013-04-21 David S. Miller <davem@davemloft.net>
23691 * po/ru.po: Update Russion translation from translation project.
23693 2013-04-17 Adam Conrad <adconrad@0c3.net>
23695 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23698 2013-04-17 Carlos O'Donell <carlos@redhat.com>
23700 * configure.in: Remove i386 configure warning. Remove i386 case.
23701 * configure: Regenerate.
23702 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23703 Add example to error message.
23704 * sysdeps/i386/configure: Regenerate.
23706 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23708 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23710 * benchtests/cos-inputs: New file.
23711 * benchtests/slowcos-inputs: New file.
23712 * benchtests/slowcos.c: New file.
23713 * benchtests/slowtan-inputs: New file.
23714 * benchtests/slowtan.c: New file.
23715 * benchtests/tan-inputs: New file.
23717 2013-04-16 Roland McGrath <roland@hack.frob.com>
23719 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23722 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23724 * benchtests/Makefile: Include cppflags-iterator.mk to add
23725 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23727 * Makefile.in (bench-clean): New target.
23728 * benchtests/Makefile (bench-clean): Likewise.
23730 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
23732 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23734 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
23736 * stdio-common/tstdiomisc.c: Fix coding-style violation.
23738 2013-04-15 Andreas Schwab <schwab@suse.de>
23740 * nscd/grpcache.c (cache_addgr): Properly check for short write.
23741 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23742 * nscd/pwdcache.c (cache_addpw): Likewise.
23743 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
23746 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23748 * benchtests/Makefile (bench): Write all output to
23749 bench-out.tmp together.
23751 2013-04-15 Andreas Schwab <schwab@suse.de>
23753 * nscd/nscd.c (main): Don't fork again after closing files.
23755 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23757 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23759 * benchtests/Rules (bench-deps): Collect dependencies into a
23760 single variable. Add Makefile to dependencies.
23761 ($(objpfx)bench-%.c): Depend on bench-deps.
23763 2013-04-12 Roland McGrath <roland@hack.frob.com>
23764 Xavier Roche <roche+kml2@exalead.com>
23767 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23768 just that it's a file descriptor.
23769 * manual/llio.texi (Synchronizing AIO Operations): Update description
23770 for EBADF error from aio_fsync.
23772 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23774 * Rules (bench): Move target definition...
23775 * benchtests/Makefile: ... here.
23777 2013-04-11 Carlos O'Donell <carlos@redhat.com>
23779 * math/libm-test.inc (cos_test): Fix PI/2 test.
23780 (sincos_test): Likewise.
23781 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23782 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23784 2013-04-11 Andreas Schwab <schwab@suse.de>
23787 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23788 accept exponent character only when digits were seen.
23789 * stdio-common/Makefile (tests): Add bug26.
23790 * stdio-common/bug26.c: New file.
23793 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23796 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23798 * Makeconfig (rtld-prefix): Define built linker prefix.
23799 * Rules (run-bench): Use it.
23800 * math/Makefile (run-regen-ulps): Likewise.
23802 * Rules (bench): Remove eval.
23804 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23805 Roland McGrath <roland@hack.frob.com>
23806 Ondrej Bilka <neleai@seznam.cz>
23809 * time/getdate.c: Include ctype.h and alloca.h.
23810 (__getdate_r): Trim leading and trailing spaces of input.
23811 * time/tst-getdate.c (tests): Add tests with leading and
23814 2013-04-08 Roland McGrath <roland@hack.frob.com>
23817 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23818 when computing value.
23820 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23822 * math/README.libm-test (How can I generate "libm-test-ulps"?):
23823 Use testrun.sh to run libm tests.
23826 * elf/dl-open.c (dl_open_worker): memset all of seen array.
23828 2013-04-06 Marko Myllynen <myllynen@redhat.com>
23831 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23833 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23835 * Makefile.in (regen-ulps): New target.
23836 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23837 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23838 [ifneq (no,$(PERL)] (regen-ulps): New target.
23839 [ifeq (no,$(PERL)] (regen-ulps): New target.
23840 * math/libm-test.inc (ulps_file_name): Define.
23841 (output_dir): New variable.
23842 (options): Add "output-dir" option.
23843 (parse_opt): Handle 'o' case.
23844 (main): If output_dir is non-NULL use it as a prefix
23846 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23848 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23850 [BZ #10060, #10062]
23851 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23852 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23853 fail configure if __sync_val_compare_and_swap is not inlined.
23854 * sysdeps/i386/configure: Regenerate.
23855 * configure.in: Build for i686 when configured for i386.
23856 * configure: Regenerate.
23857 * README: Remove i386 reference.
23859 2013-04-06 Carlos O'Donell <carlos@redhat.com>
23861 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23862 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23864 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
23866 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23867 (lmsnanval): New variables.
23868 (F): Add conversion tests.
23869 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23870 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23872 * stdio-common/tstdiomisc.c (F): Properly collect individual
23875 [BZ #14686, #15336]
23876 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23877 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23878 Instead, use input NaN values or generate a qNaN by arithmetic
23879 operation. Also fix bugs to comply with the standard.
23880 * math/libm-test.inc (remainder_test): Add more tests.
23882 [BZ #15335, #15342]
23883 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23884 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23885 input NaN values or generate a qNaN by arithmetic operation.
23887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23890 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23893 2013-04-03 Joseph Myers <joseph@codesourcery.com>
23896 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23897 underflowed result.
23898 * math/s_cexpf.c (__cexpf): Likewise.
23899 * math/s_cexpl.c (__cexpl): Likewise.
23900 * math/libm-test.inc (cexp_test): Add more tests.
23902 2013-04-03 Andreas Schwab <schwab@suse.de>
23905 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23906 order arrays from heap if bigger than alloca cutoff.
23908 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
23910 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23911 (SNAN_TESTS_double): Refer to GCC PR56831.
23912 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23915 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23917 * Rules (bench): Move bench.out after the run is complete.
23919 * Rules (bench): Echo currently running benchmark.
23921 * benchtests/Makefile (bench): Add atan and slowatan.
23922 * benchtests/atan-inputs: New file.
23923 * benchtests/slowatan-inputs: New file.
23924 * benchtests/slowatan.c: New file.
23926 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23927 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23931 * sysdeps/unix/sysv/linux/kernel-features.h
23932 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23933 __ASSUME_XFS_RESTRICTED_CHOWN.
23934 * sysdeps/unix/sysv/linux/pathconf.c
23935 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23936 Save and restore errno.
23938 2013-04-02 Joseph Myers <joseph@codesourcery.com>
23941 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23942 arguments using __kernel_casinh.
23943 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23944 arguments using __kernel_casinhf.
23945 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23946 arguments using __kernel_casinhl.
23947 * math/libm-test.inc (cacosh_test): Add more tests.
23948 * sysdeps/i386/fpu/libm-test-ulps: Update.
23949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23951 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23953 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23954 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23956 * bench/Makefile (bench): Add sin and slowsin.
23957 * benchtests/sin-inputs: New file.
23958 * benchtests/slowsin-inputs: New file.
23959 * benchtests/slowsin.c: New file.
23961 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23962 (bench): Add slowexp and slowpow.
23963 (exp-ITER): Increase iterations.
23964 (pow-ITER): Likewise.
23965 * benchtests/exp-inputs: Change input.
23966 * benchtests/pow-inputs: Likewise.
23967 * benchtests/slowexp-inputs: New file.
23968 * benchtests/slowexp.c: New file.
23969 * benchtests/slowpow-inputs: New file.
23970 * benchtests/slowpow.c: New file.
23972 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23974 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23976 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23977 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23978 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23979 * benchtests/Makefile: Add rint benchtest.
23980 * benchtests/rint-inputs: Input for rint benchtest.
23982 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
23984 * Versions.def (libm): Add GLIBC_2.18.
23985 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23986 hidden libm prototypes.
23987 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23988 * math/Makefile (libm-calls): Add s_issignaling.
23989 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23990 __issignalingf, __issignalingl. Adjust all libm.abilist files.
23991 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23993 * math/math.h [__USE_GNU] (issignaling): New macro.
23994 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23995 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23996 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23997 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23998 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23999 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24000 * manual/arith.texi (issignaling): New section.
24001 * manual/libm-err-tab.pl (@all_functions): Update comment.
24002 * math/gen-libm-test.pl (parse_args): Apply special handling for
24004 * math/libm-test.inc (print_float, issignaling_test): New
24006 (check_float_internal): Add issignaling checks.
24007 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24008 default definition.
24009 * sysdeps/powerpc/math-tests.h: New file.
24010 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24012 * math/test-snan.c (TEST_FUNC): Likewise.
24014 2013-03-30 David S. Miller <davem@davemloft.net>
24016 * po/de.po: Update from translation team.
24018 2013-03-30 Joseph Myers <joseph@codesourcery.com>
24021 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24022 imaginary part less than 1.0 and real part less than 0.5
24024 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24025 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24026 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24027 (cacos_test): Add more tests.
24028 (casin_test): Likewise.
24029 (casinh_test): Likewise.
24030 * sysdeps/i386/fpu/libm-test-ulps: Update.
24031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24033 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24035 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24036 ONE with its value.
24038 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24039 (__pow_mp): Replace ONE and MONE with their values.
24040 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24041 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24042 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24043 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24044 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24045 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24047 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24049 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24050 (__pow_mp): Replace ZERO and MZERO with their values.
24051 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24052 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24053 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24055 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24056 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24059 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24061 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24063 2013-03-28 Roland McGrath <roland@hack.frob.com>
24065 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24066 Declare with __attribute__ ((weak)).
24067 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24068 Call __call_tls_dtors only if it's not NULL.
24070 2013-03-28 Roland McGrath <roland@hack.frob.com>
24072 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24073 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24074 magic __ehdr_start linker symbol if it's defined.
24075 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24076 them up here if it was already done.
24078 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24079 (_dl_aux_init): Use const in cast when setting it.
24080 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24081 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24082 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24084 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24086 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24087 * csu/libc-tls.c: Nor here.
24088 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24090 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24091 (__libc_message): Never call vsyslog.
24093 2013-03-28 Alan Modra <amodra@gmail.com>
24095 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24097 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24100 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24103 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24107 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24110 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24111 Don't add gid passed as argument.
24113 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24115 2013-03-27 Joseph Myers <joseph@codesourcery.com>
24118 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24119 imaginary part between 1.0 and 1.5 and real part less than 0.5
24121 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24122 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24123 * math/libm-test.inc (cacos_test): Add more tests.
24124 (casin_test): Likewise.
24125 (casinh_test): Likewise.
24126 * sysdeps/i386/fpu/libm-test-ulps: Update.
24127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24129 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24131 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24134 (denorm): Likewise.
24135 (__dbl_mp): Likewise.
24136 (add_magnitudes): Likewise.
24137 (sub_magnitudes): Likewise.
24145 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24147 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24148 (__dubcos): Likewise.
24149 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24150 (__ieee754_acos): Likewise.
24151 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24152 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24153 (__exp1): Likewise.
24154 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24157 (my_log2): Likewise.
24158 (checkint): Likewise.
24159 * sysdeps/ieee754/dbl-64/e_remainder.c
24160 (__ieee754_remainder): Likewise.
24161 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24162 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24163 (bsloww): Likewise.
24164 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24166 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24167 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24168 MANTISSA_STORE_T to store computations on mantissa. Use
24169 macros for rounding and division.
24170 (denorm): Likewise.
24171 (__dbl_mp): Likewise.
24172 (add_magnitudes): Likewise.
24173 (sub_magnitudes): Likewise.
24176 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24177 powers of two in terms of TWOPOW macro.
24178 (mp_no): Make type of mantissa as MANTISSA_T.
24179 [!RADIXI]: Define RADIXI.
24180 [!TWO52]: Define TWO52.
24181 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24183 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24185 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24186 llroundl symbol when building for PPC32.
24188 2013-03-24 Mark H Weaver <mhw@netris.org>
24190 * manual/arith.texi (Normalization Functions): Fix prototypes for
24191 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24193 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24197 high value to check if expl overflow.
24198 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24199 to check for underflow and overflow.
24200 * math/libm-test.inc: Add exp test.
24202 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24205 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24208 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24210 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24213 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24215 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24216 wrap blocks consisting of several statements.
24218 * sysdeps/generic/math-tests.h: New file.
24219 * sysdeps/i386/fpu/math-tests.h: Likewise.
24220 * math/test-snan.c: Include it.
24221 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24223 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24226 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24227 (__ieee754_j0l): Do not improve calculations using cos of twice
24228 input for inputs above LDBL_MAX / 2.0L.
24229 (__ieee754_y0l): Likewise.
24230 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24231 (__ieee754_j1l): Do not improve calculations using cos of twice
24232 input for inputs above LDBL_MAX / 2.0L.
24233 (__ieee754_y1l): Likewise.
24234 * math/libm-test.inc (j0_test): Add another test.
24235 (j1_test): Likewise.
24236 (y0_test): Likewise.
24237 (y1_test): Likewise.
24238 * sysdeps/i386/fpu/libm-test-ulps: Update.
24240 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24242 * Rules ($(objpfx)bench-%.c): Include code from a C source
24245 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24248 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24249 imaginary part 1.0 and real part less than 0.5 specially.
24250 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24251 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24252 * math/libm-test.inc (cacos_test): Add more tests.
24253 (casin_test): Likewise.
24254 (casinh_test): Likewise.
24255 * sysdeps/i386/fpu/libm-test-ulps: Update.
24256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24258 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24260 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24261 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24263 2013-03-20 Joseph Myers <joseph@codesourcery.com>
24265 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24266 * config.make.in (config-cflags-sse4): Remove variable.
24267 (config-cflags-avx): Likewise.
24268 (config-cflags-sse2avx): Likewise.
24269 (config-cflags-novzeroupper): Likewise.
24270 (config-asflags-i686): Likewise.
24271 (have-mfma4): Likewise.
24272 (have-as-vis3): Likewise.
24274 * configure.in (MIG): Do not AC_SUBST.
24275 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24276 (libc_cv_cc_sse4): Do not AC_SUBST.
24277 (libc_cv_cc_avx): Likewise.
24278 (libc_cv_cc_sse2avx): Likewise.
24279 (libc_cv_cc_novzeroupper): Likewise.
24280 (libc_cv_cc_fma4): Likewise.
24281 (libc_cv_as_i686): Likewise.
24282 (libc_cv_sparc_as_vis3): Likewise.
24283 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24285 (config-asflags-i686): Likewise.
24286 (config-cflags-avx): Likewise.
24287 (config-cflags-sse2avx): Likewise.
24288 (have-mfma4): Likewise.
24289 (config-cflags-novzeroupper): Likewise.
24290 * sysdeps/mach/configure.in (MIG): Likewise.
24291 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24292 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24294 (config-cflags-avx): Likewise.
24295 (config-cflags-sse2avx): Likewise.
24296 (have-mfma4): Likewise.
24297 (config-cflags-novzeroupper): Likewise.
24298 * configure: Regenerated.
24299 * sysdeps/i386/configure: Likewise.
24300 * sysdeps/mach/configure: Likewise.
24301 * sysdeps/sparc/configure: Likewise.
24302 * sysdeps/x86_64/configure: Likewise.
24304 2013-03-20 Roland McGrath <roland@hack.frob.com>
24307 * locale/programs/localedef.c (options): Put N_ translation marker
24308 on argument names, not just descriptions.
24310 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24312 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24314 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
24317 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24319 2013-03-19 Roland McGrath <roland@hack.frob.com>
24321 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24322 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24323 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24324 [!BEFORE_ABORT] (before_abort): New function.
24325 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24326 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24327 (writev_for_fatal): New function.
24328 (WRITEV_FOR_FATAL): New macro; call that.
24329 (backtrace_and_maps): New function.
24330 (BEFORE_ABORT): New macro; call that.
24331 (struct str_list): Type removed.
24332 (__libc_message, __libc_fatal): Functions removed.
24333 Include <sysdeps/posix/libc_fatal.c> instead.
24335 2013-03-19 Joseph Myers <joseph@codesourcery.com>
24337 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24339 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24342 2013-03-19 Andreas Schwab <schwab@suse.de>
24344 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24345 * sysdeps/gnu/configure: Regenerate.
24347 * configure.in: Substitute libc_cv_rtlddir.
24348 * configure: Regenerate.
24349 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24350 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24351 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24352 * elf/Makefile (install-others, CFLAGS-interp.c)
24353 (ldso_install, common-ldd-rewrite): Likewise.
24354 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24355 $(inst_slibdir)/$(rtld-installed-name).
24356 * scripts/rellns-sh: Add -p option.
24357 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24360 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24362 * manual/nptl.texi: Renamed to ...
24363 * manual/threads.texi: ... this.
24364 * manual/Makefile (chapters): Update.
24366 2013-03-18 Roland McGrath <roland@hack.frob.com>
24369 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24370 on argument names, not just descriptions.
24371 * malloc/memusagestat.c (options): Likewise.
24372 * nss/getent.c (options): Likewise.
24374 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
24377 * iconv/iconv_prog.c (options): Put N_ translation marker
24378 on argument names, not just descriptions.
24379 * iconv/iconvconfig.c (options): Likewise.
24381 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
24383 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24384 implementation which is faster on all x86_64 architectures.
24385 Tested on AMD, Intel Nehalem, SNB, IVB.
24386 * sysdeps/x86_64/strnlen.S: Likewise.
24388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24389 Remove all multiarch strlen and strnlen versions.
24390 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24391 Remove strlen and strnlen related parts.
24393 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24394 Inline strlen part.
24395 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24397 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24398 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24399 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24400 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24401 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24402 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24404 2013-03-17 Carlos O'Donell <carlos@redhat.com>
24406 * manual/memory.texi (Malloc Tunable Parameters):
24407 Sort parameters alphabetically. Add comments for missing entries.
24409 2013-03-17 David S. Miller <davem@davemloft.net>
24411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24413 2013-03-16 Joseph Myers <joseph@codesourcery.com>
24416 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24417 for arguments at most half maximum finite value.
24418 * math/libm-test.inc (j0_test): Add more tests.
24419 (j1_test): Likewise.
24420 (y0_test): Likewise.
24421 (y1_test): Likewise.
24422 * sysdeps/i386/fpu/libm-test-ulps: Update.
24423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24426 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24427 1 / x and functions P and Q for arguments above 0x1p256L.
24428 (__ieee754_y0l): Likewise.
24429 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24430 (__ieee754_y1l): Likewise.
24431 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24432 (j1_test): Likewise.
24433 (y0_test): Likewise.
24434 (y1_test): Likewise.
24436 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24438 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24441 2013-03-15 Roland McGrath <roland@hack.frob.com>
24443 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24444 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24445 zero since it's initialized to EXEC_PAGESIZE.
24447 * sysdeps/unix/sysv/linux/ldsodefs.h
24448 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24449 * sysdeps/generic/ldsodefs.h: ... here.
24451 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24453 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24455 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24457 * math/test-snan.c: Renamed from
24458 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24459 * math/Makefile (tests): Add test-snan.
24460 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24463 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24464 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24466 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24467 __builtin_nan family of functions.
24468 * math/libm-test.inc (initialize): Initialize qnan_value with
24469 __builtin_nan family of functions.
24470 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24472 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24474 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24475 storage class. Initialize qNaN_var and sNaN_var with
24476 __builtin_nan and __builtin_nans families of functions,
24479 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24480 (sqrt_test): Remove duplicate test with qNaN input.
24481 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24482 (round_test, signbit_test, significand_test): Note missing +/-Inf
24483 as well as qNaN tests.
24485 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24486 qNaN_var. Fix a few strings, too.
24487 * math/libm-test.inc (nan_value): Rename to qnan_value.
24488 * math/gen-libm-test.pl (%beautify): Adjust to that.
24489 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24490 * math/test-misc.c (main): Likewise.
24491 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24492 to __qnan_bytes, and __qnan_union, respectively.
24493 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24495 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24496 and lqnanval, respectively.
24497 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24498 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24499 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24500 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24502 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24503 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24506 * math/test-misc.c (main): Fix copy'n'pastos.
24507 * misc/tst-efgcvt.c (special): Likewise.
24509 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24510 Remove declarations.
24512 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24514 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24515 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24516 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24517 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24519 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24521 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24522 macro to return vdso values correctly in IFUNC implementations.
24523 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24524 Optimization by using IFUNC.
24526 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24527 Richard Henderson <rth@redhat.com>
24528 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24530 * Makefile.in (bench): New target.
24531 * NEWS: Mention the benchmark framework.
24532 * Rules (bench): Likewise.
24533 (binaries-bench): Generate binaries for functions to
24535 * benchtests/Makefile: New makefile for benchmark tests.
24536 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24538 * benchtests/exp-inputs: New input file for EXP function.
24539 * benchtests/pow-inputs: New input file for POW function.
24540 * scripts/bench.pl: New script to generate source files for
24541 benchmark programs.
24543 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24545 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24546 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24547 computations on mantissa. Use macros for rounding and
24549 (denorm): Likewise.
24550 (__dbl_mp): Likewise.
24551 (add_magnitudes): Likewise.
24552 (sub_magnitudes): Likewise.
24555 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24556 powers of two in terms of TWOPOW macro.
24557 (mp_no): Make type of mantissa as MANTISSA_T.
24558 [!RADIXI]: Define RADIXI.
24559 [!TWO52]: Define TWO52.
24560 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24562 * manual/nptl.texi (cindex): Modify threads to pthreads.
24564 2013-03-15 Joseph Myers <joseph@codesourcery.com>
24566 * sysdeps/x86_64/preconfigure: Regenerated.
24568 2013-03-14 Joseph Myers <joseph@codesourcery.com>
24571 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24573 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24574 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24576 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24577 * math/libm-test.inc (j0_test): Do not allow one spurious
24578 underflow exception.
24579 (y1_test): Likewise.
24581 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24583 * manual/Makefile (chapters): Add nptl.
24584 * manual/debug.texi (Debugging Support): Add link to Threads
24586 * manual/nptl.texi: New file.
24588 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24590 2013-03-14 Petr Baudis <pasky@ucw.cz>
24592 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24593 for non-NULL pointer before the memory validity test. Pointed
24594 out by Holger Brunck <holger.brunck@keymile.com>.
24596 2013-03-13 Andreas Schwab <schwab@suse.de>
24598 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24601 2013-03-13 Joseph Myers <joseph@codesourcery.com>
24603 * timezone/zic.c: Update from tzcode 2013b.
24605 2013-03-12 Carlos O'Donell <carlos@redhat.com>
24607 * manual/install.texi (Configuring and compiling):
24608 Mention i686 and i586.
24609 * INSTALL: Regenerate.
24611 2013-03-12 Roland McGrath <roland@hack.frob.com>
24613 * sysdeps/init_array/elf-init.c: New file.
24615 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24616 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24618 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24619 __gmon_start__ as global, but as static with a .preinit_array pointer.
24620 * sysdeps/init_array/gmon-start.c: New file. Use that.
24621 * sysdeps/init_array/crti.S: New file, empty except for comments.
24622 * sysdeps/init_array/crtn.S: Likewise.
24624 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
24626 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24629 Remove Prefer_SSE_for_memop.
24630 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24631 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24632 HAS_PREFER_SSE_FOR_MEMOP.
24633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24635 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24636 Remove bzero, memset ifunc support.
24637 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24638 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24639 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24640 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24642 2013-03-11 Andreas Schwab <schwab@suse.de>
24645 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24648 (GLIBC_2.16): Remove pthread_atfork.
24650 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24652 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24653 (ptestcases.h): Likewise.
24655 2013-03-08 Roland McGrath <roland@hack.frob.com>
24657 * Makeconfig ($(common-objpfx)config.status): Depend on
24658 sysdeps/*/preconfigure{,.in} too.
24660 2013-03-08 Joseph Myers <joseph@codesourcery.com>
24662 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24663 (__free_hook): Use void * instead of __malloc_ptr_t.
24664 (__malloc_hook): Likewise.
24665 (__realloc_hook): Likewise.
24666 (__memalign_hook): Likewise.
24667 (__after_morecore_hook): Likewise.
24668 * malloc/arena.c (save_malloc_hook): Likewise.
24669 (save_free_hook): Likewise.
24670 * malloc/hooks.c (malloc_hook_ini): Likewise.
24671 (realloc_hook_ini): Likewise.
24672 (memalign_hook_ini): Likewise.
24673 * malloc/malloc.c (malloc_hook_ini): Likewise.
24674 (realloc_hook_ini): Likewise.
24675 (memalign_hook_ini): Likewise.
24676 (__free_hook): Likewise.
24677 (__malloc_hook): Likewise.
24678 (__realloc_hook): Likewise.
24679 (__memalign_hook): Likewise.
24680 (__libc_malloc): Likewise.
24681 (__libc_free): Likewise.
24682 (__libc_realloc): Likewise.
24683 (__libc_memalign): Likewise.
24684 (__libc_valloc): Likewise.
24685 (__libc_pvalloc): Likewise.
24686 (__libc_calloc): Likewise.
24687 (__posix_memalign): Likewise.
24688 * malloc/morecore.c (__sbrk): Likewise.
24689 (__default_morecore): Likewise.
24691 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24693 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24694 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24695 __malloc_ptrdiff_t.
24697 * malloc/malloc.h (__malloc_size_t): Remove macro.
24698 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24700 (old_memalign_hook): Likewise.
24701 (old_realloc_hook): Likewise.
24702 (struct hdr): Likewise.
24704 (mallochook): Likewise.
24705 (memalignhook): Likewise.
24706 (reallochook): Likewise.
24707 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24708 (tr_old_realloc_hook): Likewise.
24709 (tr_old_memalign_hook): Likewise.
24710 (tr_mallochook): Likewise.
24711 (tr_reallochook): Likewise.
24712 (tr_memalignhook): Likewise.
24714 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24716 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24717 default_ldbl_pack and using as default implementation.
24718 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24720 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24721 redundant definition.
24722 (ldbl_insert_mantissa): Likewise.
24723 (ldbl_canonicalize): Likewise.
24724 (ldbl_nearbyint): Likewise.
24725 (ldbl_pack): Rename to ldbl_pack_ppc.
24726 (ldbl_unpack): Rename to ldbl_unpack_ppc.
24727 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24728 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24730 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24733 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24734 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24735 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24737 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24738 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24739 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24741 2013-03-07 Andreas Jaeger <aj@suse.de>
24743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24746 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24748 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24749 Include mpa.h and declare __MPEXP.
24750 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24751 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24752 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24753 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24754 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24755 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24756 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24758 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24759 (__slowpow): Use long double EXPL and LOGL functions to
24761 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24762 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24763 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24764 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24765 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24766 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24769 intermediate variable to calculate exponent.
24771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24775 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24776 [!NO__SQR]: Define __sqr.
24777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24778 and NO__SQR. Remove all code except __mul and __sqr. Include
24779 sysdeps/ieee754/dbl-64/mpa.c.
24780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24783 * posix/Makefile (tests): Add tst-pathconf.
24784 * posix/tst-pathconf.c: New test case.
24785 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24787 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24789 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
24791 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24793 2013-03-06 Andreas Jaeger <aj@suse.de>
24795 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24796 definition via __MAP_ANONYMOUS.
24798 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24799 it's not part of Linux headers.
24801 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24802 (MAP_HUGE_MASK): Define.
24804 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24806 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24807 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24809 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24810 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24812 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24813 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24815 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24817 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24818 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24819 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24820 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24821 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24822 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24824 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24827 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24828 Handle f2fs and efivarfs.
24830 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24833 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24834 (EFIVARFS_MAGIC): Add.
24835 (F2FS_LINK_MAX): Add.
24837 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24839 * stdio-common/vfprintf.c: Replace __builtin_expect with
24842 2013-03-06 Joseph Myers <joseph@codesourcery.com>
24845 * sysdeps/generic/bp-sym.h: Remove file.
24846 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24847 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24848 <bp-sym.h> and <bp-asm.h>.
24849 (__longjmp): Don't use BP_SYM.
24850 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24852 (memcpy): Don't use BP_SYM.
24853 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24854 <bp-sym.h> and <bp-asm.h>.
24855 (memcpy): Don't use BP_SYM.
24856 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24858 (memcpy): Don't use BP_SYM.
24859 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24861 (memset): Don't use BP_SYM.
24862 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24863 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24864 (__bzero): Don't use BP_SYM.
24865 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24866 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24867 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24868 <bp-sym.h> and <bp-asm.h>.
24869 (memcmp): Don't use BP_SYM. Remove comment about bounded
24871 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24872 <bp-sym.h> and <bp-asm.h>.
24873 (memcpy): Don't use BP_SYM.
24874 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24875 <bp-sym.h> and <bp-asm.h>.
24876 (memset): Don't use BP_SYM.
24877 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24878 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24879 (__bzero): Don't use BP_SYM.
24880 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24881 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24882 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24883 <bp-sym.h> and <bp-asm.h>.
24884 (strncmp): Don't use BP_SYM. Remove comment about bounded
24886 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24887 <bp-sym.h> and <bp-asm.h>.
24888 (memcpy): Don't use BP_SYM.
24889 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24890 <bp-sym.h> and <bp-asm.h>.
24891 (memset): Don't use BP_SYM.
24892 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24893 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24894 (__bzero): Don't use BP_SYM.
24895 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24896 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24897 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24898 <bp-sym.h> and <bp-asm.h>.
24899 (__memchr): Don't use BP_SYM.
24900 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24901 <bp-sym.h> and <bp-asm.h>.
24902 (memcmp): Don't use BP_SYM. Remove comment about bounded
24904 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24905 <bp-sym.h> and <bp-asm.h>.
24906 (memcpy): Don't use BP_SYM.
24907 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24908 <bp-sym.h> and <bp-asm.h>.
24909 (__mempcpy): Don't use BP_SYM.
24910 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24911 <bp-sym.h> and <bp-asm.h>.
24912 (__memrchr): Don't use BP_SYM.
24913 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24914 <bp-sym.h> and <bp-asm.h>.
24915 (memset): Don't use BP_SYM.
24916 (__bzero): Likewise.
24917 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24918 <bp-sym.h> and <bp-asm.h>.
24919 (__rawmemchr): Don't use BP_SYM.
24920 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24921 <bp-sym.h> and <bp-asm.h>.
24922 (__STRCMP): Don't use BP_SYM.
24923 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24924 <bp-sym.h> and <bp-asm.h>.
24925 (strchr): Don't use BP_SYM.
24926 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24927 <bp-sym.h> and <bp-asm.h>.
24928 (__strchrnul): Don't use BP_SYM.
24929 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24930 <bp-sym.h> and <bp-asm.h>.
24931 (strlen): Don't use BP_SYM.
24932 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24933 <bp-sym.h> and <bp-asm.h>.
24934 (strncmp): Don't use BP_SYM. Remove comment about bounded
24936 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24937 <bp-sym.h> and <bp-asm.h>.
24938 (__strnlen): Don't use BP_SYM.
24939 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24940 <bp-sym.h> and <bp-asm.h>.
24941 (__GI__setjmp): Don't use BP_SYM.
24942 (_setjmp): Likewise.
24943 (__sigsetjmp): Likewise.
24944 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24945 (L(start_addresses)): Don't use BP_SYM.
24946 (_start): Likewise.
24947 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24949 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24950 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24951 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24952 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24953 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24955 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24956 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
24957 about bounded pointers.
24958 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24959 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24960 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24962 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24963 about bounded pointers. Remove GKM FIXME comments.
24964 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24965 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24967 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24968 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
24969 Remove GKM FIXME comments.
24970 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24971 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24972 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24974 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
24975 about bounded pointers. Remove GKM FIXME comment.
24976 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24978 (strncmp): Don't use BP_SYM. Remove comment about bounded
24980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24981 <bp-sym.h> and <bp-asm.h>.
24982 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24984 <bp-sym.h> and <bp-asm.h>.
24985 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
24988 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24990 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24993 2013-03-05 David S. Miller <davem@davemloft.net>
24995 * po/es.po: Update from translation team.
24997 2013-03-05 Andreas Jaeger <aj@suse.de>
24999 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25000 <bits/mman-linux.h>.
25001 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25003 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25004 <bits/mman-linux.h> to end of file.
25005 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25007 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25008 <bits/mman-linux.h> to end of file.
25009 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25011 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25012 <bits/mman-linux.h> to end of file.
25014 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25015 (MCL_CURRENT, MCL_FUTURE): Define here.
25017 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25020 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25022 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25024 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25026 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25027 fourth parameter needed for rt_sigprocmask syscall.
25028 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25029 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25030 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25031 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25032 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25033 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25035 2013-03-04 Joseph Myers <joseph@codesourcery.com>
25038 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25039 comment about bounded pointers.
25040 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25041 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25043 2013-03-04 Andreas Jaeger <aj@suse.de>
25045 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25046 common definitions.
25048 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25049 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25050 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25051 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25052 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25053 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25055 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25058 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25059 __ieee754_sqrl instead of __sqrl.
25061 2013-03-01 Joseph Myers <joseph@codesourcery.com>
25063 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25064 * sysdeps/powerpc/fpu_control.h: ... here.
25065 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25066 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25067 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25068 * sysdeps/powerpc/bits/mathinline.h: ... here.
25070 2013-03-01 Roland McGrath <roland@hack.frob.com>
25072 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25073 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25074 to just [NEED_DL_SYSINFO_DSO].
25075 * elf/dl-support.c: Likewise.
25076 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25077 * elf/rtld.c (dl_main): Likewise.
25078 * elf/setup-vdso.h (setup_vdso): Likewise.
25079 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25080 * sysdeps/unix/sysv/linux/dl-sysdep.c
25081 (_dl_discover_osversion): Likewise.
25083 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25085 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25086 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25088 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25090 * NEWS: Mention libm performance improvements and non-x86 PI
25093 * csu/libc-start.c (__pthread_initialize_minimal): Change
25094 function arguments.
25095 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25097 2013-02-28 Joseph Myers <joseph@codesourcery.com>
25100 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25101 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25102 <bp-sym.h> and <bp-asm.h>.
25103 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25104 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25106 (memcpy): Don't use BP_SYM.
25107 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25109 (__mpn_add_n): Don't use BP_SYM.
25110 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25111 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25113 (__mpn_addmul_1): Don't use BP_SYM.
25114 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25115 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25117 (_setjmp): Don't use BP_SYM.
25118 (__novmx_setjmp): Likewise.
25119 (__GI__setjmp): Likewise.
25120 (__vmx_setjmp): Likewise.
25121 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25123 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25124 (__bzero): Don't use BP_SYM.
25125 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25126 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25127 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25128 <bp-sym.h> and <bp-asm.h>.
25129 (memcpy): Don't use BP_SYM.
25130 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25131 <bp-sym.h> and <bp-asm.h>.
25132 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25133 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25134 <bp-sym.h> and <bp-asm.h>.
25135 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25136 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25138 (__mpn_lshift): Don't use BP_SYM.
25139 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25140 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25142 (memset): Don't use BP_SYM.
25143 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25144 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25145 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25147 (__mpn_mul_1): Don't use BP_SYM.
25148 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25149 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25150 <bp-sym.h> and <bp-asm.h>.
25151 (memcmp): Don't use BP_SYM.
25152 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25153 <bp-sym.h> and <bp-asm.h>.
25154 (memcpy): Don't use BP_SYM.
25155 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25156 <bp-sym.h> and <bp-asm.h>.
25157 (memset): Don't use BP_SYM.
25158 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25159 <bp-sym.h> and <bp-asm.h>.
25160 (strncmp): Don't use BP_SYM.
25161 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25162 <bp-sym.h> and <bp-asm.h>.
25163 (memcpy): Don't use BP_SYM.
25164 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25165 <bp-sym.h> and <bp-asm.h>.
25166 (memset): Don't use BP_SYM.
25167 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25168 <bp-sym.h> and <bp-asm.h>.
25169 (__memchr): Don't use BP_SYM.
25170 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25171 <bp-sym.h> and <bp-asm.h>.
25172 (memcmp): Don't use BP_SYM.
25173 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25174 <bp-sym.h> and <bp-asm.h>.
25175 (memcpy): Don't use BP_SYM.
25176 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25177 <bp-sym.h> and <bp-asm.h>.
25178 (__mempcpy): Don't use BP_SYM.
25179 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25180 <bp-sym.h> and <bp-asm.h>.
25181 (__memrchr): Don't use BP_SYM.
25182 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25183 <bp-sym.h> and <bp-asm.h>.
25184 (memset): Don't use BP_SYM.
25185 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25186 <bp-sym.h> and <bp-asm.h>.
25187 (__rawmemchr): Don't use BP_SYM.
25188 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25189 <bp-sym.h> and <bp-asm.h>.
25190 (__STRCMP): Don't use BP_SYM.
25191 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25192 <bp-sym.h> and <bp-asm.h>.
25193 (strchr): Don't use BP_SYM.
25194 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25195 <bp-sym.h> and <bp-asm.h>.
25196 (__strchrnul): Don't use BP_SYM.
25197 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25198 <bp-sym.h> and <bp-asm.h>.
25199 (strlen): Don't use BP_SYM.
25200 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25201 <bp-sym.h> and <bp-asm.h>.
25202 (strncmp): Don't use BP_SYM.
25203 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25204 <bp-sym.h> and <bp-asm.h>.
25205 (__strnlen): Don't use BP_SYM.
25206 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25208 (__mpn_rshift): Don't use BP_SYM.
25209 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25210 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25211 <bp-sym.h> and <bp-asm.h>.
25212 (__sigsetjmp): Don't use BP_SYM.
25213 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25214 (L(start_addresses)): Don't use BP_SYM.
25215 (_start): Likewise.
25216 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25218 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25219 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25220 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25221 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25223 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25224 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25225 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25226 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25228 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25230 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25231 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25233 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25235 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25236 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25237 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25239 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25241 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25243 (strncmp): Don't use BP_SYM,
25244 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25246 (__mpn_sub_n): Don't use BP_SYM.
25247 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25248 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25250 (__mpn_submul_1): Don't use BP_SYM.
25251 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25253 <bp-sym.h> and <bp-asm.h>.
25254 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25256 <bp-sym.h> and <bp-asm.h>.
25257 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25260 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25263 Use ZK to minimize writes to Z.
25264 (sub_magnitudes): Simplify code a bit.
25265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25266 Use ZK to minimize writes to Z.
25267 (sub_magnitudes): Simplify code a bit.
25269 2013-02-27 Roland McGrath <roland@hack.frob.com>
25271 * csu/gmon-start.c: Add special exception to license text.
25273 2013-02-27 Richard Henderson <rth@redhat.com>
25275 * scripts/config.guess: Update from config.git.
25276 * scripts/config.sub: Likewise.
25278 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25280 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25282 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25284 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25286 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25288 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25290 2013-02-26 Roland McGrath <roland@hack.frob.com>
25292 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25293 [$(build-shared = yes].
25295 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25297 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25298 (__mul): Reduce iterations for calculating mantissa.
25300 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25302 (__mpranred): Likewise.
25305 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25306 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25308 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25310 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25311 Define __attribute__.
25313 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25315 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25317 * posix/regex_internal.h (__attribute): Remove.
25318 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25319 (re_string_context_at): Likewise.
25320 (bitset_not): Use __attribute__ and mark function as possibly
25322 (bitset_merge): Likewise.
25323 (bitset_mask): Likewise.
25324 (re_string_char_size_at): Likewise.
25325 (re_string_wchar_at): Likewise.
25326 (re_string_elem_size_at): Likewise.
25328 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25330 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25334 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25338 (denorm): Likewise.
25339 (__dbl_mp): Likewise.
25340 (add_magnitudes): Likewise.
25341 (sub_magnitudes): Likewise.
25345 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25348 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25351 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25355 up changes with default code.
25356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25359 2013-02-24 Allan McRae <allan@archlinux.org>
25361 * manual/socket.texi (The Internet Namespace): Order menu items
25362 to match that in the file.
25364 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25365 node listing of the info page menu.
25367 2013-02-21 Joseph Myers <joseph@codesourcery.com>
25370 * sysdeps/i386/bp-asm.h: Remove file.
25371 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25372 (PARMS): Do not use macros from bp-asm.h.
25376 (__mpn_add_n): Do not use BP_SYM
25377 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25379 (PARMS): Do not use macros from bp-asm.h.
25382 (__mpn_addmul_1): Do not use BP_SYM
25383 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25385 (PARMS): Do not use macros from bp-asm.h.
25386 (SIGMSK): Likewise.
25387 (_setjmp): Likewise. Do not use BP_SYM.
25388 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25390 (PARMS): Do not use macros from bp-asm.h.
25391 (SIGMSK): Likewise.
25392 (setjmp): Likewise. Do not use BP_SYM.
25393 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25395 (PARMS): Do not use macros from bp-asm.h.
25396 (__frexp): Do not use BP_SYM.
25398 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25400 (PARMS): Do not use macros from bp-asm.h.
25401 (__frexpf): Do not use BP_SYM.
25402 (frexpf): Likewise.
25403 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25405 (PARMS): Do not use macros from bp-asm.h.
25406 (__frexpl): Do not use BP_SYM.
25407 (frexpl): Likewise.
25408 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25410 (PARMS): Do not use macros from bp-asm.h.
25411 (__remquo): Do not use BP_SYM.
25412 (remquo): Likewise.
25413 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25415 (PARMS): Do not use macros from bp-asm.h.
25416 (__remquof): Do not use BP_SYM.
25417 (remquof): Likewise.
25418 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25420 (PARMS): Do not use macros from bp-asm.h.
25421 (__remquol): Do not use BP_SYM.
25422 (remquol): Likewise.
25423 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25425 (PARMS): Do not use macros from bp-asm.h.
25428 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25429 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25431 (PARMS): Do not use macros from bp-asm.h.
25432 (strlen): Do not use BP_SYM.
25433 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25435 (PARMS): Do not use macros from bp-asm.h.
25439 (__mpn_add_n): Do not use BP_SYM.
25440 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25442 (PARMS): Do not use macros from bp-asm.h.
25445 (__mpn_addmul_1): Do not use BP_SYM.
25446 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25449 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25451 (PARMS): Do not use macros from bp-asm.h.
25454 (__mpn_lshift): Do not use BP_SYM.
25455 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25457 (PARMS): Do not use macros from bp-asm.h.
25461 (memcpy): Likewise. Do not use BP_SYM.
25462 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25463 libc_hidden_def and weak_alias.
25464 (mempcpy): Do not use BP_SYM in weak_alias.
25465 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25467 (PARMS): Do not use macros from bp-asm.h.
25470 [!BZERO_P] (CHR): Likewise.
25471 (memset): Likewise. Do not use BP_SYM.
25472 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25474 (PARMS): Do not use macros from bp-asm.h.
25477 (__mpn_mul_1): Do not use BP_SYM.
25478 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25480 (PARMS): Do not use macros from bp-asm.h.
25483 (__mpn_rshift): Do not use BP_SYM.
25484 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25486 (PARMS): Do not use macros from bp-asm.h.
25489 (strchr): Likewise. Do not use BP_SYM.
25490 (index): Do not use BP_SYM in weak_alias.
25491 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25493 (PARMS): Do not use macros from bp-asm.h.
25496 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25497 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25499 (PARMS): Do not use macros from bp-asm.h.
25500 (strlen): Do not use BP_SYM.
25501 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25503 (PARMS): Do not use macros from bp-asm.h.
25507 (__mpn_sub_n): Do not use BP_SYM.
25508 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25510 (PARMS): Do not use macros from bp-asm.h.
25513 (__mpn_submul_1): Do not use BP_SYM.
25514 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25516 (PARMS): Do not use macros from bp-asm.h.
25520 (__mpn_add_n): Do not use BP_SYM.
25521 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25524 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25526 (PARMS): Do not use macros from bp-asm.h.
25529 (memcmp): Do not use BP_SYM.
25530 (bcmp): Do not use BP_SYM in weak_alias.
25531 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25533 (PARMS): Do not use macros from bp-asm.h.
25537 (memcpy): Likewise. Do not use BP_SYM.
25538 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25540 (PARMS): Do not use macros from bp-asm.h.
25544 (memmove): Likewise. Do not use BP_SYM.
25545 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25547 (PARMS): Do not use macros from bp-asm.h.
25551 (__mempcpy): Likewise. Do not use BP_SYM.
25552 (mempcpy): Do not use BP_SYM in weak_alias.
25553 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25555 (PARMS): Do not use macros from bp-asm.h.
25558 [!BZERO_P] (CHR): Likewise.
25559 (memset): Likewise. Do not use BP_SYM.
25560 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25562 (PARMS): Do not use macros from bp-asm.h.
25564 (strcmp): Do not use BP_SYM.
25565 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25567 (PARMS): Do not use macros from bp-asm.h.
25570 [USE_AS_STRTOK_R] (SAVE): Likewise.
25571 (FUNCTION): Likewise. Do not use BP_SYM.
25572 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25574 (strtok_r): Likewise.
25575 (__GI___strtok_r): Likewise.
25576 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25577 (PARMS): Do not use macros from bp-asm.h.
25580 (__mpn_lshift): Do not use BP_SYM.
25581 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25582 (PARMS): Do not use macros from bp-asm.h.
25585 (__memchr): Do not use BP_SYM.
25586 (memchr): Do not use BP_SYM in weak_alias.
25587 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25588 (PARMS): Do not use macros from bp-asm.h.
25591 (memcmp): Do not use BP_SYM.
25592 (bcmp): Do not use BP_SYM in weak_alias.
25593 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25594 (PARMS): Do not use macros from bp-asm.h.
25597 (__mpn_mul_1): Do not use BP_SYM.
25598 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25600 (PARMS): Do not use macros from bp-asm.h.
25603 (__rawmemchr): Do not use BP_SYM.
25604 (rawmemchr): Do not use BP_SYM in weak_alias.
25605 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25606 (PARMS): Do not use macros from bp-asm.h.
25609 (__mpn_rshift): Do not use BP_SYM.
25610 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25611 (PARMS): Do not use macros from bp-asm.h.
25612 (SIGMSK): Likewise.
25613 (__sigsetjmp): Likewise. Do not use BP_SYM.
25614 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25615 (_start): Do not use BP_SYM.
25616 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25617 (PARMS): Do not use macros from bp-asm.h.
25620 (__stpcpy): Likewise. Do not use BP_SYM.
25621 (stpcpy): Do not use BP_SYM in weak_alias.
25622 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25624 (PARMS): Do not use macros from bp-asm.h.
25628 (__stpncpy): Likewise. Do not use BP_SYM.
25629 (stpncpy): Do not use BP_SYM in weak_alias.
25630 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25631 (PARMS): Do not use macros from bp-asm.h.
25634 (strchr): Likewise. Do not use BP_SYM.
25635 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25637 (PARMS): Do not use macros from bp-asm.h.
25640 (__strchrnul): Likewise. Do not use BP_SYM.
25641 (strchrnul): Do not use BP_SYM in weak_alias.
25642 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25644 (PARMS): Do not use macros from bp-asm.h.
25646 (strcspn): Do not use BP_SYM.
25647 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25649 (PARMS): Do not use macros from bp-asm.h.
25652 (strpbrk): Likewise. Do not use BP_SYM.
25653 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25655 (PARMS): Do not use macros from bp-asm.h.
25658 (strrchr): Likewise. Do not use BP_SYM.
25659 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25660 (PARMS): Do not use macros from bp-asm.h.
25662 (strspn): Do not use BP_SYM.
25663 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25664 (PARMS): Do not use macros from bp-asm.h.
25668 (FUNCTION): Likewise. Do not use BP_SYM.
25669 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25671 (strtok_r): Likewise.
25672 (__GI___strtok_r): Likewise.
25673 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25674 (PARMS): Do not use macros from bp-asm.h.
25678 (__mpn_sub_n): Do not use BP_SYM.
25679 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25681 (PARMS): Do not use macros from bp-asm.h.
25684 (__mpn_submul_1): Do not use BP_SYM.
25685 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25687 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25689 (PARMS): Do not use macros from bp-asm.h.
25694 (__clone): Do not use BP_SYM.
25695 (clone): Do not use BP_SYM in weak_alias.
25696 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25698 (PARMS): Do not use macros from bp-asm.h.
25700 (__mmap64): Do not use BP_SYM.
25701 (mmap64): Do not use BP_SYM in weak_alias.
25702 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25703 <bp-sym.h> and <bp-asm.h>.
25704 (PARMS): Do not use macros from bp-asm.h.
25705 (__posix_fadvise64_l64): Do not use BP_SYM.
25706 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25707 (PARMS): Do not use macros from bp-asm.h.
25709 (semtimedop): Do not use BP_SYM.
25710 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25713 2013-02-21 Allan McRae <allan@archlinux.org>
25715 * manual/message.texi (Charset conversion in gettext):
25716 Move @end statement to beginning of line.
25718 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25725 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25726 (denorm): Likewise.
25727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25730 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25732 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25733 tail-call to the resolved function if pltexit isn't needed.
25735 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25738 or Y being zero as being unlikely.
25739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25742 2013-02-20 Carlos O'Donell <carlos@redhat.com>
25744 * manual/nss.texi (System Databases and Name Service Switch):
25745 Remove frobnicate @pxref.
25747 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25749 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25750 __attribute__ ((unused)) to __attribute__ ((__unused__)).
25752 2013-02-20 Petr Machata <pmachata@redhat.com>
25754 * elf/elf.h (R_ARM_TARGET1): New macro.
25755 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25756 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25757 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25758 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25759 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25760 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25761 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25762 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25763 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25764 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25765 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25766 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25767 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25768 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25769 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25770 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25771 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25772 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25773 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25774 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25775 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25776 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25777 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25778 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25779 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25780 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25781 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25782 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25783 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25784 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25785 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25786 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25787 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25788 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25789 (R_ARM_THM_GOT_BREL12): Likewise.
25790 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25791 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25792 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25793 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25794 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25795 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25796 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25797 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25798 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25800 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
25802 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25803 __attribute_used__ to __attribute__ ((unused)).
25805 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25807 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25810 comment formatting.
25811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25813 2013-02-19 Joseph Myers <joseph@codesourcery.com>
25816 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25818 (ENTER): Remove both macro definitions.
25820 (CHECK_BOUNDS_LOW): Likewise.
25821 (CHECK_BOUNDS_HIGH): Likewise.
25822 (CHECK_BOUNDS_BOTH): Likewise.
25823 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25824 (RETURN_BOUNDED_POINTER): Likewise.
25825 (RETURN_NULL_BOUNDED_POINTER): Likewise.
25826 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25827 (POP_ERRNO_LOCATION_RETURN): Likewise.
25828 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25829 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25830 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25832 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25833 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25834 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25835 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25836 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25837 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25838 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25839 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25840 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25841 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25842 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25843 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25844 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25845 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25847 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25848 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25850 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25851 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25852 * sysdeps/i386/i586/memset.S (memset): Likewise.
25853 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25854 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25855 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25857 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25858 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25859 Change uses of L(2) to L(out).
25860 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25861 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25862 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25863 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25864 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25866 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25867 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25869 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25870 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25871 (RETURN): Do not use macro LEAVE.
25872 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25873 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25874 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25875 * sysdeps/i386/i686/memset.S (memset): Likewise.
25876 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25877 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25878 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25879 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25881 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25882 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
25883 L(1_2) and L(1_3) into L(1).
25884 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25885 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25886 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25887 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25888 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25889 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25890 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25891 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25892 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25894 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25895 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25896 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25897 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25898 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25899 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25900 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25901 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25902 * sysdeps/i386/strcspn.S (strcspn): Likewise.
25903 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25904 * sysdeps/i386/strrchr.S (strrchr): Likewise.
25905 * sysdeps/i386/strspn.S (strspn): Likewise.
25906 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25908 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25909 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25910 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25911 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
25912 L(1_3) into L(1_1).
25913 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25914 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25915 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25917 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25919 2013-02-19 Jakub Jelinek <jakub@redhat.com>
25921 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25924 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25926 * math/atest-exp.c (exp_mpn): Remove ROUND.
25927 * math/atest-exp2.c (exp_mpn): Likewise.
25928 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25930 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25931 * stdlib/tst-tls-atexit-lib.c: Likewise.
25932 * stdlib/tst-tls-atexit.c: Likewise.
25934 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25936 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25937 and __attribute_alloc_size__.
25939 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25941 * include/programs/xmalloc.h: Change __attribute_alloc_size to
25942 __attribute_alloc_size__.
25943 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25944 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25946 2013-02-18 Mike Frysinger <vapier@gentoo.org>
25948 * include/programs/xmalloc.h: New file.
25949 * catgets/gencat.c: Include it.
25950 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25951 * elf/pldd.c: Likewise.
25952 * iconv/iconv_charmap.c: Likewise.
25953 * iconv/iconvconfig.c: Likewise.
25954 * iconv/strtab.c: Likewise.
25955 * locale/programs/locale.c: Likewise.
25956 * locale/programs/localedef.h: Likewise.
25957 * locale/programs/simple-hash.c: Likewise.
25958 * nscd/nscd.h: Likewise.
25959 * nss/makedb.c: Likewise.
25960 * sysdeps/generic/ldconfig.h: Likewise.
25962 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25964 * Versions.def: Add GLIBC_2.18.
25965 * include/link.h (struct link_map): New member l_tls_dtor_count.
25966 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25967 (__call_tls_dtors): Likewise.
25968 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25969 __cxa_thread_atexit_impl.
25970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25986 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25987 (tests): Add test case tst-tls-atexit.
25988 (modules-names): Add shared library for tst-tls-atexit.
25989 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25990 (GLIBC_PRIVATE): Add __call_tls_dtors.
25991 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25993 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25994 * stdlib/tst-tls-atexit.c: New test case.
25995 * stdlib/tst-tls-atexit-lib.c: New test case.
25997 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25999 * elf/Versions (ld): Add _dl_find_dso_for_object.
26000 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26001 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26002 (dl_open_worker): Use _dl_find_dso_for_object.
26003 * elf/dl-sym.c (do_sym): Likewise.
26004 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26006 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26008 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26009 Syntactic changes only.
26010 (_dl_runtime_profile): Do a tail-call to the resolved function.
26012 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26015 * sysdeps/x86_64/bp-asm.h: Remove file.
26016 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26017 <bp-sym.h> and <bp-asm.h>.
26018 (__clone): Do not use BP_SYM.
26019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26020 <bp-sym.h> and <bp-asm.h>.
26021 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26022 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26024 (_setjmp): Do not use BP_SYM.
26025 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26027 (setjmp): Do not use BP_SYM.
26028 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26030 (mempcpy): Do not use BP_SYM in weak_alias.
26031 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26033 (strchr): Do not use BP_SYM.
26034 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26036 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26037 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26038 (_start): Do not use BP_SYM.
26039 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26041 (strcat): Do not use BP_SYM.
26042 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26044 (STRCMP): Do not use BP_SYM.
26045 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26047 (STRCPY): Do not use BP_SYM.
26048 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26050 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26052 (FUNCTION): Do not use BP_SYM.
26053 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26055 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26057 2013-02-17 Andreas Jaeger <aj@suse.de>
26059 * time/Versions: Sort entries.
26060 * string/Versions: Likewise.
26061 * resolv/Versions: Likewise.
26062 * posix/Versions: Likewise.
26063 * iconv/Versions: Likewise.
26064 * elf/Versions: Likewise.
26065 * wcsmbs/Versions: Likewise.
26067 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26069 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26070 loop termination condition.
26072 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26073 variable to calculate EZ.
26076 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26077 the lower precision input.
26079 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26082 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26083 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26084 (run-via-rtld-prefix): Do not handle %-bp tests.
26085 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26086 (all-object-suffixes): Remove .ob.
26087 (bppfx): Remove variable.
26088 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26089 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26090 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26091 [$(build-bounded) = yes] (libtype.ob): Likewise.
26092 * Makerules (elide-routines.ob): Remove variable.
26093 (do-tests-clean): Do not handle *-bp.out.
26094 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26095 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26096 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26097 (tests): Do not include $(tests-bp.out).
26098 (xtests): Do not include $(xtests-bp.out).
26099 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26100 [$(build-bounded) = yes] ($(addprefix
26101 $(objpfx),$(binaries-bounded))): Remove rule.
26102 ($(objpfx)%-bp.out): Remove rule.
26103 * config.make.in (build-bounded): Remove variable.
26104 * crypt/Makefile [$(build-bounded) = yes]
26105 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26106 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26107 append to variable.
26108 [$(build-bounded) = yes] (install-lib): Likewise.
26109 [$(build-bounded) = yes] (generated): Likewise.
26110 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26112 * intl/Makefile [$(build-bounded) = yes]
26113 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26114 * math/Makefile [$(build-bounded) = yes]
26115 ($(tests:%=$(objpfx)%-bp): Likewise.
26116 * misc/Makefile [$(build-bounded) = yes]
26117 ($(objpfx)tst-tsearch-bp): Likewise.
26118 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26119 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26121 * string/Makefile (o-objects.ob): Remove variable.
26122 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26123 (CFLAGS-.ob): Remove variable.
26124 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26125 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26126 both definitions of variable.
26127 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26128 (ASFLAGS-.ob): Remove variable.
26130 2013-02-14 Joseph Myers <joseph@codesourcery.com>
26133 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26134 Remove __BOUNDED_POINTERS__ from condition.
26135 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26136 * string/bits/string2.h [!__NO_STRING_INLINES &&
26137 !__BOUNDED_POINTERS__]: Likewise.
26138 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26140 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26141 Remove conditional code.
26142 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26143 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26144 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26148 * csu/libc-start.c: Do not include <bp-sym.h>.
26149 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26150 * elf/dl-open.c: Do not include <bp-sym.h>.
26151 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26152 * math/fegetenv.c: Do not include <bp-sym.h>.
26153 (fegetenv): Do not use BP_SYM in versioned symbols.
26154 * nptl/sysdeps/pthread/bits/libc-lockP.h
26155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26158 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26160 (__pthread_mutex_destroy): Likewise.
26161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26162 (__pthread_mutex_lock): Likewise.
26163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26164 (__pthread_mutex_trylock): Likewise.
26165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26166 (__pthread_mutex_unlock): Likewise.
26167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26168 (__pthread_mutexattr_init): Likewise.
26169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26170 (__pthread_mutexattr_destroy): Likewise.
26171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26172 (__pthread_mutexattr_settype): Likewise.
26173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26174 (__pthread_rwlock_init): Likewise.
26175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26176 (__pthread_rwlock_destroy): Likewise.
26177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26178 (__pthread_rwlock_rdlock): Likewise.
26179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26180 (__pthread_rwlock_tryrdlock): Likewise.
26181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26182 (__pthread_rwlock_wrlock): Likewise.
26183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26184 (__pthread_rwlock_trywrlock): Likewise.
26185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26186 (__pthread_rwlock_unlock): Likewise.
26187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26188 (__pthread_key_create): Likewise.
26189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26190 (__pthread_setspecific): Likewise.
26191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26192 (__pthread_getspecific): Likewise.
26193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26196 (_pthread_cleanup_push_defer): Likewise.
26197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26198 (_pthread_cleanup_pop_restore): Likewise.
26199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26200 (pthread_setcancelstate): Likewise.
26201 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26203 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26204 (memchr): Do not use BP_SYM in weak_alias.
26205 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26206 (fegetenv): Do not use BP_SYM in versioned symbols.
26207 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26208 (fesetenv): Do not use BP_SYM in versioned symbols.
26209 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26210 (feupdateenv): Do not use BP_SYM in versioned symbols.
26211 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26212 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26213 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26214 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26215 (open64): Do not use BP_SYM in weak_alias.
26216 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26217 (fegetenv): Do not use BP_SYM in versioned symbols.
26218 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26219 (fesetenv): Do not use BP_SYM in versioned symbols.
26220 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26221 (feupdateenv): Do not use BP_SYM in versioned symbols.
26222 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26223 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26224 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26225 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26226 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26227 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26228 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26230 (__libc_start_main): Do not use BP_SYM.
26232 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26235 redundant return line.
26237 (denorm): Likewise.
26238 (dbl_mp): Likewise.
26239 (sub_magnitudes): Likewise.
26245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26247 (denorm): Likewise.
26248 (dbl_mp): Likewise.
26249 (sub_magnitudes): Likewise.
26256 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26258 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26259 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26262 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26263 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26264 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26265 of __mul for squares.
26266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26270 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26271 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26273 2013-02-13 Joseph Myers <joseph@codesourcery.com>
26276 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26278 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26279 prototype or function definition. Rename ubp_* variables and
26280 parameters. Remove argv definitions conditional on
26281 [__BOUNDED_POINTERS__].
26282 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26283 * elf/dl-runtime.c (_dl_fixup): Likewise.
26284 * include/set-hooks.h (RUN_HOOK): Likewise.
26285 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26287 * string/strcpy.c (strcpy): Do not use __unbounded.
26288 * sysdeps/generic/frame.h (struct layout): Likewise.
26289 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26290 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26291 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26292 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26293 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26294 (__backtrace): Likewise.
26295 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26297 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26298 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26299 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26301 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26302 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26303 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26304 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26305 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26306 Do not use __unbounded.
26307 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26308 Rename __unboundedrlimits parameter to rlimits in prototype.
26309 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26310 Do not use __unbounded.
26311 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26312 not use __ptrvalue.
26313 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26314 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26315 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26316 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26317 __ptrvalue or __unbounded.
26318 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26319 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26321 (__new_msgctl): Do not use __ptrvalue.
26322 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26324 (__libc_msgrcv): Do not use __ptrvalue.
26325 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26326 startup_info): Do not use __unbounded.
26327 (__libc_start_main): Likewise. Rename ubp_* variables and
26328 parameters. Remove argv definitions conditional on
26329 [__BOUNDED_POINTERS__].
26330 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26332 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26334 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26336 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26338 (__new_shmctl): Do not use __ptrvalue.
26339 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26340 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26342 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26343 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26344 (__libc_sigaction): Likewise.
26345 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26346 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26348 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26350 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
26352 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26354 * string/mempcpy.c: Implement by calling memcpy.
26356 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26358 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26363 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26364 values in the mantissa.
26366 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26367 minimize writes to Z.
26368 (sub_magnitudes): Simplify code a bit.
26370 2013-02-12 Roland McGrath <roland@hack.frob.com>
26372 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26373 from the message. The linker prefixes all warnings with that already.
26375 2013-02-12 Andreas Schwab <schwab@suse.de>
26378 * posix/regexec.c (extend_buffers): Add parameter min_len.
26379 (check_matching): Pass minimum needed length.
26380 (clean_state_log_if_needed): Likewise.
26381 (get_subexp): Likewise.
26382 * posix/Makefile (tests): Add bug-regex34.
26383 (bug-regex34-ENV): Define.
26384 * posix/bug-regex34.c: New file.
26387 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26388 elements compare against the byte sequence of it, not its name.
26389 * posix/Makefile (tests): Add bug-regex35.
26390 (bug-regex35-ENV): Define.
26391 * posix/bug-regex35.c: New file.
26393 2013-02-11 Tom de Vries <tom@codesourcery.com>
26395 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26397 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26398 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26399 (CHECK_EOL): Add undef.
26401 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
26403 * bits/stdlib-bsearch.h: New file.
26404 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26405 * stdlib/stdlib.h: Likewise.
26407 2013-02-11 Roland McGrath <roland@hack.frob.com>
26409 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26410 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26412 * manual/search.texi (Array Search Function): Add missing const in
26414 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26415 declaration to use rlim_t.
26416 (Basic Scheduling Functions): Remove erroneous const from
26417 sched_getparam prototype. Remove erroneous * from
26418 sched_get_priority_max and sched_get_priority_min prototypes.
26419 (Resource Usage): Fix summary @comment on vtimes to refer to
26420 sys/vtimes.h rather than vtimes.h.
26421 Add missing *s in vtimes prototype.
26422 (Limits on Resources): Fix ulimit prototype to return long int.
26423 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26424 prototypes to use long int rather than double.
26425 (BSD Random): Fix initstate and setstate to use char *, not void *.
26426 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26427 prototype to make second argument 'struct aiocb64 *const[]'.
26428 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26429 (Status of AIO Operations): Remove erroneous const in aio_return and
26430 aio_return64 prototypes.
26431 (Synchronizing I/O): Fix sync prototype to return void.
26432 * manual/startup.texi (Suboptions): Remove an erroneous const in
26433 getsubopt prototype.
26434 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26435 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26436 use size_t rather than int.
26437 (Scanning All Users): Likewise for getpwent_r.
26438 (Setting Groups): Add missing const to setgroups prototype.
26439 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26440 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26441 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26442 'const void *' rather than 'const char *'.
26443 (Host Address Functions): Likewise for inet_ntop.
26444 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26445 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26446 ssize_t for return value.
26447 (Sending Data): Likewise for send, sendto, sendmsg.
26448 (Socket Option Functions): Add a missing const in setsockopt prototype.
26449 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26450 use wchar_t for the argument.
26451 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26452 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26454 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26455 double/float/long double for second argument.
26456 Fix return types of significand, significandf, significandl.
26457 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26458 argument in fchmod prototype.
26459 (File Owner): Use uid_t and gid_t in fchown prototype.
26460 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26461 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26462 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26463 use 'const struct dirent **' as argument types to CMP function pointer
26465 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26466 (File Times): Fix summary magic @comment for struct utimbuf and utime
26467 to refer to utime.h, not time.h.
26468 * manual/string.texi (Argz Functions): Add missing const in
26469 argz_extract and argz_next prototypes.
26470 (Finding Tokens in a String): Likewise for basename.
26471 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26472 (Copying and Concatenation): Fix typo in wmemmove prototype.
26473 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26474 (Signal Stack): Remove erroneous const in sigstack prototype.
26475 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26477 (Simple Calendar Time): Likewise for stime.
26478 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26480 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26481 say sys/sysctl.h instead.
26482 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26483 and vsyslog prototypes.
26485 2013-02-11 Tom de Vries <tom@codesourcery.com>
26487 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26490 2013-02-11 Roland McGrath <roland@hack.frob.com>
26492 * misc/sys/mman.h: Fix typo in mremap comment.
26494 2013-02-08 Roland McGrath <roland@hack.frob.com>
26496 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26497 the '\0' terminator.
26499 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26502 * debug/segfault.c: Don't include <bp-checks.h>.
26503 * sysdeps/generic/bp-checks.h: Remove file.
26504 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26505 (__GETDENTS): Don't use CHECK_N.
26506 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26507 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26508 (__getgroups): Don't use CHECK_N.
26509 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26510 (setgroups): Don't use CHECK_N.
26511 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26512 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26513 (__libc_msgrcv): Don't use CHECK_N.
26514 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26515 (__libc_msgsnd): Don't use CHECK_N.
26516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26518 (__libc_pread): Don't use CHECK_N.
26519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26520 include <bp-checks.h>.
26521 (__libc_pread64): Don't use CHECK_N.
26522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26523 include <bp-checks.h>.
26524 (__libc_pwrite): Don't use CHECK_N.
26525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26526 include <bp-checks.h>.
26527 (__libc_pwrite64): Don't use CHECK_N.
26528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26530 (__libc_pread): Don't use CHECK_N.
26531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26532 include <bp-checks.h>.
26533 (__libc_pread64): Don't use CHECK_N.
26534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26535 include <bp-checks.h>.
26536 (__libc_pwrite): Don't use CHECK_N.
26537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26538 include <bp-checks.h>.
26539 (__libc_pwrite64): Don't use CHECK_N.
26540 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26541 (do_pread): Don't use CHECK_N.
26542 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26543 (do_pread64): Don't use CHECK_N.
26544 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26545 (do_pwrite): Don't use CHECK_N.
26546 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26547 (do_pwrite64): Don't use CHECK_N.
26548 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26549 (__libc_readv): Don't use CHECK_N.
26550 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26551 (semop): Don't use CHECK_N.
26552 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26554 (semtimedop): Don't use CHECK_N.
26555 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26556 (__libc_pread): Don't use CHECK_N.
26557 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26559 (__libc_pread64): Don't use CHECK_N.
26560 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26562 (__libc_pwrite): Don't use CHECK_N.
26563 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26565 (__libc_pwrite64): Don't use CHECK_N.
26566 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26568 (__libc_msgrcv): Don't use CHECK_N.
26569 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26570 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26571 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26572 (__libc_writev): Don't use CHECK_N.
26574 2013-02-08 Roland McGrath <roland@hack.frob.com>
26576 * string/strcpy.c: Removed unused variable.
26578 * Makeconfig (+sysdep-includes): Define with := rather than =.
26579 Use an existing include/ subdir of each sysdeps dir before it.
26581 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26583 * nscd/connection.c (register_traced_file): Comment function.
26584 [HAVE_INOTIFY] (union __inev): Define.
26585 [HAVE_INOTIFY] (inotify_check_files): New function.
26586 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26587 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26589 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26591 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26593 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26594 loaded if not already and that a failure is permanent.
26596 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26599 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26600 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26602 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26605 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26606 (CHECK_1_NULL_OK): Likewise.
26607 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26608 (__fxstat): Do not use CHECK_1.
26609 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26611 (___fxstat64): Do not use CHECK_1.
26612 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26614 (__fxstatat): Do not use CHECK_1.
26615 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26617 (__fxstatat64): Do not use CHECK_1.
26618 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26620 (__fxstat): Do not use CHECK_1.
26621 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26623 (__fxstatat): Do not use CHECK_1.
26624 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26626 (__getresgid): Do not use CHECK_1.
26627 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26629 (__getresuid): Do not use CHECK_1.
26630 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26632 (__lxstat): Do not use CHECK_1.
26633 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26635 (__old_msgctl): Do not use CHECK_1.
26636 (__new_msgctl): Likewise.
26637 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26639 (__new_setrlimit): Do not use CHECK_1.
26640 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26642 (__old_shmctl): Do not use CHECK_1.
26643 (__new_shmctl): Likewise.
26644 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26646 (__xstat): Do not use CHECK_1.
26647 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26648 (__lxstat): Do not use CHECK_1.
26649 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26651 (___lxstat64): Do not use CHECK_1.
26652 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26653 (__old_msgctl): Do not use CHECK_1.
26654 (__new_msgctl): Likewise.
26655 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26657 (__gettimeofday): Do not use CHECK_1.
26658 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26659 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26660 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26662 (__gettimeofday): Do not use CHECK_1.
26663 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26664 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26665 (__new_shmctl): Do not use CHECK_1.
26666 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26668 (do_sigtimedwait): Do not use CHECK_1.
26669 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26671 (do_sigwaitinfo): Do not use CHECK_1.
26672 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26674 (msgctl): Do not use CHECK_1.
26675 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26677 (shmctl): Do not use CHECK_1.
26678 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26679 (ustat): Do not use CHECK_1.
26680 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26682 (__fxstat): Do not use CHECK_1.
26683 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26685 (__fxstatat): Do not use CHECK_1.
26686 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26688 (__lxstat): Do not use CHECK_1.
26689 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26691 (__xstat): Do not use CHECK_1.
26692 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26693 (__xstat): Do not use CHECK_1.
26694 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26695 (___xstat64): Do not use CHECK_1.
26698 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26700 (CHECK_BOUNDS_HIGH): Likewise.
26701 * string/strcpy.c: Do not include <bp-checks.h>.
26702 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26704 2013-02-07 Roland McGrath <roland@hack.frob.com>
26706 * nscd/nscd-client.h (__nscd_drop_map_ref):
26707 Add __attribute__ ((unused)).
26708 * nis/nss-nisplus.h (niserr2nss): Likewise.
26710 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26711 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26713 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26714 Remove inline keyword.
26715 * include/rounding-mode.h (round_away): Likewise.
26716 * libio/wfileops.c (adjust_wide_data): Likewise.
26717 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26718 (__m128i_strloadu_tolower): Likewise.
26719 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26720 (__m128i_strloadu_tolower): Likewise.
26721 * time/mktime.c (ydhms_diff): Likewise.
26722 * locale/elem-hash.h (elem_hash): Likewise.
26723 * locale/setlocale.c (setdata): Likewise.
26724 * posix/regex_internal.h (re_string_char_size_at): Likewise.
26725 (re_string_wchar_at): Likewise.
26726 (bitset_not, bitset_merge, bitset_mask): Likewise.
26727 [!(__GNUC__ > 3)] (inline): Remove macro.
26728 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26729 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26730 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26731 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26732 * string/memcmp.c (memcmp_bytes): Likewise.
26733 * locale/programs/locarchive.c (compute_hashval): Likewise.
26734 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26735 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26736 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26737 * nss/getent.c (print_rpc, print_protocols): Likewise.
26738 (print_passwd, print_group, print_aliases): Likewise.
26739 * nis/nss-nisplus.h (niserr2nss): Likewise.
26740 * nscd/connections.c (restart_p): Likewise.
26741 Change return type to bool.
26743 2013-02-05 Roland McGrath <roland@hack.frob.com>
26745 * Makeconfig (all-Depend-files): Add existing
26746 $(sorted-subdirs:=/Depend) files.
26747 (all-subdirs): Remove nss.
26748 * sysdeps/unix/inet/Subdirs: Add it here instead.
26749 * hesiod/Depend: New file.
26751 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26752 instead of calling alloca.
26754 * io/lseek.c (__lseek): Rename to __libc_lseek.
26755 Define __lseek as an alias.
26757 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26759 2013-02-04 Carlos O'Donell <carlos@redhat.com>
26761 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26762 else clause and remove check for non-standard endianness.
26764 2013-02-04 David S. Miller <davem@davemloft.net>
26766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26768 2013-02-04 Joseph Myers <joseph@codesourcery.com>
26771 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26772 (__ubp_memchr): Remove prototype.
26773 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26774 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26775 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26776 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26777 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26779 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26780 (__ubp_memchr): Likewise.
26781 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26782 (__ubp_memchr): Likewise.
26783 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26784 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26785 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26786 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26788 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26789 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26790 (__getcwd): Do not use CHECK_STRING.
26791 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26793 (__real_chown): Do not use CHECK_STRING.
26794 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26796 (fchownat): Do not use CHECK_STRING.
26797 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26799 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26801 (__lchown): Do not use CHECK_STRING.
26802 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26803 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26804 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26805 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26807 include <bp-checks.h>.
26808 (truncate64): Do not use CHECK_STRING.
26809 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26811 (__real_chown): Do not use CHECK_STRING.
26812 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26814 (__lchown): Do not use CHECK_STRING.
26815 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26817 (__chown): Do not use CHECK_STRING.
26818 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26820 (truncate64): Do not use CHECK_STRING.
26821 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26823 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26824 (__xmknod): Do not use CHECK_STRING.
26825 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26827 (__xmknodat): Do not use CHECK_STRING.
26828 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26829 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26831 2013-02-04 Andreas Schwab <schwab@suse.de>
26834 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26835 * include/netdb.h: Likewise for h_errno.
26836 * elf/tst-stackguard1.c: Include <tls.h>.
26838 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
26840 * elf/link.h (struct link_map): Extend the l_addr comment.
26841 * include/link.h (struct link_map): Likewise.
26843 2013-02-01 Joseph Myers <joseph@codesourcery.com>
26846 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26847 (BOUNDED_1): Remove macro.
26848 * debug/backtrace.c: Don't include <bp-checks.h>.
26849 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26850 (__backtrace): Likewise.
26851 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26853 (__backtrace): Don't use BOUNDED_1.
26854 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26856 (__backtrace): Don't use BOUNDED_1.
26857 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26858 (__backtrace): Don't use BOUNDED_1.
26859 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26860 (shmat): Don't use BOUNDED_N.
26862 2013-01-31 Joseph Myers <joseph@codesourcery.com>
26865 * sysdeps/generic/bp-start.h: Remove file.
26866 * csu/libc-start.c: Don't include <bp-start.h>.
26867 (LIBC_START_MAIN): Set up __environ directly instead of using
26868 INIT_ARGV_and_ENVIRON.
26869 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26873 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26875 (CHECK_FCNTL): Likewise.
26876 (CHECK_N_PAGES): Likewise.
26879 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26881 (CHECK_SIGSET_NULL_OK): Likewise.
26882 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26884 (sigpending): Don't use CHECK_SIGSET.
26885 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26887 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26888 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26890 (do_sigsuspend): Don't use CHECK_SIGSET.
26891 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26893 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26894 (do_sigwait): Don't use CHECK_SIGSET.
26895 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26897 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26898 include <bp-checks.h>.
26899 (sigpending): Don't use CHECK_SIGSET.
26900 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26901 include <bp-checks.h>.
26902 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26903 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26905 (sigpending): Don't use CHECK_SIGSET.
26906 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26908 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26911 * sysdeps/generic/bp-semctl.h: Remove file.
26912 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26913 <bp-checks.h> and <bp-semctl.h>.
26914 (__old_semctl): Don't use CHECK_SEMCTL.
26915 (__new_semctl): Likewise.
26916 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26918 (__old_semctl): Don't use CHECK_SEMCTL.
26919 (__new_semctl): Likewise.
26920 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26921 <bp-checks.h> and <bp-semctl.h>.
26922 (__old_semctl): Don't use CHECK_SEMCTL.
26923 (__new_semctl): Likewise.
26924 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26925 <bp-checks.h> and <bp-semctl.h>.
26926 (semctl): Don't use CHECK_SEMCTL.
26929 * Makerules (elide-bp-thunks): Remove variable.
26930 (elide-routines.oS): Don't use $(elide-bp-thunks).
26931 (elide-routines.os): Likewise.
26932 (elide-routines.o): Likewise.
26933 (elide-routines.op): Likewise.
26934 (elide-routines.og): Likewise.
26935 (objects): Don't use $(bp-thunks).
26936 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26938 (common-generated): Do not add s-proto-bp.d.
26939 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26942 Do not generate makefile rules for bounded-pointer thunks.
26943 * sysdeps/generic/bp-thunks.h: Remove file.
26944 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26945 * sysdeps/unix/s-proto-bp.S: Likewise.
26948 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26949 parts of result separately when argument is not close to line from
26950 -i to i and one part of argument is small.
26951 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26952 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26953 * math/libm-test.inc (cacos_test): Add more tests.
26954 (casin_test): Likewise.
26955 (casinh_test): Likewise.
26956 * sysdeps/i386/fpu/libm-test-ulps: Update.
26957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26959 2013-01-31 David S. Miller <davem@davemloft.net>
26961 * po/de.po: Update from translation team.
26963 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
26965 * time/tzfile.c: Include stdint.h for SIZE_MAX.
26967 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
26969 * configure.in (_AC_PROG_CC_C89): New definition.
26970 * configure: Regenerate.
26972 * configure.in (AC_PROG_CPP): New definition.
26973 * configure: Regenerate.
26975 2013-01-23 Joseph Myers <joseph@codesourcery.com>
26977 * debug/tst-backtrace.h: New file.
26978 * debug/tst-backtrace2.c: Include tst-backtrace.h.
26979 (ret): Remove variable.
26981 (FAIL): Remove macro.
26982 (NO_INLINE): Likewise.
26983 (fn1): Use match function instead of strstr.
26984 * debug/tst-backtrace3.c: Include tst-backtrace.h.
26985 (ret): Remove variable.
26987 (FAIL): Remove macro.
26988 (NO_INLINE): Likewise.
26989 (fn): Use match function instead of strstr.
26990 * debug/tst-backtrace4.c: Include tst-backtrace.h.
26991 (ret): Remove variable.
26993 (FAIL): Remove macro.
26994 (NO_INLINE): Likewise.
26995 (handle_signal): Use match function instead of strstr.
26996 * debug/tst-backtrace5.c: Include tst-backtrace.h.
26997 (ret): Remove variable.
26999 (FAIL): Remove macro.
27000 (NO_INLINE): Likewise.
27001 (handle_signal): Use match function instead of strstr.
27003 2013-01-23 Roland McGrath <roland@hack.frob.com>
27005 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27007 2013-01-23 David S. Miller <davem@davemloft.net>
27009 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27010 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27011 argument of CAS if possible.
27012 * sysdeps/sparc/sparc64/bits/atomic.h
27013 (__arch_compare_and_exchange_val_32_acq): Likewise.
27014 (__arch_compare_and_exchange_val_64_acq): Likewise.
27016 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27018 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27019 * sysdeps/posix/ulimit.c: ... this.
27020 Include <limits.h>.
27021 * sysdeps/unix/bsd/ulimit.c: Remove file.
27023 2013-01-23 Adam Conrad <adconrad@0c3.net>
27025 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27026 (LDFLAGS-tst-array5): Likewise.
27028 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27031 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27032 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27033 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27034 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27036 2013-01-21 David S. Miller <davem@davemloft.net>
27038 * sysdeps/sparc/backtrace.c: New file.
27039 * sysdeps/sparc/sparc32/backtrace.h: New file.
27040 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27041 * sysdeps/sparc/sparc64/backtrace.h: New file.
27042 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27043 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27046 2013-01-21 Andreas Schwab <schwab@suse.de>
27049 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27052 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27058 2013-01-18 Joseph Myers <joseph@codesourcery.com>
27059 Mark Mitchell <mark@codesourcery.com>
27060 Tom de Vries <tom@codesourcery.com>
27061 Paul Pluzhnikov <ppluzhnikov@google.com>
27063 * debug/tst-backtrace2.c: New file.
27064 * debug/tst-backtrace3.c: Likewise.
27065 * debug/tst-backtrace4.c: Likewise.
27066 * debug/tst-backtrace5.c: Likewise.
27067 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27068 (CFLAGS-tst-backtrace3.c): Likewise.
27069 (CFLAGS-tst-backtrace4.c): Likewise.
27070 (CFLAGS-tst-backtrace5.c): Likewise.
27071 (LDFLAGS-tst-backtrace2): Likewise.
27072 (LDFLAGS-tst-backtrace3): Likewise.
27073 (LDFLAGS-tst-backtrace4): Likewise.
27074 (LDFLAGS-tst-backtrace5): Likewise.
27075 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27076 tst-backtrace4 and tst-backtrace5.
27078 2013-01-18 Anton Blanchard <anton@samba.org>
27079 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27081 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27082 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27083 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27084 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27086 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27087 "+r" and remove output regs list as redundant. Add explicit inline
27088 asm to specify register of return val to work around compiler codegen
27089 bug. Remove (int) cast on return value. Add return type parameter to
27090 use in macro so that this macro does not truncate return value for
27092 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27093 pass to INTERNAL_VSYSCALL_NCS.
27094 (INLINE_VSYSCALL): Add 'long int' as return type to
27095 INTERNAL_VSYSCALL_NCS macro invocation.
27096 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27097 INTERNAL_VSYSCALL_NCS macro invocation.
27098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27100 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27103 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27104 Fix application of SIMD FP exception mask.
27106 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27107 mp_no from a power of two.
27108 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27109 __mpexp_twomm1. Use __pow_mp.
27111 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27114 2013-01-17 David S. Miller <davem@davemloft.net>
27116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27118 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27121 * include/complex.h: Condition contents on [!_COMPLEX_H].
27122 (__kernel_casinhf): New prototype.
27123 (__kernel_casinh): Likewise.
27124 (__kernel_casinhl): Likewise.
27125 * math/Makefile (libm_calls): Add k_casinh.
27126 * math/k_casinh.c: New file.
27127 * math/k_casinhf.c: Likewise.
27128 * math/k_casinhl.c: Likewise.
27129 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27130 finite nonzero arguments.
27131 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27132 finite nonzero arguments.
27133 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27134 finite nonzero arguments.
27135 * math/s_casinh.c: Do not include <float.h>.
27136 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27137 * math/s_casinhf.c: Do not include <float.h>.
27138 (__casinhf): Move code for finite nonzero arguments to
27140 * math/s_casinhl.c: Do not include <float.h>.
27141 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27143 (__casinhl): Move code for finite nonzero arguments to
27145 * math/libm-test.inc (cacos_test): Add more tests.
27146 * sysdeps/i386/fpu/libm-test-ulps: Update.
27147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27149 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27151 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27152 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27153 [!HAVE_MREMAP]: Remove [defined linux] case.
27154 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27156 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27158 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27160 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
27162 * elf/elf.h (R_386_SIZE32): New relocation.
27163 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27165 (elf_machine_rela): Likewise.
27166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27167 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27169 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27171 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27172 (FP_FAST_FMA): Do not define.
27173 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27174 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27175 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27176 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27177 !_SOFT_FLOAT]: Likewise.
27178 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27179 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27181 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27182 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27183 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27184 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27185 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27186 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27189 2013-01-16 Andreas Schwab <schwab@suse.de>
27192 * include/stdlib.h (__mktemp): Add declaration.
27193 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27194 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27196 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27198 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27200 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27201 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27202 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27204 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27205 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27207 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27209 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27210 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27211 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27213 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27214 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27216 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27218 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27220 2013-01-15 David S. Miller <davem@davemloft.net>
27222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27223 trunc{,f} to libm-sysdep_routes.
27224 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27234 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27235 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27236 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27237 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27238 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27239 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27242 nearbyint{,f} to libm-sysdep_routes.
27243 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27254 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27256 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27257 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27259 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27260 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27261 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27263 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27264 libc_feholdexcept and libc_fesetenv.
27266 2013-01-15 Mike Frysinger <vapier@gentoo.org>
27268 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27270 2013-01-14 David S. Miller <davem@davemloft.net>
27272 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27273 (SPARC_ASM_VIS2_IFUNC): Likewise.
27274 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27276 use of 'siam' instruction.
27277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27310 routines to libm-sysdep_routines.
27311 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27314 fdim/fdimf to libm-sysdep_routines.
27315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27323 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27324 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27325 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27326 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27328 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27330 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27331 to optimize copies.
27333 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27338 local variable MPTWO.
27339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27342 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27344 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27347 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27349 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27351 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27353 * manual/pattern.texi (glob_t): Document gl_flags.
27354 (glob64_t): Likewise.
27356 2013-01-11 David S. Miller <davem@davemloft.net>
27358 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27359 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27360 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
27361 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27362 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27363 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27364 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27365 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27366 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27367 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27368 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27369 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27370 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27372 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27373 sparc V9 rather than using V8 code.
27374 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27375 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27377 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27379 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27382 2013-01-11 Roland McGrath <roland@hack.frob.com>
27384 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27385 not in the main loop.
27386 * configure: Regenerated.
27388 2013-01-11 Joseph Myers <joseph@codesourcery.com>
27390 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27391 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27393 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27394 [!__GLIBC_HAVE_LONG_LONG] case.
27395 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27396 condition to just #else.
27397 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27398 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27399 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27400 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27402 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27403 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27404 #elif condition to just #else.
27405 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27406 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27407 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27408 #elif condition to just #else.
27410 2013-01-11 Steve Ellcey <sellcey@mips.com>
27412 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27413 (EF_MIPS_ARCH_64): Fix value.
27414 (EF_MIPS_ARCH_32R2): New.
27415 (EF_MIPS_ARCH_64R2): New.
27417 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27419 * Makeconfig (+link-pie-before-libc): New.
27420 (+link-pie-after-libc): Likewise.
27421 (+link-pie-tests): Likewise.
27422 (+link-pie): Rewritten.
27423 (link-before-libc): Remove $(config-LDFLAGS).
27424 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27425 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27426 (config-LDFLAGS): Renamed to ...
27427 (rtld-LDFLAGS): This.
27428 (rtld-tests-LDFLAGS): New macro.
27429 (link-libc-rpath-link): Likewise.
27430 (link-libc-tests-rpath-link): Likewise.
27431 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27432 (link-libc): Prepand $(link-libc-rpath-link).
27433 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27434 (test-program-prefix): New macro.
27435 (test-via-rtld-prefix): Likewise.
27436 (test-program-cmd): Likewise.
27437 (host-test-program-cmd): Likewise.
27438 * Makefile ($(common-objpfx)testrun.sh): Replace
27439 $(run-program-prefix) with $(test-program-prefix).
27440 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27442 ($(common-objpfx)shlib.lds): Likewise.
27443 (build-module-helper): Likewise.
27444 ($(common-objpfx)format.lds): Likewise.
27445 * Rules (binaries-pie-tests): New.
27446 (binaries-pie-notests): Likewise.
27447 (binaries-pie): Rewritten.
27448 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27449 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27450 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27451 (make-test-out): Replace $(host-built-program-cmd) with
27452 $(host-test-program-cmd).
27453 * config.make.in (build-hardcoded-path-in-tests): New variable.
27454 * configure.in (--enable-hardcoded-path-in-tests): New configure
27456 (hardcoded_path_in_tests): New AC_SUBST.
27457 * configure: Regenerated.
27458 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27459 $(built-program-cmd) with $(test-program-cmd).
27460 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27461 (test_program_cmd): This.
27462 * elf/Makefile ($(objpfx)order.out): Run test with
27463 $(test-program-prefix).
27464 ($(objpfx)order2.out): Likewise.
27465 ($(objpfx)tst-initorder.out): Likewise.
27466 ($(objpfx)tst-initorder2.out): Likewise.
27467 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27468 $(test-program-cmd).
27469 ($(objpfx)tst-array1-static.out): Likewise.
27470 ($(objpfx)tst-array2.out): Likewise.
27471 ($(objpfx)tst-array3.out): Likewise.
27472 ($(objpfx)tst-array4.out): Likewise.
27473 ($(objpfx)tst-array5.out): Likewise.
27474 ($(objpfx)tst-array5-static.out): Likewise.
27475 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27476 $(test-program-cmd).
27477 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27478 $(run-program-prefix) with $(test-program-prefix).
27479 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27480 (test_program_prefix): This.
27481 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27482 $(run-program-prefix) with $(test-program-prefix).
27483 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27484 (test_program_prefix): This.
27485 * iconvdata/tst-tables.sh: Likewise.
27486 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27487 $(run-program-prefix) with $(test-program-prefix).
27488 ($(objpfx)tst-translit.out): Likewise.
27489 ($(objpfx)tst-gettext2.out): Likewise.
27490 ($(objpfx)tst-gettext4.out): Likewise.
27491 ($(objpfx)tst-gettext6.out): Likewise.
27492 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27493 (test_program_prefix): This.
27494 * intl/tst-gettext2.sh: Likewise.
27495 * intl/tst-gettext4.sh Likewise.
27496 * intl/tst-gettext6.sh: Likewise.
27497 * intl/tst-translit.sh: Likewise.
27498 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27499 with $(test-program-cmd).
27500 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27501 $(run-program-prefix) with $(test-program-prefix).
27502 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27503 (test_program_prefix): This.
27504 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27505 $(run-program-prefix) with $(test-program-prefix).
27506 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27507 (test_program_prefix): This.
27508 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27509 * posix/Makefile ($(objpfx)globtest.out): Replace
27510 $(run-via-rtld-prefix) and $(test-wrapper) with
27511 $(test-program-prefix) and $(test-via-rtld-prefix).
27512 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27513 $(test-program-prefix).
27514 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27515 $(host-test-program-cmd).
27516 (tst-spawn-ARGS): Likewise.
27517 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27518 $(test-program-prefix).
27519 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27520 (test_via_rtld_prefix): This.
27521 (test_wrapper): Renamed to ...
27522 (test_program_prefix): This.
27523 (run_program_prefix): Replaced by test_program_prefix.
27524 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27525 (test_program_prefix): This.
27526 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27527 with $(host-test-program-cmd).
27528 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27529 $(run-program-prefix) with $(test-program-prefix).
27530 ($(objpfx)tst-printf.out): Likewise.
27531 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27532 $(test-program-cmd).
27533 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27534 (test_program_prefix): This.
27535 * stdio-common/tst-unbputc.sh: Likewise.
27536 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27537 $(run-program-prefix) with $(test-program-prefix).
27538 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27539 (test_program_prefix): This.
27540 * string/Makefile ($(objpfx)tst-svc.out): Replace
27541 $(built-program-cmd) with $(test-program-cmd).
27543 2013-01-11 Andreas Jaeger <aj@suse.de>
27546 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27547 value. Sync with Linux 3.7.
27549 2013-01-10 David S. Miller <davem@davemloft.net>
27551 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27552 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27553 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27555 2013-01-10 Roland McGrath <roland@hack.frob.com>
27557 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27559 * configure: Regenerated.
27561 2013-01-10 David S. Miller <davem@davemloft.net>
27563 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27564 sparc V9 rather than using V8 code.
27565 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27566 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27568 2013-01-10 Roland McGrath <roland@hack.frob.com>
27570 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27571 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27572 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27573 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27574 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27575 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27576 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27577 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27578 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27579 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27580 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27581 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27582 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27583 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27584 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27585 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27586 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27587 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27588 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27589 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27590 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27591 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27592 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27593 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27594 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27595 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27596 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27598 2013-01-10 David S. Miller <davem@davemloft.net>
27600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27602 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27604 * posix/Makefile (tests-static): New variable.
27605 (tests): Add $(tests-static).
27606 (tst-exec-static-ARGS): New variable.
27607 (tst-spawn-static-ARGS): Likewise.
27608 * posix/tst-exec-static.c: New file.
27609 * posix/tst-spawn-static.c: Likewise.
27610 * posix/tst-exec.c: Support run directly.
27611 * posix/tst-spawn.c: Likewise.
27613 2013-01-10 Joseph Myers <joseph@codesourcery.com>
27615 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27617 * math/bits/mathcalls.h (llrint): Likewise.
27618 (llround): Likewise.
27619 * stdlib/stdlib.h (struct drand48_data): Likewise.
27620 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27621 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27622 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27624 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27626 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27627 (elf_greg_t): Likewise.
27628 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27629 (__jmp_buf): Likewise.
27630 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27632 (llrint): Likewise, for all definitions.
27633 (llrintl): Likewise.
27635 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27636 Remove [__GNUC__] condition.
27637 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27638 condition to just [__USE_ISOC99].
27639 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27641 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27644 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27645 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27647 (_POSIX_V6_ILP32_OFF32): Likewise.
27648 (_XBS5_ILP32_OFF32): Likewise.
27649 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27650 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27652 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27654 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27656 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27657 doubles __mpexp_twomm1. Adjust usage.
27658 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27661 2013-01-10 Andreas Schwab <schwab@suse.de>
27664 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27665 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27667 2013-01-09 David S. Miller <davem@davemloft.net>
27670 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27671 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27672 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27673 (TCP_FASTOPEN): Define.
27674 (tcp_repair_opt): New structure.
27675 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27677 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27678 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27679 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27680 (tcp_cookie_transactions): New structure.
27682 2013-01-09 Anton Blanchard <anton@samba.org>
27684 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27685 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27686 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27687 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27689 2013-01-09 Joseph Myers <joseph@codesourcery.com>
27691 * include/features.h (__USE_ANSI): Remove.
27693 2013-01-09 Roland McGrath <roland@hack.frob.com>
27695 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27697 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27699 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27701 * sysdeps/s390/fpu/libm-test-ulps: Update.
27703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27705 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27709 (denorm): Likewise.
27710 (__mp_dbl): Likewise.
27711 (__dbl_mp): Likewise.
27712 (add_magnitudes): Likewise.
27713 (sub_magnitudes): Likewise.
27719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27723 (denorm): Likewise.
27724 (__mp_dbl): Likewise.
27725 (__dbl_mp): Likewise.
27726 (add_magnitudes): Likewise.
27727 (sub_magnitudes): Likewise.
27733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27737 (denorm): Likewise.
27738 (__mp_dbl): Likewise.
27739 (__dbl_mp): Likewise.
27740 (add_magnitudes): Likewise.
27741 (sub_magnitudes): Likewise.
27748 2013-01-08 Joseph Myers <joseph@codesourcery.com>
27750 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27751 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27752 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27753 2 && __USE_EXTERN_INLINES]: Likewise.
27755 2013-01-08 Andreas Jaeger <aj@suse.de>
27758 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27760 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27761 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27763 2013-01-07 Anton Blanchard <anton@samba.org>
27765 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27766 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27767 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27768 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27769 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27770 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27771 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27772 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27774 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27775 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27776 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27777 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27778 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27779 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27780 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27781 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27782 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27783 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27784 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27785 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27786 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27787 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27788 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27789 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27790 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27791 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27792 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27793 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27794 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27795 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27797 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27798 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27799 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27800 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27801 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27802 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27803 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27804 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27805 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27806 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27807 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27809 2013-01-07 Joseph Myers <joseph@codesourcery.com>
27811 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27812 (__MALLOC_PMT): Likewise.
27813 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27814 [__GNUC__], only on [_LIBC].
27815 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27816 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27817 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27818 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27819 forward declaration.
27820 (realloc_hook_ini): Likewise.
27821 (memalign_hook_ini): Likewise.
27822 (__libc_memalign): Do not use __MALLOC_PMT in variable
27824 (__libc_valloc): Likewise.
27825 (__libc_pvalloc): Likewise.
27826 (__libc_calloc): Likewise.
27827 (__posix_memalign): Likewise.
27830 * math/s_casinh.c: Include <float.h>.
27831 (__casinh): Do not do computation with squaring and square root
27832 for large arguments.
27833 * math/s_casinhf.c: Include <float.h>.
27834 (__casinhf): Do not do computation with squaring and square root
27835 for large arguments.
27836 * math/s_casinhl.c: Include <float.h>.
27837 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27838 (__casinhl): Do not do computation with squaring and square root
27839 for large arguments.
27840 * math/libm-test.inc (casin_test): Add more tests.
27841 (casinh_test): Likewise.
27842 * sysdeps/i386/fpu/libm-test-ulps: Update.
27843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27845 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
27847 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27848 (__x86_64_raw_data_cache_size): Likewise.
27849 (__x86_64_data_cache_size_half): Likewise.
27850 (__x86_64_raw_data_cache_size_half): Likewise.
27851 (__x86_64_shared_cache_size): Likewise.
27852 (__x86_64_raw_shared_cache_size): Likewise.
27853 (__x86_64_shared_cache_size_half): Likewise.
27854 (__x86_64_raw_shared_cache_size_half): Likewise.
27855 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27857 (__x86_data_cache_size): This.
27858 (__x86_64_raw_data_cache_size): Renamed to ...
27859 (__x86_raw_data_cache_size): This.
27860 (__x86_64_data_cache_size_half): Renamed to ...
27861 (__x86_data_cache_size_half): This.
27862 (__x86_64_raw_data_cache_size_half): Renamed to ...
27863 (__x86_raw_data_cache_size_half): This.
27864 (__x86_64_shared_cache_size): Renamed to ...
27865 (__x86_shared_cache_size): This.
27866 (__x86_64_raw_shared_cache_size): Renamed to ...
27867 (__x86_raw_shared_cache_size): This.
27868 (__x86_64_shared_cache_size_half): Renamed to ...
27869 (__x86_shared_cache_size_half): This.
27870 (__x86_64_raw_shared_cache_size_half): Renamed to ...
27871 (__x86_raw_shared_cache_size_half): This.
27872 * sysdeps/x86_64/memcpy.S: Updated.
27873 * sysdeps/x86_64/memset.S: Likewise.
27874 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27875 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27876 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27878 2013-01-04 David S. Miller <davem@davemloft.net>
27880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27882 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
27884 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27885 1 to avoid redefinition warning.
27886 (__USE_GNU): Don't define.
27887 (init_signaling_nan): Protoize.
27889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27891 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27893 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27895 (__cpymn): Likewise.
27896 (norm): Remove commented code.
27897 (denorm): Likewise.
27898 (__mp_dbl): Likewise.
27900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27901 (__cpymn): Likewise.
27902 (norm): Remove commented code.
27903 (denorm): Likewise.
27904 (__mp_dbl): Likewise.
27907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27908 mp_no value for 1.0 and 2.0.
27909 (norm): Use RADIXI instead of radixi.d.
27910 (denorm): Likewise.
27911 (__mul): Use 0.0 instead of zero.d.
27912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27913 mp_no value for 1.0 and 2.0.
27914 (norm): Use RADIXI instead of radixi.d.
27915 (denorm): Likewise.
27916 (__mul): Use 0.0 instead of zero.d.
27918 2013-01-04 Joseph Myers <joseph@codesourcery.com>
27921 * math/s_casinh.c (__casinh): Reduce finite argument to first
27922 quadrant then set signs of results at the end.
27923 * math/s_casinhf.c (__casinhf): Likewise.
27924 * math/s_casinhl.c (__casinhl): Likewise.
27925 * math/libm-test.inc (casin_test): Add more tests.
27926 (casinh_test): Likewise.
27927 * sysdeps/i386/fpu/libm-test-ulps: Update.
27928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27930 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27932 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27934 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27936 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27938 (denorm): Likewise.
27939 (__mp_dbl): Likewise.
27942 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27943 and adjust the header comment.
27945 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27946 variable name from declaration.
27948 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
27950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27951 Initialize COMMON_CPUID_INDEX_7 element.
27952 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27953 (CPUID_RTM): Likewise.
27954 (HAS_RTM): Likewise.
27955 (COMMON_CPUID_INDEX_7): New enum.
27957 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
27960 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27961 size is zero, record memory as freed.
27963 2013-01-03 Andreas Jaeger <aj@suse.de>
27965 * po/ia.po: Add new Interlingua translation.
27967 2012-01-03 Allan McRae <allan@archlinux.org>
27969 * locale/programs/localedef.c: Fix description of '--posix' flag.
27971 2013-01-02 Joseph Myers <joseph@codesourcery.com>
27973 * NEWS: Update dates in second copyright notice.
27974 * README: Update copyright dates in example.
27975 * manual/libc.texinfo: Update copyright dates.
27976 * scripts/test-installation.pl: Update copyright date in --version
27979 * hurd/ctty-input.c: Fix copyright notice formatting.
27980 * hurd/ctty-output.c: Likewise.
27981 * hurd/dtable.c: Likewise.
27982 * hurd/hurd-raise.c: Likewise.
27983 * hurd/hurdprio.c: Likewise.
27984 * hurd/msgportdemux.c: Likewise.
27985 * misc/sys/file.h: Likewise.
27986 * misc/sys/ioctl.h: Likewise.
27987 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27988 * sysdeps/mach/hurd/chdir.c: Likewise.
27989 * sysdeps/mach/hurd/fchdir.c: Likewise.
27990 * sysdeps/mach/hurd/rename.c: Likewise.
27991 * sysdeps/mach/hurd/rmdir.c: Likewise.
27992 * sysdeps/mach/hurd/seekdir.c: Likewise.
27993 * sysdeps/mach/hurd/setsid.c: Likewise.
27994 * sysdeps/posix/wait3.c: Likewise.
27996 * All files with FSF copyright notices: Update copyright dates
27997 using scripts/update-copyrights.
27998 * intl/plural.c: Regenerated.
27999 * locale/programs/charmap-kw.h: Likewise.
28000 * locale/programs/locfile-kw.h: Likewise.
28002 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28004 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28007 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28008 calculation loop and add branch prediction.
28010 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28011 check access beyond bounds of m1np.
28013 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28015 (__inv): Remove local variable MPTWO to use the global
28017 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28018 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28020 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28021 MP3HALFS static const.
28023 2013-01-01 David S. Miller <davem@davemloft.net>
28025 * po/ca.po: Update from translation team.
28027 2013-01-01 Joseph Myers <joseph@codesourcery.com>
28029 * scripts/update-copyrights: New file.
28030 * Makeconfig: Reformat copyright notice.
28031 * ctype/ctype.h: Likewise.
28032 * debug/swprintf_chk.c: Likewise.
28033 * elf/dl-cache.c: Likewise.
28034 * elf/dl-debug.c: Likewise.
28035 * elf/dl-object.c: Likewise.
28036 * grp/initgroups.c: Likewise.
28037 * hurd/Makefile: Likewise.
28038 * hurd/hurd/signal.h: Likewise.
28039 * hurd/hurdfault.c: Likewise.
28040 * hurd/hurdioctl.c: Likewise.
28041 * hurd/hurdlookup.c: Likewise.
28042 * hurd/intr-msg.c: Likewise.
28043 * iconv/gconv_open.c: Likewise.
28044 * libio/swprintf.c: Likewise.
28045 * locale/lc-ctype.c: Likewise.
28046 * locale/nl_langinfo.c: Likewise.
28047 * mach/Machrules: Likewise.
28048 * mach/Makefile: Likewise.
28049 * malloc/obstack.h: Likewise.
28050 * manual/Makefile: Likewise.
28051 * manual/tsort.awk: Likewise.
28052 * misc/bits/stab.def: Likewise.
28053 * nis/nis_print_group_entry.c: Likewise.
28054 * nis/nis_table.c: Likewise.
28055 * nis/nss_compat/compat-pwd.c: Likewise.
28056 * nis/nss_compat/compat-spwd.c: Likewise.
28057 * po/Makefile: Likewise.
28058 * posix/fnmatch.c: Likewise.
28059 * posix/regex.h: Likewise.
28060 * resolv/Makefile: Likewise.
28061 * resolv/nss_dns/dns-network.c: Likewise.
28062 * resolv/res_hconf.c: Likewise.
28063 * scripts/gen-sorted.awk: Likewise.
28064 * soft-fp/soft-fp.h: Likewise.
28065 * stdio-common/printf.h: Likewise.
28066 * stdlib/monetary.h: Likewise.
28067 * stdlib/random.c: Likewise.
28068 * stdlib/random_r.c: Likewise.
28069 * sysdeps/generic/Makefile: Likewise.
28070 * sysdeps/gnu/Makefile: Likewise.
28071 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28072 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28073 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28074 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28075 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28078 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28079 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28080 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28081 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28082 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28083 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28084 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28085 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28086 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28087 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28088 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28089 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28090 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28091 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28092 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28093 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28094 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28095 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28096 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28097 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28099 * sysdeps/mach/hurd/errnos.awk: Likewise.
28100 * sysdeps/mach/hurd/fork.c: Likewise.
28101 * sysdeps/mach/hurd/getcwd.c: Likewise.
28102 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28103 * sysdeps/mach/hurd/mmap.c: Likewise.
28104 * sysdeps/mach/hurd/utimes.c: Likewise.
28105 * sysdeps/mach/hurd/xmknod.c: Likewise.
28106 * sysdeps/posix/profil.c: Likewise.
28107 * sysdeps/posix/readdir_r.c: Likewise.
28108 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28109 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28110 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28111 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28112 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28113 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28114 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28115 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28117 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28118 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28119 * sysdeps/pthread/lio_listio.c: Likewise.
28120 * sysdeps/sparc/dl-procinfo.h: Likewise.
28121 * sysdeps/unix/i386/sysdep.S: Likewise.
28122 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28123 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28124 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28125 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28127 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28128 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28129 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28130 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28131 * sysdeps/wordsize-32/divdi3.c: Likewise.
28132 * time/sys/time.h: Likewise.
28133 * wcsmbs/Makefile: Likewise.
28135 2013-01-01 David S. Miller <davem@davemloft.net>
28137 * po/fr.po: Update from translation team.
28139 * catgets/gencat.c: Update copyright year.
28140 * csu/version.c: Likewise.
28141 * debug/catchsegv.sh: Likewise.
28142 * debug/pcprofiledump.c: Likewise.
28143 * debug/xtrace.sh: Likewise.
28144 * elf/ldconfig.c: Likewise.
28145 * elf/ldd.bash.in: Likewise.
28146 * elf/pldd.c: Likewise.
28147 * elf/sotruss.ksh: Likewise.
28148 * elf/sprof.c: Likewise.
28149 * iconv/iconv_prog.c: Likewise.
28150 * iconv/iconvconfig.c: Likewise.
28151 * locale/programs/locale.c: Likewise.
28152 * locale/programs/localedef.c: Likewise.
28153 * login/programs/pt_chown.c: Likewise.
28154 * malloc/memusage.sh: Likewise.
28155 * malloc/memusagestat.c: Likewise.
28156 * malloc/mtrace.pl: Likewise.
28157 * nscd/nscd.c: Likewise.
28158 * nss/getent.c: Likewise.
28159 * nss/makedb.c: Likewise.
28160 * posix/getconf.c: Likewise.
28162 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28164 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28167 2012-12-30 Mike Frysinger <vapier@gentoo.org>
28169 * math/bits/mathcalls.h (modf): Use __nonnull.
28171 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28173 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28174 (split): Use macro CN instead of the bare value.
28175 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28177 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28178 instead of the bare value.
28179 (power1): Likewise.
28181 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28183 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28185 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28187 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28189 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28190 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28191 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28192 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28194 2012-12-28 Andreas Jaeger <aj@suse.de>
28196 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28197 values are from Linux 3.7.
28199 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28200 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28202 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28204 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28207 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28209 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28210 variables with preprocessor constants.
28211 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28212 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28213 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28215 2012-12-27 Bruno Haible <bruno@clisp.org>
28218 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28221 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28224 and use variable directly.
28225 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28227 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28229 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28230 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28232 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28234 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28235 include directive. Remove local variable MPONE.
28236 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28237 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28238 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28240 2012-12-25 David S. Miller <davem@davemloft.net>
28242 * version.h (RELEASE): Set to "development".
28243 (VERSION): Set to "2.17.90".
28244 * NEWS: Add 2.18 section.
28246 2012-12-21 David S. Miller <davem@davemloft.net>
28248 * po/hr.po: Update from translation team.
28250 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28252 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28254 2012-12-19 Steve Ellcey <sellcey@mips.com>
28256 * NEWS: Mention new memcpy for MIPS.
28258 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28260 * manual/contrib.texi (Contributors): Spelling correction.
28262 2012-12-15 David S. Miller <davem@davemloft.net>
28264 * po/ru.po: Update from translation team.
28266 2012-12-13 David S. Miller <davem@davemloft.net>
28268 * NEWS: Mention IFUNC testsuite enhancements.
28270 * po/pl.po: Update from translation team.
28271 * po/bg.po: Likewise.
28273 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28274 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28276 2012-12-11 David S. Miller <davem@davemloft.net>
28278 * po/sv.po: Update from translation team.
28280 * po/vi.po: Update from translation team.
28282 * po/cs.po: Update from translation team.
28284 * po/de.po: Update from translation team.
28285 * po/eo.po: Likewise.
28286 * po/nl.po: Likewise.
28288 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28291 * manual/argp.texi (Argp Helper Functions): Move node to follow
28292 Argp Parsing State.
28295 * manual/conf.texi (Limits on File System Capacity): Mention if
28296 terminating null is included in the max size.
28298 2012-12-10 Andreas Jaeger <aj@suse.de>
28300 * po/cs.po: Update from translation team.
28302 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28304 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28305 void pointer and cast to uintptr_t.
28306 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28308 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28309 * sysdeps/s390/s390-64/memset.S: Likewise.
28311 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
28314 * menual/message.texi (Message Translation): Fix typos.
28315 (Helper programs for gettext): Likewise.
28317 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28320 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28323 2012-12-07 David S. Miller <davem@davemloft.net>
28325 * po/libc.pot: Update.
28327 2012-12-07 Richard Henderson <rth@redhat.com>
28330 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28331 normal/normal case to before the switch.
28332 (_FP_DIV): Likewise.
28334 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28335 Mike Frysinger <vapier@gentoo.org>
28337 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28338 check for __NR_fadvise64_64.
28340 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28342 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28343 0, not just to plain "0" as a statement.
28344 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28347 2012-12-06 Joseph Myers <joseph@codesourcery.com>
28349 * NEWS: Use sourceware.org in Bugzilla URL.
28351 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28354 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28356 * stdio-common/tst-put-error.c (do_test): Add newline to the
28357 padded test to ensure flush.
28359 2012-12-05 Jeff Law <law@redhat.com>
28361 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28363 2012-12-05 Joseph Myers <joseph@codesourcery.com>
28365 * README: Don't refer to ports add-on as distributed separately.
28366 Mention AArch64 in list of systems supported in the ports add-on.
28368 * LICENSES: Add more non-FSF copyright and license notices.
28370 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28373 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28375 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28376 10000 as width of padded output.
28378 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28380 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28382 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28383 variable LX with __attribute__ ((unused)).
28384 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28386 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28387 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28388 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28389 with __attribute__ ((unused)).
28391 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
28393 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28395 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28397 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28398 (CFLAGS-nldbl-acos.c): New variable.
28399 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28400 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28401 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28402 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28403 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28404 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28405 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28406 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28407 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28408 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28409 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28410 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28411 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28412 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28413 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28414 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28415 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28416 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28417 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28418 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28419 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28420 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28421 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28422 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28423 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28424 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28425 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28426 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28427 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28428 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28429 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28430 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28431 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28432 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28433 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28434 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28435 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28436 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28437 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28438 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28439 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28440 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28441 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28442 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28443 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28444 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28445 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28446 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28447 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28448 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28449 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28450 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28451 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28452 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28453 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28454 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28455 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28456 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28457 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28458 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28459 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28460 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28461 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28462 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28463 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28464 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28465 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28466 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28467 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28468 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28469 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28470 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28471 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28472 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28473 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28474 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28475 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28476 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28477 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28478 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28479 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28480 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28481 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28482 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28483 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28484 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28485 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28486 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28487 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28488 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28489 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28490 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28491 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28492 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28493 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28494 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28495 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28498 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28501 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28502 whole low double instead of just low 47 bits when splitting values
28505 2012-12-03 Allan McRae <allan@archlinux.org>
28507 * manual/stdio.texi (Predefined Printf Handlers): Remove
28508 @hsep and @vsep usage.
28510 2012-12-03 Mike Frysinger <vapier@gentoo.org>
28512 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28513 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28515 2012-12-03 Jeff Law <law@redhat.com>
28517 * time/sys/time.h (settimeofday): Do not mark TV argument
28520 2012-12-01 Mike Frysinger <vapier@gentoo.org>
28522 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28523 when currently writing and seek to current position when not.
28524 * libio/Makefile (tests): Remove bug-fclose1.
28525 * libio/bug-fclose1.c: Delete.
28527 2012-12-01 Joseph Myers <joseph@codesourcery.com>
28529 * manual/arith.texi (feenableexcept): Fix typo.
28530 (fedisableexcept): Likewise.
28532 2012-11-30 Roland McGrath <roland@hack.frob.com>
28534 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28535 second, differently-typed declaration, rather than a cast.
28537 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28539 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28540 * include/rpc/svc.h: ... here.
28542 2012-11-30 Aurelien Jarno <aurel32@debian.org>
28545 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28546 depending n and resplen2 to catch cases where answer
28549 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28551 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28552 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28554 2012-11-29 Mike Frysinger <vapier@gentoo.org>
28556 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28558 2012-11-29 Roland McGrath <roland@hack.frob.com>
28560 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28562 2012-11-28 Jeff Law <law@redhat.com>
28565 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28566 dataset_temporary. Track alloca usage into alloca_used.
28567 If dataset is large allocate and release it via malloc/free.
28569 2012-06-04 Florian Weimer <fweimer@redhat.com>
28572 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28574 2012-11-28 David S. Miller <davem@davemloft.net>
28576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28578 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28581 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28582 of pi/2 rounded to nearest to 64 bits.
28583 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28584 nearest to 64 bits.
28585 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28588 2012-11-28 Jeff Law <law@redhat.com>
28589 Martin Osvald <mosvald@redhat.com>
28592 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28593 * sunrpc/svc.c: Include time.h.
28594 (__svc_accept_failed): New function.
28595 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28596 any reason other than EINTR, call __svc_accept_failed.
28597 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28598 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28600 2012-11-28 Andreas Schwab <schwab@suse.de>
28602 * scripts/abilist.awk: Also handle indirect functions in .opd
28605 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28608 * sysdeps/x86/fpu/powl_helper.c: New file.
28609 * sysdeps/x86/fpu/Makefile: Likewise.
28610 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28612 (__ieee754_powl): Use __powl_helper for finite arguments except
28613 integer exponents below 8.
28614 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28616 (__ieee754_powl): Use __powl_helper for finite arguments except
28617 integer exponents below 8.
28618 * math/libm-test.inc (pow_test): Add more tests and enable some
28619 previously disabled tests.
28620 * sysdeps/i386/fpu/libm-test-ulps: Update.
28621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28623 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28624 Carlos O'Donell <carlos_odonell@mentor.com>
28626 * nss/makedb.c (is_prime): Assert that input is odd and greater
28627 than 4. Note that fact in a comment too.
28628 (next_prime): Add 4 to input.
28630 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28633 * libio/Makefile (tests): Add test case tst-fwrite-error.
28634 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28635 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28636 * libio/tst-fwrite-error.c: New test case.
28638 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28640 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28641 before casting to void *.
28642 * include/libc-internal.h (__pointer_type): New macro.
28643 (__integer_if_pointer_type_sub): Likewise.
28644 (__integer_if_pointer_type): Likewise.
28645 (cast_to_integer): Likewise.
28646 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28647 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28648 before casting to atomic64_t.
28649 (atomic_exchange_acq): Likewise.
28650 (__arch_exchange_and_add_body): Likewise.
28651 (__arch_add_body): Likewise.
28652 (atomic_add_negative): Likewise.
28653 (atomic_add_zero): Likewise.
28655 2012-11-26 Joseph Myers <joseph@codesourcery.com>
28657 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28658 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28659 (add_fdes): Likewise.
28660 (linear_search_fdes): Likewise.
28661 (binary_search_unencoded_fdes): Likewise.
28663 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28665 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28667 2012-11-24 Adam Conrad <adconrad@0c3.net>
28669 * configure.in: Autodetect C++ header directories.
28670 * configure: Regenerated.
28672 2012-11-23 Mike Frysinger <vapier@gentoo.org>
28674 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28676 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28680 2012-11-22 Joseph Myers <joseph@codesourcery.com>
28682 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28683 LDBL_MANT_DIG == 106]: Disable some tests.
28684 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28686 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28690 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28691 input for small inputs. Return +/- pi/2 for large inputs.
28692 * math/libm-test.inc (atan_test): Add more tests.
28694 * sysdeps/generic/unwind-dw2-fde-glibc.c
28695 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28696 __attribute__ ((unused)).
28699 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28700 x * y if x and y are nonzero and z is zero.
28703 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28704 nonzero exponents with absolute value below 0x1p-117 to +/-
28708 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28709 up arguments below 2**-450, not just those below 2**-500.
28710 * math/libm-test.inc (hypot_test): Add another test.
28713 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28714 Return a+b for ratio over 2**120, not 2**60.
28715 * math/libm-test.inc (hypot_test): Add another test.
28717 * math/libm-test.inc (clog_test): Use
28718 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28719 (clog10_test): Likewise.
28722 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28724 2012-11-22 Andreas Schwab <schwab@suse.de>
28726 * sysdeps/i386/fpu/libm-test-ulps: Update.
28728 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
28730 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28731 printf output with newline.
28733 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
28736 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28737 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28738 -z nodlopen, -z initfirst and -z execstack support.
28739 * configure: Regenerated.
28741 * elf/elf.h (DF_1_NODIRECT): New macro.
28742 (DF_1_IGNMULDEF): Likewise.
28743 (DF_1_NOKSYMS): Likewise.
28744 (DF_1_NOHDR): Likewise.
28745 (DF_1_EDITED): Likewise.
28746 (DF_1_NORELOC): Likewise.
28747 (DF_1_SYMINTPOSE): Likewise.
28748 (DF_1_GLOBAUDIT): Likewise.
28749 (DF_1_SINGLETON): Likewise.
28750 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28751 DT_1_SUPPORTED_MASK bits.
28752 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28754 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
28756 * sysdeps/unix/make-syscalls.sh: Document prefixes.
28758 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
28760 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28763 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28764 (sendmmsg): Move declarations...
28765 * socket/sys/socket.h: ... here.
28766 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28767 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28769 * socket/recvmmsg.c: ... this new file.
28770 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28771 (sendmmsg): Rename to __sendmmsg, create weak alias and make
28772 definition of __sendmmsg hidden.
28773 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28774 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28775 Move ENOSYS stub into and include it from...
28776 * socket/sendmmsg.c: ... this new file.
28777 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28778 (sysdep_routines): Move recvmmsg and sendmmsg...
28779 * socket/Makefile (routines): ... here.
28780 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28781 (GLIBC_PRIVATE): Add __sendmmsg.
28782 * include/sys/socket.h (__sendmmsg): Add declarations.
28783 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28786 2012-11-20 Joseph Myers <joseph@codesourcery.com>
28788 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28789 variable I1 with __attribute__ ((unused)).
28790 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28792 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28794 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28795 DUMMY variables with __attribute__ ((unused)).
28797 * bits/byteswap.h: Include <bits/types.h>.
28798 (__bswap_64): Use __uint64_t instead of unsigned long long int.
28800 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
28802 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28803 string_t. Do not manually set errno.
28804 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28805 length with __strnlen. Make sure to both set errno and return it on
28808 2012-11-19 David S. Miller <davem@davemloft.net>
28810 With help from Joseph Myers.
28811 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28812 very large arguments properly.
28813 * math/libm-test.inc (atan_test): New tests.
28814 (atan2_test): New tests.
28815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28818 2012-11-19 Joseph Myers <joseph@codesourcery.com>
28821 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28824 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28825 [POSIX] (EADDRNOTAVAIL): Likewise.
28826 [POSIX] (EAFNOSUPPORT): Likewise.
28827 [POSIX] (EALREADY): Likewise.
28828 [POSIX] (ECONNABORTED): Likewise.
28829 [POSIX] (ECONNREFUSED): Likewise.
28830 [POSIX] (ECONNRESET): Likewise.
28831 [POSIX] (EDESTADDRREQ): Likewise.
28832 [POSIX] (EDQUOT): Likewise.
28833 [POSIX] (EHOSTUNREACH): Likewise.
28834 [POSIX] (EIDRM): Likewise.
28835 [POSIX] (EISCONN): Likewise.
28836 [POSIX] (ELOOP): Likewise.
28837 [POSIX] (EMULTIHOP): Likewise.
28838 [POSIX] (ENETDOWN): Likewise.
28839 [POSIX] (ENETUNREACH): Likewise.
28840 [POSIX] (ENOBUFS): Likewise.
28841 [POSIX] (ENODATA): Likewise.
28842 [POSIX] (ENOLINK): Likewise.
28843 [POSIX] (ENOMSG): Likewise.
28844 [POSIX] (ENOPROTOOPT): Likewise.
28845 [POSIX] (ENOSR): Likewise.
28846 [POSIX] (ENOSTR): Likewise.
28847 [POSIX] (ENOTCONN): Likewise.
28848 [POSIX] (ENOTSOCK): Likewise.
28849 [POSIX] (EOPNOTSUPP): Likewise.
28850 [POSIX] (EOVERFLOW): Likewise.
28851 [POSIX] (EPROTO): Likewise.
28852 [POSIX] (EPROTONOSUPPORT): Likewise.
28853 [POSIX] (EPROTOTYPE): Likewise.
28854 [POSIX] (ESTALE): Likewise.
28855 [POSIX] (ETIME): Likewise.
28856 [POSIX] (ETXTBSY): Likewise.
28857 [POSIX] (EWOULDBLOCK): Likewise.
28858 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28859 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28860 [POSIX] (SEEK_CUR): Likewise.
28861 [POSIX] (SEEK_END): Likewise.
28862 [POSIX || UNIX98] (mode_t): Do not require.
28863 [POSIX] (off_t): Likewise.
28864 [POSIX] (pid_t): Likewise.
28865 [POSIX] (sys/stat.h): Do not allow header.
28866 [POSIX] (unistd.h): Likewise.
28867 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28868 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28869 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28870 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28872 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28873 sigevent): Specify elements.
28874 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28876 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28877 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28879 * conform/data/cpio.h-data [POSIX]: Disable whole file.
28880 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28881 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28882 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28883 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28884 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28885 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28886 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28887 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28888 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28889 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28890 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28891 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28892 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28894 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28896 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28898 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28900 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28901 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28902 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28903 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28904 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28905 Specify lower bound on value.
28906 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28907 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28908 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28909 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28910 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28911 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28912 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28913 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28915 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28917 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28918 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28919 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28920 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28921 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28922 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28923 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28924 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28925 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28926 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28927 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28928 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28929 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28930 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28931 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28932 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28934 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28936 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28937 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28938 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28939 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28940 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28941 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28943 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28944 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28945 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28946 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28947 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
28948 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28949 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28951 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28952 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28953 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28954 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28955 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28956 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28957 specify as optional.
28958 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28959 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28960 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28961 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28962 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28963 [XPG3] (NL_LANGMAX): Likewise.
28964 [POSIX || XPG3] (NL_MSGMAX): Likewise.
28965 [POSIX || XPG3] (NL_NMAX): Likewise.
28966 [POSIX || XPG3] (NL_SETMAX): Likewise.
28967 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28968 [XPG3] (NZERO): Likewise.
28969 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28970 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28971 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28972 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28973 (REG_ERANGE): Expect.
28974 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28976 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28977 Use (void) in prototype.
28978 [POSIX] (*_t): Allow.
28979 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28980 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28981 (WRDE_BADVAL): Expect.
28983 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28985 [XPG3 || XPG4] (O_RSYNC): Likewise.
28986 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28988 [XPG3 || XPG4] (pthread_sigmask): Likewise.
28989 [XPG3 || XPG4] (sigqueue): Likewise.
28990 [XPG3 || XPG4] (sigtimedwait): Likewise.
28991 [XPG3 || XPG4] (sigwaitinfo): Likewise.
28992 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28993 [XPG3 || XPG4] (vsnprintf): Likewise.
28994 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28996 [XPG3 || XPG4] (blksize_t): Likewise.
28997 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28999 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29000 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29001 [XPG3 || XPG4] (struct itimerspec): Likewise.
29002 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29003 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29004 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29005 [XPG3 || XPG4] (clockid_t): Likewise.
29006 [XPG3 || XPG4] (timer_t): Likewise.
29007 [XPG3 || XPG4] (clock_getres): Likewise.
29008 [XPG3 || XPG4] (clock_gettime): Likewise.
29009 [XPG3 || XPG4] (clock_settime): Likewise.
29010 [XPG3 || XPG4] (nanosleep): Likewise.
29011 [XPG3 || XPG4] (timer_create): Likewise.
29012 [XPG3 || XPG4] (timer_delete): Likewise.
29013 [XPG3 || XPG4] (timer_gettime): Likewise.
29014 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29015 [XPG3 || XPG4] (timer_settime): Likewise.
29016 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29017 [XPG3 || XPG4] (getlogin_r): Likewise.
29018 [XPG3 || XPG4] (pread): Likewise.
29019 [XPG3 || XPG4] (pthread_atfork): Likewise.
29020 [XPG3 || XPG4] (pwrite): Likewise.
29023 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29026 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29028 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29029 finalizing MALLSTREAM.
29031 * sysdeps/mach/hurd/syncfs.c: New file.
29033 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29036 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29037 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29038 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29039 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29040 (_nss_dns_gethostbyname4_r): Likewise.
29041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29042 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29044 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29047 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29049 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29051 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29052 * elf/cache.c (print_entry): Print ",AArch64" for
29055 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29056 * elf/cache.c (print_entry): Print ",hard-float" for
29059 2012-11-18 David S. Miller <davem@davemloft.net>
29061 With help from Joseph Myers.
29062 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29064 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29066 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29067 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29069 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29070 * math/libm-test.inc (y0_test): New tests.
29071 (y1_test): New tests.
29072 * sysdeps/i386/fpu/libm-test-ulps: Update.
29073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29076 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29078 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29080 * configure: Regenerated.
29082 2012-11-17 David S. Miller <davem@davemloft.net>
29085 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29086 nonzero exponents with absolute value below 0x1p-128 to +/-
29089 2012-11-17 Joseph Myers <joseph@codesourcery.com>
29091 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29093 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29095 * posix/getconf-speclist.c: New file.
29096 * posix/posix-envs.def: Likewise.
29097 * posix/confstr.c (START_ENV_GROUP): New macro.
29098 (END_ENV_GROUP): Likewise.
29099 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29100 (KNOWN_PRESENT_ENV_STRING): Likewise.
29101 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29102 (UNKNOWN_ENVIRONMENT): Likewise.
29103 (confstr): Include posix-envs.def instead of handling
29104 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29105 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29106 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29107 (END_ENV_GROUP): Likewise.
29108 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29109 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29110 (UNKNOWN_ENVIRONMENT): Likewise.
29111 (__sysconf): Include posix-envs.def instead of handling associated
29112 cases directly here.
29113 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29114 preprocessing getconf-speclist.c rather than running getconf or
29115 generating empty file.
29117 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29119 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29121 2012-11-16 Andrej Lajovic <natrij@gmail.com>
29124 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29126 2012-11-16 David S. Miller <davem@davemloft.net>
29128 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29129 smaller than LDBL_EPSILON/2.0L, just return xm1.
29131 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29133 * elf/tst-array1.c (init): Set constructor priority to 1000.
29134 (fini): Set destructor priority to 1000.
29135 * elf/tst-array2dep.c: Likewise.
29137 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29140 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29141 (_IO_new_file_xsputn): Also return EOF if none of the input
29142 data was written when overflow failed.
29143 * libio/iopadn.c (_IO_padn): Likewise.
29144 * libio/iowpadn.c (_IO_wpadn): Likewise.
29145 * stdio-common/tst-put-error.c: Add copyright notice.
29146 (do_test): Add case for printing padded string.
29147 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29148 _IO_padn returned error.
29149 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29150 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29153 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29155 * libio/libioP.h: Add comment note that the references to C++
29156 bits are now obsolete.
29158 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29160 * math/libm-test.inc (check_complex): Use asprintf.
29162 2012-11-14 Joseph Myers <joseph@codesourcery.com>
29164 * debug/pcprofiledump.c (print_version): Update copyright year.
29165 * malloc/memusagestat.c (print_version): Likewise.
29167 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29170 * elf/Makefile (tests): Add tst-audit8.
29171 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29172 ($(objpfx)tst-audit8.out): New target.
29173 (tst-audit8-ENV): New variable.
29174 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29175 audit if l_reloc_result is NULL.
29176 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29177 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29178 * elf/tst-audit8.c: New file.
29180 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29182 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29183 * misc/Makefile (CFLAGS-select.c): Define.
29184 * posix/Makefile (CFLAGS-pause.c): Define.
29186 2012-11-13 David S. Miller <davem@davemloft.net>
29188 * crypt/Makefile: Move test targets after toplevel Rules
29189 inclusion. Grab any necessary sysdep routines when linking.
29190 * crypt/md5.c (md5_process_block): Remove define, we will always
29191 name it __md5_process_block.
29192 (md5_finish_ctx): Update md5_process_block call.
29193 (md5_stream): Likewise.
29194 (md5_process_bytes): Likewise.
29195 (md5_process_block): Rename to __md5_process_block and move to ...
29196 * crypt/md5-block.c: ... here.
29197 * crypt/sha256.c (sha256_process_block): Move to ...
29198 * crypt/sha256-block.c: ... here.
29199 * crypt/sha512.c (sha512_process_block): Move to ...
29200 * crypt/sha512-block.c: ... here.
29201 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29203 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29204 * sysdeps/sparc/sparc64/multiarch/Makefile
29205 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29207 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29208 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29210 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29211 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29212 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29213 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29214 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29215 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29216 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29217 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29218 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29220 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29221 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29223 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29225 2012-11-13 Joseph Myers <joseph@codesourcery.com>
29227 * timezone/tzselect.ksh: Update from tzcode git revision
29228 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29229 * timezone/zdump.c: Likewise.
29230 * timezone/zic.c: Likewise.
29231 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29232 in TZVERSION setting, not $(PKGVERSION).
29233 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29234 REPORT_BUGS_TO settings.
29237 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29240 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29242 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29243 detection to immediately after _FP_ROUND().
29244 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29247 2012-11-11 David S. Miller <davem@davemloft.net>
29249 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29251 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29252 __close rather than their public counterparts.
29254 2012-11-10 Joseph Myers <joseph@codesourcery.com>
29256 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29258 [UNIX98] (sem_timedwait): Do not expect.
29259 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29260 [XPG4 || UNIX98] (sockatmark): Do not expect.
29261 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29262 (clock_getcpuclockid): Do not expect.
29263 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29264 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29266 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29267 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29268 [UNIX98] (vwscanf): Likewise.
29269 [UNIX98] (vswscanf): Likewise.
29271 2012-11-09 Joseph Myers <joseph@codesourcery.com>
29273 * timezone/version.h: Remove file.
29274 * timezone/README: Do not refer to version.h.
29275 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29276 $(objpfx)version.h.
29277 ($(objpfx)zdump.o): Likewise.
29278 ($(objpfx)version.h): New target.
29280 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29282 * timezone/README: Don't mention modification to tzselect.ksh.
29283 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29284 work on unmodified tzselect.ksh. Substitute version numbers in
29287 * Makefile (format-me): Remove.
29288 (INSTALL): Adjust indentation. Use commands directly instead of
29289 using $(format-me).
29291 * aclocal.m4 (ACX_PKGVERSION): New macro.
29292 (ACX_BUGURL): Likewise.
29293 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29294 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29295 (REPORT_BUGS_TO): Likewise.
29296 * configure: Regenerated.
29297 * config.h.in (PKGVERSION): New macro.
29298 (REPORT_BUGS_TO): Likewise.
29299 * config.make.in (PKGVERSION): New variable.
29300 (PKGVERSION_TEXI): Likewise.
29301 (REPORT_BUGS_TO): Likewise.
29302 (REPORT_BUGS_TEXI): Likewise.
29303 * Makefile (format-me): Use -I$(common-objpfx)manual.
29304 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29305 ($(common-objpfx)manual/%): New target.
29306 (manual/%): Remove target.
29307 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29308 (print_version): Use PKGVERSION.
29309 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29310 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29311 and REPORT_BUGS_TO.
29312 ($(objpfx)xtrace): Likewise.
29313 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29314 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29315 (print_version): Use PKGVERSION.
29316 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29317 (do_version): Use PKGVERSION.
29318 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29320 (common-ldd-rewrite): Likewise.
29321 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29322 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29323 (print_version): Use PKGVERSION.
29324 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29325 * elf/pldd.c (argp_program_bug_address): Remove variable.
29326 (more_help): New function.
29327 (argp): Use more_help.
29328 (print_version): Use PKGVERSION.
29329 * elf/sln.c (main): Use PKGVERSION.
29330 (usage): Use REPORT_BUGS_TO.
29331 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29332 (top level): Use PKGVERSION.
29333 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29334 (print_version): Use PKGVERSION.
29335 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29336 (print_version): Use PKGVERSION.
29337 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29338 (print_version): Use PKGVERSION.
29339 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29340 (print_version): Use PKGVERSION.
29341 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29342 (print_version): Use PKGVERSION.
29343 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29344 (print_version): Use PKGVERSION.
29345 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29347 ($(objpfx)memusage): Likewise.
29348 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29349 (do_version): Use PKGVERSION.
29350 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29351 (print_version): Use PKGVERSION.
29352 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29353 ($PKGVERSION): New variable.
29354 ($REPORT_BUGS_TO): Likewise.
29355 (usage): Use $REPORT_BUGS_TO.
29356 (top level): Use $PKGVERSION.
29357 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29358 ($(objpfx)pkgvers.texi): New rule.
29359 ($(objpfx)stamp-pkgvers): Likewise.
29360 * manual/install.texi: Include pkgvers.texi.
29361 (--with-pkgversion): Document new configure option.
29362 (--with-bugurl): Likewise.
29363 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29364 than necessarily for this particular distribution. Use
29365 REPORT_BUGS_TO for where to report bugs.
29366 * INSTALL: Regenerated.
29367 * manual/libc.texinfo: Include pkgvers.texi.
29368 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29369 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29370 (print_version): Use PKGVERSION.
29371 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29372 (print_version): Use PKGVERSION.
29373 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29374 (print_version): Use PKGVERSION.
29375 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29376 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29378 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29379 (print_version): Use PKGVERSION.
29380 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29381 (print_version): Use PKGVERSION.
29382 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29385 * timezone/checktab.awk: Update from tzcode 2012i.
29386 * timezone/ialloc.c: Likewise.
29387 * timezone/private.h: Likewise.
29388 * timezone/scheck.c: Likewise.
29389 * timezone/tzfile.h: Likewise.
29390 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29391 (TZVERSION): Hardcode tzcode version number.
29392 * timezone/zdump.c: Update from tzcode 2012i.
29393 * timezone/zic.c: Likewise.
29394 * timezone/version.h: New file.
29395 * timezone/README: Describe version.h. Update upstream location.
29398 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29399 (mktemp): Enable declaration.
29400 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29401 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29402 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29403 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29405 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29409 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29411 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29417 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29418 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29419 for copies of such integer values.
29420 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29421 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29423 2012-11-09 Andreas Jaeger <aj@suse.de>
29425 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29426 definitions and declarations that are provided by
29427 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29429 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29431 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29432 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29433 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29436 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29438 * elf/elf.h: Update comment before AArch64 relocations.
29440 2012-11-07 David S. Miller <davem@davemloft.net>
29442 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29443 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29444 (__start_context): Declare.
29445 (__makecontext_ret): Delete.
29446 (__makecontext): Hook up __start_context instead of
29448 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29449 (sysdep_routines): Add __start_context when in stdlib.
29451 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29453 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29454 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29455 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29457 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29458 (READELF): New variable. Use it instead of hardcoded "readelf".
29460 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29462 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29463 * sysdeps/x86/Makefile: Here.
29464 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29465 * sysdeps/x86/tst-xmmymm.sh: This.
29467 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29469 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29471 [UNIX98] (pthread_barrier_t): Do not expect.
29472 [UNIX98] (pthread_barrierattr_t): Likewise.
29473 [UNIX98] (pthread_spinlock_t): Likewise.
29474 [UNIX98] (pthread_barrier_destroy): Likewise.
29475 [UNIX98] (pthread_barrier_init): Likewise.
29476 [UNIX98] (pthread_barrier_wait): Likewise.
29477 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29478 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29479 [UNIX98] (pthread_barrierattr_init): Likewise.
29480 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29481 [UNIX98] (pthread_getcpuclockid): Likewise.
29482 [UNIX98] (pthread_mutex_timedlock): Likewise.
29483 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29484 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29485 [UNIX98] (pthread_sigmask): Likewise.
29486 [UNIX98] (pthread_spin_destroy): Likewise.
29487 [UNIX98] (pthread_spin_init): Likewise.
29488 [UNIX98] (pthread_spin_lock): Likewise.
29489 [UNIX98] (pthread_spin_trylock): Likewise.
29490 [UNIX98] (pthread_spin_unlock): Likewise.
29491 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29493 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29494 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29495 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29496 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29497 [XPG3 || XPG4] (pthread_key_t): Likewise.
29498 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29499 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29500 [XPG3 || XPG4] (pthread_once_t): Likewise.
29501 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29502 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29503 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29504 [XPG3 || XPG4] (pthread_t): Likewise.
29506 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29508 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29510 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29511 Change function return type to int.
29513 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29514 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29515 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29516 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29517 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29518 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29519 [!POSIX] (posix_madvise): Likewise.
29520 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29522 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29523 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29524 (mode_t): Likewise.
29525 (posix_mem_offset): Likewise.
29526 (posix_typed_mem_get_info): Likewise.
29527 (posix_typed_mem_open): Likewise.
29529 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29530 Change condition to [XOPEN2K8].
29532 * conform/conformtest.pl: Preprocess allow-header data with -x c
29533 instead of from stdin.
29534 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29535 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29536 [C99-based standards] (cerfc): Likewise.
29537 [C99-based standards] (cexp2): Likewise.
29538 [C99-based standards] (cexpm1): Likewise.
29539 [C99-based standards] (clog10): Likewise.
29540 [C99-based standards] (clog1p): Likewise.
29541 [C99-based standards] (clog2): Likewise.
29542 [C99-based standards] (clgamma): Likewise.
29543 [C99-based standards] (ctgamma): Likewise.
29544 [C99-based standards] (cerff): Likewise.
29545 [C99-based standards] (cerfcf): Likewise.
29546 [C99-based standards] (cexp2f): Likewise.
29547 [C99-based standards] (cexpm1f): Likewise.
29548 [C99-based standards] (clog10f): Likewise.
29549 [C99-based standards] (clog1pf): Likewise.
29550 [C99-based standards] (clog2f): Likewise.
29551 [C99-based standards] (clgammaf): Likewise.
29552 [C99-based standards] (ctgammaf): Likewise.
29553 [C99-based standards] (cerfl): Likewise.
29554 [C99-based standards] (cerfcl): Likewise.
29555 [C99-based standards] (cexp2l): Likewise.
29556 [C99-based standards] (cexpm1l): Likewise.
29557 [C99-based standards] (clog10l): Likewise.
29558 [C99-based standards] (clog1pl): Likewise.
29559 [C99-based standards] (clog2l): Likewise.
29560 [C99-based standards] (clgammal): Likewise.
29561 [C99-based standards] (ctgammal): Likewise.
29562 * conform/data/inttypes.h-data [C99-based standards]: Include
29563 stdint.h-data. Remove all expectations for stdint.h contents.
29564 [C99-based standards] (PRI*): Do not allow.
29565 [C99-based standards] (SCN*): Likewise.
29566 [C99-based standards] (*_t): Likewise.
29567 [C99-based-standards] (PRId8): Expect macro.
29568 [C99-based-standards] (PRIi8): Likewise.
29569 [C99-based-standards] (PRIo8): Likewise.
29570 [C99-based-standards] (PRIu8): Likewise.
29571 [C99-based-standards] (PRIx8): Likewise.
29572 [C99-based-standards] (PRIX8): Likewise.
29573 [C99-based-standards] (SCNd8): Likewise.
29574 [C99-based-standards] (SCNi8): Likewise.
29575 [C99-based-standards] (SCNo8): Likewise.
29576 [C99-based-standards] (SCNu8): Likewise.
29577 [C99-based-standards] (SCNx8): Likewise.
29578 [C99-based-standards] (PRIdLEAST8): Likewise.
29579 [C99-based-standards] (PRIiLEAST8): Likewise.
29580 [C99-based-standards] (PRIoLEAST8): Likewise.
29581 [C99-based-standards] (PRIuLEAST8): Likewise.
29582 [C99-based-standards] (PRIxLEAST8): Likewise.
29583 [C99-based-standards] (PRIXLEAST8): Likewise.
29584 [C99-based-standards] (SCNdLEAST8): Likewise.
29585 [C99-based-standards] (SCNiLEAST8): Likewise.
29586 [C99-based-standards] (SCNoLEAST8): Likewise.
29587 [C99-based-standards] (SCNuLEAST8): Likewise.
29588 [C99-based-standards] (SCNxLEAST8): Likewise.
29589 [C99-based-standards] (PRIdFAST8): Likewise.
29590 [C99-based-standards] (PRIiFAST8): Likewise.
29591 [C99-based-standards] (PRIoFAST8): Likewise.
29592 [C99-based-standards] (PRIuFAST8): Likewise.
29593 [C99-based-standards] (PRIxFAST8): Likewise.
29594 [C99-based-standards] (PRIXFAST8): Likewise.
29595 [C99-based-standards] (SCNdFAST8): Likewise.
29596 [C99-based-standards] (SCNiFAST8): Likewise.
29597 [C99-based-standards] (SCNoFAST8): Likewise.
29598 [C99-based-standards] (SCNuFAST8): Likewise.
29599 [C99-based-standards] (SCNxFAST8): Likewise.
29600 [C99-based-standards] (PRId16): Likewise.
29601 [C99-based-standards] (PRIi16): Likewise.
29602 [C99-based-standards] (PRIo16): Likewise.
29603 [C99-based-standards] (PRIu16): Likewise.
29604 [C99-based-standards] (PRIx16): Likewise.
29605 [C99-based-standards] (PRIX16): Likewise.
29606 [C99-based-standards] (SCNd16): Likewise.
29607 [C99-based-standards] (SCNi16): Likewise.
29608 [C99-based-standards] (SCNo16): Likewise.
29609 [C99-based-standards] (SCNu16): Likewise.
29610 [C99-based-standards] (SCNx16): Likewise.
29611 [C99-based-standards] (PRIdLEAST16): Likewise.
29612 [C99-based-standards] (PRIiLEAST16): Likewise.
29613 [C99-based-standards] (PRIoLEAST16): Likewise.
29614 [C99-based-standards] (PRIuLEAST16): Likewise.
29615 [C99-based-standards] (PRIxLEAST16): Likewise.
29616 [C99-based-standards] (PRIXLEAST16): Likewise.
29617 [C99-based-standards] (SCNdLEAST16): Likewise.
29618 [C99-based-standards] (SCNiLEAST16): Likewise.
29619 [C99-based-standards] (SCNoLEAST16): Likewise.
29620 [C99-based-standards] (SCNuLEAST16): Likewise.
29621 [C99-based-standards] (SCNxLEAST16): Likewise.
29622 [C99-based-standards] (PRIdFAST16): Likewise.
29623 [C99-based-standards] (PRIiFAST16): Likewise.
29624 [C99-based-standards] (PRIoFAST16): Likewise.
29625 [C99-based-standards] (PRIuFAST16): Likewise.
29626 [C99-based-standards] (PRIxFAST16): Likewise.
29627 [C99-based-standards] (PRIXFAST16): Likewise.
29628 [C99-based-standards] (SCNdFAST16): Likewise.
29629 [C99-based-standards] (SCNiFAST16): Likewise.
29630 [C99-based-standards] (SCNoFAST16): Likewise.
29631 [C99-based-standards] (SCNuFAST16): Likewise.
29632 [C99-based-standards] (SCNxFAST16): Likewise.
29633 [C99-based-standards] (PRId32): Likewise.
29634 [C99-based-standards] (PRIi32): Likewise.
29635 [C99-based-standards] (PRIo32): Likewise.
29636 [C99-based-standards] (PRIu32): Likewise.
29637 [C99-based-standards] (PRIx32): Likewise.
29638 [C99-based-standards] (PRIX32): Likewise.
29639 [C99-based-standards] (SCNd32): Likewise.
29640 [C99-based-standards] (SCNi32): Likewise.
29641 [C99-based-standards] (SCNo32): Likewise.
29642 [C99-based-standards] (SCNu32): Likewise.
29643 [C99-based-standards] (SCNx32): Likewise.
29644 [C99-based-standards] (PRIdLEAST32): Likewise.
29645 [C99-based-standards] (PRIiLEAST32): Likewise.
29646 [C99-based-standards] (PRIoLEAST32): Likewise.
29647 [C99-based-standards] (PRIuLEAST32): Likewise.
29648 [C99-based-standards] (PRIxLEAST32): Likewise.
29649 [C99-based-standards] (PRIXLEAST32): Likewise.
29650 [C99-based-standards] (SCNdLEAST32): Likewise.
29651 [C99-based-standards] (SCNiLEAST32): Likewise.
29652 [C99-based-standards] (SCNoLEAST32): Likewise.
29653 [C99-based-standards] (SCNuLEAST32): Likewise.
29654 [C99-based-standards] (SCNxLEAST32): Likewise.
29655 [C99-based-standards] (PRIdFAST32): Likewise.
29656 [C99-based-standards] (PRIiFAST32): Likewise.
29657 [C99-based-standards] (PRIoFAST32): Likewise.
29658 [C99-based-standards] (PRIuFAST32): Likewise.
29659 [C99-based-standards] (PRIxFAST32): Likewise.
29660 [C99-based-standards] (PRIXFAST32): Likewise.
29661 [C99-based-standards] (SCNdFAST32): Likewise.
29662 [C99-based-standards] (SCNiFAST32): Likewise.
29663 [C99-based-standards] (SCNoFAST32): Likewise.
29664 [C99-based-standards] (SCNuFAST32): Likewise.
29665 [C99-based-standards] (SCNxFAST32): Likewise.
29666 [C99-based-standards] (PRId64): Likewise.
29667 [C99-based-standards] (PRIi64): Likewise.
29668 [C99-based-standards] (PRIo64): Likewise.
29669 [C99-based-standards] (PRIu64): Likewise.
29670 [C99-based-standards] (PRIx64): Likewise.
29671 [C99-based-standards] (PRIX64): Likewise.
29672 [C99-based-standards] (SCNd64): Likewise.
29673 [C99-based-standards] (SCNi64): Likewise.
29674 [C99-based-standards] (SCNo64): Likewise.
29675 [C99-based-standards] (SCNu64): Likewise.
29676 [C99-based-standards] (SCNx64): Likewise.
29677 [C99-based-standards] (PRIdLEAST64): Likewise.
29678 [C99-based-standards] (PRIiLEAST64): Likewise.
29679 [C99-based-standards] (PRIoLEAST64): Likewise.
29680 [C99-based-standards] (PRIuLEAST64): Likewise.
29681 [C99-based-standards] (PRIxLEAST64): Likewise.
29682 [C99-based-standards] (PRIXLEAST64): Likewise.
29683 [C99-based-standards] (SCNdLEAST64): Likewise.
29684 [C99-based-standards] (SCNiLEAST64): Likewise.
29685 [C99-based-standards] (SCNoLEAST64): Likewise.
29686 [C99-based-standards] (SCNuLEAST64): Likewise.
29687 [C99-based-standards] (SCNxLEAST64): Likewise.
29688 [C99-based-standards] (PRIdFAST64): Likewise.
29689 [C99-based-standards] (PRIiFAST64): Likewise.
29690 [C99-based-standards] (PRIoFAST64): Likewise.
29691 [C99-based-standards] (PRIuFAST64): Likewise.
29692 [C99-based-standards] (PRIxFAST64): Likewise.
29693 [C99-based-standards] (PRIXFAST64): Likewise.
29694 [C99-based-standards] (SCNdFAST64): Likewise.
29695 [C99-based-standards] (SCNiFAST64): Likewise.
29696 [C99-based-standards] (SCNoFAST64): Likewise.
29697 [C99-based-standards] (SCNuFAST64): Likewise.
29698 [C99-based-standards] (SCNxFAST64): Likewise.
29699 [C99-based-standards] (PRIdMAX): Likewise.
29700 [C99-based-standards] (PRIiMAX): Likewise.
29701 [C99-based-standards] (PRIoMAX): Likewise.
29702 [C99-based-standards] (PRIuMAX): Likewise.
29703 [C99-based-standards] (PRIxMAX): Likewise.
29704 [C99-based-standards] (PRIXMAX): Likewise.
29705 [C99-based-standards] (SCNdMAX): Likewise.
29706 [C99-based-standards] (SCNiMAX): Likewise.
29707 [C99-based-standards] (SCNoMAX): Likewise.
29708 [C99-based-standards] (SCNuMAX): Likewise.
29709 [C99-based-standards] (SCNxMAX): Likewise.
29710 [C99-based-standards] (PRIdPTR): Likewise.
29711 [C99-based-standards] (PRIiPTR): Likewise.
29712 [C99-based-standards] (PRIoPTR): Likewise.
29713 [C99-based-standards] (PRIuPTR): Likewise.
29714 [C99-based-standards] (PRIxPTR): Likewise.
29715 [C99-based-standards] (PRIXPTR): Likewise.
29716 [C99-based-standards] (SCNdPTR): Likewise.
29717 [C99-based-standards] (SCNiPTR): Likewise.
29718 [C99-based-standards] (SCNoPTR): Likewise.
29719 [C99-based-standards] (SCNuPTR): Likewise.
29720 [C99-based-standards] (SCNxPTR): Likewise.
29721 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29723 * conform/data/stdint.h-data: Update comments to clarify
29725 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
29727 [C99-based standards] (INT8_MAX): Likewise.
29728 [C99-based standards] (INT16_MIN): Likewise.
29729 [C99-based standards] (INT16_MAX): Likewise.
29730 [C99-based standards] (INT32_MIN): Likewise.
29731 [C99-based standards] (INT32_MAX): Likewise.
29732 [C99-based standards] (INT64_MIN): Likewise.
29733 [C99-based standards] (INT64_MAX): Likewise.
29734 [C99-based standards] (UINT8_MAX): Likewise.
29735 [C99-based standards] (UINT16_MAX): Likewise.
29736 [C99-based standards] (UINT32_MAX): Likewise.
29737 [C99-based standards] (UINT64_MAX): Likewise.
29738 [C99-based standards] (INT_LEAST8_MIN): Likewise.
29739 [C99-based standards] (INT_LEAST8_MAX): Likewise.
29740 [C99-based standards] (INT_LEAST16_MIN): Likewise.
29741 [C99-based standards] (INT_LEAST16_MAX): Likewise.
29742 [C99-based standards] (INT_LEAST32_MIN): Likewise.
29743 [C99-based standards] (INT_LEAST32_MAX): Likewise.
29744 [C99-based standards] (INT_LEAST64_MIN): Likewise.
29745 [C99-based standards] (INT_LEAST64_MAX): Likewise.
29746 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29747 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29748 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29749 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29750 [C99-based standards] (INT_FAST8_MIN): Likewise.
29751 [C99-based standards] (INT_FAST8_MAX): Likewise.
29752 [C99-based standards] (INT_FAST16_MIN): Likewise.
29753 [C99-based standards] (INT_FAST16_MAX): Likewise.
29754 [C99-based standards] (INT_FAST32_MIN): Likewise.
29755 [C99-based standards] (INT_FAST32_MAX): Likewise.
29756 [C99-based standards] (INT_FAST64_MIN): Likewise.
29757 [C99-based standards] (INT_FAST64_MAX): Likewise.
29758 [C99-based standards] (UINT_FAST8_MAX): Likewise.
29759 [C99-based standards] (UINT_FAST16_MAX): Likewise.
29760 [C99-based standards] (UINT_FAST32_MAX): Likewise.
29761 [C99-based standards] (UINT_FAST64_MAX): Likewise.
29762 [C99-based standards] (INTPTR_MIN): Likewise.
29763 [C99-based standards] (INTPTR_MAX): Likewise.
29764 [C99-based standards] (UINTPTR_MAX): Likewise.
29765 [C99-based standards] (INTMAX_MIN): Likewise.
29766 [C99-based standards] (INTMAX_MAX): Likewise.
29767 [C99-based standards] (UINTMAX_MAX): Likewise.
29768 [C99-based standards] (PTRDIFF_MIN): Likewise.
29769 [C99-based standards] (PTRDIFF_MAX): Likewise.
29770 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29771 [C99-based standards] (SIZE_MAX): Likewise.
29772 [C99-based standards] (WCHAR_MAX): Likewise.
29773 [C99-based standards] (WINT_MAX): Likewise.
29774 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
29775 constraint on value.
29776 [C99-based standards] (WCHAR_MIN): Likewise.
29777 [C99-based standards] (WINT_MIN): Likewise.
29778 [C99-based standards] (*_t): Allow.
29779 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29780 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29781 Include math.h-data and complex.h-data. Remove all expectations
29782 of math.h and complex.h contents.
29783 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29785 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29786 (struct tm): Expect tag.
29787 [C99-based-standards] (wcstof): Expect function.
29788 [C99-based-standards] (wcstold): Likewise.
29789 [C99-based-standards] (wcstoll): Likewise.
29790 [C99-based-standards] (wcstoull): Likewise.
29791 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29792 macro-int-constant. Specify type.
29793 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
29794 constraint on value.
29795 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29797 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29799 [ISO C standards]: Do not allow headers.
29800 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29801 wcs[abcdefghijklmnopqrstuvwxyz]*.
29802 [ISO C standards] (*_t): Do not allow.
29803 * conform/data/wctype.h-data [C99-based standards] (iswblank):
29805 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29806 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29808 [ISO C standards]: Do not allow headers.
29809 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29810 is[abcdefghijklmnopqrstuvwxyz]*.
29811 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29812 to[abcdefghijklmnopqrstuvwxyz]*.
29813 [ISO C standards] (*_t): Do not allow.
29814 * conform/data/stdalign.h-data: New file.
29815 * conform/data/stdbool.h-data: Likewise.
29816 * conform/data/stdnoreturn.h-data: Likewise.
29818 2012-11-07 Roland McGrath <roland@hack.frob.com>
29821 * manual/filesys.texi (Directory Entries): Typo fix.
29822 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29824 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29826 * elf/elf.h (EM_AARCH64): New macro.
29827 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29828 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29829 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29830 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29831 (R_AARCH64_TLSDESC): Likewise.
29832 (NT_ARM_TLS): Likewise.
29833 (NT_ARM_HW_BREAK): Likewise.
29834 (NT_ARM_HW_WATCH): Likewise.
29836 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29839 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29840 (__ieee754_powl): Saturate nonzero exponents with absolute value
29841 below 0x1p-79 to +/- 0x1p-79.
29842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29843 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29844 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29845 nonzero exponents with absolute value below 0x1p-32 to +/-
29847 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29848 (__ieee754_powl): Saturate nonzero exponents with absolute value
29849 below 0x1p-79 to +/- 0x1p-79.
29850 * math/libm-test.inc (pow_test): Add more tests.
29852 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29854 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29855 _dl_s390_cap_flags with kernel. Increase string length.
29856 (_dl_s390_platforms): Add z196 and zEC12.
29858 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29860 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29861 Change XOPEN21K to XOPEN2K.
29863 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
29865 * string/memmove.c: Use memcpy when possible.
29867 2012-11-06 Andreas Jaeger <aj@suse.de>
29869 * po/eo.po: Update from translation team.
29871 2012-11-06 Joseph Myers <joseph@codesourcery.com>
29874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29875 exponent and small x and y exponents, scale x or y up. Increase
29876 by 2 the exponent used in scaling up.
29877 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29878 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29879 * math/libm-test.inc (fma_test): Add more tests.
29880 (fma_test_towardzero): Likewise.
29881 (fma_test_downward): Likewise.
29882 (fma_test_upward): Likewise.
29884 2012-11-05 Joseph Myers <joseph@codesourcery.com>
29887 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29891 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29892 namespace for names of struct fields.
29893 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29895 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29896 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29898 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
29901 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29903 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29905 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29909 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29912 2012-11-04 Joseph Myers <joseph@codesourcery.com>
29915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29916 definitely overflow as x * y not x * y + z.
29917 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29919 * math/libm-test.inc (fma_test): Add more tests.
29920 (fma_test_towardzero): Likewise.
29921 (fma_test_downward): Likewise.
29922 (fma_test_upward): Likewise.
29924 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
29928 * include/stub-tag.h: Remove file.
29929 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29931 * manual/maint.texi (Porting): Don't reference it.
29932 * Makerules ($(objpfx)stubs): Likewise.
29933 * dirent/closedir.c: Don't include <stub-tag.h>.
29934 * dirent/dirfd.c: Likewise.
29935 * dirent/fdopendir.c: Likewise.
29936 * dirent/getdents.c: Likewise.
29937 * dirent/getdents64.c: Likewise.
29938 * dirent/opendir.c: Likewise.
29939 * dirent/readdir.c: Likewise.
29940 * dirent/readdir64.c: Likewise.
29941 * dirent/readdir64_r.c: Likewise.
29942 * dirent/readdir_r.c: Likewise.
29943 * dirent/rewinddir.c: Likewise.
29944 * dirent/seekdir.c: Likewise.
29945 * dirent/telldir.c: Likewise.
29946 * gmon/profil.c: Likewise.
29947 * grp/setgroups.c: Likewise.
29948 * inet/if_index.c: Likewise.
29949 * io/access.c: Likewise.
29950 * io/chdir.c: Likewise.
29951 * io/chmod.c: Likewise.
29952 * io/chown.c: Likewise.
29953 * io/close.c: Likewise.
29954 * io/dup.c: Likewise.
29955 * io/dup2.c: Likewise.
29956 * io/dup3.c: Likewise.
29957 * io/euidaccess.c: Likewise.
29958 * io/faccessat.c: Likewise.
29959 * io/fchdir.c: Likewise.
29960 * io/fchmod.c: Likewise.
29961 * io/fchmodat.c: Likewise.
29962 * io/fchown.c: Likewise.
29963 * io/fchownat.c: Likewise.
29964 * io/fcntl.c: Likewise.
29965 * io/flock.c: Likewise.
29966 * io/fstatfs.c: Likewise.
29967 * io/fstatfs64.c: Likewise.
29968 * io/fstatvfs.c: Likewise.
29969 * io/fstatvfs64.c: Likewise.
29970 * io/futimens.c: Likewise.
29971 * io/fxstat.c: Likewise.
29972 * io/fxstat64.c: Likewise.
29973 * io/fxstatat.c: Likewise.
29974 * io/fxstatat64.c: Likewise.
29975 * io/getcwd.c: Likewise.
29976 * io/isatty.c: Likewise.
29977 * io/lchmod.c: Likewise.
29978 * io/lchown.c: Likewise.
29979 * io/link.c: Likewise.
29980 * io/linkat.c: Likewise.
29981 * io/lseek.c: Likewise.
29982 * io/lseek64.c: Likewise.
29983 * io/lxstat64.c: Likewise.
29984 * io/mkdir.c: Likewise.
29985 * io/mkdirat.c: Likewise.
29986 * io/mkfifo.c: Likewise.
29987 * io/mkfifoat.c: Likewise.
29988 * io/open.c: Likewise.
29989 * io/open64.c: Likewise.
29990 * io/openat.c: Likewise.
29991 * io/openat64.c: Likewise.
29992 * io/pipe.c: Likewise.
29993 * io/pipe2.c: Likewise.
29994 * io/poll.c: Likewise.
29995 * io/posix_fadvise.c: Likewise.
29996 * io/posix_fadvise64.c: Likewise.
29997 * io/posix_fallocate.c: Likewise.
29998 * io/posix_fallocate64.c: Likewise.
29999 * io/read.c: Likewise.
30000 * io/readlink.c: Likewise.
30001 * io/readlinkat.c: Likewise.
30002 * io/rmdir.c: Likewise.
30003 * io/sendfile.c: Likewise.
30004 * io/sendfile64.c: Likewise.
30005 * io/statfs.c: Likewise.
30006 * io/statfs64.c: Likewise.
30007 * io/statvfs.c: Likewise.
30008 * io/statvfs64.c: Likewise.
30009 * io/symlink.c: Likewise.
30010 * io/symlinkat.c: Likewise.
30011 * io/ttyname.c: Likewise.
30012 * io/ttyname_r.c: Likewise.
30013 * io/umask.c: Likewise.
30014 * io/unlink.c: Likewise.
30015 * io/unlinkat.c: Likewise.
30016 * io/utime.c: Likewise.
30017 * io/utimensat.c: Likewise.
30018 * io/write.c: Likewise.
30019 * io/xmknod.c: Likewise.
30020 * io/xmknodat.c: Likewise.
30021 * io/xstat.c: Likewise.
30022 * io/xstat64.c: Likewise.
30023 * login/getpt.c: Likewise.
30024 * login/grantpt.c: Likewise.
30025 * login/unlockpt.c: Likewise.
30026 * math/e_acoshl.c: Likewise.
30027 * math/e_acosl.c: Likewise.
30028 * math/e_asinl.c: Likewise.
30029 * math/e_atan2l.c: Likewise.
30030 * math/e_atanhl.c: Likewise.
30031 * math/e_coshl.c: Likewise.
30032 * math/e_expl.c: Likewise.
30033 * math/e_fmodl.c: Likewise.
30034 * math/e_gammal_r.c: Likewise.
30035 * math/e_hypotl.c: Likewise.
30036 * math/e_j0l.c: Likewise.
30037 * math/e_j1l.c: Likewise.
30038 * math/e_jnl.c: Likewise.
30039 * math/e_lgammal_r.c: Likewise.
30040 * math/e_log10l.c: Likewise.
30041 * math/e_log2l.c: Likewise.
30042 * math/e_logl.c: Likewise.
30043 * math/e_powl.c: Likewise.
30044 * math/e_rem_pio2l.c: Likewise.
30045 * math/e_sinhl.c: Likewise.
30046 * math/e_sqrtl.c: Likewise.
30047 * math/fclrexcpt.c: Likewise.
30048 * math/fedisblxcpt.c: Likewise.
30049 * math/feenablxcpt.c: Likewise.
30050 * math/fegetenv.c: Likewise.
30051 * math/fegetexcept.c: Likewise.
30052 * math/fegetround.c: Likewise.
30053 * math/feholdexcpt.c: Likewise.
30054 * math/fesetenv.c: Likewise.
30055 * math/fesetround.c: Likewise.
30056 * math/feupdateenv.c: Likewise.
30057 * math/fgetexcptflg.c: Likewise.
30058 * math/fraiseexcpt.c: Likewise.
30059 * math/fsetexcptflg.c: Likewise.
30060 * math/ftestexcept.c: Likewise.
30061 * math/k_cosl.c: Likewise.
30062 * math/k_rem_pio2l.c: Likewise.
30063 * math/k_sinl.c: Likewise.
30064 * math/k_tanl.c: Likewise.
30065 * math/s_asinhl.c: Likewise.
30066 * math/s_atanl.c: Likewise.
30067 * math/s_cbrtl.c: Likewise.
30068 * math/s_erfl.c: Likewise.
30069 * math/s_expm1l.c: Likewise.
30070 * math/s_log1pl.c: Likewise.
30071 * math/s_tanhl.c: Likewise.
30072 * misc/acct.c: Likewise.
30073 * misc/brk.c: Likewise.
30074 * misc/chflags.c: Likewise.
30075 * misc/chroot.c: Likewise.
30076 * misc/fchflags.c: Likewise.
30077 * misc/fgetxattr.c: Likewise.
30078 * misc/flistxattr.c: Likewise.
30079 * misc/fremovexattr.c: Likewise.
30080 * misc/fsetxattr.c: Likewise.
30081 * misc/fsync.c: Likewise.
30082 * misc/ftruncate.c: Likewise.
30083 * misc/futimes.c: Likewise.
30084 * misc/futimesat.c: Likewise.
30085 * misc/getdomain.c: Likewise.
30086 * misc/getdtsz.c: Likewise.
30087 * misc/gethostid.c: Likewise.
30088 * misc/gethostname.c: Likewise.
30089 * misc/getloadavg.c: Likewise.
30090 * misc/getpagesize.c: Likewise.
30091 * misc/getsysstats.c: Likewise.
30092 * misc/getxattr.c: Likewise.
30093 * misc/gtty.c: Likewise.
30094 * misc/ioctl.c: Likewise.
30095 * misc/lgetxattr.c: Likewise.
30096 * misc/listxattr.c: Likewise.
30097 * misc/llistxattr.c: Likewise.
30098 * misc/lremovexattr.c: Likewise.
30099 * misc/lsetxattr.c: Likewise.
30100 * misc/lutimes.c: Likewise.
30101 * misc/madvise.c: Likewise.
30102 * misc/mincore.c: Likewise.
30103 * misc/mlock.c: Likewise.
30104 * misc/mlockall.c: Likewise.
30105 * misc/mmap.c: Likewise.
30106 * misc/mprotect.c: Likewise.
30107 * misc/msync.c: Likewise.
30108 * misc/munlock.c: Likewise.
30109 * misc/munlockall.c: Likewise.
30110 * misc/munmap.c: Likewise.
30111 * misc/preadv.c: Likewise.
30112 * misc/preadv64.c: Likewise.
30113 * misc/ptrace.c: Likewise.
30114 * misc/pwritev.c: Likewise.
30115 * misc/pwritev64.c: Likewise.
30116 * misc/readv.c: Likewise.
30117 * misc/reboot.c: Likewise.
30118 * misc/remap_file_pages.c: Likewise.
30119 * misc/removexattr.c: Likewise.
30120 * misc/revoke.c: Likewise.
30121 * misc/select.c: Likewise.
30122 * misc/setdomain.c: Likewise.
30123 * misc/setegid.c: Likewise.
30124 * misc/seteuid.c: Likewise.
30125 * misc/sethostid.c: Likewise.
30126 * misc/sethostname.c: Likewise.
30127 * misc/setregid.c: Likewise.
30128 * misc/setreuid.c: Likewise.
30129 * misc/setxattr.c: Likewise.
30130 * misc/sstk.c: Likewise.
30131 * misc/stty.c: Likewise.
30132 * misc/swapoff.c: Likewise.
30133 * misc/swapon.c: Likewise.
30134 * misc/sync.c: Likewise.
30135 * misc/syncfs.c: Likewise.
30136 * misc/syscall.c: Likewise.
30137 * misc/truncate.c: Likewise.
30138 * misc/ualarm.c: Likewise.
30139 * misc/usleep.c: Likewise.
30140 * misc/ustat.c: Likewise.
30141 * misc/utimes.c: Likewise.
30142 * misc/vhangup.c: Likewise.
30143 * misc/writev.c: Likewise.
30144 * posix/_exit.c: Likewise.
30145 * posix/alarm.c: Likewise.
30146 * posix/execve.c: Likewise.
30147 * posix/fexecve.c: Likewise.
30148 * posix/fork.c: Likewise.
30149 * posix/fpathconf.c: Likewise.
30150 * posix/getaddrinfo.c: Likewise.
30151 * posix/getegid.c: Likewise.
30152 * posix/geteuid.c: Likewise.
30153 * posix/getgid.c: Likewise.
30154 * posix/getgroups.c: Likewise.
30155 * posix/getlogin.c: Likewise.
30156 * posix/getlogin_r.c: Likewise.
30157 * posix/getpgid.c: Likewise.
30158 * posix/getpid.c: Likewise.
30159 * posix/getppid.c: Likewise.
30160 * posix/getresgid.c: Likewise.
30161 * posix/getresuid.c: Likewise.
30162 * posix/getsid.c: Likewise.
30163 * posix/getuid.c: Likewise.
30164 * posix/glob64.c: Likewise.
30165 * posix/nanosleep.c: Likewise.
30166 * posix/pathconf.c: Likewise.
30167 * posix/pause.c: Likewise.
30168 * posix/posix_madvise.c: Likewise.
30169 * posix/pread.c: Likewise.
30170 * posix/pread64.c: Likewise.
30171 * posix/pwrite.c: Likewise.
30172 * posix/pwrite64.c: Likewise.
30173 * posix/sched_getaffinity.c: Likewise.
30174 * posix/sched_getp.c: Likewise.
30175 * posix/sched_gets.c: Likewise.
30176 * posix/sched_primax.c: Likewise.
30177 * posix/sched_primin.c: Likewise.
30178 * posix/sched_rr_gi.c: Likewise.
30179 * posix/sched_setaffinity.c: Likewise.
30180 * posix/sched_setp.c: Likewise.
30181 * posix/sched_sets.c: Likewise.
30182 * posix/sched_yield.c: Likewise.
30183 * posix/setgid.c: Likewise.
30184 * posix/setlogin.c: Likewise.
30185 * posix/setpgid.c: Likewise.
30186 * posix/setresgid.c: Likewise.
30187 * posix/setresuid.c: Likewise.
30188 * posix/setsid.c: Likewise.
30189 * posix/setuid.c: Likewise.
30190 * posix/sleep.c: Likewise.
30191 * posix/spawni.c: Likewise.
30192 * posix/sysconf.c: Likewise.
30193 * posix/times.c: Likewise.
30194 * posix/wait.c: Likewise.
30195 * posix/wait3.c: Likewise.
30196 * posix/wait4.c: Likewise.
30197 * posix/waitpid.c: Likewise.
30198 * resolv/gai_sigqueue.c: Likewise.
30199 * resource/getpriority.c: Likewise.
30200 * resource/getrlimit.c: Likewise.
30201 * resource/getrusage.c: Likewise.
30202 * resource/nice.c: Likewise.
30203 * resource/setpriority.c: Likewise.
30204 * resource/setrlimit.c: Likewise.
30205 * resource/ulimit.c: Likewise.
30206 * rt/aio_cancel.c: Likewise.
30207 * rt/aio_fsync.c: Likewise.
30208 * rt/aio_read.c: Likewise.
30209 * rt/aio_sigqueue.c: Likewise.
30210 * rt/aio_suspend.c: Likewise.
30211 * rt/aio_write.c: Likewise.
30212 * rt/clock_getres.c: Likewise.
30213 * rt/clock_gettime.c: Likewise.
30214 * rt/clock_nanosleep.c: Likewise.
30215 * rt/clock_settime.c: Likewise.
30216 * rt/lio_listio.c: Likewise.
30217 * rt/mq_close.c: Likewise.
30218 * rt/mq_getattr.c: Likewise.
30219 * rt/mq_notify.c: Likewise.
30220 * rt/mq_open.c: Likewise.
30221 * rt/mq_receive.c: Likewise.
30222 * rt/mq_send.c: Likewise.
30223 * rt/mq_setattr.c: Likewise.
30224 * rt/mq_timedreceive.c: Likewise.
30225 * rt/mq_timedsend.c: Likewise.
30226 * rt/mq_unlink.c: Likewise.
30227 * rt/shm_open.c: Likewise.
30228 * rt/shm_unlink.c: Likewise.
30229 * rt/timer_create.c: Likewise.
30230 * rt/timer_delete.c: Likewise.
30231 * rt/timer_getoverr.c: Likewise.
30232 * rt/timer_gettime.c: Likewise.
30233 * rt/timer_settime.c: Likewise.
30234 * setjmp/__longjmp.c: Likewise.
30235 * setjmp/setjmp.c: Likewise.
30236 * signal/kill.c: Likewise.
30237 * signal/killpg.c: Likewise.
30238 * signal/raise.c: Likewise.
30239 * signal/sigaction.c: Likewise.
30240 * signal/sigaltstack.c: Likewise.
30241 * signal/sigblock.c: Likewise.
30242 * signal/sigignore.c: Likewise.
30243 * signal/sigintr.c: Likewise.
30244 * signal/signal.c: Likewise.
30245 * signal/sigpause.c: Likewise.
30246 * signal/sigpending.c: Likewise.
30247 * signal/sigqueue.c: Likewise.
30248 * signal/sigreturn.c: Likewise.
30249 * signal/sigset.c: Likewise.
30250 * signal/sigsetmask.c: Likewise.
30251 * signal/sigstack.c: Likewise.
30252 * signal/sigsuspend.c: Likewise.
30253 * signal/sigtimedwait.c: Likewise.
30254 * signal/sigvec.c: Likewise.
30255 * signal/sigwait.c: Likewise.
30256 * signal/sigwaitinfo.c: Likewise.
30257 * signal/sysv_signal.c: Likewise.
30258 * socket/accept.c: Likewise.
30259 * socket/accept4.c: Likewise.
30260 * socket/bind.c: Likewise.
30261 * socket/connect.c: Likewise.
30262 * socket/getpeername.c: Likewise.
30263 * socket/getsockname.c: Likewise.
30264 * socket/getsockopt.c: Likewise.
30265 * socket/isfdtype.c: Likewise.
30266 * socket/listen.c: Likewise.
30267 * socket/recv.c: Likewise.
30268 * socket/recvfrom.c: Likewise.
30269 * socket/recvmsg.c: Likewise.
30270 * socket/send.c: Likewise.
30271 * socket/sendmsg.c: Likewise.
30272 * socket/sendto.c: Likewise.
30273 * socket/setsockopt.c: Likewise.
30274 * socket/shutdown.c: Likewise.
30275 * socket/sockatmark.c: Likewise.
30276 * socket/socket.c: Likewise.
30277 * socket/socketpair.c: Likewise.
30278 * stdio-common/ctermid.c: Likewise.
30279 * stdio-common/cuserid.c: Likewise.
30280 * stdio-common/remove.c: Likewise.
30281 * stdio-common/rename.c: Likewise.
30282 * stdio-common/renameat.c: Likewise.
30283 * stdio-common/tempname.c: Likewise.
30284 * stdlib/getcontext.c: Likewise.
30285 * stdlib/makecontext.c: Likewise.
30286 * stdlib/setcontext.c: Likewise.
30287 * stdlib/swapcontext.c: Likewise.
30288 * stdlib/system.c: Likewise.
30289 * streams/fattach.c: Likewise.
30290 * streams/fdetach.c: Likewise.
30291 * streams/getmsg.c: Likewise.
30292 * streams/getpmsg.c: Likewise.
30293 * streams/putmsg.c: Likewise.
30294 * streams/putpmsg.c: Likewise.
30295 * sysdeps/unix/bsd/getpt.c: Likewise.
30296 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30297 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30298 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30301 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30302 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30303 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30304 * sysvipc/msgctl.c: Likewise.
30305 * sysvipc/msgget.c: Likewise.
30306 * sysvipc/msgrcv.c: Likewise.
30307 * sysvipc/msgsnd.c: Likewise.
30308 * sysvipc/semctl.c: Likewise.
30309 * sysvipc/semget.c: Likewise.
30310 * sysvipc/semop.c: Likewise.
30311 * sysvipc/semtimedop.c: Likewise.
30312 * sysvipc/shmat.c: Likewise.
30313 * sysvipc/shmctl.c: Likewise.
30314 * sysvipc/shmdt.c: Likewise.
30315 * sysvipc/shmget.c: Likewise.
30316 * termios/tcdrain.c: Likewise.
30317 * termios/tcflow.c: Likewise.
30318 * termios/tcflush.c: Likewise.
30319 * termios/tcgetattr.c: Likewise.
30320 * termios/tcgetpgrp.c: Likewise.
30321 * termios/tcsendbrk.c: Likewise.
30322 * termios/tcsetattr.c: Likewise.
30323 * termios/tcsetpgrp.c: Likewise.
30324 * time/adjtime.c: Likewise.
30325 * time/clock.c: Likewise.
30326 * time/getitimer.c: Likewise.
30327 * time/gettimeofday.c: Likewise.
30328 * time/setitimer.c: Likewise.
30329 * time/settimeofday.c: Likewise.
30330 * time/stime.c: Likewise.
30331 * time/time.c: Likewise.
30333 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
30335 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30338 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30340 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30342 2012-11-03 Joseph Myers <joseph@codesourcery.com>
30345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30346 FE_TONEAREST before applying Dekker multiplication and Knuth
30347 addition. Clear inexact exceptions and check for exact zero
30348 results afterwards.
30349 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30350 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30352 * math/libm-test.inc (fma_test): Add more tests.
30353 (fma_test_towardzero): Likewise.
30354 (fma_test_downward): Likewise.
30355 (fma_test_upward): Likewise.
30356 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30358 (libc_fesetround): New macro.
30359 (libc_fesetroundf): Likewise.
30360 (libc_fesetroundl): Likewise.
30361 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30363 (libc_fesetround_387): Likewise.
30364 (libc_fesetroundf): New macro.
30365 (libc_fesetround): Likewise.
30366 (libc_fesetroundl): Likewise.
30367 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30369 (libc_fesetroundf): New macro.
30370 (libc_fesetround): Likewise.
30371 (libc_fesetroundl): Likewise.
30372 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30373 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30374 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30376 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30377 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30379 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30380 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30382 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30386 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30387 integer constant usable in #if and use that to give value to enum
30389 (FE_DIVBYZERO): Likewise.
30390 (FE_UNDERFLOW): Likewise.
30391 (FE_OVERFLOW): Likewise.
30392 (FE_INVALID): Likewise.
30393 (FE_INVALID_SNAN): Likewise.
30394 (FE_INVALID_ISI): Likewise.
30395 (FE_INVALID_IDI): Likewise.
30396 (FE_INVALID_ZDZ): Likewise.
30397 (FE_INVALID_IMZ): Likewise.
30398 (FE_INVALID_COMPARE): Likewise.
30399 (FE_INVALID_SOFTWARE): Likewise.
30400 (FE_INVALID_SQRT): Likewise.
30401 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30402 (FE_TONEAREST): Likewise.
30403 (FE_TOWARDZERO): Likewise.
30404 (FE_UPWARD): Likewise.
30405 (FE_DOWNWARD): Likewise.
30406 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30407 (FE_DIVBYZERO): Likewise.
30408 (FE_OVERFLOW): Likewise.
30409 (FE_UNDERFLOW): Likewise.
30410 (FE_INEXACT): Likewise.
30411 (FE_TONEAREST): Likewise.
30412 (FE_DOWNWARD): Likewise.
30413 (FE_UPWARD): Likewise.
30414 (FE_TOWARDZERO): Likewise.
30415 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30416 (FE_UNDERFLOW): Likewise.
30417 (FE_OVERFLOW): Likewise.
30418 (FE_DIVBYZERO): Likewise.
30419 (FE_INVALID): Likewise.
30420 (FE_TONEAREST): Likewise.
30421 (FE_TOWARDZERO): Likewise.
30422 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30423 (FE_OVERFLOW): Likewise.
30424 (FE_UNDERFLOW): Likewise.
30425 (FE_DIVBYZERO): Likewise.
30426 (FE_INEXACT): Likewise.
30427 (FE_TONEAREST): Likewise.
30428 (FE_TOWARDZERO): Likewise.
30429 (FE_UPWARD): Likewise.
30430 (FE_DOWNWARD): Likewise.
30431 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30432 (FE_DIVBYZERO): Likewise.
30433 (FE_OVERFLOW): Likewise.
30434 (FE_UNDERFLOW): Likewise.
30435 (FE_INEXACT): Likewise.
30436 (FE_TONEAREST): Likewise.
30437 (FE_DOWNWARD): Likewise.
30438 (FE_UPWARD): Likewise.
30439 (FE_TOWARDZERO): Likewise.
30441 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30443 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30445 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30447 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30448 commands. Quote $PWD.
30449 (blacklist_exports): Don't use remove_newlines. Replace "declare
30451 (remove_newlines): Remove.
30453 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30455 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30456 * stdlib/stdlib.h (atof): Moved to ...
30457 * include/bits/stdlib-float.h: Here. New file.
30458 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30459 * stdlib/bits/stdlib-float.h: New file.
30460 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30462 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30465 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30467 * conform/conformtest.pl (@headers): Add fenv.h.
30468 * conform/data/fenv.h-data: New file.
30469 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30470 include of <math/fenv.h>.
30472 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30473 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30474 && !UNIX98]. Enables tests for XOPEN2K8.
30475 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30476 POSIX2008]: Likewise.
30478 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30479 (struct rusage): Do not expect type or its members.
30482 * math/math.h (FP_NAN): Define macro to integer constant usable in
30483 #if and use that to give value to enum constant.
30484 (FP_INFINITE): Likewise.
30485 (FP_ZERO): Likewise.
30486 (FP_SUBNORMAL): Likewise.
30487 (FP_NORMAL): Likewise.
30489 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30491 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30492 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30495 2012-11-02 Roland McGrath <roland@hack.frob.com>
30497 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30498 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30499 autoconf-time if not.
30500 * configure.in: Remove AC_PREREQ.
30502 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30504 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30505 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30506 of the internal implementation.
30508 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30510 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30511 except include of <misc/sys/syslog.h>.
30513 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30516 function returns with a NULL context exit with zero.
30518 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30520 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30522 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30524 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30525 (run_program_cmd): This.
30526 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30527 (tst_langinfo): New variable. Use it.
30529 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30531 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30532 floating point opcodes.
30534 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30536 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30539 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30541 * sysdeps/mach/hurd/powerpc: Remove directory.
30542 * sysdeps/mach/powerpc: Likewise.
30544 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30546 * scripts/check-local-headers.sh: Ignore c++ headers.
30548 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30550 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30551 __libc_cleanup_region_start argument.
30553 2012-11-01 Joseph Myers <joseph@codesourcery.com>
30557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30558 x * y using scaling, not as x * y + z.
30559 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30560 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30561 * math/libm-test.inc (fma_test): Add more tests.
30562 (fma_test_towardzero): Likewise.
30563 (fma_test_downward): Likewise.
30564 (fma_test_upward): Likewise.
30566 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30568 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30570 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30572 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30575 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30577 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30579 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30586 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30589 Fix the order of the list for glibc 2.17.
30590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30593 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30597 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30600 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30601 for low part of x being zero before using __atanl (y).
30602 * math/libm-test.inc (atan2_test): Add another test.
30604 * manual/install.texi (Configuring and compiling): Document
30605 general use of test-wrapper and test-wrapper-env.
30606 * INSTALL: Regenerated.
30608 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30609 (__fma): Do not extract and scale down low bits on after-rounding
30610 systems when result rounded to normal precision would have normal
30612 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30613 (__fmal): Do not extract and scale down low bits on after-rounding
30614 systems when result rounded to normal precision would have normal
30616 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30617 (__fmal): Do not extract and scale down low bits on after-rounding
30618 systems when result rounded to normal precision would have normal
30620 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30622 (fma_test): Add more tests.
30623 (fma_test_towardzero): Likewise.
30624 (fma_test_downward): Likewise.
30625 (fma_test_upward): Likewise.
30627 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30629 * sysdeps/i386/tininess.h: Renamed to ...
30630 * sysdeps/x86/tininess.h: This.
30631 * sysdeps/x86_64/tininess.h: Removed.
30633 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30635 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30636 input. Use $(build-program-cmd).
30637 ($(objpfx)tst-array1-static.out): Likewise.
30638 ($(objpfx)tst-array2.out): Likewise.
30639 ($(objpfx)tst-array3.out): Likewise.
30640 ($(objpfx)tst-array4.out): Likewise.
30641 ($(objpfx)tst-array5.out): Likewise.
30642 ($(objpfx)tst-array5-static.out): Likewise.
30644 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30646 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30649 * nss/nsswitch.h (nss_interface_function): Provide new
30650 macro for use with NSS functions.
30651 * grp/initgroups.c: Use new macro.
30652 * nss/getXXbyYY.c: Likewise.
30653 * nss/getXXbyYY_r.c: Likewise.
30654 * nss/getXXent.c: Likewise.
30655 * nss/getXXent_r.c: Likewise.
30656 * sysdeps/posix/getaddrinfo.c: Likewise.
30658 2012-10-30 Andreas Jaeger <aj@suse.de>
30660 * po/ru.po: Update Russion translation from translation project.
30662 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30667 result and shift together with sticky bit instead of replicating
30668 round-to-nearest rounding.
30669 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30670 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30671 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30672 missing underflow exceptions.
30673 (fma_test_towardzero): Add more tests.
30674 (fma_test_downward): Likewise.
30675 (fma_test_upward): Likewise.
30678 * sysdeps/generic/tininess.h: New file.
30679 * sysdeps/i386/tininess.h: Likewise.
30680 * sysdeps/sh/tininess.h: Likewise.
30681 * sysdeps/x86_64/tininess.h: Likewise.
30682 * stdlib/tst-strtod-underflow.c: Likewise.
30683 * stdlib/tst-tininess.c: Likewise.
30684 * stdlib/strtod_l.c: Include <tininess.h>.
30685 (round_and_return): Do not set errno for exact underflow cases.
30686 Force an underflow exception when setting errno for underflow.
30687 Determine underflow based on rounding to normal precision if
30688 TININESS_AFTER_ROUNDING.
30689 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30690 ERANGE for exact underflow cases.
30691 * stdlib/Makefile (tests): Add tst-tininess and
30692 tst-strtod-underflow.
30693 ($(objpfx)tst-tininess): Use $(link-libm).
30694 ($(objpfx)tst-strtod-underflow): Likewise.
30696 2012-10-30 Andreas Jaeger <aj@suse.de>
30699 * elf/Makefile (tests): Remove conditional for have-initfini-array
30700 since this is now always required and the variable does not exist
30702 (tests-static): Likewise.
30703 (modules-names): Likewise.
30705 * po/eo.po: Add Esperanto translation from translation project.
30707 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30708 merged with constructor/destructor.
30709 (init_array): Likewise.
30710 * elf/tst-array2dep.c (fini_array): Likewise.
30711 (init_array): Likewise.
30713 2012-10-29 Mike Frysinger <vapier@gentoo.org>
30715 * manual/message.texi: Delete @cartouche tags.
30717 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
30719 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30721 * sysdeps/mach/hurd/fsync.c: Likewise.
30723 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30724 [_POSIX_REALTIME_SIGNALS]: Change condition to
30725 [_POSIX_REALTIME_SIGNALS > 0].
30727 2012-10-27 Andreas Jaeger <aj@suse.de>
30729 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30730 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30732 [__WORDSIZE != 64]: Likewise.
30734 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
30736 * iconvdata/tst-table.sh: Remove ${SHELL}.
30737 * iconvdata/tst-tables.sh: Likewise.
30739 2012-10-25 David S. Miller <davem@davemloft.net>
30741 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30742 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30747 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30748 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30749 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30752 2012-10-25 Roland McGrath <roland@hack.frob.com>
30754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30755 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30758 2012-10-25 Joseph Myers <joseph@codesourcery.com>
30759 Jim Blandy <jimb@codesourcery.com>
30761 * scripts/cross-test-ssh.sh: New file.
30762 * manual/install.texi (Configuring and compiling): Document use of
30764 * INSTALL: Regenerated.
30766 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
30768 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30771 2012-10-25 Joseph Myers <joseph@codesourcery.com>
30773 * Makeconfig (run-program-prefix): Fix comment.
30775 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30776 Jim Blandy <jimb@codesourcery.com>
30778 * Makeconfig (test-wrapper): New variable,
30779 (test-wrapper-env): Likewise.
30780 [$(cross-compiling) = yes && $(test-wrapper) != ""]
30781 (run-built-tests): Define to yes.
30782 (run-program-prefix): Use $(test-wrapper).
30783 (built-program-cmd): Likewise.
30784 * Rules (make-test-out): Use $(test-wrapper-env) and
30785 $(host-built-program-cmd).
30786 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30787 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30789 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30790 $(test-wrapper-env) to tst-rtld-load-self.sh.
30791 ($(objpfx)order2.out): Use $(test-wrapper).
30792 ($(objpfx)tst-initorder.out): Likewise.
30793 ($(objpfx)tst-initorder2.out): Likewise.
30794 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30795 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30796 (test_wrapper_env): New variable. Use it to run ld.so.
30797 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30798 Use it to run ld.so.
30799 (test_wrapper_env): Likewise.
30800 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30801 $(test-wrapper) to run-iconv-test.sh.
30802 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30803 (ICONV): Use $test_wrapper.
30804 * posix/Makefile ($(objpfx)globtest.out): Pass
30805 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30806 globtest.sh, not $(run-program-prefix).
30807 * posix/globtest.sh (run_via_rtld_prefix): New variable.
30808 (test_wrapper): Likewise.
30809 (test_wrapper_env): Likewise. Use it to run globtest with HOME
30810 set together with run_via_rtld_prefix.
30811 (run_program_prefix): Define in terms of test_wrapper and
30812 run_via_rtld_prefix.
30814 2012-10-24 Roland McGrath <roland@hack.frob.com>
30816 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30817 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30821 * include/time.h: Remove librt_hidden_proto (clock_gettime).
30822 Declare __clock_getres, __clock_gettime, __clock_settime,
30823 __clock_nanosleep, and __clock_getcpuclockid.
30824 * rt/clock_gettime.c: Define __clock_gettime as an alias.
30825 Remove librt_hidden_def (clock_gettime).
30826 * sysdeps/unix/clock_gettime.c: Likewise.
30827 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30828 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30829 * rt/clock_getres.c: Define __clock_getres as an alias.
30830 * sysdeps/posix/clock_getres.c: Likewise.
30831 * rt/clock_settime.c: Define __clock_settime as an alias.
30832 * sysdeps/unix/clock_settime.c: Likewise.
30833 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30834 * sysdeps/unix/clock_nanosleep.c: Likewise.
30835 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30836 * rt/clock-compat.c: New file.
30837 * rt/Makefile (librt-routines): Add clock-compat and move
30838 $(clock-routines) to ...
30839 (routines): ... here, new variable.
30840 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30841 Don't add get_clockfreq here.
30842 * rt/Versions (libc: GLIBC_2.17): New version set.
30843 Add clock_* symbols here.
30844 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
30845 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30846 (GLIBC_2.17): Add clock_* symbols.
30847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30849 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30858 * NEWS: Mention the move.
30860 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30861 Use __open, __read, __close rather than their public counterparts.
30862 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30863 (__get_clockfreq_via_cpuinfo): Likewise.
30864 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30865 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30867 * config.h.in (HAVE_IFUNC): New #undef.
30868 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30870 * configure: Regenerated.
30872 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30874 * configure.in: Move READELF check to start of file.
30875 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30876 libc_cv_asm_gnu_indirect_function in the process.
30877 * configure: Regenerated.
30879 2012-10-24 Mike Frysinger <vapier@gentoo.org>
30881 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30882 send the output to /dev/null.
30883 (libc_cv_cc_with_libunwind): Likewise.
30884 (libc_cv_as_noexecstack): Likewise.
30885 * configure: Regenerate.
30887 2012-10-24 Joseph Myers <joseph@codesourcery.com>
30889 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30891 * posix/globtest.sh (TMPDIR): Do not set.
30892 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30893 (testout): Likewise.
30895 2012-10-24 Andreas Jaeger <aj@suse.de>
30897 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30898 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30899 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30900 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30901 posix_fadvise64, posix_fallocate64.
30903 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30904 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30905 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30907 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30909 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30912 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30913 <bits/fcntl-linux.h>.
30914 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30916 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30917 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30918 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30919 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30920 [__WORDSIZE != 64]: Likewise.
30922 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30924 * Makeconfig (run-built-tests): New variable.
30925 * Rules [$(cross-compiling) = yes]: Change condition to
30926 [$(run-built-tests) = no].
30927 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30928 to [$(run-built-tests) = yes].
30929 * elf/Makefile [$(cross-compiling) = no]: Likewise
30930 * grp/Makefile [$(cross-compiling) = no]: Likewise.
30931 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30932 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30933 * intl/Makefile [$(cross-compiling) = no]: Likewise.
30934 * io/Makefile [$(cross-compiling) = no]: Likewise.
30935 * libio/Makefile [$(cross-compiling) = no]: Likewise.
30936 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30937 * misc/Makefile [$(cross-compiling) = no]: Likewise.
30938 * posix/Makefile [$(cross-compiling) = no]: Likewise.
30939 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30940 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30941 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30942 * string/Makefile [$(cross-compiling) = no]: Likewise.
30944 * posix/Makefile ($(objpfx)globtest.out): Pass
30945 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30946 $(rtld-installed-name).
30947 * posix/globtest.sh (elf_objpfx): Remove variable.
30948 (rtld_installed_name): Likewise.
30949 (library_path): Likewise.
30950 (run_program_prefix): New variable. Use for running globtest
30953 2012-10-23 Jim Blandy <jimb@codesourcery.com>
30954 Joseph Myers <joseph@codesourcery.com>
30956 * Makeconfig (host-built-program-cmd): New variable.
30957 * elf/Makefile (tst-stackguard1-ARGS): Use
30958 $(host-built-program-cmd).
30959 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30960 (tst-spawn-ARGS): Likewise.
30961 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30963 2012-10-23 Joseph Myers <joseph@codesourcery.com>
30964 Jim Blandy <jimb@codesourcery.com>
30966 * Makeconfig (run-via-rtld-prefix): New variable.
30967 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30968 (built-program-cmd): Likewise.
30970 2012-10-22 Andreas Jaeger <aj@suse.de>
30972 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30973 __O_RSYNC if it exists, otherwise to O_SYNC.
30975 2012-10-22 Jim Blandy <jimb@codesourcery.com>
30976 Joseph Myers <joseph@codesourcery.com>
30978 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30980 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30982 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30985 2012-10-22 Andreas Jaeger <aj@suse.de>
30987 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30992 bits/fcntl-linux.h.
30994 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30995 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30997 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31002 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31003 Joseph Myers <joseph@codesourcery.com>
31005 * config.make.in (NM): New variable.
31007 2012-10-21 Andreas Jaeger <aj@suse.de>
31009 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31010 definitions and declarations that are provided by
31011 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31013 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31016 * elf/Makefile (tests-static): Add tst-leaks1-static.
31017 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31018 ($(objpfx)tst-leaks1-static): New rule.
31019 ($(objpfx)tst-leaks1-static-mem): Likewise.
31020 (tst-leaks1-static-ENV): New macro.
31021 * elf/dl-open.c (dl_open_worker): Check the main application
31022 only if SHARED is defined.
31023 * elf/tst-leaks1-static.c: New file.
31025 2012-10-20 Andreas Jaeger <aj@suse.de>
31027 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31028 generic values for Linux.
31029 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31030 and declarations that are provided by <bits/fcntl-linux.h> and
31031 include <bits/fcntl-linux.h>.
31032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31033 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31035 2012-10-20 Roland McGrath <roland@hack.frob.com>
31037 * io/fcntl.h: Move include of <bits/types.h> to the top and
31038 include it unconditionally.
31040 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31042 * wcsmbs/Makefile (tests-ifunc): New variable.
31043 (tests): Add $(tests-ifunc).
31044 * wcsmbs/test-wcschr-ifunc.c: New file.
31045 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31046 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31047 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31048 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31049 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31051 * string/Makefile (tests-ifunc): New variable.
31052 (tests): Add $(tests-ifunc).
31053 * string/test-memccpy.c (TEST_NAME): New macro.
31054 * string/test-memchr.c (TEST_NAME): Likewise.
31055 * string/test-memcmp.c (TEST_NAME): Likewise.
31056 * string/test-memcpy.c (TEST_NAME): Likewise.
31057 * string/test-memmem.c (TEST_NAME): Likewise.
31058 * string/test-memmove.c (TEST_NAME): Likewise.
31059 * string/test-memset.c (TEST_NAME): Likewise.
31060 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31061 * string/test-stpcpy.c (TEST_NAME): Likewise.
31062 * string/test-stpncpy.c (TEST_NAME): Likewise.
31063 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31064 * string/test-strcasestr.c (TEST_NAME): Likewise.
31065 * string/test-strcat.c (TEST_NAME): Likewise.
31066 * string/test-strchr.c (TEST_NAME): Likewise.
31067 * string/test-strcmp.c(TEST_NAME): Likewise.
31068 * string/test-strcpy.c (TEST_NAME): Likewise.
31069 * string/test-strcspn.c (TEST_NAME): Likewise.
31070 * string/test-strlen.c (TEST_NAME): Likewise.
31071 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31072 * string/test-strncmp.c (TEST_NAME): Likewise.
31073 * string/test-strncpy.c (TEST_NAME): Likewise.
31074 * string/test-strnlen.c (TEST_NAME): Likewise.
31075 * string/test-strpbrk.c (TEST_NAME): Likewise.
31076 * string/test-strrchr.c (TEST_NAME): Likewise.
31077 * string/test-strspn.c (TEST_NAME): Likewise.
31078 * string/test-strstr.c (TEST_NAME): Likewise.
31079 * string/test-bcopy-ifunc.c: New file.
31080 * string/test-bzero-ifunc.c: Likewise.
31081 * string/test-memccpy-ifunc.c: Likewise.
31082 * string/test-memchr-ifunc.c: Likewise.
31083 * string/test-memcmp-ifunc.c: Likewise.
31084 * string/test-memcpy-ifunc.c: Likewise.
31085 * string/test-memmem-ifunc.c: Likewise.
31086 * string/test-memmove-ifunc.c: Likewise.
31087 * string/test-mempcpy-ifunc.c: Likewise.
31088 * string/test-memset-ifunc.c: Likewise.
31089 * string/test-rawmemchr-ifunc.c: Likewise.
31090 * string/test-stpcpy-ifunc.c: Likewise.
31091 * string/test-stpncpy-ifunc.c: Likewise.
31092 * string/test-strcasecmp-ifunc.c: Likewise.
31093 * string/test-strcasestr-ifunc.c: Likewise.
31094 * string/test-strcat-ifunc.c: Likewise.
31095 * string/test-strchr-ifunc.c: Likewise.
31096 * string/test-strchrnul-ifunc.c: Likewise.
31097 * string/test-strcmp-ifunc.c: Likewise.
31098 * string/test-strcpy-ifunc.c: Likewise.
31099 * string/test-strcspn-ifunc.c: Likewise.
31100 * string/test-strlen-ifunc.c: Likewise.
31101 * string/test-strncasecmp-ifunc.c: Likewise.
31102 * string/test-strncat-ifunc.c: Likewise.
31103 * string/test-strncmp-ifunc.c: Likewise.
31104 * string/test-strncpy-ifunc.c: Likewise.
31105 * string/test-strnlen-ifunc.c: Likewise.
31106 * string/test-strpbrk-ifunc.c: Likewise.
31107 * string/test-strrchr-ifunc.c: Likewise.
31108 * string/test-strspn-ifunc.c: Likewise.
31109 * string/test-strstr-ifunc.c: Likewise.
31111 * debug/Makefile (tests-ifunc): New variable.
31112 (tests): Add $(tests-ifunc).
31113 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31114 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31115 * debug/test-stpcpy_chk-ifunc.c: New file.
31116 * debug/test-strcpy_chk-ifunc.c: Likewise.
31118 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31121 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31122 header is not read in.
31124 2012-10-19 Joseph Myers <joseph@codesourcery.com>
31126 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31127 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31128 directly. Pass built executable to script as
31129 $(built-program-cmd).
31130 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31131 $testprogram without using LD_LIBRARY_PATH and $ldso.
31133 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31134 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31135 $(rtld-installed-name).
31136 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31137 (rtld_installed_name): Likewise.
31138 (library_path): Likewise.
31139 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31140 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31141 $(run-program-prefix) to tst-tables.sh.
31142 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31143 it to run tst-table-from and tst-table-to.
31144 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31145 Pass it to tst-table.sh.
31146 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31147 $(run-program-prefix) to tst-gettext.sh.
31148 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31150 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31152 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31153 to run tst-gettext.
31154 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31155 to run tst-gettext2.
31156 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31157 to run tst-translit.
31158 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31159 $(run-program-prefix) to tst-mtrace.sh.
31160 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31162 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31163 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31164 $(rtld-installed-name).
31165 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31166 (rtld_installed_name): Likewise.
31167 (run_program_prefix): New variable. Use it to run wordexp-test.
31169 * Makeconfig (ARCH): Remove all definitions.
31170 (machine): Likewise.
31171 [ARCH]: Remove conditional code.
31172 [!objdir]: Give error.
31173 [!objdir] (objpfx): Remove.
31174 [!objdir] (common-objpfx): Likewise.
31175 [!objdir] (common-objdir): Likewise.
31176 * configure.in (config_makefile): Remove. Hardcode Makefile in
31177 AC_CONFIG_FILES call.
31178 * configure: Regenerated.
31181 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31183 (testout): Likewise.
31185 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31186 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31187 $(rtld-installed-name).
31188 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31189 (rtld_installed_name): Likwise.
31190 (runit): Remove function.
31191 (run_getconf): New variable, Use it for running getconf binary.
31193 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31196 * string/test-memmem.c (check_result): New function.
31197 (do_one_test): Use it.
31198 (check1): New function.
31199 (test_main): Use it.
31201 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31203 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31205 2012-10-18 Joseph Myers <joseph@codesourcery.com>
31207 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31208 (_G_LSEEK64): Likewise.
31209 (_G_MMAP64): Likewise.
31210 (_G_FSTAT64): Likewise.
31211 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31212 (_G_LSEEK64): Likewise.
31213 (_G_MMAP64): Likewise.
31214 (_G_FSTAT64): Likewise.
31215 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31216 unconditional. Call __mmap64 directly.
31217 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31218 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31219 __lseek64 directly.
31220 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31221 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31223 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31224 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31225 __lseek64 directly.
31226 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31227 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31228 __lseek64 directly.
31229 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31230 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31231 __lseek64 directly.
31232 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31233 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31234 __fxstat64 directly.
31235 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31236 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31238 (freopen64) [!_G_OPEN64]: Remove conditional code.
31239 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31241 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31242 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31244 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31245 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31247 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31248 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31250 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31251 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31253 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31254 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31256 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31257 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31259 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31261 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31264 * manual/memory.texi (Malloc Tunable Parameters): Add note
31265 about free list pointers overwriting some perturb bytes.
31266 Wording suggested by Roland McGrath.
31268 2012-10-17 Joseph Myers <joseph@codesourcery.com>
31270 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31271 (lgamma_test): Likewise.
31272 (tgamma_test): Likewise.
31274 2012-10-16 Florian Weimer <fweimer@redhat.com>
31277 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31278 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31280 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31282 * NEWS: Mention BZ #14716.
31283 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31284 when removing AVAILABLE1_USES_J macro.
31286 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31288 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31289 (__bswap_64): __uint64_t for unsigned 64-bit int.
31291 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31293 * include/string.h (memmem): Declare libc hidden alias.
31294 * string/memmem.c (memmem): Define libc hidden alias.
31295 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31296 __read, __close instead of open, read, close.
31298 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31301 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31303 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31304 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31305 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31307 (__rawmemchr_sse2): Likewise.
31308 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31309 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31310 (__strchr_sse2): Likewise.
31311 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31312 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31313 (__strcasecmp_sse2): Likewise.
31314 (__strncasecmp_sse2): Likewise.
31315 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31316 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31317 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31318 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31319 (__strrchr_sse2): Likewise.
31320 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31322 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31323 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31324 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31325 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31326 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31327 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31328 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31329 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31330 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31331 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31332 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31333 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31334 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31335 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31336 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31337 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31338 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31339 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31340 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31341 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31342 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31343 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31344 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31345 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31346 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31347 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31348 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31349 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31350 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31351 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31353 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31355 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31356 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31357 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31358 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31360 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31362 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31363 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31364 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31365 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31367 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31368 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31369 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31370 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31371 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31372 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31373 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31374 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31375 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31376 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31377 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31378 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31379 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31380 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31381 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31382 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31383 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31384 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31385 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31386 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31387 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31388 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31389 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31390 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31391 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31392 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31393 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31394 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31395 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31396 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31397 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31398 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31399 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31400 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31401 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31402 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31403 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31404 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31405 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31406 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31407 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31409 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31410 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31411 * include/ifunc-impl-list.h: New file.
31412 * misc/ifunc-impl-list.c: Likewise.
31413 * misc/Makefile (routines): Add ifunc-impl-list.
31414 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31415 * string/test-string.h: Include <ifunc-impl-list.h>.
31416 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31417 TEST_NAME]: New variables.
31418 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31420 (test_init): Call __libc_ifunc_impl_list to initialize
31421 func_list if TEST_IFUNC and TEST_NAME are defined.
31423 * string/Makefile (strop-tests): Add bcopy and bzero.
31424 * string/test-bcopy.c: New file.
31425 * string/test-bzero.c: Likewise.
31426 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31428 * string/test-memset.c: Support bzero test if TEST_BZERO is
31430 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31432 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31434 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31437 2012-10-10 Joseph Myers <joseph@codesourcery.com>
31439 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31440 * configure: Regenerated.
31442 * Makeconfig (+link-static-before-libc): Don't include
31443 $(link-static-libc).
31445 * libio/libio.h (_IO_pos_t): Remove.
31447 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31449 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31452 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31454 * crypt/crypt-entry.c: Include fips-private.h.
31455 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31456 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31457 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31458 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31460 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31462 * crypt/crypt-private.h: Include stdbool.h.
31463 (_ufc_setup_salt_r): Return bool.
31464 * crypt/crypt-entry.c: Include errno.h.
31465 (__crypt_r): Return NULL with EINVAL for bad salt.
31466 * crypt/crypt_util.c (bad_for_salt): New.
31467 (_ufc_setup_salt_r): Check that salt is long enough and within
31468 the specified alphabet.
31469 * crypt/badsalttest.c: New file.
31470 * crypt/Makefile (tests): Add it.
31471 ($(objpfx)badsalttest): New.
31473 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31475 * NEWS: Add entry for BZ #14602.
31477 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31479 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31481 * math/libm-test.inc: Update comment listing what functions and
31483 (isgreater_test): New function.
31484 (isgreaterequal_test): Likewise.
31485 (isless_test): Likewise.
31486 (islessequal_test): Likewise.
31487 (islessgreater_test): Likewise.
31488 (isunordered_test): Likewise.
31489 (main): Call the new functions.
31491 2012-10-09 Roland McGrath <roland@hack.frob.com>
31493 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31494 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31495 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31496 * sysdeps/i386/configure: Regenerated.
31497 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31498 * sysdeps/mach/configure: Regenerated.
31499 * sysdeps/mach/hurd/configure: Regenerated.
31500 * sysdeps/powerpc/configure: Regenerated.
31501 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31502 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31503 * sysdeps/s390/s390-32/configure: Regenerated.
31504 * sysdeps/s390/s390-64/configure: Regenerated.
31505 * sysdeps/sh/configure: Regenerated.
31506 * sysdeps/sparc/configure: Regenerated.
31507 * sysdeps/unix/sysv/linux/configure: Regenerated.
31508 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31509 * sysdeps/x86_64/configure: Regenerated.
31511 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31512 defined. Don't check if MAP is NULL.
31514 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31516 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31517 (_G_stat64): Likewise.
31518 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31519 (_G_stat64): Likewise.
31520 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31521 instead of struct _G_stat64.
31522 * libio/fileops.c (mmap_remap_check): Likewise.
31523 (decide_maybe_mmap): Likewise.
31524 (_IO_new_file_seekoff): Likewise.
31525 (_IO_file_stat): Likewise.
31526 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31528 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31529 instead of struct _G_stat64.
31530 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31532 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31535 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31537 (CHECK_EOL): New macro.
31538 (two_way_short_needle): Check beginning of haystack for EOL. Use
31540 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31541 Replace with CHECK_EOL.
31542 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31543 Replace with CHECK_EOL.
31545 2012-10-08 Joseph Myers <joseph@codesourcery.com>
31547 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31549 * math/libm-test.inc: Update comment listing what functions and
31551 (finite_test): New function.
31552 (isinf_test): Likewise.
31553 (isnan_test): Likewise.
31554 (fpclassify_test): Test subnormal input.
31555 (isfinite_test): Likewise.
31556 (isnormal_test): Likewise.
31557 (main): Call the new functions.
31559 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31562 * Makerules (%.dynsym): Force C locale when running
31563 $(OBJDUMP) --dynamic-syms.
31565 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31567 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31570 2012-10-06 David S. Miller <davem@davemloft.net>
31572 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31573 upper 32-bits of the length value in %o2 since we use branch-on-register
31574 tests which consider the entire 64-bit register.
31576 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31578 * string/test-strstr.c (check2): Add a test for page boundary.
31580 2012-10-05 David S. Miller <davem@davemloft.net>
31582 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31583 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31585 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31587 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31588 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31589 and bzero when HWCAP_SPARC_CRYPTO is present.
31591 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31594 * string/test-strstr.c (check2): New function.
31595 (test_main): Call check2.
31597 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31599 * string/bug-strcasestr1.c (do_test): Moved to ...
31600 * string/test-strcasestr.c (check1): Here. New function.
31601 (do_one_test): Break out result checking code into ...
31602 (check_result): This. New function.
31603 (do_one_test): Call check_result.
31604 (test_main): Call check1.
31605 * string/bug-strchr1.c (do_test): Moved to ...
31606 * string/test-strchr.c (check1): Here. New function.
31607 (do_one_test): Break out result checking code into ...
31608 (check_result): This. New function.
31609 (do_one_test): Call check_result.
31610 (test_main): Call check1.
31611 * string/bug-strstr1.c (main): Moved to ...
31612 * string/test-strstr.c (check1): Here. New function.
31613 (do_one_test): Break out result checking code into ...
31614 (check_result): This. New function.
31615 (do_one_test): Call check_result.
31616 (test_main): Call check1.
31617 * string/bug-strcasestr1.c: Removed.
31618 * string/bug-strchr1.c: Likewise.
31619 * string/bug-strstr1.c: Likewise.
31621 * elf/Makefile (dl-routines): Add hwcaps.
31622 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31623 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31624 (_dl_important_hwcaps): Moved to ...
31625 * elf/dl-hwcaps.c: Here. New file.
31626 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31629 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31630 if IS_IN_rtld isn't defined.
31632 * elf/dl-support.c (_dl_sysinfo_map): New.
31633 Include "get-dynamic-info.h" and "setup-vdso.h".
31634 (_dl_non_dynamic_init): Call setup_vdso.
31635 * elf/dynamic-link.h: Don't include <assert.h>.
31636 (elf_get_dynamic_info): Moved to ...
31637 * elf/get-dynamic-info.h: Here. New file.
31638 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31639 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31640 * elf/setup-vdso.h: Here. New file.
31641 * elf/rtld.c: Include "setup-vdso.h".
31642 (dl_main): Call setup_vdso.
31644 2012-10-05 Joseph Myers <joseph@codesourcery.com>
31646 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31647 creal in comment listing functions tested. List finite, isinf,
31648 isnan, isless, islessequal, isgreater, isgreaterequal,
31649 islessgreater, isunordered, lgamma_r and pow10 as functions and
31650 macros not tested. Mention which functions not tested are aliases
31651 for other functions. Fix typo. Note that signs of NaNs are not
31654 * scripts/config.guess: Update from config.git.
31655 * scripts/config.sub: Likewise.
31657 2012-10-04 Roland McGrath <roland@hack.frob.com>
31659 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31660 * misc/madvise.c (madvise): Renamed to __madvise.
31661 Make madvise a weak alias.
31662 * include/sys/mman.h: Declare __madvise.
31663 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31664 * sysdeps/unix/syscalls.list
31665 (madvise): Make __madvise the strong name, and madvise a weak alias.
31666 * sysdeps/unix/sysv/linux/syscalls.list
31667 (madvise, mmap): Remove redundant entries.
31668 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31669 * malloc/malloc.c (mtrim): Likewise.
31670 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31672 2012-10-03 Roland McGrath <roland@hack.frob.com>
31674 * sysdeps/mach/hurd/dl-cache.c: File removed.
31675 * config.h.in (USE_LDCONFIG): New #undef.
31676 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31677 * configure: Regenerated.
31678 * elf/Makefile (dl-routines): Add dl-cache only under
31679 [$(use-ldconfig) = yes].
31680 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31681 cache on [USE_LDCONFIG].
31682 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31684 * elf/rtld.c (dl_main): Likewise.
31686 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31688 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31689 _SC_LEVEL4_CACHE_LINESIZE.
31691 2012-10-03 Roland McGrath <roland@hack.frob.com>
31693 * sysdeps/unix/bsd/confstr.h: File removed.
31695 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
31697 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31700 2012-10-02 Roland McGrath <roland@hack.frob.com>
31702 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31703 Make 'mapoff' field ElfW(Off) rather than off_t.
31705 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31707 * nscd/Makefile: Remove nscd-cflags and all its users.
31708 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31709 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31712 * malloc.c (malloc_printerr): Clarify error message.
31714 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
31717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31718 Set bit_FMA_Usable if FMA is supported.
31719 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31721 (bit_FMA4_Usable): Updated.
31722 (index_FMA_Usable): New macro.
31723 (CPUID_FMA): Likewise
31724 (HAS_FMA): Defined with bit_FMA_Usable.
31726 2012-10-01 Roland McGrath <roland@hack.frob.com>
31728 * bits/types.h (__swblk_t): Type removed.
31729 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31730 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31732 (__SWBLK_T_TYPE): Likewise.
31733 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31734 (__SWBLK_T_TYPE): Likewise.
31735 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31736 (__SWBLK_T_TYPE): Likewise.
31737 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31738 (__SWBLK_T_TYPE): Likewise.
31740 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
31741 Honza Horak <hhorak@redhat.com>
31743 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31744 (xdr_mapname): Use YPMAXMAP as maxsize.
31745 (xdr_peername): Use YPMAXPEER as maxsize.
31746 (xdr_keydat): Use YPAXRECORD as maxsize.
31747 (xdr_valdat): Use YPMAXRECORD as maxsize.
31749 2012-10-01 Roland McGrath <roland@hack.frob.com>
31751 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31753 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31754 * csu/init-first.c: ... here.
31755 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31756 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31757 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31758 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31759 * sysdeps/i386/init-first.c: File removed.
31760 * sysdeps/sh/init-first.c: File removed.
31762 2012-10-01 Joseph Myers <joseph@codesourcery.com>
31765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31766 if x * y might underflow to zero and z is zero.
31767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31768 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31769 * math/libm-test.inc (min_subnorm_value): New variable.
31770 (fma_test): Add more tests.
31771 (fma_test_towardzero): Likewise.
31772 (fma_test_downward): Likewise
31773 (fma_test_upward): Likewise.
31774 (initialize): Set min_subnorm_value.
31776 2012-09-29 Joseph Myers <joseph@codesourcery.com>
31779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31781 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31782 mode for addition resulting in exact zero.
31783 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31786 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31787 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31788 * math/libm-test.inc (fma_test): Add more tests.
31789 (fma_test_towardzero): New function.
31790 (fma_test_downward): Likewise.
31791 (fma_test_upward): Likewise.
31792 (main): Call the new functions.
31794 2012-09-28 David S. Miller <davem@davemloft.net>
31796 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31798 2012-09-28 Roland McGrath <roland@hack.frob.com>
31800 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31801 instead of SIGALRM.
31803 * sysdeps/gnu/_G_config.h: Moved to ...
31804 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31805 * sysdeps/mach/hurd/_G_config.h: Moved to ...
31806 * sysdeps/generic/_G_config.h: ... here.
31808 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
31810 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31812 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31813 Conditionalize target on [libnss_test1.so-version].
31815 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31817 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31818 (elfobjdir): Move out of conditionals.
31820 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31821 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31822 (__nss_lookup_function): Conditionalize label remove_from_tree on
31823 [!DO_STATIC_NSS || SHARED], matching its only use.
31825 2012-09-28 David S. Miller <davem@davemloft.net>
31827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31828 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31830 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31832 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31833 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31834 when HWCAP_SPARC_CRYPTO is present.
31836 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31838 * io/tst-mknodat.c: Create a FIFO instead of a socket.
31840 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
31843 * stdio-common/vfprintf.c (process_string_arg): Revert
31846 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
31848 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31850 * stdio-common/tst-sprintf.c: Include <locale.h>
31851 (main): Test sprintf's handling of incomplete multibyte
31854 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
31856 * elf/dl-runtime.c (VERSYMIDX): Removed.
31857 * elf/dl-version.c (VERSYMIDX): Likewise.
31858 * elf/do-rel.h (VERSYMIDX): Likewise.
31859 (VALIDX): Likewise.
31860 * elf/dynamic-link.h (VERSYMIDX): Likewise.
31861 * elf/rtld.c (VALIDX): Likewise.
31862 (ADDRIDX): Likewise.
31863 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31864 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31865 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31866 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31867 (VALIDX): Likewise.
31868 (ADDRIDX): Likewise.
31870 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31872 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31874 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
31877 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31879 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31880 addresses are in the same scope as 192.0.2/24.
31881 * posix/gai.conf: Document new scope table defaults.
31883 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31886 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31887 for ftell. Compute offsets from write pointers instead.
31888 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31890 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31893 * libio/Makefile (tests): New test case tst-fseek.
31894 * libio/tst-fseek.c: New test case to verify that fseek/ftell
31895 combination works in wide mode.
31896 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31897 state when the external buffer state changes.
31899 2012-09-27 David S. Miller <davem@davemloft.net>
31902 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31903 pass reloc->r_addend in as the 'high' argument to
31904 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31908 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
31910 * rt/tst-aio2.c: Include <pthread.h>.
31911 * rt/tst-aio3.c: Likewise.
31913 2012-09-27 Steve Ellcey <sellcey@mips.com>
31915 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31917 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
31919 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31920 contents on [SHARED].
31922 2012-09-26 Marek Polacek <polacek@redhat.com>
31926 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31927 for C++ and GCC <4.3 as well as for non GCC compilers.
31929 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31933 2012-09-25 Roland McGrath <roland@hack.frob.com>
31935 * Makefile.in (all, install): Declare with .PHONY.
31936 Reported by Michael Hope <michael.hope@linaro.org>.
31938 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31940 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31941 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31943 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31945 (sydep_routines): Add the new and the internal functions.
31946 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31947 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31949 (GLIBC_2.17): Add the new function.
31950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31951 (GLIBC_2.17): Likewise.
31952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31953 (GLIBC_2.17): Likewise.
31954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31955 (GLIBC_2.17): Likewise.
31956 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31958 2012-09-25 Alan Modra <amodra@gmail.com>
31960 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31961 Add release barrier before setting once_control to say
31962 initialisation is done. Add hints on lwarx. Use macro in
31964 (clear_once_control): Add release barrier.
31966 2012-09-25 Joseph Myers <joseph@codesourcery.com>
31969 * math/s_clog.c (__clog): Handle more values close to |z| = 1
31971 * math/s_clog10.c (__clog10): Likewise.
31972 * math/s_clog10f.c (__clog10f): Likewise.
31973 * math/s_clog10l.c (__clog10l): Likewise.
31974 * math/s_clogf.c (__clogf): Likewise.
31975 * math/s_clogl.c (__clogl): Likewise.
31976 * math/Makefile (libm-calls): Add x2y2m1.
31977 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31978 (__x2y2m1): Likewise.
31979 (__x2y2m1l): Likewise.
31980 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31981 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31982 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31983 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31984 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31985 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31986 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31987 * sysdeps/i386/fpu/libm-test-ulps: Update.
31988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31991 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31992 int as type of variable DEPTH.
31993 (glob): Use size_t instead of int as type of variables NEWCOUNT
31996 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31998 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31999 Add s_sincosf-sse2.
32000 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32001 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32002 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32003 macros for using routine as __sincosf_ia32.
32004 Use macro for function declaration and weak_alias.
32005 * sysdeps/i386/fpu/libm-test-ulps: Update.
32007 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32010 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32011 subnormal argument.
32012 * math/s_cexpf.c (__cexpf): Likewise.
32013 * math/s_csinf.c (__csinf): Likewise.
32014 * math/s_csinhf.c (__csinhf): Likewise.
32015 * math/s_ctanf.c (__ctanf): Likewise.
32016 * math/s_ctanhf.c (__ctanhf): Likewise.
32017 * math/s_ccosh.c (__ccoshf): Likewise.
32018 * math/s_cexp.c (__cexpl): Likewise.
32019 * math/s_csin.c (__csin): Likewise.
32020 * math/s_csinh.c (__csinh): Likewise.
32021 * math/s_ctan.c (__ctan): Likewise.
32022 * math/s_ctanh.c (ctanh): Likewise.
32023 * math/s_ccoshl.c (__ccoshl): Likewise.
32024 * math/s_cexpl.c (__cexpl): Likewise.
32025 * math/s_csinl.c (__csinl): Likewise.
32026 * math/s_csinhl.c (__csinhl): Likewise.
32027 * math/s_ctanl.c (__ctanl): Likewise.
32028 * math/s_ctanhl.c (__ctanhl): Likewise.
32030 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32032 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32033 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32034 (_IO_off_t): Define to __off_t, not _G_off_t.
32035 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32036 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32037 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32038 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32039 type of __dummy and __dummy2 fields.
32040 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32041 (_G_ssize_t): Likewise.
32042 (_G_off_t): Likewise.
32043 (_G_pid_t): Likewise.
32044 (_G_uid_t): Likewise.
32045 (_G_wchar_t): Likewise.
32046 (_G_wint_t): Likewise.
32047 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32048 (_G_ssize_t): Likewise.
32049 (_G_off_t): Likewise.
32050 (_G_pid_t): Likewise.
32051 (_G_uid_t): Likewise.
32052 (_G_wchar_t): Likewise.
32053 (_G_wint_t): Likewise.
32054 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32055 (_G_ssize_t): Likewise.
32056 (_G_off_t): Likewise.
32057 (_G_pid_t): Likewise.
32058 (_G_uid_t): Likewise.
32059 (_G_wchar_t): Likewise.
32060 (_G_wint_t): Likewise.
32062 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32064 * malloc/arena.c: Include malloc-sysdep.h.
32065 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32066 is sufficient to shrink the heap or an unmap is needed.
32067 * sysdeps/generic/malloc-sysdep.h: New file. Define
32068 new function check_may_shrink_heap.
32069 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32070 new function check_may_shrink_heap.
32072 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32074 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32077 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32079 * catgets/test-gencat.sh: Add "set -e".
32080 * elf/tst-pathopt.sh: Likewise.
32081 * grp/tst_fgetgrent.sh: Likewise.
32082 * iconvdata/run-iconv-test.sh: Likewise.
32083 * intl/tst-gettext.sh: Likewise.
32084 * intl/tst-gettext2.sh: Likewise.
32085 * intl/tst-gettext4.sh: Likewise.
32086 * intl/tst-gettext6.sh: Likewise.
32087 * intl/tst-translit.sh: Likewise.
32088 * io/ftwtest-sh: Likewise.
32089 * libio/test-freopen.sh: Likewise.
32090 * malloc/tst-mtrace.sh: Likewise.
32091 * posix/globtest.sh: Likewise.
32092 * posix/tst-getconf.sh: Likewise.
32093 * posix/wordexp-tst.sh: Likewise.
32094 * stdio-common/tst-printf.sh: Likewise.
32095 * stdio-common/tst-unbputc.sh: Likewise.
32096 * stdlib/tst-fmtmsg.sh: Likewise.
32097 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32098 * catgets/Makefile: Do not specify -e option when running
32099 testsuite shell scripts.
32100 * elf/Makefile: Likewise.
32101 * grp/Makefile: Likewise.
32102 * iconvdata/Makefile: Likewise.
32103 * intl/Makefile: Likewise.
32104 * io/Makefile: Likewise.
32105 * libio/Makefile: Likewise.
32106 * malloc/Makefile: Likewise.
32107 * posix/Makefile: Likewise.
32108 * stdio-common/Makefile: Likewise.
32109 * stdlib/Makefile: Likewise.
32110 * sysdeps/x86_64/Makefile: Likewise.
32112 * io/ftwtest-sh: Add copyright header.
32113 * posix/globtest.sh: Likewise.
32114 * posix/tst-getconf.sh: Likewise.
32115 * posix/wordexp-tst.sh: Likewise.
32116 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32118 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32121 * Makeconfig (+link): Defined as $(+link-static) if
32122 $(build-shared) isn't yes.
32123 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32125 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32127 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32130 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32131 new chunk size with MALLOC_ALIGN_MASK.
32133 2012-09-24 Joseph Myers <joseph@codesourcery.com>
32136 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32138 (__printf_fphex): Determine rounding using get_rounding_mode and
32140 * stdio-common/tst-printf-round.c (struct hex_test): New
32142 (hex_tests): New variable.
32143 (test_hex_in_one_mode): New function.
32144 (do_test): Also run tests for hex float output.
32146 2012-09-21 Joseph Myers <joseph@codesourcery.com>
32148 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32149 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32150 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32151 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32152 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32153 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32154 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32155 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32157 2012-09-20 Joseph Myers <joseph@codesourcery.com>
32159 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32160 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32161 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32162 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32164 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32167 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32169 * elf/tst-rtld-load-self.sh: New test.
32170 * elf/Makefile: Run it.
32172 2012-09-18 Joseph Myers <joseph@codesourcery.com>
32174 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32175 (tst-writev-ENV): Remove.
32176 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32178 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32180 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32182 2012-09-17 Joseph Myers <joseph@codesourcery.com>
32184 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32186 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32188 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32189 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32190 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32193 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32196 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32197 * config.make.in (have-cpp-asm-debuginfo): Removed.
32198 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32199 * configure: Regenerated.
32201 2012-09-14 Joseph Myers <joseph@codesourcery.com>
32204 * stdio-common/printf_fp.c: Include <stdbool.h> and
32206 (___printf_fp): Determine rounding using get_rounding_mode and
32208 * stdio-common/tst-printf-round.c: New file.
32209 * stdio-common/Makefile (tests): Add tst-printf-round.
32210 (link-libm): New variable.
32211 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32213 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32216 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32217 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32219 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32222 2012-09-13 Joseph Myers <joseph@codesourcery.com>
32224 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32225 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32226 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32227 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32229 2012-09-12 Joseph Myers <joseph@codesourcery.com>
32232 * include/rounding-mode.h: New file.
32233 * sysdeps/generic/get-rounding-mode.h: Likewise.
32234 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32235 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32236 (MAX_VALUE): New macro.
32237 (MIN_VALUE): Likewise.
32238 (overflow_value): New function.
32239 (underflow_value): Likewise.
32240 (round_and_return): Use overflow_value and underflow_value to
32241 determine return values in overflow and underflow cases. Use
32242 round_away to determine rounding depending on rounding mode.
32243 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32244 determine return values in overflow and underflow cases.
32245 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32246 (struct test_results): New structure.
32247 (struct test): Use struct test_results to store expected results
32248 for all rounding modes.
32249 (TEST): Include expected results for all rounding modes.
32250 (test_in_one_mode): New function.
32251 (do_test): Use test_in_one_mode to compute and check results.
32252 Check results for all rounding modes.
32253 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32256 2012-12-09 Allan McRae <allan@archlinux.org>
32258 * sysdeps/i386/fpu/libm-test-ulps: Update
32260 2012-09-11 Joseph Myers <joseph@codesourcery.com>
32262 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32263 (_G_int32_t): Likewise.
32264 (_G_uint16_t): Likewise.
32265 (_G_uint32_t): Likewise.
32266 (_G_HAVE_BOOL): Likewise.
32267 (_G_HAVE_ATEXIT): Likewise.
32268 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32269 (_G_HAVE_IO_FILE_OPEN): Likewise.
32270 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32271 (_G_int32_t): Likewise.
32272 (_G_uint16_t): Likewise.
32273 (_G_uint32_t): Likewise.
32274 (_G_HAVE_BOOL): Likewise.
32275 (_G_HAVE_ATEXIT): Likewise.
32276 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32277 (_G_HAVE_IO_FILE_OPEN): Likewise.
32278 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32279 (_G_int32_t): Likewise.
32280 (_G_uint16_t): Likewise.
32281 (_G_uint32_t): Likewise.
32282 (_G_HAVE_BOOL): Likewise.
32283 (_G_HAVE_ATEXIT): Likewise.
32284 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32285 (_G_HAVE_IO_FILE_OPEN): Likewise.
32287 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32289 * csu/libc-tls.c: Update copyright years.
32291 2012-09-10 Joseph Myers <joseph@codesourcery.com>
32293 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32294 [!_G_USING_THUNKS]: Remove conditional code.
32295 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32296 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32298 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32299 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32300 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32301 (_G_VTABLE_LABEL_PREFIX): Likewise.
32302 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32303 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32304 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32305 (_G_VTABLE_LABEL_PREFIX): Likewise.
32306 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32307 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32308 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32309 (_G_VTABLE_LABEL_PREFIX): Likewise.
32310 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32312 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32314 * libio/Makefile: Include ../Makeconfig before tests.
32315 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32316 only if $(build-shared) is yes.
32318 * iconv/gconv_db.c: Update copyright years.
32320 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32322 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32323 unwind info if defined PIC. Fix special cases description.
32324 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32326 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32328 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32330 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32332 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32334 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32337 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32338 (LDLIBS-tst-chk4): This.
32339 (LDFLAGS-tst-chk5): Renamed to ...
32340 (LDLIBS-tst-chk5): This.
32341 (LDFLAGS-tst-chk6): Renamed to ...
32342 (LDLIBS-tst-chk6): This.
32343 (LDFLAGS-tst-lfschk4): Renamed to ...
32344 (LDLIBS-tst-lfschk4): This.
32345 (LDFLAGS-tst-lfschk5): Renamed to ...
32346 (LDLIBS-tst-lfschk5): This.
32347 (LDFLAGS-tst-lfschk6): Renamed to ...
32348 (LDLIBS-tst-lfschk6): This.
32350 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32351 on $(common-objpfx)soversions.mk.
32353 2012-09-07 Joseph Myers <joseph@codesourcery.com>
32356 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32359 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32361 * malloc/arena.c (arena_get_retry): New function that gets
32362 another arena for the caller to try its request on.
32363 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32364 current arena cannot fulfill the request.
32365 (__libc_memalign): Likewise.
32366 (__libc_memalign): Likewise.
32367 (__libc_pvalloc): Likewise.
32368 (__libc_calloc): Likewise.
32370 2012-09-05 John Tobey <john.tobey@gmail.com>
32373 * manual/arith.texi (Operations on Complex): Fix description
32374 of carg branch cut.
32376 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32379 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32383 * manual/memory.texi (Memory): Make order of menu items match
32386 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32388 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32389 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32390 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32392 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32394 * csu/libc-tls.c (static_dtv): Renamed to ...
32395 (_dl_static_dtv): This. Make it global.
32396 (_dl_initial_dtv): Removed.
32397 (__libc_setup_tls): Updated.
32398 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32399 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32402 2012-09-06 Petr Machata <pmachata@redhat.com>
32404 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32405 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32406 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32407 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32409 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32412 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32413 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32416 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32419 * Makeconfig (link-static-before-libc): Replace $(+prector)
32421 (link-static-after-libc): Replace $(+postctor) with
32423 (link-bounded): Replace $(+prector)/$(+postctor) with
32424 $(+prectorT)/$(+postctorT).
32425 (+prectorT): New macro.
32426 (+postctorT): Likewise.
32428 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32430 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32431 (round_str): Handle values above the maximum for IBM long double
32433 * stdlib/tst-strtod-round.c (tests): Regenerated.
32435 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32437 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32439 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32440 zarch_nohighgprs around the zarch optimized routines.
32441 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32442 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32443 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32446 2012-09-05 David S. Miller <davem@davemloft.net>
32448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32450 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32451 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32452 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32453 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32456 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32458 * malloc/arena.c: Fold copyright years.
32459 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32461 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32463 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32465 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32467 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32469 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32471 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32472 change internal state upon failure.
32474 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32476 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32477 * malloc/memusage.c (mmap): Likewise.
32478 (mmap64, mremap): Likewise. Adjust name in comment.
32480 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32482 * libio/fileops.c: Fix typos in comments.
32483 * libio/oldfileops.c: Likewise.
32484 * libio/wfileops.c: Likewise.
32486 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32489 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32490 (tst-malloc-usable-ENV): Set environment for test case.
32491 * malloc/hooks.c (malloc_check_get_size): New function to get
32493 * malloc/malloc.c (musable): Use malloc_check_get_size.
32494 * malloc/tst-malloc-usable.c: New test case.
32496 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32498 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32500 2012-09-05 Allan McRae <allan@archlinux.org>
32503 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32504 determine header location.
32505 * configure: Regenerated.
32507 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32509 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32511 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32512 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32514 (test): Regenerate.
32516 2012-09-04 David S. Miller <davem@davemloft.net>
32518 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32519 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32520 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32522 2012-09-04 Florian Weimer <fweimer@redhat.com>
32524 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32527 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32529 2012-09-04 Joseph Myers <joseph@codesourcery.com>
32532 * libio/iogetdelim.c: Include <limits.h>.
32533 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32534 + len + 1 would overflow.
32536 2012-09-03 Andreas Jaeger <aj@suse.de>
32538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32539 * sysdeps/i386/fpu/libm-test-ulps: Update.
32541 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32543 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32544 Add s_sinf-sse2, s_conf-sse2.
32546 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32547 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32548 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32549 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32551 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32552 for using routine as __sinf_ia32.
32553 Use macro for function declaration and weak_alias.
32554 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32555 for using routine as __cosf_ia32.
32556 Use macro for function declaration and weak_alias.
32558 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32559 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32561 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32562 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32565 * math/libm-test.inc (cos_test): Add more test cases.
32566 (sin_test): Likewise.
32567 (sincos_test): Likewise.
32569 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32571 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32572 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32574 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32576 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32579 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32580 first element of the GOT.
32581 (elf_machine_load_address): Return the difference between
32582 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32584 2012-09-01 Allan McRae <allan@archlinux.org>
32587 * configure.in (AWK): Require gawk version 3.0 or later.
32588 * configure: Regenerated.
32590 2012-09-01 Joseph Myers <joseph@codesourcery.com>
32592 * sysdeps/unix/sysv/linux/kernel-features.h
32593 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32594 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32595 [__NR_clock_getres]: Make code unconditional.
32596 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32597 (clock_getcpuclockid): Remove code left unreachable by removal of
32599 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32600 code unconditional.
32601 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32602 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32603 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32604 Make code unconditional.
32605 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32606 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32607 * sysdeps/unix/sysv/linux/clock_settime.c
32608 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32610 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32611 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32613 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32616 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32617 scripts/test-installation.pl.
32619 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32620 and $ld_so_version if it is set.
32622 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32625 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32626 failure if reading from procfs failed.
32627 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32629 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32631 * sysdeps/unix/sysv/linux/kernel-features.h
32632 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32633 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32634 Remove conditional code.
32635 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32636 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32637 Remove conditional code.
32638 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32639 * sysdeps/unix/sysv/linux/i386/fxstat.c
32640 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32641 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32642 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32643 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32644 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32645 * sysdeps/unix/sysv/linux/i386/lxstat.c
32646 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32647 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32648 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32649 Remove conditional code.
32650 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32651 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32652 Remove conditional code.
32653 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32654 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32655 <kernel-features.h>.
32656 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32658 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32659 Remove conditional code.
32660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32661 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32662 Remove conditional.
32664 2012-08-27 Mike Frysinger <vapier@gentoo.org>
32667 * NEWS: Add fixed bug number.
32669 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32672 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32673 underflowing exponent in case of negative sign.
32674 * stdlib/tst-strtod-round-data: Add more tests.
32675 * stdlib/tst-strtod-round.c (tests): Regenerated.
32678 * stdlib/strtod_l.c (NDIG): Remove.
32679 (HEXNDIG): Likewise.
32680 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32681 smallest representable value.
32682 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32683 lie within an exact representation of 1/2 ulp of the result.
32684 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32686 (TENS_P9_IDX): Define unconditionally.
32687 (TENS_P9_SIZE): Likewise.
32688 (TENS_P10_IDX): Likewise.
32689 (TENS_P10_SIZE): Likewise.
32690 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32691 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32692 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32693 entries for 10^2^13 and 10^2^14.
32694 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32695 (TENS_P13_IDX): Define.
32696 (TENS_P13_SIZE): Likewise.
32697 (TENS_P14_IDX): Likewise.
32698 (TENS_P14_SIZE): Likewise.
32699 (_fpioconst_pow10): Change array size to
32700 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32702 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32703 1024]: Add entries for 10^2^13 and 10^2^14.
32704 [LAST_POW10 > _LAST_POW10]: Remove #error.
32705 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32706 (_fpioconst_pow10): Change array size to
32707 FPIOCONST_POW10_ARRAY_SIZE.
32708 * stdlib/gen-fpioconst.c: New file.
32709 * stdlib/gen-tst-strtod-round.c: Likewise.
32710 * stdlib/tst-strtod-round-data: Likewise.
32711 * stdlib/tst-strtod-round.c: Likewise.
32712 * stdlib/Makefile (tests): Add tst-strtod-round.
32715 * stdlib/strtod_l.c: Include <stdint.h>.
32716 (NDEBUG): Do not define.
32717 (round_and_return): Change EXPONENT parameter to type intmax_t.
32718 Rearrange calculations to avoid internal overflow possibilities.
32719 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32720 Rearrange calculations to avoid internal overflow possibilities.
32721 Assert that number fits inside MPNSIZE limbs.
32722 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32723 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
32724 calculations and add assertions to avoid internal overflow
32725 possibilities. Add casts to avoid signed/unsigned operations.
32726 * stdlib/tst-strtod-overflow.c: New file.
32727 * stdlib/Makefile (tests): Add tst-strtod-overflow.
32729 2012-08-25 Marek Polacek <polacek@redhat.com>
32731 * time/time.h: Fix some typos in comments.
32733 2012-08-23 Roland McGrath <roland@hack.frob.com>
32735 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32736 * posix/tst-rfc3484-2.c: Likewise.
32737 * posix/tst-rfc3484-3.c: Likewise.
32739 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
32741 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32742 (EF_ARM_ABI_FLOAT_HARD): Likewise.
32744 2012-08-23 Joseph Myers <joseph@codesourcery.com>
32746 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32747 #include of fxstatat64.c.
32749 2012-08-22 Roland McGrath <roland@hack.frob.com>
32751 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32752 * shadow/getspent_r.c: Likewise.
32753 * shadow/getspnam.c: Likewise.
32754 * shadow/getspnam_r.c: Likewise.
32755 * gshadow/getsgent.c: Likewise.
32756 * gshadow/getsgent_r.c: Likewise.
32757 * gshadow/getsgnam.c: Likewise.
32758 * gshadow/getsgnam_r.c: Likewise.
32759 * inet/getnetbyad.c: Likewise.
32760 * inet/getnetbyad_r.c: Likewise.
32761 * inet/getnetbynm.c: Likewise.
32762 * inet/getnetbynm_r.c: Likewise.
32763 * inet/getnetent.c: Likewise.
32764 * inet/getnetent_r.c: Likewise.
32765 * inet/getproto.c: Likewise.
32766 * inet/getproto_r.c: Likewise.
32767 * inet/getprtent.c: Likewise.
32768 * inet/getprtent_r.c: Likewise.
32769 * inet/getprtname.c: Likewise.
32770 * inet/getprtname_r.c: Likewise.
32771 * inet/getrpcbyname.c: Likewise.
32772 * inet/getrpcbyname_r.c: Likewise.
32773 * inet/getrpcbynumber.c: Likewise.
32774 * inet/getrpcbynumber_r.c: Likewise.
32775 * inet/getrpcent.c: Likewise.
32776 * inet/getrpcent_r.c: Likewise.
32777 * inet/getaliasent.c: Likewise.
32778 * inet/getaliasent_r.c: Likewise.
32779 * inet/getaliasname.c: Likewise.
32780 * inet/getaliasname_r.c: Likewise.
32781 * nscd/getgrgid_r.c: Likewise.
32782 * nscd/getgrnam_r.c: Likewise.
32783 * nscd/gethstbyad_r.c: Likewise.
32784 * nscd/gethstbynm3_r.c: Likewise.
32785 * nscd/getpwnam_r.c: Likewise.
32786 * nscd/getpwuid_r.c: Likewise.
32787 * nscd/getsrvbynm_r.c: Likewise.
32788 * nscd/getsrvbypt_r.c: Likewise.
32789 * nscd/gai.c: Likewise.
32791 * configure.in (build_nscd): New substituted variable, set
32792 by --disable-build-nscd and defaults to $use_nscd.
32793 * configure: Regenerated.
32794 * config.make.in (build-nscd): New substituted variable.
32795 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32796 Change conditional to require [$(build-nscd) = yes] as well.
32797 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32800 * configure.in (use_nscd): New substituted variable, set by
32801 --disable-nscd. If enabled, define USE_NSCD.
32802 * configure: Regenerated.
32803 * config.h.in: Add USE_NSCD.
32804 * config.make.in (use-nscd): New substituted variable.
32805 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32806 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32807 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32808 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32809 (CFLAGS-getgrnam_r.c): Likewise.
32810 (CFLAGS-initgroups.c): Likewise.
32811 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32812 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32814 * inet/getnetgrent_r.c
32815 (nscd_setnetgrent): New function, broken out of ...
32816 (setnetgrent): ... here. Call it.
32817 (innetgr): Conditionalize nscd bits on [USE_NSCD].
32818 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32819 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32820 * nscd/Makefile (routines, aux): Move definitions after include of
32821 Makeconfig. Conditionalize on [$(use-nscd) != no].
32822 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32823 Conditionalize on [USE_NSCD].
32824 (is_nscd, nscd_init_cb): Likewise.
32825 (nss_load_library): Conditionalize init callback on [USE_NSCD].
32826 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32827 * nss/nss_db/db-init.c: Likewise.
32828 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32830 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32831 (make_request): Use it.
32832 (cache_valid_p): New function.
32833 (__check_pf): Use it.
32834 * NEWS: Add item for --disable-nscd.
32836 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
32838 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32839 to support sed >= 4.2.1-20-ga9bf076.
32840 * configure: Regenerated.
32842 2012-08-22 Roland McGrath <roland@hack.frob.com>
32844 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32845 Conditionalize whole body on [IREL].
32847 2012-08-22 Jeff Law <law@redhat.com>
32850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32851 if the family is PF_UNSPEC.
32853 2012-08-22 Mike Frysinger <vapier@gentoo.org>
32855 * Makerules (lib-version): Rename from V.
32856 (install-lib-nosubdir): Change V to lib-version.
32858 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
32861 * powerpc32/power6/wcschr.c: New file.
32862 * powerpc32/power6/wcscpy.c: New file.
32863 * powerpc32/power6/wcsrchr.c: New file.
32864 * powerpc64/power6/wcschr.c: New file.
32865 * powerpc64/power6/wcscpy.c: New file.
32866 * powerpc64/power6/wcsrchr.c: New file.
32868 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32870 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32871 (two_way_short_needle): Use it.
32872 * string/strstr.c (AVAILABLE1_USES_J): Define.
32873 * string/strcasestr.c: Likewise.
32875 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32877 * string/strcasestr.c (TOLOWER): Make side-effect safe.
32880 * NEWS: Add an entry.
32881 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32882 define their defaults.
32883 (two_way_short_needle): Detect end-of-string on-the-fly.
32884 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32885 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32886 * string/bug-strcasestr1.c: New test.
32887 * string/Makefile: Run it.
32889 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
32892 * string/str-two-way.h (two_way_short_needle): Optimize matching of
32893 the first character.
32895 2012-08-21 Roland McGrath <roland@hack.frob.com>
32897 * csu/elf-init.c (__libc_csu_irel): Function removed.
32898 * csu/libc-start.c (apply_irel): New function.
32899 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32901 2012-08-21 Joseph Myers <joseph@codesourcery.com>
32903 * sysdeps/unix/sysv/linux/kernel-features.h
32904 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32905 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32906 <kernel-features.h>.
32907 [__NR_fadvise64_64]: Make code unconditional.
32908 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32909 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32910 !__NR_fadvise64_64)]: Likewise.
32911 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32912 !__NR_fadvise64_64))]: Likewise.
32913 [__NR_fadvise64]: Make code unconditional.
32914 [!__NR_fadvise64]: Remove conditional code.
32915 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32916 <kernel-features.h>.
32917 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32919 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32922 not include <kernel-features.h>.
32923 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32925 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32927 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32928 include <kernel-features.h>.
32929 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32931 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32934 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32936 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32937 slight instruction rearrangements per scrollpipe analysis.
32938 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32940 2012-08-20 Roland McGrath <roland@hack.frob.com>
32942 * manual/syslog.texi (syslog; vsyslog, closelog):
32943 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32944 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32946 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32947 DSOCAPS to match condition on defining it.
32949 2012-08-20 Joseph Myers <joseph@codesourcery.com>
32951 * sysdeps/unix/sysv/linux/kernel-features.h
32952 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32954 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32955 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32957 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32958 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32960 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32961 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32963 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32964 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32966 * sysdeps/unix/sysv/linux/kernel-features.h
32967 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32968 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32970 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32971 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32972 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32973 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32974 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32975 Make code unconditional.
32976 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32977 (__mmap64) [!__NR_mmap2]: Likewise.
32978 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32979 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32980 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32981 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32982 [__NR_mmap2]: Make code unconditional.
32983 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32984 (__mmap64) [!__NR_mmap2]: Likewise.
32986 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32988 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32990 2012-08-18 Andreas Jaeger <aj@suse.de>
32992 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32994 2012-08-18 Mike Frysinger <vapier@gentoo.org>
32996 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32997 * include/unistd.h (__have_sock_cloexec): Likewise.
32998 (__have_pipe2): Likewise.
32999 (__have_dup3): Likewise.
33001 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33004 * include/unistd.h (__have_pipe2): Change define into an extern int.
33005 (__have_dup3): Likewise.
33006 * socket/have_sock_cloexec.c: Include fcntl.h.
33007 (__have_pipe2): New variable.
33008 (__have_dup3): Likewise.
33010 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33012 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33014 2012-08-17 Marek Polacek <polacek@redhat.com>
33016 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33017 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33019 2012-08-17 Roland McGrath <roland@hack.frob.com>
33021 * configure.in: Add AC_SUBST for sysheaders.
33022 * configure: Regenerated.
33023 * config.make.in (sysheaders): New substituted variable.
33025 * sysdeps/unix/mkfifo.c: Moved ...
33026 * sysdeps/posix/mkfifo.c: ... here.
33027 * sysdeps/unix/mkfifoat.c: Moved ...
33028 * sysdeps/posix/mkfifoat.c: ... here.
33030 * sysdeps/unix/utime.c: Moved ...
33031 * sysdeps/posix/utime.c: ... here.
33033 * sysdeps/unix/time.c: Moved ...
33034 * sysdeps/posix/time.c: ... here.
33035 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33036 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33038 * sysdeps/unix/nice.c: Moved ...
33039 * sysdeps/posix/nice.c: ... here.
33041 * sysdeps/unix/alarm.c: Moved ...
33042 * sysdeps/posix/alarm.c: ... here.
33044 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33046 2012-08-17 Jeff Law <law@redhat.com>
33048 * intl/Makefile (codeset_mo): New variable.
33049 ($(codeset_mo)): New target.
33050 (tst-codeset.out): Depend on that. Remove explicit rule.
33051 (tst-gettext3.out, tst-gettext5.out): Likewise.
33052 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33053 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33054 * intl/tst-codeset.sh: Remove.
33055 * intl/tst-gettext3.sh: Likewise.
33056 * intl/tst-gettext5.sh: Likewise.
33058 2012-08-17 Roland McGrath <roland@hack.frob.com>
33060 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33061 * sysdeps/unix/syscalls.list: ... here.
33063 * sysdeps/posix/getaddrinfo.c
33064 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33065 (gaiconf_init, gaiconf_reload): Use them.
33066 [!_STATBUF_ST_NSEC]
33067 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33068 Define using time_t rather than struct timespec.
33070 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33071 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33073 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33075 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33076 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33079 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33080 __libc_cleanup_push argument.
33082 * bits/param.h: New file.
33083 * misc/sys/param.h: New file.
33084 * include/sys/param.h: New file.
33085 * misc/Makefile (headers): Add bits/param.h.
33086 * sysdeps/generic/sys/param.h: File removed.
33087 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33088 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33089 * sysdeps/mach/hurd/bits/param.h: New file.
33090 * sysdeps/mach/hurd/sys/param.h: File removed.
33092 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33095 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33097 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33098 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33101 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33102 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33103 rather than -D_IO_MTSAFE_IO conditionally.
33104 * stdio-common/Makefile (CPPFLAGS): Likewise.
33105 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33106 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33107 Use $(libio-mtsafe).
33108 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33109 of -D_IO_MTSAFE_IO.
33110 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33111 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33112 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33113 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33114 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33115 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33116 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33117 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33118 (CFLAGS-fread_u_chk.c): Likewise.
33119 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33120 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33121 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33122 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33123 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33124 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33125 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33126 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33127 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33129 * libio/Makefile: Test [$(libc-reentrant) = yes]
33130 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33133 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33134 * sysdeps/pthread/configure: File removed.
33135 * sysdeps/pthread/Makeconfig: New file.
33136 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33137 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33139 2012-08-16 Gary Benson <gbenson@redhat.com>
33141 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33142 unmapping the first object in a namespace.
33144 2012-08-16 Roland McGrath <roland@hack.frob.com>
33146 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33147 (__internal_setnetgrent): ... this. Add internal_function to
33148 definition. Add libc_hidden_def.
33149 (setnetgrent): Update caller.
33150 (internal_endnetgrent): Renamed to ...
33151 (__internal_endnetgrent): ... this. Add internal_function to
33152 definition. Add libc_hidden_def.
33153 (endnetgrent): Update caller.
33154 (internal_getnetgrent_r): Renamed to ...
33155 (__internal_getnetgrent_r): ... this. Add internal_function to
33156 definition. Add libc_hidden_def.
33157 (__getnetgrent_r): Update caller.
33158 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33160 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33162 * stdlib/longlong.h: Update from GCC.
33164 2012-08-16 Roland McGrath <roland@hack.frob.com>
33166 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33167 on _QL, which is set by umul_ppmm but never used.
33168 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33169 variables, which are set by GMP macros but never used.
33170 * stdio-common/_itowa.c (_itowa): Likewise.
33171 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33172 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33174 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33176 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33177 struct La_sh_regs is not constant.
33178 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33179 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33180 and struct La_sparc64_regs are not constant.
33182 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33184 * sysdeps/unix/sysv/linux/kernel-features.h
33185 (__ASSUME_POSIX_TIMERS): Remove.
33186 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33187 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33188 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33189 Make code unconditional.
33190 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33191 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33192 Make code unconditional.
33193 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33194 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33195 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33196 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33197 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33198 Make code unconditional.
33199 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33200 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33201 (__libc_missing_posix_timers): Remove.
33203 2012-08-15 Roland McGrath <roland@hack.frob.com>
33205 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33206 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33208 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33210 * elf/dl-sym.c: Include <stdlib.h>.
33212 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33213 constants, which avoids warnings in 32-bit builds.
33215 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33216 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33218 * misc/lseek.c: File moved to ...
33219 * io/lseek.c: ... here.
33221 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33223 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33224 shifting LEN more than 31 bits at once.
33226 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33229 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33230 segmentation fault for a case of two empty input strings.
33231 * string/test-strncasecmp.c (check1): Renamed to...
33232 (bz12205): ...this.
33233 (bz14195): Add new testcase for two empty input strings and N > 0.
33234 (test_main): Call new testcase, adapt for renamed function.
33236 2012-08-15 Andreas Jaeger <aj@suse.de>
33239 * crypt/md5test2.c: New test, based on test supplied by Serge
33240 Belyshev <belyshev@depni.sinp.msu.ru>.
33241 * crypt/Makefile (xtests): Add md5test-giant..
33242 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33244 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33247 * crypt/md5.c (md5_process_block): Don't assume the buffer
33248 length is less than 2**32.
33249 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33250 length is less than 2**64.
33252 2012-08-15 Roland McGrath <roland@hack.frob.com>
33254 * string/str-two-way.h: Include <sys/param.h>.
33255 (MAX): Macro removed.
33257 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33258 Move #define and #undef of memmove to just before and after
33259 including <string.h>.
33261 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33262 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33263 and after including <string.h>. Move declarations of
33264 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33265 to before #include "string/memmove.c".
33267 * include/dirent.h: Declare __getdirentries.
33269 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33270 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33272 2012-08-14 Mike Frysinger <vapier@gentoo.org>
33274 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33275 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33276 * sysdeps/i386/configure: Regenerated.
33277 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33278 STABS_CURRENT_FILE, and STABS_FUN.
33279 (END): Remove call to STABS_FUN_END.
33280 (STABS_CURRENT_FILE1): Delete.
33281 (STABS_CURRENT_FILE): Likewise.
33282 (STABS_FUN): Likewise.
33283 (STABS_FUN_END): Likewise.
33284 (STABS_FUN2): Likewise.
33285 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33286 * sysdeps/x86_64/configure: Regenerated.
33288 2012-08-14 Roland McGrath <roland@hack.frob.com>
33290 * elf/dl-open.c: Include <atomic.h>.
33291 * elf/dl-lookup.c: Likewise.
33293 2012-08-14 Joseph Myers <joseph@codesourcery.com>
33295 * sysdeps/unix/sysv/linux/kernel-features.h
33296 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33297 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33299 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33301 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33302 condition on __ASSUME_CLONE_THREAD_FLAGS.
33304 2012-08-14 Andreas Jaeger <aj@suse.de>
33306 * sysdeps/i386/fpu/libm-test-ulps: Update.
33308 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33310 * include/atomic.h (atomic_exchange_and_add): Split into ...
33311 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33314 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33318 2012-08-13 Jeff Law <law@redhat.com>
33320 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33321 null byte in the output string.
33323 2012-08-10 Joseph Myers <joseph@codesourcery.com>
33325 * sysdeps/unix/sysv/linux/kernel-features.h
33326 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33327 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33328 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33329 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33330 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33331 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33332 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33334 2012-08-09 Jeff Law <law@redhat.com>
33337 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33338 When avoid_arena is set, don't retry in the that arena. Pick the
33339 next one, whatever it might be.
33340 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33341 (arena_lock): Pass in new parameter to arena_get2.
33342 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33344 (__libc_malloc): Unify retrying after main arena failure with
33345 __libc_memalign version.
33346 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33348 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33351 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33352 to __redirect_strstr.
33353 (__strstr_sse42): Use typeof __redirect_strstr.
33354 (__strstr_ia32): Likewise.
33355 (__libc_strstr): New prototype.
33356 (strstr): Renamed to ...
33357 (__libc_strstr): This.
33358 (strstr): New strong alias of __libc_strstr.
33359 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33360 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33363 (__libc_time): New prototype.
33364 (time_ifunc): Replace time with __libc_time.
33365 (time): New strong alias and hidden definition of __libc_time.
33366 (__GI_time): Remove strong alias.
33367 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33368 Include <stddef.h>.
33369 (memmove): Redefined to __redirect_memmove.
33370 (__memmove_sse2): Use typeof __redirect_memmove.
33371 (__memmove_ssse3): Likewise.
33372 (__memmove_ssse3_back): Likewise.
33373 (__libc_memmove): New prototype.
33374 (memmove): Renamed to ...
33375 (__libc_memmove): This.
33376 (memmove): New strong alias of __libc_memmove.
33378 2012-08-08 Mark Salter <msalter@redhat.com>
33381 (R_MN10300_TLS_GD): Define.
33382 (R_MN10300_TLS_LD): Likewise.
33383 (R_MN10300_TLS_LDO): Likewise.
33384 (R_MN10300_TLS_GOTIE): Likewise.
33385 (R_MN10300_TLS_IE): Likewise.
33386 (R_MN10300_TLS_LE): Likewise.
33387 (R_MN10300_TLS_DTPMOD): Likewise.
33388 (R_MN10300_TLS_DTPOFF): Likewise.
33389 (R_MN10300_TLS_TPOFF): Likewise.
33390 (R_MN10300_SYM_DIFF): Likewise.
33391 (R_MN10300_ALIGN): Likewise.
33392 (R_MN10300_NUM): Update.
33394 2012-08-08 Joseph Myers <joseph@codesourcery.com>
33396 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33399 2012-08-08 Roland McGrath <roland@hack.frob.com>
33401 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33403 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33404 sysdeps/unix -> sysdeps/posix move.
33405 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33407 2012-08-07 Allan McRae <allan@archlinux.org>
33410 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33411 (SUNOS_CPP): Likewise.
33412 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33414 (open_input): Call CPP using execvp.
33416 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33418 * sysdeps/unix/sysv/linux/kernel-features.h
33419 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33420 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33421 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33422 (__ASSUME_WAITID_SYSCALL): Likewise.
33423 * sysdeps/unix/sysv/linux/dl-execstack.c
33424 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33425 code unconditional.
33426 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33428 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33429 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33430 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33432 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33434 [__ASSUME_WAITID_SYSCALL]: Likewise.
33435 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33437 2012-08-07 Roland McGrath <roland@hack.frob.com>
33439 * sysdeps/unix/closedir.c: Renamed to ...
33440 * sysdeps/posix/closedir.c: ... here.
33441 * sysdeps/unix/dirfd.c: Renamed to ...
33442 * sysdeps/posix/dirfd.c: ... here.
33443 * sysdeps/unix/dirstream.h: Renamed to ...
33444 * sysdeps/posix/dirstream.h: ... here.
33445 * sysdeps/unix/fdopendir.c: Renamed to ...
33446 * sysdeps/posix/fdopendir.c: ... here.
33447 * sysdeps/unix/opendir.c: Renamed to ...
33448 * sysdeps/posix/opendir.c: ... here.
33449 * sysdeps/unix/readdir.c: Renamed to ...
33450 * sysdeps/posix/readdir.c: ... here.
33451 * sysdeps/unix/readdir_r.c: Renamed to ...
33452 * sysdeps/posix/readdir_r.c: ... here.
33453 * sysdeps/unix/rewinddir.c: Renamed to ...
33454 * sysdeps/posix/rewinddir.c: ... here.
33455 * sysdeps/unix/seekdir.c: Renamed to ...
33456 * sysdeps/posix/seekdir.c: ... here.
33457 * sysdeps/unix/telldir.c: Renamed to ...
33458 * sysdeps/posix/telldir.c: ... here.
33459 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33460 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33461 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33462 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33464 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33465 * bits/fcntl.h: ... here.
33467 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33469 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33470 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33471 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33472 (struct flock): Move l_start, l_len to the beginning.
33473 Use __pid_t for l_pid.
33474 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33475 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33476 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33477 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33478 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33479 [__USE_LARGEFILE64] (struct flock64): New type.
33480 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33482 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33483 * bits/dirent.h: ... here.
33485 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33486 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33488 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33490 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33491 Change from 2.6.0 to 2.6.16.
33492 * sysdeps/unix/sysv/linux/configure: Regenerated.
33493 * sysdeps/unix/sysv/linux/kernel-features.h
33494 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33495 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33497 (__ASSUME_UTIMES): Likewise.
33498 (__ASSUME_CLONE_STOPPED): Remove.
33499 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33500 architectures, not kernel version.
33501 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33502 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33503 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33504 (__ASSUME_WAITID_SYSCALL): Likewise.
33505 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33506 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33507 * README: State 2.6.16 as minimum Linux kernel version. Do not
33508 refer to older versions.
33510 2012-08-06 Roland McGrath <roland@hack.frob.com>
33512 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33513 Define alphasort64 as an alias.
33514 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33515 Define versionsort64 as an alias.
33516 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33517 Define scandir64 as an alias.
33518 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33519 Define scandirat64 as an alias.
33520 * dirent/alphasort64.c (alphasort64):
33521 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33522 * dirent/versionsort64.c: Likewise.
33523 * dirent/scandir64.c: Likewise.
33524 * dirent/scandirat64.c: Likewise.
33525 * sysdeps/wordsize-64/alphasort.c: File removed.
33526 * sysdeps/wordsize-64/alphasort64.c: File removed.
33527 * sysdeps/wordsize-64/scandir.c: File removed.
33528 * sysdeps/wordsize-64/scandir64.c: File removed.
33529 * sysdeps/wordsize-64/scandirat.c: File removed.
33530 * sysdeps/wordsize-64/scandirat64.c: File removed.
33531 * sysdeps/wordsize-64/versionsort.c: File removed.
33532 * sysdeps/wordsize-64/versionsort64.c: File removed.
33533 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33534 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33535 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33536 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33537 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33538 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33539 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33540 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33542 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33544 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33546 [defined __arch64__ || defined __sparcv9]
33547 (__INO_T_MATCHES_INO64_T): New macro.
33548 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33549 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33550 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33551 * sysdeps/unix/sysv/linux/bits/dirent.h
33552 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33553 (_DIRENT_MATCHES_DIRENT64): New macro.
33555 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33556 Define lockf64 as an alias.
33557 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33558 Define fseeko64 as an alias.
33559 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33560 Define ftello64 as an alias.
33561 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33562 Define _IO_fgetpos64 and fgetpos64 as aliases.
33563 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33564 Define _IO_fsetpos64 and fsetpos64 as aliases.
33565 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33566 Conditionalize body on this.
33567 * libio/fseeko64.c: Likewise.
33568 * libio/ftello64.c: Likewise.
33569 * libio/iofgetpos64.c: Likewise.
33570 * libio/iofsetpos64.c: Likewise.
33571 * sysdeps/wordsize-64/lockf.c: File removed.
33572 * sysdeps/wordsize-64/lockf64.c: File removed.
33573 * sysdeps/wordsize-64/fseeko.c: File removed.
33574 * sysdeps/wordsize-64/fseeko64.c: File removed.
33575 * sysdeps/wordsize-64/ftello.c: File removed.
33576 * sysdeps/wordsize-64/ftello64.c: File removed.
33577 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33578 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33579 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33580 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33581 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33582 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33583 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33584 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33585 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33586 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33587 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33588 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33589 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33590 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33592 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33593 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33594 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33596 [defined __arch64__ || defined __sparcv9]
33597 (__OFF_T_MATCHES_OFF64_T): New macro.
33598 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33599 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33600 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33601 (__OFF_T_MATCHES_OFF64_T): New macro.
33603 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33605 * stdlib/secure-getenv.c (__secure_getenv): Replace
33606 GLIBC_2_16 with GLIBC_2_17.
33608 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33610 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33611 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33613 2012-08-03 David S. Miller <davem@davemloft.net>
33615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33617 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33619 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33621 (__ASSUME_CORRECT_SI_PID): Likewise.
33622 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33623 (__ASSUME_TMPFS_NAME): Likewise.
33624 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33625 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33626 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33627 (HAVE_AUX_SECURE): Make definition unconditional.
33628 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33629 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33631 2012-08-03 Roland McGrath <roland@hack.frob.com>
33633 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33634 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33635 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33636 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33637 __eloop_threshold instead of SYMLOOP_MAX.
33639 * sysdeps/generic/eloop-threshold.h: New file.
33640 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33642 * elf/chroot_canon.c (chroot_canon): Likewise.
33644 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33647 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33648 Change to 2.6.0 everywhere.
33649 * sysdeps/unix/sysv/linux/configure: Regenerated.
33650 * sysdeps/unix/sysv/linux/kernel-features.h
33651 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33652 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33654 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33655 (__ASSUME_FUTEX_REQUEUE): Remove.
33656 (__ASSUME_STATFS64): Define unconditionally.
33657 (__ASSUME_AT_SECURE): Likewise.
33658 (__ASSUME_CORRECT_SI_PID): Likewise.
33659 (__ASSUME_TGKILL): Define without depending on kernel version for
33661 (__ASSUME_UTIMES): Likewise.
33662 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33664 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33665 (__ASSUME_TMPFS_NAME): Likewise.
33666 * README: Update reference to Linux kernel versions.
33668 2012-08-02 Marek Polacek <polacek@redhat.com>
33671 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33672 libc_cv_asm_type_prefix with %.
33673 * configure: Regenerated.
33674 * include/libc-symbols.h: Remove comment about
33675 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33676 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33677 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33678 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33679 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33680 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33681 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33682 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33683 * elf/tst-unique2mod1.c: Likewise.
33684 * elf/tst-unique1mod2.c: Likewise.
33685 * elf/tst-unique1mod1.c: Likewise.
33686 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33687 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33688 Replace ASM_TYPE_DIRECTIVE with .type.
33689 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33690 * sysdeps/i386/sysdep.h: Likewise.
33691 * sysdeps/x86_64/sysdep.h: Likewise.
33692 * sysdeps/sh/sysdep.h: Likewise.
33693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33694 Do not define ASM_TYPE_DIRECTIVE.
33695 * sysdeps/powerpc/sysdep.h: Likewise.
33696 * sysdeps/powerpc/powerpc32/sysdep.h:
33697 Replace ASM_TYPE_DIRECTIVE with .type.
33698 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33699 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33700 * sysdeps/i386/fpu/e_powf.S: Likewise.
33701 * sysdeps/i386/fpu/e_expl.S: Likewise.
33702 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33703 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33704 * sysdeps/i386/fpu/e_pow.S: Likewise.
33705 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33706 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33707 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33708 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33709 * sysdeps/i386/fpu/e_log2.S: Likewise.
33710 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33711 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33712 * sysdeps/i386/fpu/e_powl.S: Likewise.
33713 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33714 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33715 * sysdeps/i386/fpu/e_logl.S: Likewise.
33716 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33717 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33718 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33719 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33720 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33721 * sysdeps/i386/fpu/e_log.S: Likewise.
33722 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33723 * sysdeps/i386/fpu/e_logf.S: Likewise.
33724 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33725 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33726 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33727 * sysdeps/i386/fpu/e_log10.S: Likewise.
33728 * sysdeps/i386/fpu/s_frexp.S: Likewise.
33729 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33730 * sysdeps/i386/fpu/s_asinh.S: Likewise.
33731 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33732 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33733 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33734 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33735 * sysdeps/i386/i686/strtok.S: Likewise.
33736 * sysdeps/i386/i386-mcount.S: Likewise.
33737 * sysdeps/i386/strtok.S: Likewise.
33738 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33739 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33740 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33741 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33742 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33743 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33744 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33745 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33746 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33747 * sysdeps/x86_64/_mcount.S: Likewise.
33748 * sysdeps/x86_64/strtok.S: Likewise.
33749 * sysdeps/sh/_mcount.S: Likewise.
33751 2012-08-01 Roland McGrath <roland@hack.frob.com>
33753 * libio/iofopen.c: Include <fcntl.h>.
33754 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33755 (_IO_fopen64, fopen64): Define as aliases.
33756 * libio/iofopen64.c: Include <fcntl.h>.
33757 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33758 Conditionalize body on this.
33759 * sysdeps/wordsize-64/iofopen.c: File removed.
33760 * sysdeps/wordsize-64/iofopen64.c: File removed.
33762 2012-08-01 Marek Polacek <polacek@redhat.com>
33764 * libc/Makeconfig: Use elf in place of binfmt-subdir.
33765 Use dlfcn directly instead of a variable.
33766 (binfmt-subdir): Do not define.
33769 2012-08-01 Joseph Myers <joseph@codesourcery.com>
33771 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33772 Remove all definitions.
33773 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33774 <kernel-features.h>.
33775 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33776 (miss_F_GETOWN_EX): Remove all definitions.
33777 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33779 [!__ASSUME_FCNTL64]: Remove conditional code.
33780 [__ASSUME_FCNTL64]: Make code unconditional.
33781 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33782 <kernel-features.h>.
33783 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33784 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33785 (lockf64) [__NR_fcntl64]: Make code unconditional.
33786 (lockf64) [__ASSUME_FCNTL64]: Likewise.
33788 * sysdeps/unix/sysv/linux/kernel-features.h
33789 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33790 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33791 Make code unconditional.
33792 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33793 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33795 [__NR_vfork]: Make code unconditional.
33796 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33797 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33799 [__NR_vfork]: Make code unconditional.
33800 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33801 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33803 2012-08-01 Roland McGrath <roland@hack.frob.com>
33805 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33806 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33808 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33809 Define mkstemp64 as an alias.
33810 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33811 Define mkstemps64 as an alias.
33812 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33813 Define mkostemp64 as an alias.
33814 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33815 Define mkostemps64 as an alias.
33816 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33817 Conditionalize body on this.
33818 * misc/mkostemp64.c: Likewise.
33819 * misc/mkostemps64.c: Likewise.
33820 * misc/mkstemps64.c: Likewise.
33821 * sysdeps/wordsize-64/mkstemp64.c: File removed.
33822 * sysdeps/wordsize-64/mkostemp64.c: File removed.
33823 * sysdeps/wordsize-64/mkostemp.c: File removed.
33824 * sysdeps/wordsize-64/mkstemp.c: File removed.
33825 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33826 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33827 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33828 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33831 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33832 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33833 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33834 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33836 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33837 compat_symbol macros from <shlib-compat.h> rather than the underlying
33838 default_symbol_version and symbol_version macros, so that DEFAULT
33839 lines in shlib-versions are respected.
33840 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33842 2012-08-01 Florian Weimer <fweimer@redhat.com>
33844 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33845 Declare with warn_unused_result.
33846 (setgid, setregid, setegid, setresgid): Likewise.
33847 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33849 * WUR-REPORT: Remove set*id functions.
33851 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
33853 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33855 2012-07-31 Roland McGrath <roland@hack.frob.com>
33858 * include/sys/socket.h (__libc_accept, __libc_accept4):
33859 Add attribute_hidden.
33860 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33862 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33864 * inet/getnetgrent_r.c (setup): Likewise.
33866 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33868 2012-07-31 David S. Miller <davem@davemloft.net>
33870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33872 2012-07-31 Joseph Myers <joseph@codesourcery.com>
33875 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33876 value between 1.0 and 2.0 and smaller part has absolute value less
33878 * math/s_clog10.c (__clog10): Likewise.
33879 * math/s_clog10f.c (__clog10f): Likewise.
33880 * math/s_clog10l.c (__clog10l): Likewise.
33881 * math/s_clogf.c (__clogf): Likewise.
33882 * math/s_clogl.c (__clogl): Likewise.
33883 * math/libm-test.inc (clog_test): Add more tests.
33884 (clog10_test): Likewise.
33885 * sysdeps/i386/fpu/libm-test-ulps: Update.
33886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33888 2012-07-31 Florian Weimer <fweimer@redhat.com>
33890 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33891 Exit with zero in case no suitable GID is found, and write a
33892 message to standard error.
33894 2012-07-30 Roland McGrath <roland@hack.frob.com>
33896 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33898 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33899 (MAXPATHLEN): Removed.
33900 (NOGROUP, NODEV): New macros.
33901 (setbit, clrbit, isset, isclr): New macros.
33902 (howmany, roundup, powerof2): New macros.
33903 (DEV_BSIZE): New macro.
33905 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33906 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33908 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33909 definition on [!__NO_LONG_DOUBLE_MATH].
33911 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33912 PTR_MANGLE and PTR_DEMANGLE.
33914 * socket/accept4.c (accept4): Rename to __libc_accept4.
33915 Define accept4 as a weak alias.
33917 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33918 on [_DIRENT_HAVE_D_TYPE].
33919 * io/ftw.c (ftw_dir): Likewise.
33921 * io/xmknod.c (__xmknod): Don't check PATH for being null.
33923 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33925 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33926 Use the BSD numbers rather than the arbitrary ones we had.
33927 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33928 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33929 (SIGXCPU, SIGXFSZ): New macros.
33932 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33933 initializer on [_LIBC_REENTRANT].
33935 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33936 definitions inside [_POSIX_MAPPED_FILES].
33938 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33940 * dirent/opendir.c: Include <fcntl.h>.
33942 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33943 (__libc_getspecific): Likewise.
33944 (__libc_key_create): Likewise.
33946 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33947 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33948 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33949 (tmpfile64): Define as alias.
33950 * sysdeps/wordsize-64/tmpfile.c: File removed.
33951 * sysdeps/wordsize-64/tmpfile64.c: File removed.
33952 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33953 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33955 * stdio-common/vfscanf.c: Include <stdbool.h>.
33956 * nss/makedb.c: Likewise.
33957 * stdio-common/_i18n_number.h: Likewise.
33958 * argp/argp-help.c: Likewise.
33959 * posix/wordexp.c: Likewise.
33960 * sysdeps/posix/spawni.c: Likewise.
33961 * nss/nss_files/files-initgroups.c: Likewise.
33962 * stdio-common/reg-modifier.c: Include <stdlib.h>.
33963 * nss/nss_files/files-initgroups.c: Likewise.
33964 * nss/nss_db/db-netgrp.c: Likewise.
33965 * nss/nss_db/db-initgroups.c: Likewise.
33966 * io/fchmodat.c: Include <sys/stat.h>.
33968 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33969 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33971 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33974 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33975 Add multiple inclusion protection.
33977 2012-07-27 David S. Miller <davem@davemloft.net>
33979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33981 2012-07-27 Gary Benson <gbenson@redhat.com>
33984 * elf/rtld.c: Include <stap-probe.h>.
33985 (dl_main): Added static probes "init_start" and "init_complete".
33986 * elf/dl-load.c: Include <stap-probe.h>.
33987 (lose): Take new parameter "nsid".
33988 Added static probe "map_failed".
33989 (_dl_map_object_from_fd): Pass namespace id to lose.
33990 Added static probe "map_start".
33991 (open_verify): Pass namespace id to lose.
33992 * elf/dl-open.c: Include <stap-probe.h>.
33993 (dl_open_worker) Added static probes "map_complete", "reloc_start"
33994 and "reloc_complete".
33995 * elf/dl-close.c: Include <stap-probe.h>.
33996 (_dl_close_worker): Added static probes "unmap_start" and
33998 * elf/rtld-debugger-interface.txt: New file documenting the above.
34000 2012-07-26 Roland McGrath <roland@hack.frob.com>
34002 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34003 rather than a string variable.
34004 * sunrpc/rpc_main.c (h_output): Likewise.
34005 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34007 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34009 * inet/check_native.c: New file.
34011 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34014 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34015 if larger part has absolute value 1.0.
34016 * math/s_clog10.c (__clog10): Likewise.
34017 * math/s_clog10f.c (__clog10f): Likewise.
34018 * math/s_clog10l.c (__clog10l): Likewise.
34019 * math/s_clogf.c (__clogf): Likewise.
34020 * math/s_clogl.c (__clogl): Likewise.
34021 * math/libm-test.inc (clog_test): Add more tests.
34022 (clog10_test): Likewise.
34023 * sysdeps/i386/fpu/libm-test-ulps: Update.
34024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34026 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34027 (pltexit): Likewise.
34028 (La_regs): Likewise.
34029 (La_retval): Likewise.
34030 (int_retval): Likewise.
34031 Update #error for removed macros to refer only to definitions in
34033 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34035 (pltexit): Likewise.
34036 (La_regs): Likewise.
34037 (La_retval): Likewise.
34038 (int_retval): Likewise.
34039 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34041 (pltexit): Likewise.
34042 (La_regs): Likewise.
34043 (La_retval): Likewise.
34044 (int_retval): Likewise.
34045 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34047 (pltexit): Likewise.
34048 (La_regs): Likewise.
34049 (La_retval): Likewise.
34050 (int_retval): Likewise.
34051 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34053 (pltexit): Likewise.
34054 (La_regs): Likewise.
34055 (La_retval): Likewise.
34056 (int_retval): Likewise.
34057 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34059 (pltexit): Likewise.
34060 (La_regs): Likewise.
34061 (La_retval): Likewise.
34062 (int_retval): Likewise.
34063 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34065 (pltexit): Likewise.
34066 (La_regs): Likewise.
34067 (La_retval): Likewise.
34068 (int_retval): Likewise.
34069 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34070 macro definitions in tst-audit.h.
34071 * sysdeps/i386/tst-audit.h: New file.
34072 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34073 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34074 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34075 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34076 * sysdeps/sh/tst-audit.h: Likewise.
34077 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34078 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34079 * sysdeps/x86_64/tst-audit.h: Likewise.
34081 2012-07-26 Andreas Jaeger <aj@suse.de>
34083 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34086 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34087 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34088 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34090 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34091 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34092 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34094 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34097 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34099 (si_call_addr, si_syscall, si_arch): Define new macro.
34100 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34102 (si_call_addr, si_syscall, si_arch): Define new marcro.
34103 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34105 (si_call_addr, si_syscall, si_arch): Define new macro.
34106 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34108 (si_call_addr, si_syscall, si_arch): Define new macro.
34110 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34114 Change to 2.4.21 where previously 2.4.1.
34115 * sysdeps/unix/sysv/linux/configure: Regenerated.
34116 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34117 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34118 Linux kernel version.
34119 (__ASSUME_STD_AUXV): Remove.
34120 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34122 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34123 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34124 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34125 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34126 (__ASSUME_NETLINK_SUPPORT): Likewise.
34127 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34128 (__no_netlink_support): Remove conditional definition.
34129 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34131 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34132 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34133 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34134 (if_nameindex_ioctl): Remove.
34135 (if_nameindex_netlink): Do not handle __no_netlink_support.
34136 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34138 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34139 Remove conditional code.
34140 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34142 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34144 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34145 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34146 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34148 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34149 [!__ASSUME_STD_AUXV]: Remove conditional code.
34150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34151 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34152 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34154 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34155 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34157 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34159 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34160 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34162 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34164 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34167 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34170 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34171 code unconditional.
34172 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34174 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34176 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34179 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34181 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34184 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34185 code unconditional.
34186 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34188 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34190 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34193 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34194 code unconditional.
34195 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34197 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34199 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34202 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34204 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34205 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34206 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34207 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34208 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34209 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34210 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34211 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34212 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34213 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34214 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34215 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34216 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34217 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34218 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34219 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34220 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34221 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34222 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34224 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34225 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34226 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34228 2012-07-25 Florian Weimer <fweimer@redhat.com>
34230 * Versions.def: Add GLIBC_2.17.
34231 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34232 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34233 Introduce __libc_secure_getenv.
34234 * stdlib/Versions (2.17): Add secure_getenv
34235 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34236 * stdlib/secure-getenv.c: Rename __secure_getenv to
34237 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34238 symbol __secure_getenv for GLIBC_2.0.
34239 * stdlib/tst-secure-getenv.c: New.
34240 * stdlib/Makefile (tests): Add testcase.
34241 * manual/startup.texi (Environment Access): Document
34243 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34244 __libc_secure_getenv.
34245 * inet/ruserpass.c (ruserpass): Likewise.
34246 * malloc/mtrace.c (mtrace): Likewise.
34247 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34248 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34249 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34250 * sysdeps/posix/tempname.c: Likewise. Evaluate
34251 HAVE_SECURE_GETENV.
34252 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34253 __secure_getenv to __libc_secure_getenv.
34254 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34267 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34269 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34270 (struct La_i86_retval): Likewise.
34271 (struct La_x86_64_regs): Likewise.
34272 (struct La_x86_64_retval): Likewise.
34273 (struct La_x32_regs): Likewise.
34274 (struct La_x32_retval): Likewise.
34275 (struct La_ppc32_regs): Likewise.
34276 (struct La_ppc32_retval): Likewise.
34277 (struct La_ppc64_regs): Likewise.
34278 (struct La_ppc64_retval): Likewise.
34279 (struct La_sh_regs): Likewise.
34280 (struct La_sh_retval): Likewise.
34281 (struct La_s390_32_regs): Likewise.
34282 (struct La_s390_32_retval): Likewise.
34283 (struct La_s390_64_regs): Likewise.
34284 (struct La_s390_64_retval): Likewise.
34285 (struct La_sparc32_regs): Likewise.
34286 (struct La_sparc32_retval): Likewise.
34287 (struct La_sparc64_regs): Likewise.
34288 (struct La_sparc64_retval): Likewise.
34289 (struct audit_ifaces): Remove architecture-specific pltenter and
34291 * sysdeps/i386/ldsodefs.h: New file.
34292 * sysdeps/powerpc/ldsodefs.h: Likewise.
34293 * sysdeps/s390/ldsodefs.h: Likewise.
34294 * sysdeps/sh/ldsodefs.h: Likewise.
34295 * sysdeps/sparc/ldsodefs.h: Likewise.
34296 * sysdeps/x86_64/ldsodefs.h: Likewise.
34298 2012-07-25 Marek Polacek <polacek@redhat.com>
34301 * math/libm-test.inc (yn_test): Add another test.
34302 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34303 to ERANGE when the result is +-Inf.
34304 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34305 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34306 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34307 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34309 2012-07-24 Joseph Myers <joseph@codesourcery.com>
34311 * conform/data/time.h-data (NULL): Use macro-constant. Require
34313 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34315 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34317 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34319 * configure.in <sysdeps resolving>: Correct printing
34321 * configure: Regenerate.
34323 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34325 * math/w_ilogb.c: Include <limits.h>.
34326 * math/w_ilogbl.c: Likewise.
34328 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34330 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34331 va_copy. Document allowing for unavailable va_copy only as
34332 pre-C99 compatibility.
34333 * manual/string.texi (Copying and Concatenation): Use va_copy
34334 instead of __va_copy in concat example.
34336 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34338 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34339 (__sendto): Use create_address_port. Initialize APORT and deallocate
34342 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34343 with O_NOLINK passed to __file_name_lookup.
34345 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34346 with O_NOLINK passed to __file_name_lookup.
34348 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34349 negative N or less than NGIDS.
34351 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34352 type to string_t. Set ERANGE as errno and return it if NAME is not big
34353 enough. Use memcpy instead of strncpy.
34355 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34357 * elf/Makefile (check-data): Remove.
34358 (localplt.data): New vpath directive.
34359 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34360 instead of $(check-data).
34361 * scripts/data/localplt-generic.data: Move to ...
34362 * sysdeps/generic/localplt.data: ... here.
34363 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34364 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34365 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34368 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34371 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34374 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34377 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34380 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34384 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34386 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34387 PPC32 and PPC64 files.
34388 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34389 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34391 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34393 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34394 __makecontext_ret to ...
34395 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34396 ... here and call exit if uc_link is NULL. New file.
34397 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34398 __makecontext_ret.S.
34399 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34400 __makecontext_ret to ...
34401 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34402 ... here and call exit if uc_link is NULL. New file.
34403 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34404 __makecontext_ret.S.
34406 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34408 * elf/elf.h (R_390_IRELATIVE): New definition.
34409 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34410 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34411 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34412 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34413 (elf_machine_lazy_rel): Likewise.
34414 * sysdeps/s390/dl-irel.h: New file.
34415 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34416 * sysdeps/s390/s390-64/memset.S: New asm code.
34417 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34418 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34419 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34420 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34421 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34422 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34423 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34424 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34425 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34426 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34427 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34428 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34429 * sysdeps/s390/s390-32/memset.S: New asm code.
34430 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34432 2012-07-17 Marek Polacek <polacek@redhat.com>
34435 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34436 * sysdeps/s390/s390-64/configure.in: Likewise.
34437 * sysdeps/sparc/configure.in: Likewise.
34438 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34439 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34440 * sysdeps/i386/configure.in: Likewise.
34441 * sysdeps/x86_64/configure.in: Likewise.
34442 * sysdeps/sh/configure.in: Likewise.
34443 * sysdeps/s390/s390-32/configure: Regenerated.
34444 * sysdeps/s390/s390-64/configure: Likewise.
34445 * sysdeps/x86_64/configure: Likewise.
34446 * sysdeps/sh/configure: Likewise.
34447 * sysdeps/powerpc/powerpc64/configure: Likewise.
34448 * sysdeps/powerpc/powerpc32/configure: Likewise.
34449 * sysdeps/sparc/configure: Likwise.
34450 * sysdeps/i386/configure: Likewise.
34452 * elf/dl-open.c: Comment fixes.
34454 2012-07-17 Joseph Myers <joseph@codesourcery.com>
34456 * Makefile [CXX] (check-data): Remove.
34457 [CXX] (c++-types.data): New vpath directive.
34458 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34459 vpath. Do not allow for C++ type data being missing.
34460 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34461 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34462 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34463 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34464 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34465 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34466 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34469 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34472 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34475 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34478 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34481 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34484 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34487 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34490 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34491 definitions to architecture-specific files.
34492 (TLS_IE): Likewise.
34493 (TLS_LD): Likewise.
34494 (TLS_GD): Likewise.
34495 * sysdeps/i386/tls-macros.h: New file.
34496 * sysdeps/powerpc/tls-macros.h: Likewise.
34497 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34498 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34499 * sysdeps/sh/tls-macros.h: Likewise.
34500 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34501 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34502 * sysdeps/x86_64/tls-macros.h: Likewise.
34504 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34506 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34507 zero value for regular exit case.
34509 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34510 (__start_context): Preserve zero value for regular exit case.
34512 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34513 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34515 * manual/setjmp.texi (setcontext): Clarify normal process
34516 termination when uc_link is the null pointer.
34517 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34520 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34522 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34523 preprocessor. Test for each exception mask separately.
34525 2012-07-16 Andreas Jaeger <aj@suse.de>
34527 * po/ru.po: Update from translation team.
34529 2012-07-15 Joseph Myers <joseph@codesourcery.com>
34531 * conform/data/string.h-data (NULL): Use macro-constant. Require
34533 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34534 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34535 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34536 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34537 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34539 2012-07-13 Andreas Jaeger <aj@suse.de>
34541 * po/fr.po: Update from translation team.
34543 2012-07-12 Marek Polacek <polacek@redhat.com>
34546 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34547 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34550 2012-07-12 Joseph Myers <joseph@codesourcery.com>
34553 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34554 Change to 2.4.1 where previously 2.4.0.
34555 * sysdeps/unix/sysv/linux/configure: Regenerated.
34556 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34557 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34559 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34560 (__ASSUME_AT_CLKTCK): Remove.
34561 (__ASSUME_AT_PAGESIZE): Likewise.
34562 (__ASSUME_AT_XID): Likewise.
34563 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34564 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34565 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34567 (HAVE_AUX_PAGESIZE): Likewise.
34568 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34569 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34570 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34572 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34576 the temporary buffer used to invoke __gethostbyname2_r,
34577 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34578 host_data / struct gaih_addrtuple.
34579 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34580 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34581 header file nss/nsswitch.h.
34582 * nss/nsswitch.h (global scope): Add definition of implementation
34583 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34584 resolv/nss_dns/dns-host.c).
34586 2012-07-11 Andreas Jaeger <aj@suse.de>
34588 * po/fr.po: Update from translation team.
34590 * po/sv.po: Update from translation team
34591 * po/fr.po: Another update from translation team.
34593 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34595 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34596 for subnormals or multiply small sinh result by itself.
34597 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34600 2012-07-11 David S. Miller <davem@davemloft.net>
34602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34604 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34607 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34608 (INTERNAL_MARK): Shift it here.
34610 2012-07-10 Marek Polacek <polacek@redhat.com>
34613 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34614 libc_cv_asm_global_directive with .globl.
34615 * configure: Regenerated.
34616 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34618 * sysdeps/i386/configure: Regenerated.
34619 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34621 * sysdeps/x86_64/configure: Regenerated.
34622 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34623 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34624 * elf/tst-unique2mod2.c: Likewise.
34625 * elf/tst-unique2mod1.c: Likewise.
34626 * elf/tst-unique1mod2.c: Likewise.
34627 * elf/tst-unique1mod1.c: Likewise.
34628 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34629 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34630 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34631 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34632 * sysdeps/mach/sysdep.h: Likewise.
34633 * sysdeps/i386/sysdep.h: Likewise.
34634 * sysdeps/i386/i386-mcount.S: Likewise.
34635 * sysdeps/x86_64/_mcount.S: Likewise.
34636 * sysdeps/x86_64/sysdep.h: Likewise.
34637 * sysdeps/sh/_mcount.S: Likewise.
34638 * sysdeps/sh/sysdep.h: Likewise.
34639 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34640 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34641 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34642 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34643 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34644 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34645 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34646 * locale/localeinfo.h: Likewise.
34647 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34648 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34650 2012-07-09 Roland McGrath <roland@hack.frob.com>
34653 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34655 * manual/message.texi (The Uniforum approach): Likewise.
34656 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34657 (glibc iconv Implementation): Likewise.
34659 2012-07-09 Joseph Myers <joseph@codesourcery.com>
34662 * math/s_clog.c (__clog): Avoid scaling a value down where that
34663 could result in underflow.
34664 * math/s_clog10.c (__clog10): Likewise.
34665 * math/s_clog10f.c (__clog10f): Likewise.
34666 * math/s_clog10l.c (__clog10l): Likewise.
34667 * math/s_clogf.c (__clogf): Likewise.
34668 * math/s_clogl.c (__clogl): Likewise.
34669 * math/libm-test.inc (clog_test): Add more tests.
34670 (clog10_test): Likewise.
34671 * sysdeps/i386/fpu/libm-test-ulps: Update.
34672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34674 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34677 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34678 by 7 not 8 to examine high bit of fractional part.
34681 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34682 for call to __mcount_internal.
34683 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34684 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34685 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34687 2012-07-06 Joseph Myers <joseph@codesourcery.com>
34690 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34691 approximation for values within 0x1p-13f of an odd multiple of
34693 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34694 exception. Add more tests.
34695 * sysdeps/i386/fpu/libm-test-ulps: Update.
34698 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34699 inputs and return -1 for them. Do not check for +Inf in case not
34700 reachable for +Inf.
34701 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34702 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34703 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34704 and return -1 for them. Do not check for +Inf in case not
34705 reachable for +Inf.
34706 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34708 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34709 and return -1 for them. Do not check for +Inf in case not
34710 reachable for +Inf.
34711 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34712 spurious underflow.
34713 * sysdeps/i386/fpu/libm-test-ulps: Update.
34714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34716 2012-07-06 Mike Frysinger <vapier@gentoo.org>
34718 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34720 2012-07-05 Joseph Myers <joseph@codesourcery.com>
34724 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34725 could result in spurious underflow. Scale down values above
34726 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34727 * math/s_csqrtf.c (__csqrtf): Likewise.
34728 * math/s_csqrtl.c (__csqrtl): Likewise.
34729 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
34730 spurious underflow.
34731 * sysdeps/i386/fpu/libm-test-ulps: Update.
34732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34734 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
34736 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34738 * catgets/xopen-msg.awk: New file.
34739 * catgets/xopen-msg.sed: Removed.
34741 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34743 * intl/po2test.awk: New file.
34744 * intl/po2test.sed: Removed.
34746 2012-07-04 Joseph Myers <joseph@codesourcery.com>
34749 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34750 or multiply small sinh result by itself.
34751 * math/s_ctanf.c (__ctanf): Likewise.
34752 * math/s_ctanh.c (__ctanh): Likewise.
34753 * math/s_ctanhf.c (__ctanhf): Likewise.
34754 * math/s_ctanhl.c (__ctanhl): Likewise.
34755 * math/s_ctanl.c (__ctanl): Likewise.
34756 * math/libm-test.inc (ctan_test_tonearest): New function.
34757 (ctan_test_towardzero): Likewise.
34758 (ctan_test_downward): Likewise.
34759 (ctan_test_upward): Likewise.
34760 (ctanh_test_tonearest): Likewise.
34761 (ctanh_test_towardzero): Likewise.
34762 (ctanh_test_downward): Likewise.
34763 (ctanh_test_upward): Likewise.
34764 (main): Call these new functions.
34765 * sysdeps/i386/fpu/libm-test-ulps: Update.
34766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34768 2012-07-03 Mike Frysinger <vapier@gentoo.org>
34770 * .gitignore: Delete /ports entry.
34772 2012-07-03 Andreas Jaeger <aj@suse.de>
34774 * po/bg.po: Update from translation team.
34775 * po/cs.po: Likewise.
34776 * po/de.po: Likewise.
34777 * po/hr.po: Likewise.
34778 * po/nl.pl: Likewise.
34779 * po/pl.po: Likewise.
34780 * po/vi.po: Likewise.
34782 2012-07-03 Joseph Myers <joseph@codesourcery.com>
34784 * Makeconfig [!+link] (+link-before-libc): New variable.
34785 [!+link] (+link-after-libc): Likewise.
34786 [!+link] (+link-tests): Likewise.
34787 [!+link] (+link): Define in terms of $(+link-before-libc) and
34788 $(+link-after-libc).
34789 [!+link-static] (+link-static-before-libc): New variable.
34790 [!+link-static] (+link-static-after-libc): Likewise.
34791 [!+link-static] (+link-static-tests): Likewise.
34792 [!+link-static] (+link-static): Define in terms of
34793 $(+link-static-before-libc) and $(+link-static-after-libc).
34794 [build-shared] (link-libc-before-gnulib): New variable.
34795 [build-shared] (link-libc-tests): Likewise.
34796 [build-shared] (link-libc): Define in terms of
34797 $(link-libc-before-gnulib).
34798 [!build-shared] (link-libc-tests): New variable.
34799 (link-libc-static-tests): New variable.
34800 [!gnulib] (gnulib-arch): New variable.
34801 [!gnulib] (gnulib-tests): Likewise.
34802 [!gnulib] (static-gnulib-arch): Likewise.
34803 [!gnulib] (static-gnulib-tests): Likewise.
34804 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
34805 Define with "=" instead of ":=".
34806 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
34807 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
34808 * Rules (binaries-all-notests): New variable.
34809 (binaries-all-tests): Likewise.
34810 (binaries-static-notests): Likewise.
34811 (binaries-static-tests): Likewise.
34812 (binaries-all): Define using $(binaries-all-notests) and
34813 $(binaries-all-tests).
34814 (binaries-static): Define using $(binaries-static-notests) and
34815 $(binaries-static-tests).
34816 (binaries-shared-tests): New variable.
34817 (binaries-shared-notests): Likewise.
34818 (binaries-shared): Remove variable.
34819 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34820 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34821 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34822 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34823 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34824 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34825 * elf/Makefile (sln-modules): New variable.
34826 (extra-objs): Add $(sln-modules:=.o).
34827 (ldconfig-modules): Add static-stubs.
34828 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34829 * elf/static-stubs.c: New file.
34832 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34833 by 7 not 8 to examine high bit of fractional part. Use volatile
34834 variables when splitting into final array of floats if
34835 __FLT_EVAL_METHOD__ != 0.
34836 * math/libm-test.inc (cos_test): Add another test.
34837 (sin_test): Likewise.
34838 * sysdeps/i386/fpu/libm-test-ulps: Update.
34841 * math/libm-test.inc (cosh_test): Add more tests.
34843 * version.h (RELEASE): Set to "development".
34844 (VERSION): Set to "2.16.90".
34846 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
34848 * NEWS: Update copyright. Remove last-updated date.
34849 Mention math library bug fixes and timezone data changes.
34850 * README: Mention GNU/Hurd, x32, and HPPA support status.
34852 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
34854 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34856 2012-06-27 Andreas Jaeger <aj@suse.de>
34858 * manual/contrib.texi (Contributors): Add Samuel Thibault.
34860 2012-06-25 Andreas Jaeger <aj@suse.de>
34862 * sysdeps/s390/fpu/libm-test-ulps: Update.
34864 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
34865 Thomas Schwinge <thomas@codesourcery.com>
34867 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34868 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34869 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34872 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
34874 * sysdeps/mach/start.c: Remove file.
34875 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34876 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34877 * sysdeps/sh/init-first.c: Likewise.
34879 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34880 registers for frame unwinding purposes, add CFI directives.
34881 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34882 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34883 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34886 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34887 __fortify_fail returning.
34888 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34890 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34891 sysdeps/sh/____longjmp_chk.S.
34892 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34893 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34894 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34895 (gen-as-const-headers): Append sigaltstack-offsets.sym.
34897 * sysdeps/sh/abort-instr.h: New file.
34898 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34899 process in case exit returns.
34901 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34902 initialize the GOT register before use.
34904 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34905 calculation of ARGC > 4.
34907 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34908 meaningful names to some local labels.
34910 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34911 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34913 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34914 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34915 (__arch_compare_and_exchange_val_16_acq): Likewise.
34916 (__arch_compare_and_exchange_val_32_acq): Likewise.
34917 (atomic_exchange_and_add): Fix gUSA sequence.
34918 (atomic_add): Likewise.
34919 (atomic_add_negative): Likewise.
34920 (atomic_add_zero): Likewise.
34921 (atomic_bit_test_set): Likewise.
34923 2012-06-22 Andreas Schwab <schwab@redhat.com>
34926 * include/link.h (struct link_map): Add l_free_initfini.
34927 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34929 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34930 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34931 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34934 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
34936 * configure.in: Use AC_LANG_SOURCE.
34937 * configure: Regenerate.
34939 2012-06-22 Roland McGrath <roland@hack.frob.com>
34941 * configure.in (libc_cv_localstatedir): New substituted variable.
34942 * configure: Regenerated.
34943 * config.make.in (localstatedir): New variable, substituted from
34944 libc_cv_localstatedir.
34945 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34946 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34947 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34948 * sysdeps/gnu/configure: Regenerated.
34950 2012-06-21 Jeff Law <law@redhat.com>
34953 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34954 free. Simplify list management for _LIBC case.
34956 2012-06-21 Joseph Myers <joseph@codesourcery.com>
34959 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34960 Clear sign bit of 64-bit integer value before comparing against
34963 * sysdeps/mach/configure: Regenerated.
34965 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
34968 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34970 2012-06-21 Jeff Law <law@redhat.com>
34973 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
34974 uint16_t for elements in the "seen" array to avoid char overflows.
34975 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34976 * elf/dl-open.c (dl_open_worker): Likewise.
34978 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
34980 * scripts/list-sources.sh: Scan PORTS for translations.
34981 * po/libc.pot: Regenerated.
34983 2012-06-21 Andreas Jaeger <aj@suse.de>
34986 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34988 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34989 * bits/byteswap-16.h (__bswap_16): Likewise.
34990 * bits/byteswap.h (__bswap_constant_16): Likewise.
34992 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
34995 * sysdeps/i386/fpu_control.h: Removed.
34996 * sysdeps/x86_64/fpu_control.h: Moved to ...
34997 * sysdeps/x86/fpu_control.h: Here.
34999 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35000 (_FPU_SETCW): Likewise.
35002 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35005 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35006 * sysdeps/x86/fpu/bits/mathinline.h: This.
35007 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35011 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35012 functions if __x86_64__ is defined.
35014 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35016 * string/endian.h: Add !__ASSEMBLER__ condition for including
35017 conversion interfaces.
35019 2012-06-15 Joseph Myers <joseph@codesourcery.com>
35022 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35023 of ABS(x) in calculating zero to negative powers other than odd
35025 * math/libm-test.inc (pow_test): Add more tests.
35027 2012-06-15 Andreas Jaeger <aj@suse.de>
35029 * manual/contrib.texi (Contributors): Update entry of Liubov
35030 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35033 2012-06-15 Cyril Hrubis <metan@ucw.cz>
35035 * string/string.h: Add __wur to GNU version of strerror_r.
35037 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35040 * string/Makefile (tests): Add tst-strtok_r.
35041 * string/tst-strtok_r.c: New file.
35042 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35043 RAX_LP/RDX_LP on SAVE_PTR.
35045 2012-06-14 Roland McGrath <roland@hack.frob.com>
35047 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35049 2012-06-14 Joseph Myers <joseph@codesourcery.com>
35051 * libm_test.inc (csqrt_test): Allow more spurious underflow
35053 (j0_test): Likewise.
35054 (j1_test): Likewise.
35055 (y0_test): Likewise.
35056 (y1_test): Likewise.
35058 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35060 * po/Makefile (libc.pot): Use UTF-8 charset.
35062 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35065 Suppress sign-conversion warning from FD_SET.
35066 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35067 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35068 not unsigned long int.
35069 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35071 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35075 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35076 __extern_always_inline instead of __extern_inline.
35077 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35078 (__signbit): Likewise.
35079 (__signbitl): Support C++ namespace.
35080 (lrintf): New inline function.
35082 (llrintf): Likewise.
35083 (llrint): Likewise.
35093 (floorf): Likewise.
35094 (nearbyint): Likewise.
35095 (nearbyintf): Likewise.
35097 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35099 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35100 non-default versions.
35102 2012-06-11 Roland McGrath <roland@hack.frob.com>
35105 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35107 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35109 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35110 (FE_UPWARD, FE_DOWNWARD): Don't define.
35111 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35112 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35114 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35116 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35117 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35119 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35121 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35122 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35123 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35124 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35126 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35129 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35130 * sysdeps/i386/fpu/Implies: New file.
35131 * sysdeps/x86_64/fpu/Implies: Likewise.
35132 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35133 * sysdeps/x86/fpu/bits/fenv.h: This.
35135 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35138 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35141 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35142 character 0xffff that matches the last element of the
35145 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35150 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35152 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35153 values higher than 25.6283.
35155 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35157 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35158 subnormal exponent extraction and add some __builtin_expect.
35159 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35160 Fix for subnormal mantissa calculation.
35162 2012-06-04 Mike Frysinger <vapier@gentoo.org>
35164 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35165 cpu2 is -1 and errno is not ENOSYS.
35167 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35170 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35171 * sysdeps/x86/bits/string.h: This.
35172 * sysdeps/x86_64/bits/string.h: Removed.
35174 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35175 if not compiling for x86-64, but compiling for >= i486.
35177 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35178 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35180 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35181 New macro from Linux kernel 3.4.0.
35182 (FP_XSTATE_MAGIC2): Likewise.
35183 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35184 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35185 (struct _fpx_sw_bytes): New struct.
35186 (struct _xsave_hdr): Likewise.
35187 (struct _ymmh_state): Likewise.
35188 (struct _xstate): Likewise.
35190 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35191 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35192 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35193 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35194 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35195 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35197 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35198 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35199 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35200 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35201 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35202 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35204 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35207 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35208 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35209 (sysdep_headers): Include sys/platform/ppc.h.
35210 * sysdeps/powerpc/test-gettimebase.c: Test for
35211 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35212 * manual/Makefile (appendices): Include platform.texi.
35213 * manual/contrib.texi (Contributors): Update @node pointers.
35214 * manual/maint.texi (Maintenance): Likewise.
35215 (Platform): New node.
35216 * manual/platform.texi: New file. Document the new features.
35218 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35219 Jakub Jelinek <jakub@redhat.com>
35222 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35223 where __builtin_expect is unavailable.
35225 2012-06-03 David S. Miller <davem@davemloft.net>
35227 * stdlib/longlong.h: Updated from GCC.
35229 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35232 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35233 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35236 (GLIBC_2.16): Likewise.
35238 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35240 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35242 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35245 (default-abi): New variable.
35246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35247 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35249 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35251 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35253 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35256 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35257 definition. Document in comment.
35259 2012-06-01 David S. Miller <davem@davemloft.net>
35261 * stdlib/longlong.h: Updated from GCC.
35263 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35266 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35267 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35268 sys/debugreg.h sys/io.h here.
35269 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35270 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35272 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35273 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35274 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35275 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35276 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35277 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35279 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35280 Define only if __x86_64__ is defined.
35282 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35285 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35286 Use int64_t for variable i.
35287 * math/libm-test.inc (fmod_test): Add more tests.
35289 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35290 z computation is not scheduled after fetestexcept.
35291 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35292 Use math_force_eval instead of asm to ensure calculation scheduled
35293 before exception test.
35294 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35295 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35297 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35300 computation is not scheduled after fetestexcept.
35302 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35305 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35306 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35308 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35310 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35311 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35313 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35316 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35318 (__WCHAR_MIN): Support __WORDSIZE == 64.
35319 (__WCHAR_MAX): Likewise.
35321 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35322 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35325 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35326 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35329 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35330 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35332 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35333 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35335 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35336 Defined to 1 if __x86_64__ isn't defined.
35337 (_STAT_VER_LINUX_OLD): New.
35338 (st_atime): Remove duplicate.
35339 (st_mtime): Likewise.
35340 (st_ctime): Likewise.
35342 2012-05-31 David S. Miller <davem@davemloft.net>
35344 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35347 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35349 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35353 * elf/dl-reloc.c: Include <_itoa.h>.
35354 (_dl_reloc_bad_type): Remove use of INTUSE.
35355 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35356 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35357 * stdio-common/psiginfo.c (psiginfo): Likewise.
35358 * stdio-common/psignal.c (psignal): Likewise.
35359 * string/strsignal.c (strsignal): Likewise.
35360 * include/signal.h (_sys_siglist): Declare hidden proto.
35361 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35362 INTVARDEF with libc_hidden_data_def.
35363 * stdio-common/itoa-udigits.c: Likewise.
35364 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35365 (_itoa_lower_digits_internal): Remove declaration.
35366 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35367 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35368 (_sys_sigabbrev_internal): Remove aliases.
35369 (_sys_siglist): Define hidden alias.
35371 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35376 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35379 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35380 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35382 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35383 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35384 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35385 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35386 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35387 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35389 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35390 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35391 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35393 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35401 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35402 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35403 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35405 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35406 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35407 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35408 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35409 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35410 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35412 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35413 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35415 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35416 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35418 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35419 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35420 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35422 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35423 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35425 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35427 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35428 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35429 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35431 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35433 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35435 2012-05-31 Joseph Myers <joseph@codesourcery.com>
35437 * math/math.h (M_El): Use two more decimal places.
35438 (M_LOG2El): Likewise.
35439 (M_LOG10El): Likewise.
35440 (M_LN2l): Likewise.
35441 (M_LN10l): Likewise.
35443 (M_PI_2l): Likewise.
35444 (M_PI_4l): Likewise.
35445 (M_1_PIl): Likewise.
35446 (M_2_PIl): Likewise.
35447 (M_2_SQRTPIl): Likewise.
35448 (M_SQRT2l): Likewise.
35449 (M_SQRT1_2l): Likewise.
35451 2012-05-31 David S. Miller <davem@davemloft.net>
35453 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35454 values between float registers.
35455 * sysdeps/sparc/sparc64/memset.S: Likewise.
35456 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35458 2012-05-31 Mike Frysinger <vapier@gentoo.org>
35460 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35461 -D_FORTIFY_SOURCE=1.
35462 (CPPFLAGS-tst-longjmp_chk.c): Define.
35463 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35464 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35465 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35466 CFLAGS-tst-wchar-h.c.
35468 2012-05-31 Marek Polacek <polacek@redhat.com>
35471 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35472 __endmntent_internal): Remove declaration.
35473 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35474 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35475 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35477 2012-05-30 David S. Miller <davem@davemloft.net>
35479 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35480 (___Q_simulate_exceptions): Use real FP ops rather than writing
35482 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35485 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35488 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35489 * sysdeps/x86/bits/xtitypes.h: This.
35491 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35492 * sysdeps/x86/bits/wordsize.h: This.
35494 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35495 * sysdeps/x86/bits/huge_vall.h: This.
35497 * sysdeps/i386/bits/select.h: Removed.
35498 * sysdeps/x86_64/bits/select.h: Renamed to ...
35499 * sysdeps/x86/bits/select.h: This.
35501 * sysdeps/i386/bits/setjmp.h: Removed.
35502 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35503 * sysdeps/x86/bits/setjmp.h: This.
35505 * sysdeps/i386/bits/mathdef.h: Removed.
35506 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35507 * sysdeps/x86/bits/mathdef.h: This.
35509 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35512 * include/sys/socket.h (__connect_internal)
35513 (__libc_sa_len_internal): Remove declaration.
35514 (__connect, __libc_sa_len): Declare hidden_proto.
35515 (SA_LEN): Remove use of INTUSE.
35516 * socket/connect.c: Add libc_hidden_def.
35517 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35518 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35519 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35521 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35522 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35523 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35524 of adding _internal alias.
35526 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35529 * sysdeps/i386/bits/link.h: Removed.
35530 * sysdeps/i386/bits/linkmap.h: Likewise.
35531 * sysdeps/x86_64/bits/link.h: Renamed to ...
35532 * sysdeps/x86/bits/link.h: This.
35533 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35534 * sysdeps/x86/bits/linkmap.h: This.
35536 * sysdeps/i386/bits/endian.h: Removed.
35537 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35538 * sysdeps/x86/bits/endian.h: This.
35540 * sysdeps/i386/bits/byteswap.h: Removed.
35541 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35542 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35543 * sysdeps/x86/bits/byteswap.h: This.
35544 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35545 * sysdeps/x86/bits/byteswap-16.h: This.
35546 * sysdeps/i386/Implies: Add x86.
35547 * sysdeps/x86_64/Implies: Likewise.
35549 2012-05-30 David S. Miller <davem@davemloft.net>
35551 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35552 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35553 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35554 (FP_TRAPPING_EXCEPTIONS): Define.
35555 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35556 (FP_TRAPPING_EXCEPTIONS): Define.
35557 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35558 subnormals only when inexact has been signalled or underflow
35559 exceptions are enabled.
35560 (_FP_PACK_CANONICAL): Likewise.
35562 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35565 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35566 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35568 2012-05-30 Richard Henderson <rth@twiddle.net>
35570 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35571 with #ifndef NOT_IN_libc.
35573 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35574 marked to avoid plt entry.
35576 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35579 * Makeconfig (default-abi): New macro.
35580 (abi-includes): Likewise.
35581 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35582 $(abi-$(default-abi)-lib-soname) for soname if defined.
35583 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35585 * Makefile (installed-stubs): Likewise.
35586 * include/stubs-biarch.h: Removed.
35587 * scripts/lib-names.awk: Only handle one library at a time.
35588 * scripts/soversions.awk: Remove WORDSIZE support.
35589 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35591 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35593 (syscall-list-default-condition): Likewise.
35594 (syscall-list-default-condition): Likewise.
35595 (syscall-list-includes): Likewise.
35596 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35597 syscall-list-* with abi-*. Handle undefined abi-variants.
35598 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35599 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35600 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35601 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35602 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35603 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35605 (syscall-list-32-options): Likewise.
35606 (syscall-list-32-condition): Likewise.
35607 (syscall-list-64-options): Likewise.
35608 (syscall-list-64-condition): Likewise.
35609 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35611 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35614 (abi-64-ld-soname): New macro.
35615 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35616 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35619 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35620 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35622 2012-05-30 Joseph Myers <joseph@codesourcery.com>
35624 * sysdeps/unix/sysv/linux/kernel-features.h
35625 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35626 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35627 include <kernel-features.h>.
35628 [!__NR_ftruncate64]: Remove conditional code.
35629 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35630 [__NR_ftruncate64]: Make code unconditional.
35631 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35632 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35633 include <kernel-features.h>.
35634 [!__NR_ftruncate64]: Remove conditional code.
35635 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35636 [__NR_ftruncate64]: Make code unconditional.
35637 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35639 include <kernel-features.h>.
35640 [!__NR_ftruncate64]: Remove conditional code.
35641 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35642 [__NR_ftruncate64]: Make code unconditional.
35643 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35645 include <kernel-features.h>.
35646 [!__NR_ftruncate64]: Remove conditional code.
35647 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35648 [__NR_ftruncate64]: Make code unconditional.
35649 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35651 * configure.in (libc_cv_fpie): Weaken to a compile test using
35652 LIBC_TRY_CC_OPTION.
35653 * configure: Regenerated.
35655 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35670 2012-05-27 David S. Miller <davem@davemloft.net>
35672 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35674 (__Q_simulate_exceptions): Return void. Change to simulate
35675 exceptions by writing into the %fsr.
35676 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35677 (__Qp_handle_exceptions): Likewise.
35679 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35680 __Qp_handle_exceptions.
35681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35682 __Qp_handle_exceptions.
35683 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35684 as unused and give dummy FP_RND_NEAREST initializer.
35685 (FP_INHIBIT_RESULTS): Define.
35686 (___Q_simulate_exceptions): Update declaration.
35687 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35689 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35690 as unused and give dummy FP_RND_NEAREST initializer.
35691 (__Qp_handle_exceptions): Update declaration.
35692 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35695 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35697 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35698 the temporary FPU control word.
35699 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35700 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35701 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35702 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35703 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35704 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35705 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35706 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35707 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35708 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35709 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35711 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35713 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35716 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
35718 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35719 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35720 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35721 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35723 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35724 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35727 2012-05-27 Ulrich Drepper <drepper@gmail.com>
35729 * po/h.po: Update from translation team.
35731 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
35733 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35735 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35736 handling of denormals.
35737 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35738 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35739 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35740 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35741 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35743 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35746 2012-05-26 Marek Polacek <polacek@redhat.com>
35749 * math/libm-test.inc (fma_test): Don't always expect underflow
35752 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35755 * elf/tst-execstack.c: Include stackinfo.h.
35756 (do_test): Adjust test case to ensure that pthread_getattr_np
35757 behaviour remains the same after marking stack executable.
35759 2012-05-25 Joseph Myers <joseph@codesourcery.com>
35761 * sysdeps/unix/sysv/linux/kernel-features.h
35762 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35763 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35765 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35766 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35767 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35769 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35770 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35772 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
35774 * configure.in: Define the default includes to being none.
35775 * configure: Regenerated.
35777 2012-05-25 Roland McGrath <roland@hack.frob.com>
35779 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35780 * sysdeps/x86_64/setjmp.S: Likewise.
35781 * sysdeps/i386/bsd-setjmp.S: Likewise.
35782 * sysdeps/i386/bsd-_setjmp.S: Likewise.
35783 * sysdeps/i386/setjmp.S: Likewise.
35784 * sysdeps/i386/__longjmp.S: Likewise.
35785 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35786 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35788 * include/stap-probe.h: New file.
35789 * configure.in: Handle --enable-systemtap.
35790 * configure: Regenerated.
35791 * config.h.in (USE_STAP_PROBE): New #undef.
35792 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35793 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35794 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35796 2012-05-25 Joseph Myers <joseph@codesourcery.com>
35799 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35800 to 2.4.0 where earlier.
35801 * sysdeps/unix/sysv/linux/configure: Regenerated.
35802 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35803 <kernel-features.h>.
35804 [__ASSUME_32BITUIDS]: Make code unconditional.
35805 [!__ASSUME_32BITUIDS]: Remove conditional code.
35806 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35807 <kernel-features.h>.
35808 [__ASSUME_32BITUIDS]: Make code unconditional.
35809 [!__ASSUME_32BITUIDS]: Remove conditional code.
35810 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35811 [__ASSUME_32BITUIDS]: Make code unconditional.
35812 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35813 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35814 <kernel-features.h>.
35815 [__ASSUME_32BITUIDS]: Make code unconditional.
35816 [!__ASSUME_32BITUIDS]: Remove conditional code.
35817 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35818 <kernel-features.h>.
35819 [__ASSUME_32BITUIDS]: Make code unconditional.
35820 [!__ASSUME_32BITUIDS]: Remove conditional code.
35821 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35822 <kernel-features.h>.
35823 [__ASSUME_32BITUIDS]: Make code unconditional.
35824 [!__ASSUME_32BITUIDS]: Remove conditional code.
35825 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35826 <kernel-features.h>.
35827 [__ASSUME_32BITUIDS]: Make code unconditional.
35828 [!__ASSUME_32BITUIDS]: Remove conditional code.
35829 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35830 <kernel-features.h>.
35831 [__ASSUME_32BITUIDS]: Make code unconditional.
35832 [!__ASSUME_32BITUIDS]: Remove conditional code.
35833 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35834 <kernel-features.h>.
35835 [__ASSUME_32BITUIDS]: Make code unconditional.
35836 [!__ASSUME_32BITUIDS]: Remove conditional code.
35837 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35838 <kernel-features.h>.
35839 [__ASSUME_32BITUIDS]: Make code unconditional.
35840 [!__ASSUME_32BITUIDS]: Remove conditional code.
35841 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35842 <kernel-features.h>.
35843 [__ASSUME_32BITUIDS]: Make code unconditional.
35844 [!__ASSUME_32BITUIDS]: Remove conditional code.
35845 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35846 <kernel-features.h>.
35847 [__ASSUME_32BITUIDS]: Make code unconditional.
35848 [!__ASSUME_32BITUIDS]: Remove conditional code.
35849 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35850 <kernel-features.h>.
35851 [__ASSUME_32BITUIDS]: Make code unconditional.
35852 [!__ASSUME_32BITUIDS]: Remove conditional code.
35853 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35854 <kernel-features.h>.
35855 [__NR_setresgid] (__setresgid): Do not declare.
35856 [__ASSUME_32BITUIDS]: Make code unconditional.
35857 [!__ASSUME_32BITUIDS]: Remove conditional code.
35858 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35859 <kernel-features.h>.
35860 [__NR_setresuid] (__setresuid): Do not declare.
35861 [__ASSUME_32BITUIDS]: Make code unconditional.
35862 [!__ASSUME_32BITUIDS]: Remove conditional code.
35863 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35864 <kernel-features.h>.
35865 [__ASSUME_32BITUIDS]: Make code unconditional.
35866 [!__ASSUME_32BITUIDS]: Remove conditional code.
35867 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35868 <kernel-features.h>.
35869 [__ASSUME_32BITUIDS]: Make code unconditional.
35870 [!__ASSUME_32BITUIDS]: Remove conditional code.
35871 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35872 <kernel-features.h>.
35873 [__ASSUME_32BITUIDS]: Make code unconditional.
35874 [!__ASSUME_32BITUIDS]: Remove conditional code.
35875 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35876 <kernel-features.h>.
35877 [__ASSUME_32BITUIDS]: Make code unconditional.
35878 [!__ASSUME_32BITUIDS]: Remove conditional code.
35879 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35880 <kernel-features.h>.
35881 [__ASSUME_32BITUIDS]: Make code unconditional.
35882 [!__ASSUME_32BITUIDS]: Remove conditional code.
35883 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35884 <kernel-features.h>.
35885 [__ASSUME_32BITUIDS]: Make code unconditional.
35886 [!__ASSUME_32BITUIDS]: Remove conditional code.
35887 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35888 <kernel-features.h>.
35889 [__ASSUME_32BITUIDS]: Make code unconditional.
35890 [!__ASSUME_32BITUIDS]: Remove conditional code.
35891 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35892 <kernel-features.h>.
35893 [__ASSUME_32BITUIDS]: Make code unconditional.
35894 [!__ASSUME_32BITUIDS]: Remove conditional code.
35895 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35896 <kernel-features.h>.
35897 [__ASSUME_32BITUIDS]: Make code unconditional.
35898 [!__ASSUME_32BITUIDS]: Remove conditional code.
35899 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35900 <kernel-features.h>.
35901 [__ASSUME_32BITUIDS]: Make code unconditional.
35902 [!__ASSUME_32BITUIDS]: Remove conditional code.
35903 * sysdeps/unix/sysv/linux/kernel-features.h
35904 (__ASSUME_SETRESUID_SYSCALL): Remove.
35905 (__ASSUME_SETRESGID_SYSCALL): Likewise.
35906 (__ASSUME_32BITUIDS): Likewise.
35907 (__ASSUME_LDT_WORKS): Likewise.
35908 (__ASSUME_O_DIRECTORY): Likewise.
35909 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35910 architecture but not kernel version.
35911 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35912 (__ASSUME_MMAP2_SYSCALL): Likewise.
35913 (__ASSUME_STAT64_SYSCALL): Likewise.
35914 (__ASSUME_IPC64): Likewise.
35915 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35916 <kernel-features.h>.
35917 [__ASSUME_32BITUIDS]: Make code unconditional.
35918 [!__ASSUME_32BITUIDS]: Remove conditional code.
35919 * sysdeps/unix/sysv/linux/opendir.c: Do not include
35920 <kernel-features.h>.
35921 [__ASSUME_O_DIRECTORY]: Make code unconditional.
35922 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35923 132096]: Remove conditional code.
35924 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35925 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35926 <kernel-features.h>.
35927 [__ASSUME_32BITUIDS]: Make code unconditional.
35928 [!__ASSUME_32BITUIDS]: Remove conditional code.
35929 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35930 <kernel-features.h>.
35931 [__ASSUME_32BITUIDS]: Make code unconditional.
35932 [!__ASSUME_32BITUIDS]: Remove conditional code.
35933 * sysdeps/unix/sysv/linux/setegid.c: Do not include
35934 <kernel-features.h>.
35935 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35937 (__setresgid): Do not declare.
35938 [__ASSUME_32BITUIDS]: Make code unconditional.
35939 [!__ASSUME_32BITUIDS]: Remove conditional code.
35940 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35941 <kernel-features.h>.
35942 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35944 (__setresuid): Do not declare.
35945 [__ASSUME_32BITUIDS]: Make code unconditional.
35946 [!__ASSUME_32BITUIDS]: Remove conditional code.
35947 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35948 <kernel-features.h>.
35949 [__ASSUME_32BITUIDS]: Make code unconditional.
35950 [!__ASSUME_32BITUIDS]: Remove conditional code.
35951 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35952 <kernel-features.h>.
35953 [__ASSUME_32BITUIDS]: Make code unconditional.
35954 [!__ASSUME_32BITUIDS]: Remove conditional code.
35956 2012-05-25 Richard Henderson <rth@twiddle.net>
35958 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35959 dl_hwcap to ifunc resolver.
35960 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35962 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35963 dl_hwcap to ifunc resolver.
35964 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35966 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35969 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35970 for |x| <= 2**-26, not 2**-57.
35971 * math/libm-test.inc (acos_test): Do not allow spurious underflow
35974 2012-05-24 Jeff Law <law@redhat.com>
35976 * stdio-common/Makefile (tests): Add bug25.
35977 * stdio-common/bug25.c: New test.
35979 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
35982 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35983 multiple of MALLOC_ALIGNMENT in size.
35984 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35986 2012-05-24 Joseph Myers <joseph@codesourcery.com>
35988 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35990 (FILENAME_MAX): Use macro-int-constant.
35991 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
35992 (_IOFBF): Use macro-int-constant.
35993 (_IOLBF): Likewise.
35994 (_IONBF): Likewise.
35995 (SEEK_CUR): Likewise.
35996 (SEEK_END): Likewise.
35997 (SEEK_SET): Likewise.
35998 (TMP_MAX): Likewise.
35999 (EOF): Use macro-int-constant. Require < 0.
36000 (NULL): Use macro-constant. Require == 0.
36001 (stdin): Require type to be FILE *.
36002 (stdout): Likewise.
36003 (stderr): Likewise.
36004 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36005 macro-int-constant.
36006 (EXIT_SUCCESS): Likewise.
36007 (NULL): Use macro-constant. Require == 0.
36008 (RAND_MAX): Use macro-int-constant.
36009 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36010 [C99-based standards] (strtof): Require function.
36011 [C99-based standards] (strtold): Likewise.
36012 [C99-based standards] (strtoll): Likewise.
36013 [C99-based standards] (strtoull): Likewise.
36014 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36015 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36016 [ISO || ISO99 || ISO11] (math.h): Likewise.
36017 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36018 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36019 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36021 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36024 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36025 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36026 * intl/dgettext.c (DCGETTEXT): Likewise.
36027 * intl/gettext.c (DCGETTEXT): Likewise.
36028 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36029 * posix/regex_internal.h (gettext): Likewise.
36030 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36031 Remove declaration.
36032 * include/argz.h (__argz_count_internal)
36033 (__argz_stringify_internal): Remove declaration.
36034 (__argz_count, __argz_stringify): Declare hidden proto.
36035 * intl/dcgettext.c: Remove use of INTDEF.
36036 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36037 * string/argz-stringify.c: Likewise.
36038 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36039 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36040 Declare hidden proto.
36041 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36042 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36043 Declare hidden proto.
36044 * include/stdio.h (__asprintf_internal): Don't declare.
36045 (__asprintf): Don't define as macro. Declare hidden proto.
36046 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36047 (__fsetlocking): Declare hidden proto.
36048 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36049 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36051 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36052 (_IO_setlinebuf): Remove use of INTUSE.
36053 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36054 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36055 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36056 Remove declaration.
36057 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36058 (_IO_do_flush): Remove use of INTUSE.
36059 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36060 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36061 (_IO_adjust_column, _IO_least_wmarker)
36062 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36063 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36064 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36065 (_IO_default_doallocate, _IO_wdefault_doallocate)
36066 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36067 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36068 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36069 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36070 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36071 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36072 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36073 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36074 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36075 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36076 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36077 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36078 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36080 (_IO_flush_all_internal, _IO_adjust_column_internal)
36081 (_IO_default_uflow_internal, _IO_default_finish_internal)
36082 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36083 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36084 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36085 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36086 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36087 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36088 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36089 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36090 (_IO_file_close_internal, _IO_file_close_it_internal)
36091 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36092 (_IO_file_init_internal, _IO_file_attach_internal)
36093 (_IO_file_fopen_internal, _IO_file_read_internal)
36094 (_IO_file_sync_internal, _IO_file_seek_internal)
36095 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36096 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36097 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36098 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36099 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36100 (_IO_list_all_internal, _IO_link_in_internal)
36101 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36102 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36103 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36104 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36105 (_IO_do_write_internal, _IO_padn_internal)
36106 (_IO_getline_info_internal, _IO_getline_internal)
36107 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36108 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36109 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36110 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36111 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36112 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36113 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36114 with libc_hidden_ver, remove use of INTUSE.
36115 * libio/genops.c: Likewise.
36116 * libio/freopen.c: Likewise.
36117 * libio/freopen64.c: Likewise.
36118 * libio/iofclose.c: Likewise.
36119 * libio/iofdopen.c: Likewise.
36120 * libio/iofflush.c: Likewise.
36121 * libio/iofflush_u.c: Likewise.
36122 * libio/iofgets.c: Likewise.
36123 * libio/iofgets_u.c: Likewise.
36124 * libio/iofopen.c: Likewise.
36125 * libio/iofopncook.c: Likewise.
36126 * libio/iofread.c: Likewise.
36127 * libio/iofread_u.c: Likewise.
36128 * libio/ioftell.c: Likewise.
36129 * libio/iofwrite.c: Likewise.
36130 * libio/iogetline.c: Likewise.
36131 * libio/iogets.c: Likewise.
36132 * libio/iogetwline.c: Likewise.
36133 * libio/iopadn.c: Likewise.
36134 * libio/iopopen.c: Likewise.
36135 * libio/ioseekoff.c: Likewise.
36136 * libio/ioseekpos.c: Likewise.
36137 * libio/iosetbuffer.c: Likewise.
36138 * libio/iosetvbuf.c: Likewise.
36139 * libio/ioungetc.c: Likewise.
36140 * libio/ioungetwc.c: Likewise.
36141 * libio/iovdprintf.c: Likewise.
36142 * libio/iovsprintf.c: Likewise.
36143 * libio/iovsscanf.c: Likewise.
36144 * libio/memstream.c: Likewise.
36145 * libio/obprintf.c: Likewise.
36146 * libio/oldfileops.c: Likewise.
36147 * libio/oldiofclose.c: Likewise.
36148 * libio/oldiofdopen.c: Likewise.
36149 * libio/oldiofopen.c: Likewise.
36150 * libio/oldiopopen.c: Likewise.
36151 * libio/oldstdfiles.c: Likewise.
36152 * libio/putc.c: Likewise.
36153 * libio/setbuf.c: Likewise.
36154 * libio/setlinebuf.c: Likewise.
36155 * libio/stdfiles.c: Likewise.
36156 * libio/strops.c: Likewise.
36157 * libio/vasprintf.c: Likewise.
36158 * libio/vscanf.c: Likewise.
36159 * libio/vsnprintf.c: Likewise.
36160 * libio/vswprintf.c: Likewise.
36161 * libio/wfiledoalloc.c: Likewise.
36162 * libio/wfileops.c: Likewise.
36163 * libio/wgenops.c: Likewise.
36164 * libio/wmemstream.c: Likewise.
36165 * libio/wstrops.c: Likewise.
36166 * libio/__fpurge.c: Likewise.
36167 * libio/__fsetlocking.c: Likewise.
36168 * assert/assert.c: Likewise.
36169 * debug/fgets_chk.c: Likewise.
36170 * debug/fgets_u_chk.c: Likewise.
36171 * debug/fread_chk.c: Likewise.
36172 * debug/fread_u_chk.c: Likewise.
36173 * debug/gets_chk.c: Likewise.
36174 * debug/obprintf_chk.c: Likewise.
36175 * debug/vasprintf_chk.c: Likewise.
36176 * debug/vdprintf_chk.c: Likewise.
36177 * debug/vsnprintf_chk.c: Likewise.
36178 * debug/vsprintf_chk.c: Likewise.
36179 * malloc/mtrace.c: Likewise.
36180 * misc/error.c: Likewise.
36181 * misc/syslog.c: Likewise.
36182 * stdio-common/asprintf.c: Likewise.
36183 * stdio-common/fxprintf.c: Likewise.
36184 * stdio-common/getw.c: Likewise.
36185 * stdio-common/isoc99_fscanf.c: Likewise.
36186 * stdio-common/isoc99_scanf.c: Likewise.
36187 * stdio-common/isoc99_vfscanf.c: Likewise.
36188 * stdio-common/isoc99_vscanf.c: Likewise.
36189 * stdio-common/isoc99_vsscanf.c: Likewise.
36190 * stdio-common/printf-prs.c: Likewise.
36191 * stdio-common/printf_fp.c: Likewise.
36192 * stdio-common/printf_fphex.c: Likewise.
36193 * stdio-common/printf_size.c: Likewise.
36194 * stdio-common/putw.c: Likewise.
36195 * stdio-common/scanf.c: Likewise.
36196 * stdio-common/sprintf.c: Likewise.
36197 * stdio-common/tmpfile.c: Likewise.
36198 * stdio-common/vfprintf.c: Likewise.
36199 * stdio-common/vfscanf.c: Likewise.
36200 * stdlib/strfmon_l.c: Likewise.
36201 * sunrpc/openchild.c: Likewise.
36202 * sunrpc/xdr_stdio.c: Likewise.
36203 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36204 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36206 2012-05-24 Roland McGrath <roland@hack.frob.com>
36208 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36210 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36211 in the third column, to generate for the shared library an IFUNC
36212 that uses _dl_vdso_vsym.
36213 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36214 * Makeconfig (object-suffixes-noshared): New variable.
36216 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36217 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36218 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36219 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36222 * include/sys/time.h (__gettimeofday): Remove macro.
36223 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36224 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36226 (__gettimeofday): Add libc_hidden_def.
36227 (gettimeofday): Add libc_hidden_weak.
36228 * sysdeps/mach/gettimeofday.c: Likewise.
36229 * sysdeps/posix/gettimeofday.c: Likewise.
36230 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36231 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36232 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36233 (__gettimeofday_internal): Remove strong_alias.
36234 (__gettimeofday): Add libc_hidden_def.
36235 (gettimeofday): Add libc_hidden_weak.
36236 * sysdeps/unix/syscalls.list (gettimeofday):
36237 Remove __gettimeofday_internal alias.
36239 2012-05-24 Daniel Jacobowitz <drow@false.org>
36240 H.J. Lu <hongjiu.lu@intel.com>
36243 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36244 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36245 (largebin_index_32_big): New.
36246 (largebin_index): Use it for 16-byte alignment.
36247 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36248 correction with front_misalign.
36250 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36278 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36279 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36281 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36285 * math/libm-test.inc (exp_test): Add test from bug 14036.
36286 (pow_test): Add test from bug 10846.
36288 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36290 (special_function): Do not include flags in test name.
36291 (parse_args): Likewise.
36292 * sysdeps/i386/fpu/libm-test-ulps: Update.
36293 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36294 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36295 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36298 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36300 * math/libm-test.inc ("Philosophy"): Update comment about
36302 (UNDERFLOW_EXCEPTION): New macro.
36303 (UNDERFLOW_EXCEPTION_OK): Likewise.
36304 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36305 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36306 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36307 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36308 (INVALID_EXCEPTION_OK): Update value.
36309 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36310 (OVERFLOW_EXCEPTION_OK): Likewise.
36311 (IGNORE_ZERO_INF_SIGN): Likewise.
36312 (test_exceptions): Handle underflow exceptions.
36313 (acos_test): Update for underflow exception expectations.
36314 (cexp_test): Likewise.
36315 (clog_test): Likewise.
36316 (clog10_test): Likewise.
36317 (csqrt_test): Likewise.
36318 (ctan_test): Likewise.
36319 (ctanh_test): Likewise.
36320 (exp_test): Likewise.
36321 (exp10_test): Likewise.
36322 (exp2_test): Likewise.
36323 (expm1_test): Likewise.
36324 (fma_test): Likewise.
36325 (j0_test): Likewise.
36326 (jn_test): Likewise.
36327 (nexttoward_test): Likewise.
36328 (pow_test): Likewise.
36329 (scalbn_test): Likewise.
36330 (scalbln_test): Likewise.
36331 (tan_test): Likewise.
36332 (y1_test): Likewise.
36333 * sysdeps/i386/fpu/libm-test-ulps: Update.
36334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36336 2012-05-23 David S. Miller <davem@davemloft.net>
36338 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36339 (__libc_sigaction): Remove unused local variables.
36341 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36343 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36345 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36347 mktime: avoid signed integer overflow
36348 * time/mktime.c (__mktime_internal): Do not mishandle the case
36349 where diff == INT_MIN.
36351 mktime: simplify computation of average
36352 * time/mktime.c (ranged_convert): Use new time_t_avg function
36353 instead of rolling our own (probably-slower) code.
36355 mktime: do not assume signed right shift propagates sign bit
36356 * time/mktime.c (isdst_differ): New static function.
36357 (__mktime_internal): No need to normalize tm_isdst now.
36358 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36361 mktime: merge another wrapv change from gnulib
36362 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36363 from some compilers.
36365 mktime: remove incorrect attempt at unusual arithmetics
36366 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36367 The code didn't really work on such machines anyway.
36368 (TYPE_MINIMUM): Assume two's complement.
36369 (twos_complement_arithmetic): Verify that long_int and time_t
36370 are two's complement (or unsigned, in the latter case).
36372 mktime: check signed shifts on long_int and time_t, too
36373 * time/mktime.c (SHR): Check that shifts work as desired
36374 on the types long_int and time_t too, as SHR is used on
36377 mktime: do not assume 'long' is wide enough
36378 * time/mktime.c (verify): Move decl up.
36379 (long_int): New type.
36380 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36381 to remove assumption in the code that 'long' is wide enough to
36382 store year values. This assumption is not true on x32 and on
36383 some non-glibc platforms.
36385 mktime: merge wrapv change from gnulib
36386 * time/mktime.c (WRAPV): New macro.
36387 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36388 (guess_time_tm, __mktime_internal): Do not assume that signed
36389 integer overflow wraps around; modern compilers generate code
36390 where this assumption is no longer valid.
36392 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36394 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36395 Replace "jmp L(pseudo_end)" with "ret".
36396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36399 2012-05-23 Andreas Jaeger <aj@suse.de>
36401 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36402 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36404 2012-05-23 Andreas Jaeger <aj@suse.de>
36405 Maximilian Attems <max@stro.at>
36407 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36410 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36412 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36413 code so that pseudo_end is just ret and the stack pointer is
36414 correct also for static library in error case.
36416 2012-05-23 Joseph Myers <joseph@codesourcery.com>
36418 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36419 move to syscalls.list.
36420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36425 * manual/install.texi (Running make install): Do not mention Linux
36426 kernel version for which pt_chown is not needed.
36427 (Linux): Do not mention problems with nscd with 2.0 kernels.
36428 * INSTALL: Regenerated.
36430 2012-05-23 Andreas Jaeger <aj@suse.de>
36432 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36433 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36435 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36436 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36437 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36438 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36439 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36440 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36441 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36442 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36443 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36444 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36445 * sysdeps/unix/sysv/linux/bits/in.h
36446 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36448 2012-05-22 Roland McGrath <roland@hack.frob.com>
36450 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36451 (PREPARE_VERSION): Just use assert instead, it will be elided
36452 under [NDEBUG] anyway.
36454 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36456 * sysdeps/unix/sysv/linux/Makefile: Include
36457 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36458 (sysdep_routines): Remove sysctl.
36459 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36460 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36461 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36462 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36463 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36465 2012-05-22 Andreas Jaeger <aj@suse.de>
36467 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36468 that pseudo_end is just ret and the stack pointer is correct also
36469 for static library in error case.
36471 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36474 * nss/nsswitch.c (defconfig_entries): New variable.
36475 (__nss_database_lookup): Don't leak defconfig entries.
36476 (nss_parse_service_list): Don't leak on error paths.
36477 (free_database_entries): New function.
36478 (free_defconfig): New function.
36479 (free_mem): Move common code to free_database_entries.
36481 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36483 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36485 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36487 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36488 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36489 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36491 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36492 (INTERNAL_SYSCALL_TYPES): Likewise.
36493 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36494 (LOAD_REGS_TYPES_[1-6]): Likewise.
36495 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36496 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36498 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36500 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36501 copysignl for GLIBC_2_0.
36502 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36503 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36505 logbl for GLIBC_2_0.
36506 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36507 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36509 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36511 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36512 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36514 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36517 * time/mktime.c: Update copyright years.
36519 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36521 mktime: merge comment-quoting-style change from gnulib
36522 * time/mktime.c: Quote 'like this' in comments.
36523 The GNU coding standards suggest that we no longer quote `like this',
36524 as "`" and "'" are typically rendered asymmetrically nowadays.
36525 The typical gnulib style is to quote 'like this' when quoting
36526 code, and "like this" when quoting English.
36528 * time/mktime.c (compile-command): Add "-I.".
36530 mktime: merge mktime-internal.h change from gnulib
36531 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36533 mktime: merge time_r change from gnulib
36534 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36536 mktime: merge DEBUG change from gnulib
36537 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36538 case system <time.h> has a #define.
36540 mktime: merge <sys/types.h> change from gnulib
36541 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36542 since <time.t> is now guaranteed to define time_t.
36544 mktime: merge HAVE_CONFIG_H change from gnulib
36545 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36547 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36552 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36554 (struct rusage): Use anonymous union to pad each field to
36557 2012-05-21 David S. Miller <davem@davemloft.net>
36559 * Makefules (o-iterator): Remove .s cases.
36560 (compile-command.s): Delete.
36561 (COMPILE.s): Delete.
36562 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36564 2012-05-21 Joseph Myers <joseph@codesourcery.com>
36566 * configure.in (libc_cv_predef_stack_protector): Only consider
36567 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36568 * configure: Regenerated.
36570 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36572 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36573 New macro. Use R*LP on int and pointer.
36574 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36575 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36576 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36577 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36579 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36580 [__WORDSIZE_TIME64_COMPAT32] instead of
36581 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36582 (struct utmp): Likewise.
36583 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36584 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36586 (__WORDSIZE_TIME64_COMPAT32): This.
36587 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36588 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36589 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36590 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36591 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36592 (__WORDSIZE_TIME64_COMPAT32): New macro.
36594 2012-05-21 Andreas Jaeger <aj@suse.de>
36596 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36597 only if [SHARED]. Add prototype for __wcschr_ia32.
36599 2012-05-21 Roland McGrath <roland@hack.frob.com>
36601 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36602 of %rbp unmolested in the jmp_buf while mangling the low bits.
36603 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36604 unmolested high bits of %rbp while demangling the low bits.
36605 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36607 2012-05-21 Andreas Jaeger <aj@suse.de>
36609 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36610 * sunrpc/svc_simple.c: Use it for registerrpc.
36611 * sunrpc/xcrypt.c: Use it for passwd2des.
36613 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36615 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36617 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36618 Don't define if [__SYSCALL_WORDSIZE != 32].
36619 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36622 2012-05-21 Bruno Haible <bruno@clisp.org>
36623 Andreas Jaeger <aj@suse.de>
36625 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36626 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36627 inptr and inend for must_buffer_ch.
36628 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36629 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36630 * stdio-common/Makefile (tests): Remove bug15.
36631 (bug15-ENV): Remove macro.
36632 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36635 2012-05-19 Andreas Jaeger <aj@suse.de>
36636 Roland McGrath <roland@hack.frob.com>
36638 * manual/contrib.texi: Completely rewritten. It contains now an
36639 alphabetical list of contributors and their contributions.
36641 2012-05-21 Richard Henderson <rth@twiddle.net>
36643 * misc/getauxval.c (__getauxval): Use unsigned long int.
36644 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36645 (getauxval): Use unsigned long int.
36647 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36649 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36651 2012-05-21 Roland McGrath <roland@hack.frob.com>
36653 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36654 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36655 __alignof__ (long double).
36657 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36661 2012-05-20 Richard Henderson <rth@twiddle.net>
36663 * misc/getauxval.c: New file.
36664 * misc/sys/auxv.h: New file.
36665 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36666 (routines): Add getauxval.
36667 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36668 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36669 * elf/dl-sysdep.c (_dl_auxv): Remove.
36670 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36671 * elf/dl-support.c (_dl_auxv): New variable.
36672 (_dl_aux_init): Initialize it.
36673 * manual/startup.texi (Auxiliary Vector): New node.
36674 * sysdeps/generic/bits/hwcap.h: New file.
36675 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36676 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36677 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36678 * sysdeps/sparc/sysdep.h: ... here. Include it.
36679 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36680 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36686 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36692 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36696 2012-05-19 David S. Miller <davem@davemloft.net>
36698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36700 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36703 * math/s_ccosh.c: Include <float.h>
36704 (__ccosh): Avoid internal overflow calculating sinh and cosh
36705 values before multiplying by sin and cos values.
36706 * math/s_ccoshf.c: Likewise.
36707 * math/s_ccoshl.c: Likewise.
36708 * math/s_csin.c: Likewise.
36709 * math/s_csinf.c: Likewise.
36710 * math/s_csinl.c: Likewise.
36711 * math/s_csinh.c: Likewise.
36712 * math/s_csinhf.c: Likewise.
36713 * math/s_csinhl.c: Likewise.
36714 * math/libm-test.inc (ccos_test): Add more tests.
36715 (ccosh_test): Likewise.
36716 (csin_test): Likewise.
36717 (csinh_test): Likewise.
36718 * sysdeps/i386/fpu/libm-test-ulps: Update.
36719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36721 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
36723 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36724 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36726 * sysdeps/x86_64/x32/_itoa.h: Add comment.
36728 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36730 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36731 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36732 * sysdeps/powerpc/soft-fp/Versions: Likewise.
36733 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36734 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36735 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36736 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36737 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36738 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36739 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36740 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36741 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36742 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36743 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36744 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36745 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36746 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36747 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36748 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36749 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36750 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36751 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36752 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36753 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36754 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36755 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36756 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36757 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36758 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36759 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36760 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36762 2012-05-18 Andreas Jaeger <aj@suse.de>
36764 * csu/.gitignore: Delete.
36766 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36768 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36769 (timex): Use __syscall_slong_t.
36771 2012-05-18 Andreas Jaeger <aj@suse.de>
36772 Carlos O'Donell <carlos_odonell@mentor.com>
36774 * manual/install.texi (Configuring and compiling): Update
36775 description about files modified in the source directory.
36776 * INSTALL: Regenerated.
36778 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36780 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36781 value. Use "or" to set return value to -1.
36782 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36783 negate return value.
36785 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36787 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36788 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
36789 failure if the compiler has Graphite support disabled.
36790 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36792 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36793 (CFLAGS-memmove.c): Likewise.
36794 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36797 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
36799 * sysdeps/x86_64/x32/_itoa.h: New file.
36801 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36802 getdents system call only if kernel and user dirents have the
36803 same d_ino and d_off.
36805 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36806 LLONG_MAX != LONG_MAX.
36807 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36808 (_fitoa_word): Likewise.
36810 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36812 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36813 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36814 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36816 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36817 include <bits/wordsize.h>. Check __x86_64__ instead of
36819 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36820 if __x86_64__ is defined. Use anonymous union on fpstate.
36822 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36825 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
36827 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36828 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36829 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36830 Refer to _rtld_local_ro instead of _rtld_global_ro.
36831 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36833 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36835 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36837 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36838 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36839 of _rtld_global, and rtld_progname instead of _dl_argv[0].
36841 * sysdeps/powerpc/powerpc32/dl-machine.c
36842 (__elf_machine_runtime_setup) [PROF]: Don't reference
36845 2012-05-18 Andreas Jaeger <aj@suse.de>
36847 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36848 function only available for GCCs before 3.4 since GCC 3.4
36849 introduced a builtin.
36851 (llrintf): Likewise.
36852 (llrint): Likewise.
36859 (nearbyint): Likewise.
36860 (nearbyintf): Likewise.
36864 (floorf): Likewise.
36866 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36868 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36869 on both fields and cast pointer to __syscall_ulong_t.
36871 * bits/types.h (__fsword_t): New type.
36872 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36873 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36874 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36875 (__FSWORD_T_TYPE): Likewise.
36876 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36877 (__FSWORD_T_TYPE): Likewise.
36878 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36879 (__FSWORD_T_TYPE): Likewise.
36880 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36881 (__FSWORD_T_TYPE): Likewise.
36882 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36883 __SWORD_TYPE with __fsword_t.
36884 (statfs64): Likewise.
36886 2012-05-17 David S. Miller <davem@davemloft.net>
36888 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36890 2012-05-17 Andreas Jaeger <aj@suse.de>
36892 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36895 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36897 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36899 2012-05-17 Andreas Jaeger <aj@suse.de>
36901 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36904 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36906 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36908 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
36910 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36911 * sysdeps/x86_64/tst-mallocalign1.c: New file.
36913 2012-05-17 Andreas Jaeger <aj@suse.de>
36914 Carlos O'Donell <carlos_odonell@mentor.com>
36917 * sysdeps/x86_64/multiarch/init-arch.h
36918 (bit_YMM_Usable): Rename to...
36919 (bit_AVX_Usable): ... this.
36920 (bit_FMA4_Usable): New macro.
36921 (bit_XMM_state): New macro.
36922 (bit_YMM_state): New macro.
36923 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36924 [__ASSEMBLER__] (index_AVX_Usable): ... this.
36925 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36926 (CPUID_OSXSAVE): New macro.
36927 (CPUID_AVX): New macro.
36928 (CPUID_FMA4): New macro.
36929 (index_YMM_Usable): Rename to...
36930 (index_AVX_Usable): ... this.
36931 (HAS_AVX): Use HAS_ARCH_FEATURE.
36932 (HAS_FMA4): Likewise.
36933 (HAS_YMM_USABLE): Remove.
36934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36935 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36937 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36938 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36939 * sysdeps/x86_64/multiarch/Makefile: Likewise.
36940 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36941 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36943 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
36945 * math/libm-test.c: Support platforms without multiple rounding modes.
36946 * math/bug-nextafter.c: Support platforms without FP exceptions.
36947 * math/bug-nexttoward.c: Likewise.
36948 * math/test-fenv.c: Likewise.
36949 * math/test-misc.c: Likewise.
36950 * stdlib/bug-getcontext.c: Likewise.
36952 2012-05-17 Andreas Jaeger <aj@suse.de>
36954 * manual/examples/search.c (critter_cmp): Change signature to
36956 * manual/string.texi (Collation Functions): Likewise.
36958 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36960 * bits/types.h: Fold copyright years.
36961 * bits/typesizes.h: Likewise.
36962 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36963 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36964 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36965 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36966 * time/time.h: Likewise.
36968 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
36971 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36972 in instead of returning them. Return void.
36973 (__libc_mallinfo): Accumulate over all arenas.
36974 (__malloc_stats): Adjust for change in int_mallinfo interface.
36976 2012-05-16 Roland McGrath <roland@hack.frob.com>
36979 * configure.in (NM): Add AC_CHECK_TOOL for it.
36980 (libc_extra_cflags): New substituted variable.
36981 Check for -fstack-protector being used implicitly.
36982 * configure: Regenerated.
36983 * config.make.in (config-extra-cflags): New variable,
36984 gets @libc_extra_cflags@.
36985 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36988 * configure.in: Check for _FORTIFY_SOURCE being predefined.
36989 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36990 * configure: Regenerated.
36991 * config.make.in (CPPUNDEFS): New substituted variable.
36992 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36993 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36994 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36996 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
36998 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36999 (mq_attr): Use __syscall_slong_t.
37001 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37003 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37004 Check __x86_64__ instead of __WORDSIZE.
37005 (_STAT_VER_LINUX): Likewise.
37006 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37007 __syscall_ulong_t and __syscall_slong_t.
37008 (stat64): Likewise.
37010 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37012 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37014 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37016 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37018 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37020 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37023 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37024 include <bits/wordsize.h>. Check __x86_64__ instead of
37026 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37028 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37030 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37031 include <bits/wordsize.h>. Check __x86_64__ instead of
37033 (user_regs_struct): Use "__extension__ unsigned long long"
37034 instead of "unsigned long" if __x86_64__ is defined.
37035 (user): Likewise. Pad after pointer field if __ILP32__ is
37038 2012-05-16 Joseph Myers <joseph@codesourcery.com>
37040 * configure.in (makeinfo): Require version 4.5 or later. Allow
37042 * configure: Regenerated.
37043 * manual/install.texi (texinfo): Increase version requirement to
37045 * INSTALL: Regenerated.
37047 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37049 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37051 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37053 * sysdeps/x86_64/x32/ffs.c: New file.
37055 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37057 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37058 defined. Use __syscall_ulong_t.
37059 (shminfo): Use __syscall_ulong_t.
37060 (shm_info): Likewise.
37062 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37065 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37067 (msgqnum_t): Use __syscall_ulong_t.
37068 (msglen_t): Likewise.
37069 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37072 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37073 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37075 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37077 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37078 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37080 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37083 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37084 include <bits/wordsize.h>. Check __x86_64__ instead of
37087 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37088 "unsigned long long int" if __x86_64__ is defined.
37089 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37091 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37092 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37093 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37095 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37097 (GET_PC): Cast to uintptr_t first.
37098 (GET_FRAME): Likewise.
37099 (GET_STACK): Likewise.
37101 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37102 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37103 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37104 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37105 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37106 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37107 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37108 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37109 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37110 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37111 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37112 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37113 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37114 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37115 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37116 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37117 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37118 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37119 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37120 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37121 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37122 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37123 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37124 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37125 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37126 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37127 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37128 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37129 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37131 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37133 * Makerules (+depfiles): Also collect depfiles from .oS in
37135 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37136 .oS, $(libnldbl-routines)).
37138 * Makerules (native-compile-mkdep-flags): Define.
37139 * sunrpc/Makefile (extra-objs): Add $(addprefix
37140 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37141 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37142 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37143 calling $(make-target-directory).
37145 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37147 * bits/types.h (__snseconds_t): Removed.
37148 * time/time.h (struct timespec): Replace __snseconds_t with
37150 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37151 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37154 (__SNSECONDS_T_TYPE): Likewise.
37155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37156 (__SNSECONDS_T_TYPE): Likewise.
37157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37158 (__SNSECONDS_T_TYPE): Likewise.
37160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37162 * sysdeps/mach/hurd/bits/typesizes.h
37163 (__SYSCALL_SLONG_TYPE): New macro.
37164 (__SYSCALL_ULONG_TYPE): Likewise.
37166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37168 * bits/types.h (__syscall_slong_t): New type.
37169 (__syscall_ulong_t): Likewise.
37171 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37172 (__SYSCALL_ULONG_TYPE): Likewise.
37173 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37174 (__SYSCALL_SLONG_TYPE): Likewise.
37175 (__SYSCALL_ULONG_TYPE): Likewise.
37176 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37177 (__SYSCALL_SLONG_TYPE): Likewise.
37178 (__SYSCALL_ULONG_TYPE): Likewise.
37179 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37180 (__SYSCALL_SLONG_TYPE): Likewise.
37181 (__SYSCALL_ULONG_TYPE): Likewise.
37183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37185 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37186 Add sigaltstack-offsets.sym.
37187 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37188 <sigaltstack-offsets.h>.
37189 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37190 longjmp_msg pointer.
37191 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37192 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37194 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37196 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37198 * elf/stackguard-macros.h: Remove file.
37199 * sysdeps/generic/stackguard-macros.h: New file.
37200 * sysdeps/i386/stackguard-macros.h: Likewise.
37201 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37202 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37203 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37204 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37205 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37206 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37207 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37208 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37209 <elf/stackguard-macros.h>.
37212 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37213 __aligned__ in attribute.
37214 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37215 (gregset_t): Likewise.
37217 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37219 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37220 * sysdeps/x86_64/64/Implies-after: Here. New file.
37221 * sysdeps/x86_64/x32/Implies-after: New file.
37223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37225 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37226 and access return value for _dl_profile_fixup. Use R10_LP to
37229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37231 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37233 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37235 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37236 * sysdeps/x86_64/x32/sysdep.h: New file.
37238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37240 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37241 * sysdeps/x86_64/setjmp.S: Likewise.
37243 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37245 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37246 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37247 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37248 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37249 remove unused global constant.
37251 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37253 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37254 include of <not-cancel.h>.
37256 2012-05-15 Roland McGrath <roland@hack.frob.com>
37258 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37260 2012-05-15 Jeff Law <law@redhat.com>
37261 Andreas Jaeger <aj@suse.de>
37264 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37266 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37267 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37268 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37269 code changing __hst_map_handle.map.
37271 2012-05-15 Roland McGrath <roland@hack.frob.com>
37273 * configure.in (sysnames): Look for Implies-before and Implies-after
37275 * configure: Regenerated.
37277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37279 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37280 8-byte data alignment with LP_SIZE alignment.
37282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37284 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37289 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37293 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37294 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37295 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37297 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37301 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37302 (stackinfo_sub_sp): Likewise.
37304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37306 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37311 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37316 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37319 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37321 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37325 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37326 into R11_LP and load __x86_64_shared_cache_size_half into
37329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37331 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37334 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37336 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37338 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37340 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37342 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37343 powerpc32/power7/fpu/s_logb.c via #include.
37344 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37345 powerpc32/power7/fpu/s_logbf.c via #include.
37346 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37347 powerpc32/power7/fpu/s_logbl.c via #include.
37349 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37351 * README.libm: Remove file.
37353 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37355 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37356 count for x32. Use R*_LP and omit operand-size suffix.
37358 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37360 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37361 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37362 * sysdeps/x86_64/x32/shlib-versions: New file.
37364 2012-05-14 Roland McGrath <roland@hack.frob.com>
37366 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37367 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37368 Use _dl_fatal_printf instead.
37370 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37372 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37373 set if not set by the user. Do not allow for being unset.
37374 * sysdeps/unix/sysv/linux/configure: Regenerated.
37376 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37378 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37379 the `q' suffix from lea and replace .quad with ASM_ADDR.
37381 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37384 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37386 (PTR_DEMANGLE): Likewise.
37388 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37390 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37392 (ASM_ADDR): Likewise.
37393 (RAX_LP): Likewise.
37394 (RBP_LP): Likewise.
37395 (RBX_LP): Likewise.
37396 (RCX_LP): Likewise.
37397 (RDI_LP): Likewise.
37398 (RSI_LP): Likewise.
37399 (RSP_LP): Likewise.
37402 (R10_LP): Likewise.
37403 (R10_LP): Likewise.
37404 (R11_LP): Likewise.
37405 (R12_LP): Likewise.
37406 (R13_LP): Likewise.
37407 (R14_LP): Likewise.
37408 (R15_LP): Likewise.
37410 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37412 * sysdeps/x86_64/x32/dl-machine.h: New file.
37414 2012-05-14 Andreas Jaeger <aj@suse.de>
37416 * manual/Makefile (subdir): Remove export of subdir.
37417 (all): Remove target.
37418 (.PHONY): Remove all from list.
37419 (mkinstalldirs): Remove.
37420 (.PHONY): Remove installdirs from list.
37421 ($(inst_infodir)/libc.info): Use make-target-directory.
37422 (installdirs): Remove.
37423 (subdir_%): Remove.
37424 (glibc-targets): Remove.
37427 ($(objpfx)stubs ../po/manual.pot): Remove.
37428 ($(objpfx)stamp%): Remove.
37429 (make-target-directory): Remove.
37430 (subdir_install): Remove.
37431 (routines): Remove.
37438 * manual/.gitignore: Remove, it's not needed anymore.
37439 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37441 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37443 (texis): Renamed to $(objpfx)texis.
37444 (texis-path): New, contains path to generated files.
37445 (chapters.%): Use texis-path for complete path, add extra argument
37447 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37448 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37449 (summary,texi, stamp-summary): Use complete path of
37450 files. Generate files in build dir.
37451 (dir-add.texi): Build in build dir.
37452 (libm-err.texi,stamp-libm-err): Likewise.
37453 (version.texi, stamp-version): Likewise.
37454 (.%c.texi): Likewise.
37455 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37456 (mostlyclean): Remove target.
37457 (realclean): Remove target.
37458 (generated): Add new variable with contents from mostlyclean and
37459 realclean, remove entries duplicated in common-mostlyclean, add
37460 stamp-libm-err and stamp-version.
37461 (generated-dirs): Add libc directory.
37462 ($(inst_infodir)/libc.info): Install files from build dir.
37464 * manual/install.texi (Configuring and compiling): Adjust since
37465 the info files are not part of the tar ball anymore.
37467 2012-05-14 Andreas Jaeger <aj@suse.de>
37469 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37472 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37475 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37476 to 2.2.0 where earlier.
37477 * sysdeps/unix/sysv/linux/configure: Regenerated.
37478 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37479 Remove conditional code.
37480 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37481 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37482 Remove conditional code.
37483 [!__NR_lchown]: Likewise.
37484 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37485 [__NR_lchown]: Likewise.
37486 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37487 comment referencing __ASSUME_LCHOWN_SYSCALL.
37488 * sysdeps/unix/sysv/linux/i386/sigaction.c
37489 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37490 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37491 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37492 Remove conditional code.
37493 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37494 (__protocol_available): Remove #if 0 code.
37495 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37497 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37498 * sysdeps/unix/sysv/linux/kernel-features.h
37499 (__ASSUME_GETCWD_SYSCALL): Don't define.
37500 (__ASSUME_REALTIME_SIGNALS): Likewise.
37501 (__ASSUME_PREAD_SYSCALL): Likewise.
37502 (__ASSUME_PWRITE_SYSCALL): Likewise.
37503 (__ASSUME_POLL_SYSCALL): Likewise.
37504 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37505 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37507 (__ASSUME_SIOCGIFNAME): Don't define.
37508 (__ASSUME_MSG_NOSIGNAL): Likewise.
37509 (__ASSUME_SENDFILE): Define unconditionally.
37510 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37511 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37513 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37514 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37515 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37516 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37517 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37518 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37519 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37521 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37522 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37524 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37525 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37527 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37528 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37530 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37533 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37534 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37536 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37539 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37540 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37542 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37544 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37545 Remove conditional code.
37546 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37547 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37548 Remove conditional code.
37549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37550 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37551 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37552 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37553 Remove conditional code.
37554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37555 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37556 Remove conditional code.
37557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37558 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37559 Remove conditional code.
37560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37561 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37562 Remove conditional code.
37563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37564 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37565 Remove conditional code.
37566 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37567 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37568 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37570 * sysdeps/unix/sysv/linux/sigaction.c
37571 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37572 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37573 * sysdeps/unix/sysv/linux/sigpending.c
37574 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37575 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37576 * sysdeps/unix/sysv/linux/sigprocmask.c
37577 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37578 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37579 * sysdeps/unix/sysv/linux/sigsuspend.c
37580 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37581 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37582 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37583 (__libc_missing_rt_sigs): Remove.
37584 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37585 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37586 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37587 Remove conditional code.
37588 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37589 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37591 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37592 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37593 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37594 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37596 2012-05-14 Andreas Jaeger <aj@suse.de>
37598 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37599 it's not used in glibc.
37600 (__coshm1): Likewise.
37601 (__acosh1p): Likewise.
37604 * manual/string.texi (Copying and Concatenation): Add missing
37605 variable in concat example.
37606 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37608 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37612 __builtin_clzl with __builtin_clzll.
37614 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37617 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37620 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37622 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37623 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37624 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37625 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37627 2012-05-14 Mike Frysinger <vapier@gentoo.org>
37629 * NEWS: Update ia64 info.
37631 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37633 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37636 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37638 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37639 * sysdeps/unix/syscalls.list (dup3): Likewise.
37640 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37641 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37643 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37645 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37646 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37648 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37650 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37652 (TLS_IE): Use mov/add instead of movq/addq to load thread
37654 (TLS_GD_PREFIX): New.
37657 2012-05-11 David S. Miller <davem@davemloft.net>
37659 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37660 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37661 (_FPU_SETCW): Likewise.
37663 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37665 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37666 is 32-byte aligned.
37668 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37671 * iconvdata/gb18030.c: Update tables.
37672 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37673 characters specially.
37674 (BODY for TO_LOOP): Add encoding of missing ranges.
37676 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37679 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37680 * sysdeps/mach/hurd/dup3.c: Likewise.
37681 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37682 * sysdeps/powerpc/memmove.c:: Likewise.
37684 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37687 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37689 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37691 * elf/elf.h (R_X86_64_RELATIVE64): New.
37692 (R_X86_64_NUM): Updated.
37693 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37694 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37695 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37696 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37697 tst-quad1pie tst-quad2pie
37698 (modules-names): Add tst-quadmod1 tst-quadmod2.
37699 ($(objpfx)tst-quad1): New dependency.
37700 ($(objpfx)tst-quad2): Likewise.
37701 ($(objpfx)tst-quad1pie): Likewise.
37702 ($(objpfx)tst-quad2pie): Likewise.
37703 * sysdeps/x86_64/tst-quad1.c: New file.
37704 * sysdeps/x86_64/tst-quad1pie.c: New file.
37705 * sysdeps/x86_64/tst-quad2.c: Likewise.
37706 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37707 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37708 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37709 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37710 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37712 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37714 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37715 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37716 * streams/stropts.h (t_scalar_t): Define type.
37718 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37719 (_PATH_PRESERVE): Set to "/var/lib".
37720 (_PATH_RWHODIR): Set to "/var/spool/rwho".
37722 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37725 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37726 if __dir_mkfile succeeded.
37728 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37729 checking for _hurd_dtablesize. Unlock it right after having
37730 finished _hurd_dtable allocation.
37732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37734 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37735 * sysdeps/mach/hurd/configure: Regenerated.
37736 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37737 special-casing to...
37738 * sysdeps/gnu/configure.in: ... this new file.
37739 * sysdeps/unix/sysv/linux/configure: Regenerated.
37740 * sysdeps/gnu/configure: New generated file.
37742 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37743 for Linux: use nsec instead of usec, as well as:
37744 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37745 members of type struct timespec.
37746 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37748 (struct stat64): Likewise.
37749 (_STATBUF_ST_NSEC): New macro.
37750 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37752 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37753 __strtoul_internal rather than strtoul.
37755 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37757 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37760 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37762 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37763 which preserves existing values.
37764 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37766 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37768 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37769 TIMEOUT values. Return EINVAL for NFDS values either negative or
37770 greater than FD_SETSIZE.
37772 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37774 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37775 allocated, call __vm_protect to finish enabling the existing space, and
37776 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37777 allocate the remainder.
37779 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37781 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37782 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
37784 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37786 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37787 sysdeps/mach/hurd/readlink.c.
37789 * posix/tst-sysconf.c (posix_options): Only use
37790 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37791 _POSIX_SYNCHRONIZED_IO when they are defined
37792 * sysdeps/mach/hurd/bits/posix_opt.h:
37793 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37794 (_XOPEN_REALTIME): Undefine macro.
37795 (_XOPEN_REALTIME_THREADS): Undefine macro.
37796 (_XOPEN_SHM): Undefine macro.
37797 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37799 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37801 (_POSIX_ASYNC_IO): Undefine macro.
37802 (_POSIX_PRIORITIZED_IO): Undefine macro.
37803 (_POSIX_SPIN_LOCKS): Define macro to -1.
37805 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37806 SA_NODEFER, SA_RESETHAND.
37807 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37808 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37811 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37813 * elf/Makefile (pldd-modules): Define unconditionally.
37815 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37817 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37819 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37821 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37822 Return ENOENT when name is empty.
37823 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37825 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37827 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37829 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37831 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37833 Fix mlock in all cases except non-readable pages.
37834 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37835 instead of VM_PROT_ALL as parameter to __vm_wire function.
37837 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37838 (__mkdir): When path is `/', just fail with EEXIST.
37839 * sysdeps/mach/hurd/mkdirat.c: Likewise.
37841 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37843 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37844 <sys/uio.h> (for writev).
37845 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37846 and <sys/param.h> (for MIN).
37848 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
37850 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37851 REQUESTED_TIME. Properly set the remaining time and return EINTR
37854 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37856 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37857 Depend on against $(link-rpcuserlibs).
37859 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37861 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37862 (__libc_stack_end): Do not use attribute_relro.
37863 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37864 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37865 to libthread-provided value.
37866 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37872 * bits/libc-lock.h (__libc_once_get): New macro.
37873 * sysdeps/mach/bits/libc-lock.h: Likewise.
37874 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37875 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37876 instead of using implementation details.
37878 * libio/fileops.c: Unconditionally include <kernel-features.h>.
37879 * libio/freopen.c: Likewise.
37880 * libio/freopen64.c: Likewise.
37881 * misc/syslog.c: Likewise.
37882 * nscd/connections.c: Likewise.
37883 * nscd/netgroupcache.c: Likewise.
37884 * sysdeps/posix/getcwd.c: Likewise.
37886 2012-05-10 Roland McGrath <roland@hack.frob.com>
37888 * math/w_ilogbf.c: Add #include <limits.h>.
37890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37892 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37893 path instead of returning without unlocking.
37895 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37896 immediate-write ioctls.
37897 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37899 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37901 * sysdeps/mach/hurd/i386/init-first.c (init): Use
37902 __builtin_frame_address instead of making assumptions about the
37903 location of the return address relative to DATA. Force early load of
37904 the return address.
37905 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37906 __builtin_frame_address.
37909 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37910 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
37911 implement dup3 and do some further code clean-ups.
37912 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37913 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37915 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37917 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37919 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37920 HURD_CRITICAL_END around holding _hurd_dtable_lock.
37921 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37922 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37923 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37926 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37927 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
37928 when handler == SIG_ERR, not when handler != SIG_ERR.
37930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37932 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37933 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37936 accept4 for GNU Hurd.
37937 * include/sys/socket.h (__libc_accept4): New prototype.
37938 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
37939 to implement __libc_accept4.
37940 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37942 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37944 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37945 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37946 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37947 signal-defines.sym.
37949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37951 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37953 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
37955 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37956 assertion on O_CLOEXEC flag.
37957 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37958 * hurd/intern-fd.c: Likewise.
37959 * hurd/port2fd.c: Likewise.
37961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37964 * bits/in.h (IPV6_PKTINFO): Define new macro.
37965 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37967 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37972 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37973 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37974 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37975 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37976 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37977 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37978 * math/libm-test.inc (logb_test) : Additional logb tests.
37980 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
37981 Andreas Jaeger <aj@suse.de>
37983 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37984 * configure: Regenerated.
37985 * config.h.in (LINK_OBSOLETE_RPC): New macro.
37986 * config.make.in (link-obsolete-rpc): New substituted variable.
37987 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37988 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37989 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37990 (shared-only-routines): Don't set it under [link-obsolete-rpc],
37991 so that libc.a contains the symbols.
37992 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37993 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37994 * sunrpc/auth_none.c: Likewise.
37995 * sunrpc/auth_unix.c: Likewise.
37996 * sunrpc/authdes_prot.c: Likewise.
37997 * sunrpc/authuxprot.c: Likewise.
37998 * sunrpc/clnt_gen.c: Likewise.
37999 * sunrpc/clnt_perr.c: Likewise.
38000 * sunrpc/clnt_raw.c: Likewise.
38001 * sunrpc/clnt_simp.c: Likewise.
38002 * sunrpc/clnt_tcp.c: Likewise.
38003 * sunrpc/clnt_udp.c: Likewise.
38004 * sunrpc/clnt_unix.c: Likewise.
38005 * sunrpc/des_crypt.c: Likewise.
38006 * sunrpc/des_soft.c: Likewise.
38007 * sunrpc/get_myaddr.c: Likewise.
38008 * sunrpc/key_call.c: Likewise.
38009 * sunrpc/key_prot.c: Likewise.
38010 * sunrpc/netname.c: Likewise.
38011 * sunrpc/pm_getmaps.c: Likewise.
38012 * sunrpc/pm_getport.c: Likewise.
38013 * sunrpc/pmap_clnt.c: Likewise.
38014 * sunrpc/pmap_prot.c: Likewise.
38015 * sunrpc/pmap_prot2.c: Likewise.
38016 * sunrpc/pmap_rmt.c: Likewise.
38017 * sunrpc/publickey.c: Likewise.
38018 * sunrpc/rpc_cmsg.c: Likewise.
38019 * sunrpc/rpc_common.c: Likewise.
38020 * sunrpc/rpc_dtable.c: Likewise.
38021 * sunrpc/rpc_prot.c: Likewise.
38022 * sunrpc/rpc_thread.c: Likewise.
38023 * sunrpc/rtime.c: Likewise.
38024 * sunrpc/svc.c: Likewise.
38025 * sunrpc/svc_auth.c: Likewise.
38026 * sunrpc/svc_raw.c: Likewise.
38027 * sunrpc/svc_run.c: Likewise.
38028 * sunrpc/svc_tcp.c: Likewise.
38029 * sunrpc/svc_udp.c: Likewise.
38030 * sunrpc/svc_unix.c: Likewise.
38031 * sunrpc/svcauth_des.c: Likewise.
38032 * sunrpc/xcrypt.c: Likewise.
38033 * sunrpc/xdr.c: Likewise.
38034 * sunrpc/xdr_array.c: Likewise.
38035 * sunrpc/xdr_float.c: Likewise.
38036 * sunrpc/xdr_intXX_t.c: Likewise.
38037 * sunrpc/xdr_mem.c: Likewise.
38038 * sunrpc/xdr_rec.c: Likewise.
38039 * sunrpc/xdr_ref.c: Likewise.
38040 * sunrpc/xdr_sizeof.c: Likewise.
38041 * sunrpc/xdr_stdio.c: Likewise.
38043 2012-05-10 Roland McGrath <roland@hack.frob.com>
38045 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38046 change. Update copyright years.
38048 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38050 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38052 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38053 Joseph Myers <joseph@codesourcery.com>
38054 Paul Pluzhnikov <ppluzhnikov@google.com>
38057 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38059 [cross-compiling] (extra-libs): Likewise.
38060 [cross-compiling] (extra-libs-others): Likewise.
38061 [cross-compiling] (librpcsvc-routines): Likewise.
38062 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38063 [cross-compiling] (omit-deps): Likewise.
38064 (sunrpc-CPPFLAGS): New variable.
38065 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38066 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38067 (cross-rpcgen-objs): New variable.
38068 (extra-objs): Append $(cross-rpcgen-objs).
38069 ($(cross-rpcgen-objs)): New rule.
38070 ($(objpfx)cross-rpcgen): Likewise.
38071 (rpcgen-cmd): Define to use $(built-program-file). Expand
38073 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38074 ($(objpfx)x%.stmp): Likewise.
38075 * sunrpc/proto.h [IS_IN_build] (_): Define.
38076 [IS_IN_build] (_libc_intl_domainname): Likewise.
38078 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38080 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38081 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38082 and R_X86_64_TPOFF64.
38084 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38086 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38087 sysdeps/unix/sysv/syscalls.list.
38090 * sysdeps/unix/sysv/syscalls.list: Remove file.
38092 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38095 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38096 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38097 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38098 (__LC_IDENTIFICATION): Make these macros useful in #if
38099 expressions, as required by C99.
38101 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38103 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38104 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38107 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38109 * stdlib/longlong.h: Updated from GCC.
38111 2012-05-09 Andreas Jaeger <aj@suse.de>
38113 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38114 default is first entry.
38115 (run_mode): Set type.
38116 (main): Remove informal message about syslog.
38117 (options): Fix typo.
38120 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38123 (llrintf): Likewise.
38124 (llrint): Likewise.
38127 (nearbyint): Likewise.
38128 (nearbyintf): Likewise.
38130 2012-05-09 Andreas Jaeger <aj@suse.de>
38131 Pedro Alves <palves@redhat.com>
38133 * nscd/nscd.c (run_mode): Use enum.
38134 (main): Cleanup coding style issue.
38136 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
38137 Andreas Jaeger <aj@suse.de>
38139 * nscd/nscd.c (go_background): Replaced with...
38140 (run_mode): ... this.
38141 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38142 (options): Add -F --foreground.
38143 (main): Implement it.
38144 (parse_opt): Parse it.
38146 2012-05-09 Andreas Jaeger <aj@suse.de>
38149 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38150 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38151 -Wconversion warning.
38152 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38155 2012-05-09 Joseph Myers <joseph@codesourcery.com>
38157 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38159 (LC_ALL): Use macro-int-constant.
38160 (LC_COLLATE): Likewise.
38161 (LC_CTYPE): Likewise.
38162 (LC_MESSAGES): Likewise.
38163 (LC_MONETARY): Likewise.
38164 (LC_NUMERIC): Likewise.
38165 (LC_TIME): Likewise.
38166 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38167 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38168 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38169 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38171 [C99-based standards] (float_t): Expect type.
38172 [C99-based standards] (double_t): Expect type.
38173 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38175 [C99-based standards] (HUGE_VALL): Likewise.
38176 [C99-based standards] (INFINITY): Likewise.
38177 [C99-based standards] (NAN): Likewise.
38178 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38179 [C99-based standards] (FP_NAN): Likewise.
38180 [C99-based standards] (FP_NORMAL): Likewise.
38181 [C99-based standards] (FP_SUBNORMAL): Likewise.
38182 [C99-based standards] (FP_ZERO): Likewise.
38183 [C99-based standards] (FP_FAST_FMA): Use
38184 optional-macro-int-constant. Specify type. Require == 1.
38185 [C99-based standards] (FP_FAST_FMAF): Likewise.
38186 [C99-based standards] (FP_FAST_FMAL): Likewise.
38187 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38188 [C99-based standards] (FP_ILOGBNAN): Likewise.
38189 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38191 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38192 [C99-based standards] (math_errhandling): Specify type.
38193 [ISO99 || ISO11] (signgam): Do not allow.
38194 [non-C99-based standards] (copysignf): Do not allow.
38195 [non-C99-based standards] (exp2f): Likewise.
38196 [non-C99-based standards] (log2f): Likewise.
38197 [non-C99-based standards] (modff): Allow.
38198 [non-C99-based standards] (erff): Do not allow.
38199 [non-C99-based standards] (erfcf): Likewise.
38200 [non-C99-based standards] (gammaf): Likewise.
38201 [non-C99-based standards] (hypotf): Likewise.
38202 [non-C99-based standards] (j0f): Likewise.
38203 [non-C99-based standards] (j1f): Likewise.
38204 [non-C99-based standards] (jnf): Likewise.
38205 [non-C99-based standards] (lgammaf): Likewise.
38206 [non-C99-based standards] (tgammaf): Likewise.
38207 [non-C99-based standards] (y0f): Likewise.
38208 [non-C99-based standards] (y1f): Likewise.
38209 [non-C99-based standards] (ynf): Likewise.
38210 [non-C99-based standards] (isnanf): Likewise.
38211 [non-C99-based standards] (acoshf): Likewise.
38212 [non-C99-based standards] (asinhf): Likewise.
38213 [non-C99-based standards] (atanhf): Likewise.
38214 [non-C99-based standards] (cbrtf): Likewise.
38215 [non-C99-based standards] (expm1f): Likewise.
38216 [non-C99-based standards] (ilogbf): Likewise.
38217 [non-C99-based standards] (log1pf): Likewise.
38218 [non-C99-based standards] (logbf): Likewise.
38219 [non-C99-based standards] (nextafterf): Likewise.
38220 [non-C99-based standards] (remainderf): Likewise.
38221 [non-C99-based standards] (rintf): Likewise.
38222 [non-C99-based standards] (scalbf): Likewise.
38223 [non-C99-based standards] (copysignl): Likewise.
38224 [non-C99-based standards] (exp2l): Likewise.
38225 [non-C99-based standards] (log2l): Likewise.
38226 [non-C99-based standards] (modfl): Allow.
38227 [non-C99-based standards] (erfl): Do not allow.
38228 [non-C99-based standards] (erfcl): Likewise.
38229 [non-C99-based standards] (gammal): Likewise.
38230 [non-C99-based standards] (hypotl): Likewise.
38231 [non-C99-based standards] (j0l): Likewise.
38232 [non-C99-based standards] (j1l): Likewise.
38233 [non-C99-based standards] (jnl): Likewise.
38234 [non-C99-based standards] (lgammal): Likewise.
38235 [non-C99-based standards] (tgammal): Likewise.
38236 [non-C99-based standards] (y0l): Likewise.
38237 [non-C99-based standards] (y1l): Likewise.
38238 [non-C99-based standards] (ynl): Likewise.
38239 [non-C99-based standards] (isnanl): Likewise.
38240 [non-C99-based standards] (acoshl): Likewise.
38241 [non-C99-based standards] (asinhl): Likewise.
38242 [non-C99-based standards] (atanhl): Likewise.
38243 [non-C99-based standards] (cbrtl): Likewise.
38244 [non-C99-based standards] (expm1l): Likewise.
38245 [non-C99-based standards] (ilogbl): Likewise.
38246 [non-C99-based standards] (log1pl): Likewise.
38247 [non-C99-based standards] (logbl): Likewise.
38248 [non-C99-based standards] (nextafterl): Likewise.
38249 [non-C99-based standards] (remainderl): Likewise.
38250 [non-C99-based standards] (rintl): Likewise.
38251 [non-C99-based standards] (scalbl): Likewise.
38252 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38253 [non-C99-based standards] (FP_*): Do not allow.
38254 [C99-based standards] (FP_*): Change to
38255 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38256 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38258 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38259 (SIG_ERR): Likewise.
38260 [X/Open-based standards] (SIG_HOLD): Likewise.
38261 (SIG_IGN): Likewise.
38262 (SIGABRT): Use macro-int-constant. Specify type. Require
38264 (SIGFPE): Likewise.
38265 (SIGILL): Likewise.
38266 (SIGINT): Likewise.
38267 (SIGSEGV): Likewise.
38268 (SIGTER): Likewise.
38269 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38270 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38271 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38272 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38273 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38274 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38275 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38276 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38277 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38278 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38279 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38280 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38281 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38282 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38283 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38284 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38285 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38286 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38287 [X/Open-based standards] (SIGTRAP): Likewise.
38288 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38289 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38290 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38291 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38292 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38295 2012-05-08 Ian Wienand <ianw@vmware.com>
38298 * time/tzset.c (__tzset_parse_tz): Update default rules for
38299 daylight time changes in the Energy Policy Act of 2005.
38301 2012-05-09 Andreas Jaeger <aj@suse.de>
38304 * elf/ldconfig.c (parse_conf): Change string to make clear that
38305 ldconfig only issued a warning if ld.so.conf does not exist.
38307 2012-05-08 David S. Miller <davem@davemloft.net>
38309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38310 movxtod instead of popping the value on the stack.
38312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38314 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38316 * config.h.in: Add HAVE_ARM_PCS_VFP.
38318 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
38321 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38322 checking but the checks are disabled for any reason.
38324 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38326 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38327 and ELF64_R_TYPE with ELFW(R_TYPE).
38329 2012-05-08 Joseph Myers <joseph@codesourcery.com>
38331 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38332 (ulimit): Likewise.
38334 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38335 (settimeofday): Likewise.
38337 2012-05-08 Mike Frysinger <vapier@gentoo.org>
38339 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38340 a struct th_u2 inside the union, and move tu_block/tu_code into
38341 a new th_u3 union of tu_block/tu_code inside of that. Move
38342 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38343 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38344 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38345 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38346 (th_stuff): Change to th_u1.tu_stuff.
38348 (th_msg): Change to th_u1.th_u2.tu_data.
38350 2012-05-07 David S. Miller <davem@davemloft.net>
38352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38355 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38356 (SETUP_PIC_REG): Use it.
38357 (SETUP_PIC_REG_LEAF): Use it.
38359 2012-05-07 Joseph Myers <joseph@codesourcery.com>
38363 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38365 (EXPL_FINITE): Likewise.
38366 (FLDLOG): Likewise.
38367 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38368 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38370 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38372 (EXPL_FINITE): Likewise.
38373 (FLDLOG): Likewise.
38374 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38375 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38377 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38378 test of -max_value argument for long double.
38379 * sysdeps/i386/fpu/libm-test-ulps: Update.
38380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38382 2012-05-06 David S. Miller <davem@davemloft.net>
38384 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38385 quad soft-float symbols whose references which are compiler
38387 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38389 2012-05-06 Joseph Myers <joseph@codesourcery.com>
38393 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38395 (EXPL_FINITE): Likewise.
38396 (FLDLOG): Likewise.
38399 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38400 Adjust comments for base varying.
38401 (__expl_finite): Change alias to EXPL_FINITE.
38402 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38404 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38405 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38406 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38407 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38408 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38410 (EXPL_FINITE): Likewise.
38411 (FLDLOG): Likewise.
38414 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38415 Adjust comments for base varying.
38416 (__expl_finite): Change alias to EXPL_FINITE.
38417 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38422 * math/libm-test.inc (check_float_internal): Correct ulp
38423 calculation for subnormal expected results.
38425 2012-05-06 Andreas Jaeger <aj@suse.de>
38427 * Makeconfig (+math-flags): New, set to -frounding-math.
38428 (+cflags): Add +math-flags so that all of glibc gets compiled with
38431 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38433 2012-05-05 Joseph Myers <joseph@codesourcery.com>
38435 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38441 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38442 (__ieee754_expl): Allow for and saturate large arguments.
38443 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38444 (u_threshold): Likewise.
38445 (__exp): Call __ieee754_exp before checking for overflow and
38447 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38448 (u_threshold): Likewise.
38449 (__expf): Call __ieee754_expf before checking for overflow and
38451 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38452 (u_threshold): Likewise.
38453 (__expl): Call __ieee754_expl before checking for overflow and
38455 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38456 (__ieee754_expl): Allow for and saturate large arguments.
38457 * math/libm-test.inc (exp_test): Add another test. Do not allow
38458 missing overflow exception on overflow.
38459 (expm1_test): Do not allow missing overflow exception on overflow.
38461 * sysdeps/i386/fpu/e_expl.c: Move to ...
38462 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38463 rather than using inline asm.
38464 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38465 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38466 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38468 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38471 (signal): Likewise.
38475 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38477 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38478 sysdeps/unix/common/syscalls.list.
38479 (fchmod): Likewise.
38480 (fchown): Likewise.
38481 (ftruncate): Likewise.
38482 (getrusage): Likewise.
38483 (gettimeofday): Likewise.
38484 (setpgid): Likewise.
38485 (setregid): Likewise.
38486 (setreuid): Likewise.
38487 (sigaction): Likewise.
38488 (truncate): Likewise.
38489 (vhangup): Likewise.
38490 * sysdeps/unix/common/syscalls.list: Remove file.
38491 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38492 * sysdeps/unix/sysv/linux/Implies: Likewise.
38494 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38496 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38498 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38502 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38505 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38508 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38511 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38514 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38517 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38520 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38524 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38528 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38531 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38535 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38539 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38541 * sysdeps/unix/common/bits/dirent.h: Remove file.
38542 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38544 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38545 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38546 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38547 * sysdeps/unix/bsd/isatty.c: Likewise.
38548 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38549 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38550 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38552 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38556 long double comparison inaccuracies.
38557 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38560 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38562 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38563 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38565 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38568 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38569 nonzero digits before rounding a hex value.
38570 * stdlib/tst-strtod.c (tests): Add another test.
38572 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38574 * sysdeps/s390/fpu/libm-test-ulps: Update.
38576 2012-05-03 Andreas Jaeger <aj@suse.de>
38578 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38579 does not get optimized out.
38580 (malloc_opt_barrier): New.
38582 2012-05-03 Andreas Jaeger <aj@suse.de>
38583 Roland McGrath <roland@hack.frob.com>
38585 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38586 intermediate file deletion.
38587 (generated): Add .symlist files.
38589 2012-05-03 Joseph Myers <joseph@codesourcery.com>
38592 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38593 Redirect under this condition.
38594 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38595 [__USE_GNU] (__dprintf_chk): Not under this condition.
38596 [__USE_GNU] (__vdprintf_chk): Likewise.
38597 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38598 under this condition.
38599 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38600 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38601 [__USE_XOPEN2K8] (vdprintf): Likewise.
38602 [__USE_GNU] (__dprintf_chk): Not under this condition.
38603 [__USE_GNU] (__vdprintf_chk): Likewise.
38604 [__USE_GNU] (dprintf): Likewise.
38605 [__USE_GNU] (vdprintf): Likewise.
38607 2012-05-03 Roland McGrath <roland@hack.frob.com>
38609 * elf/Makefile (common-generated): Set this instead of generated for
38610 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38611 $(all-built-dso)-derived lists.
38613 2012-05-03 Andreas Jaeger <aj@suse.de>
38615 * sysdeps/i386/fpu/libm-test-ulps: Update.
38618 * FAQ.in: Likewise.
38619 * scripts/gen-FAQ.pl: Likewise.
38620 * manual/install.texi (Installation): Point to online location of
38622 * Makefile (files-for-dist): Remove FAQ.
38625 2012-05-02 Allan McRae <allan@archlinux.org>
38627 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38628 (LDFLAGS-reldepmod5.so): Likewise.
38629 (LDFLAGS-reldep6mod1.so): Likewise.
38630 (LDFLAGS-reldep6mod4.so): Likewise.
38631 (LDFLAGS-reldep8mod3.so): Likewise.
38632 (LDFLAGS-unload4mod1.so): Likewise.
38633 (LDFLAGS-unload4mod2.so): Likewise.
38634 (LDFLAGS-tst-initorder): Likewise.
38635 (LDFLAGS-tst-initordera2.so): Likewise.
38636 (LDFLAGS-tst-initordera3.so): Likewise.
38637 (LDFLAGS-tst-initordera4.so): Likewise.
38638 (LDFLAGS-tst-initorderb2.so): Likewise.
38639 (LDFLAGS-noload): Likewise.
38640 (LDFLAGS-next): Likewise.
38641 (LDFLAGS-order2mod1.so): Likewise.
38642 (LDFLAGS-order2mod2.so): Likewise.
38643 (LDFLAGS-tst-initorder2): Likewise.
38644 (LDFLAGS-tst-initorder2a.so): Likewise.
38645 (LDFLAGS-tst-initorder2b.so): Likewise.
38646 (LDFLAGS-tst-initorder2c.so): Likewise.
38647 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38649 2012-05-02 David S. Miller <davem@davemloft.net>
38651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38653 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38656 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38658 2012-05-02 Andreas Jaeger <aj@suse.de>
38660 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38661 since we manipulate rounding mode.
38662 (CPPFLAGS-test-idouble.c): Likewise.
38663 (CPPFLAGS-test-ifloat.c): Likewise.
38664 (CFLAGS-test-ldouble.c): Likewise.
38665 (CFLAGS-test-double.c): Likewise.
38666 (CFLAGS-test-float.c): Likewise.
38667 (CFLAGS-test-misc.c): Likewise.
38668 (CFLAGS-test-test-fenv.c): Likewise.
38670 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38674 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38675 comparisons to determine direction to adjust input.
38677 2012-05-01 Roland McGrath <roland@hack.frob.com>
38679 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38680 output to the target.
38682 * scripts/localplt.awk: New file.
38683 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38684 (check-localplt-CFLAGS): Variable removed.
38685 ($(all-built-dso:=.jmprel)): New static pattern rule.
38686 (generated): Add those targets.
38687 (localplt-built-dso): New variable.
38688 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38690 * elf/check-localplt.c: File removed.
38692 * scripts/check-execstack.awk: New file.
38693 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38694 (check-execstack-CFLAGS): Variable removed.
38695 ($(objpfx)check-execstack.h): Target removed.
38696 ($(objpfx)execstack-default): New target.
38697 (generated): Add that instead of check-execstack.h.
38698 ($(all-built-dso:=.phdr)): New static pattern rule.
38699 (generated): Add those targets.
38700 * elf/check-execstack.c: File removed.
38702 * scripts/check-textrel.awk: New file.
38703 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38704 (check-textrel-CFLAGS): Variable removed.
38705 (all-built-dso): Use := to define.o
38706 ($(all-built-dso:=.dyn)): New static pattern rule.
38707 (generated): Add those targets.
38708 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38709 * config.make.in (READELF): New substituted variable.
38710 * elf/check-textrel.c: File removed.
38712 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38714 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38716 * conform/data/ctype.h-data [C99-based standards] (isblank):
38718 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38719 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38720 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38721 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38722 Specify type. Require positive value.
38723 (EILSEQ): Likewise.
38724 (ERANGE): Likewise.
38725 [ISO || POSIX] (EILSEQ): Do not expect.
38726 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38727 Specify type. Require positive value.
38728 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38729 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38730 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38731 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38732 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38733 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38734 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38735 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38736 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38737 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38738 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38739 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38740 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38741 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38742 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38743 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38744 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38745 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38746 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38747 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38748 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38749 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38750 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38751 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38752 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38753 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38754 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38755 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38756 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38757 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38758 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38759 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38760 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38761 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38762 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38763 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38764 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38765 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38766 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38767 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38768 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38769 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38770 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38771 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38772 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38773 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38774 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38775 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38776 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38777 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38778 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38779 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38780 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38781 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38782 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38783 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38784 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38785 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38786 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38787 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38788 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38789 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38790 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38791 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38792 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38793 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38794 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38795 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38796 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38797 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38798 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38799 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38800 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38801 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38802 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38803 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38804 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38806 (FLT_ROUNDS): Expect as macro, not constant.
38807 (FLT_MANT_DIG): Use macro-int-constant.
38808 (DBL_MANT_DIG): Likewise.
38809 (LDBL_MANT_DIG): Likewise.
38810 (FLT_DIG): Likewise.
38811 (DBL_DIG): Likewise.
38812 (LDBL_DIG): Likewise.
38813 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
38814 (DBL_MIN_EXP): Likewise.
38815 (LDBL_MIN_EXP): Likewise.
38816 (FLT_MAX_EXP): Use macro-int-constant.
38817 (DBL_MAX_EXP): Likewise.
38818 (LDBL_MAX_EXP): Likewise.
38819 (FLT_MAX_10_EXP): Likewise.
38820 (DBL_MAX_10_EXP): Likewise.
38821 (LDBL_MAX_10_EXP): Likewise.
38822 (FLT_MAX): Use macro-constant.
38823 (DBL_MAX): Likewise.
38824 (LDBL_MAX): Likewise.
38825 (FLT_EPSILON): Use macro-constant. Give upper bound.
38826 (DBL_EPSILON): Likewise.
38827 (LDBL_EPSILON): Likewise.
38828 (FLT_MIN): Likewise.
38829 (DBL_MIN): Likewise.
38830 (LDBL_MIN): Likewise.
38831 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38832 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38833 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38834 [ISO11] (FLT_HAS_SUBNORM): Likewise.
38835 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38836 [ISO11] (DBL_DECIMAL_DIG): Likewise.
38837 [ISO11] (FLT_DECIMAL_DIG): Likewise.
38838 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38839 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38840 [ISO11] (FLT_TRUE_MIN): Likewise.
38841 [ISO11] (LDBL_TRUE_MIN): Likewise.
38842 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38843 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38844 (SCHAR_MIN): Use macro-int-constant. Specify type.
38845 (SCHAR_MAX): Likewise.
38846 (UCHAR_MAX): Likewise.
38847 (CHAR_MIN): Likewise.
38848 (CHAR_MAX): Likewise.
38849 (MB_LEN_MAX): Use macro-int-constant.
38850 (SHRT_MIN): Use macro-int-constant. Specify type.
38851 (SHRT_MAX): Likewise.
38852 (USHRT_MAX): Likewise.
38853 (INT_MAX): Likewise.
38854 (INT_MIN): Use macro-int-constant. Specify type. Make upper
38856 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
38858 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38860 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
38861 bound negative. Suffix upper bound with "L".
38862 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
38864 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38866 [C99-based standards] (LLONG_MAX): Likewise.
38867 [C99-based standards] (ULLONG_MAX): Likewise.
38868 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
38870 [ISO11] (max_align_t): Require type.
38871 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38873 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38874 from $CFLAGS, without defining away __attribute__ calls.
38875 (checknamespace): Use $CFLAGS_namespace.
38877 * conform/conformtest.pl (@keywords): Only include C99 keywords
38878 for standards based on C99 or C11.
38880 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38882 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38885 * conform/conformtest.pl: Handle "macro-int-constant" and test for
38886 usability of symbols in #if.
38888 * conform/conformtest.pl: If macro or constant types start
38889 "promoted:", expect the symbol to be of the following type
38890 promoted by the integer promotions.
38892 * conform/conformtest.pl: Parse all "constant" and "macro" lines
38893 in one place. Also handle "macro-constant".
38895 * conform/conformtest.pl: Only accept expected macro values with
38896 "==". Parse all "macro" lines in one place.
38897 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38899 * conform/conformtest.pl: Handle braced types on "constant" lines
38900 instead of handling "typed-constant".
38901 * conform/data/signal.h-data: Use "constant" instead of
38904 * conform/conformtest.pl: Handle "optional-" at start of lines in
38905 one place rather than duplicating several cases. Handle each
38906 format of "macro" line with initial "optional-".
38908 * conform/conformtest.pl: Only accept expected constant or
38909 optional-constant values with "==". Parse all "constant" lines in
38910 one place. Parse all "optional-constant" lines in one place.
38911 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38912 * conform/data/fmtmsg.h-data: Likewise.
38913 * conform/data/netinet/in.h-data: Likewise.
38914 * conform/data/tar.h-data: Likewise.
38915 * conform/data/limits.h-data: Use "==" form on "constant" and
38916 "optional-constant" lines.
38918 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38919 Use -std=c99 for XOPEN2K.
38920 (@knownproblems): Remove.
38921 (newtoken): Don't check %isknown.
38923 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38924 Do not expect macro.
38925 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38926 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38927 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38928 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38929 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38930 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38931 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38932 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38933 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38934 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38935 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38936 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38937 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38938 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38939 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38940 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38941 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38942 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38943 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38944 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38945 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38946 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38947 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38948 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38949 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38950 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38951 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38952 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38953 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38954 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38955 [XPG3] (acosh): Likewise.
38956 [XPG3] (asinh): Likewise.
38957 [XPG3] (atanh): Likewise.
38958 [XPG3] (cbrt): Likewise.
38959 [XPG3] (expm1): Likewise.
38960 [XPG3] (ilogb): Likewise.
38961 [XPG3] (log1p): Likewise.
38962 [XPG3] (logb): Likewise.
38963 [XPG3] (nextafter): Likewise.
38964 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38965 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38966 [XPG3] (remainder): Likewise.
38967 [XPG3] (rint): Likewise.
38968 [XPG3 || XPG4 || UNIX98] (round): Likewise.
38969 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38970 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38971 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38972 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38973 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38974 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38975 [UNIX98 || XOPEN2K] (scalb): Expect.
38976 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38977 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38978 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38979 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38980 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38981 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38982 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38983 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38984 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38985 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38986 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38987 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38988 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38989 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38990 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38991 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38992 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38993 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38994 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38995 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38996 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38997 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38998 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38999 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39000 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39001 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39002 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39003 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39004 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39005 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39006 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39007 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39008 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39009 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39010 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39011 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39012 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39013 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39014 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39015 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39016 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39017 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39018 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39019 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39020 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39021 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39022 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39023 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39024 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39025 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39026 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39027 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39028 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39029 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39030 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39031 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39032 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39033 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39034 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39035 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39036 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39037 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39038 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39039 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39040 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39041 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39042 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39043 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39044 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39045 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39046 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39047 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39048 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39049 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39050 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39051 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39052 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39053 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39054 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39055 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39056 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39057 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39058 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39059 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39060 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39061 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39062 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39063 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39064 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39065 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39066 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39067 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39068 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39069 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39070 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39071 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39072 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39073 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39074 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39075 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39076 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39077 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39078 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39079 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39080 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39081 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39082 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39083 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39084 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39085 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39086 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39087 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39088 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39089 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39090 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39091 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39092 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39093 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39094 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39095 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39096 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39097 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39098 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39099 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39100 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39101 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39102 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39103 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39104 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39105 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39106 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39107 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39108 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39109 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39110 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39111 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39112 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39114 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39115 _XOPEN_SOURCE_EXTENDED for XPG4.
39117 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39119 * Makeconfig (localtime): Remove variable.
39120 (inst_localtime-file): Likewise.
39122 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39143 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39147 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39148 comparisons to determine direction to adjust input.
39149 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39150 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39151 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39153 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39155 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39157 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39158 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39160 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39162 * math/libm-test.inc (nexttoward_test): Add more tests.
39164 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39167 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39168 in version GLIBC_2.1, not GLIBC_2.0.
39169 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39172 2012-04-30 Joseph Myers <joseph@codesourcery.com>
39175 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39177 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39178 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39179 * math/libm-test.inc (acos_test): Add more tests.
39180 (asin_test): Likewise.
39181 * sysdeps/i386/fpu/libm-test-ulps: Update.
39182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39185 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39187 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39188 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39189 * math/libm-test.inc (acos_test_tonearest): New function.
39190 (acos_test_towardzero): Likewise.
39191 (acos_test_downward): Likewise.
39192 (acos_test_upward): Likewise.
39193 (asin_test_tonearest): Likewise.
39194 (asin_test_towardzero): Likewise.
39195 (asin_test_downward): Likewise.
39196 (asin_test_upward): Likewise.
39197 (main): Call the new functions.
39198 * sysdeps/i386/fpu/libm-test-ulps: Update.
39199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39203 * math/e_exp10.c: Include <float.h>.
39204 (__ieee754_exp10): Handle underflow here rather than multiplying
39205 large negative argument by M_LN10.
39206 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39208 * math/e_exp10l.c: Include <float.h>.
39209 (__ieee754_exp10l): Handle underflow here rather than multiplying
39210 large negative argument by M_LN10l.
39211 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39212 spurious overflow exception on underflow.
39214 2012-04-29 Marek Polacek <polacek@redhat.com>
39216 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39217 (__fortify_function): New macro.
39218 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39219 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39220 __extern_always_inline.
39221 * libio/bits/stdio2.h: Likewise.
39222 * libio/bits/stdio.h: Likewise.
39223 * string/string.h: Likewise.
39224 * string/bits/string3.h: Likewise.
39225 * include/stdio.h: Likewise.
39226 * stdlib/bits/stdlib.h: Likewise.
39227 * stdlib/stdlib.h: Likewise.
39228 * rt/bits/mqueue2.h: Likewise.
39229 * rt/mqueue.h: Likewise.
39230 * posix/bits/unistd.h: Likewise.
39231 * posix/unistd.h: Likewise.
39232 * io/bits/poll2.h: Likewise.
39233 * io/bits/fcntl2.h: Likewise.
39234 * io/fcntl.h: Likewise.
39235 * io/sys/poll.h: Likewise.
39236 * misc/bits/syslog.h: Likewise.
39237 * misc/bits/syslog-ldbl.h: Likewise.
39238 * misc/sys/syslog.h: Likewise.
39239 * socket/bits/socket2.h: Likewise.
39240 * socket/sys/socket.h: Likewise.
39241 * debug/tst-chk1.c: Likewise.
39242 * wcsmbs/bits/wchar2.h: Likewise.
39243 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39244 * wcsmbs/wchar.h: Likewise.
39246 2012-04-29 Andreas Jaeger <aj@suse.de>
39248 * Makerules (tests): Remove enable-check-abi protection.
39249 (check-abi-warn): Remove.
39250 (check-abi-%): Remove check-abi-warn usage.
39252 * configure.in: Remove check-abi configure option.
39253 * configure: Regenerated.
39254 * config.make.in (enable-check-abi): Remove.
39256 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39259 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39260 double functions to double *_finite functions.
39263 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39264 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39266 * stdio-common/Makefile (tests): Add tst-sprintf3.
39267 * stdio-common/tst-sprintf3.c: New file.
39269 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39270 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39272 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39274 * conform/conformtest.pl: Remove duplicate typed-constant
39277 2012-04-28 David S. Miller <davem@davemloft.net>
39279 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39280 (check-abi-%): Remove AWK script prerequisite and explicit
39282 (check-abi): Rewrite to just diff the symlist with the abilist.
39283 (config-tls, config-abi-config): Delete, no longer used.
39284 (update-abi-%): Remove AWK script and explicit abilist directory.
39285 (update-abi): Rewrite to simply compare and conditionally copy the
39286 symlist and the sysdep abilist file. Remove update-abi-config
39288 * abilist/ld.abilist: Remove.
39289 * abilist/libBrokenLocale.abilist: Remove.
39290 * abilist/libanl.abilist: Remove.
39291 * abilist/libcrypt.abilist: Remove.
39292 * abilist/libdl.abilist: Remove.
39293 * abilist/librt.abilist: Remove.
39294 * abilist/libthread_db.abilist: Remove.
39295 * abilist/libutil.abilist: Remove.
39296 * scripts/extract-abilist.awk: Remove.
39297 * scripts/merge-abilist.awk: Remove.
39298 * sysdeps/generic/libcidn.abilist: New file.
39299 * sysdeps/generic/libnss_compat.abilist: New file.
39300 * sysdeps/generic/libnss_db.abilist: New file.
39301 * sysdeps/generic/libnss_dns.abilist: New file.
39302 * sysdeps/generic/libnss_files.abilist: New file.
39303 * sysdeps/generic/libnss_hesiod.abilist: New file.
39304 * sysdeps/generic/libnss_nis.abilist: New file.
39305 * sysdeps/generic/libnss_nisplus.abilist: New file.
39306 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39307 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39308 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39310 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39311 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39312 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39313 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39314 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39315 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39316 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39317 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39318 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39320 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39321 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39322 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39323 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39325 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39326 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39327 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39328 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39329 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39330 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39332 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39333 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39334 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39336 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39439 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39440 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39441 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39443 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39444 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39445 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39446 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39447 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39448 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39449 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39450 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39451 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39452 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39504 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39506 * conform/conformtest.pl: Fix typo in handling typed-constant from
39509 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39511 * README: Cut down references to pre-2.6 Linux kernels and
39512 Linuxthreads. Update lists of configurations in libc and ports
39513 and sort alphabetically. Say "or newer" with Linux kernel version
39516 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39518 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39521 * math/libm-test.inc (logb_test_downward): New test to expose
39522 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39525 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39528 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39530 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39531 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39533 2012-04-26 Joseph Myers <joseph@codesourcery.com>
39535 * sysdeps/unix/i386/brk.S: Remove file.
39536 * sysdeps/unix/i386/dl-brk.S: Likewise.
39537 * sysdeps/unix/i386/pipe.S: Likewise.
39538 * sysdeps/unix/i386/sigreturn.S: Likewise.
39539 * sysdeps/unix/i386/syscall.S: Likewise.
39540 * sysdeps/unix/i386/vfork.S: Likewise.
39541 * sysdeps/unix/i386/wait.S: Likewise.
39543 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39544 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39546 * configure.in (arm*-none*): Do not allow without
39547 --enable-hacker-mode.
39548 (netbsd*): Remove case setting base_os.
39549 (386bsd*): Likewise.
39550 (freebsd*): Likewise.
39553 (sunos*): Likewise.
39554 (ultrix*): Likewise.
39555 (newsos*): Likewise.
39556 (dynix*): Likewise.
39562 (minix*): Likewise.
39563 (irix4*): Likewise.
39564 (irix6*): Likewise.
39565 (solaris[2-9]*): Likewise.
39567 * configure: Regenerated.
39569 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39572 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39573 overflow or cancellation in calculating denominator.
39574 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39575 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39576 down expression to avoid unexpected rounding in newer GCCs.
39577 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39579 2012-04-26 David S. Miller <davem@davemloft.net>
39581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39582 long-double compat symbols.
39583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39597 2012-04-25 David S. Miller <davem@davemloft.net>
39599 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39600 HWCAP_* values only after the memory barriers have been defined.
39601 (atomic_full_barrier): Define.
39602 (atomic_read_barrier): Define.
39603 (atomic_write_barrier): Define.
39605 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39607 * shlib-versions: Add libgcc_s version information.
39608 * sysdeps/generic/libgcc_s.h: Remove.
39609 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39611 * sysdeps/gnu/unwind-resume.c: Likewise.
39612 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39614 2012-04-25 David S. Miller <davem@davemloft.net>
39616 * sysdeps/unix/sparc/brk.S: Delete.
39617 * sysdeps/unix/sparc/dl-brk.S: Delete.
39618 * sysdeps/unix/sparc/pipe.S: Delete.
39619 * sysdeps/unix/sparc/sysdep.S: Delete.
39620 * sysdeps/unix/sparc/sysdep.h: Delete.
39621 * sysdeps/unix/sparc/vfork.S: Delete.
39622 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39623 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39624 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39625 (ret_ERRVAL, r0, r1, MOVE): Define.
39626 (JUMPTARGET): Remove.
39627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39628 sysdeps/unix/sparc/sysdep.h
39629 (ENTRY, END): Remove.
39630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39632 2012-04-25 Joseph Myers <joseph@codesourcery.com>
39634 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39635 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39638 * timezone/README: Update upstream location and email address for
39640 * timezone/zdump.c: Update from tzcode 2012b.
39641 * timezone/zic.c: Likewise.
39643 * configure.in (libc_cv_as_needed): Remove test.
39644 * configure: Regenerated.
39645 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39646 conditional definition.
39647 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39648 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39649 * config.make.in (have-as-needed): Remove variable.
39651 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39652 Paul Pluzhnikov <ppluzhnikov@google.com>
39654 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39657 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39659 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39660 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39661 * sysdeps/sh/strlen.S: Likewise.
39663 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39665 * sysdeps/unix/fork.S: Remove file.
39666 * sysdeps/unix/i386/fork.S: Likewise.
39667 * sysdeps/unix/sparc/fork.S: Likewise.
39669 * sysdeps/unix/system.c: Remove file.
39670 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39672 * sysdeps/unix/getegid.S: Remove file.
39673 * sysdeps/unix/geteuid.S: Likewise.
39675 2012-04-24 Roland McGrath <roland@hack.frob.com>
39677 * scripts/check-localplt.awk: New file.
39678 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39680 * scripts/data/localplt-generic.data: Add a comment.
39682 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39683 NODE when __dir_mkfile failed.
39684 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39685 Reported by Ludovic Courtès <ludo@gnu.org>.
39687 2012-04-24 Andreas Jaeger <aj@suse.de>
39689 * Makerules (common-clean): Also remove gen-as-const-headers
39692 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39694 * Makerules (native-compile): Do not change working directory for
39695 build. Use $(OUTPUT_OPTION) in command.
39696 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39698 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39701 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39702 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39703 * math/libm-test.inc (floor_test): Add more tests.
39704 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39706 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39708 * sysdeps/unix/getdents.c: Remove file.
39709 * sysdeps/unix/sysv/getdents.c: Likewise.
39710 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39712 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39713 sysdeps/unix/mman/syscalls.list.
39715 (mprotect): Likewise.
39717 (munmap): Likewise.
39718 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39719 * sysdeps/unix/mman/syscalls.list: Remove.
39720 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39722 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39723 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39724 * configure: Regenerated.
39725 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39726 $(libgcc_s_suffix).
39727 * config.make.in (libgcc_s_suffix): Remove variable.
39729 2012-04-23 Joseph Myers <joseph@codesourcery.com>
39731 * sysdeps/unix/sysv/gethostname.c: Move to ...
39732 * sysdeps/posix/gethostname.c: ... here.
39734 * sysdeps/unix/execve.S: Remove file.
39736 * sysdeps/unix/_exit.S: Remove file.
39738 2012-04-23 Andreas Jaeger <aj@suse.de>
39741 * manual/Makefile: Remove make dist support, there's no
39742 need for a stand-alone documentation tar ball.
39743 (TEXI2DVI): Define always, it's not in Makeconfig.
39746 (edition): Removed.
39747 (glibc-doc-$(edition).tar): Removed
39751 (ETAGS): Remove, it's in Makeconfig.
39752 (move-if-change): Remove, it's in Makeconfig.
39754 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
39757 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39758 (strtod, strtof, strtold, strtol, strtoul, strtoq)
39759 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39760 (strtod_l, strtof_l, strtold_l): Remove __wur.
39761 It is not necessarily an error to ignore strtol's return value.
39762 One can reliably look at the stored endptr to decide whether
39763 the number had valid syntax.
39765 2012-04-21 Andreas Jaeger <aj@suse.de>
39768 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39770 2012-04-21 Joseph Myers <joseph@codesourcery.com>
39772 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39773 * sysdeps/unix/sysv/Versions: Remove file.
39775 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
39778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39780 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
39783 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39784 version from __vm86.
39786 2012-04-20 Joseph Myers <joseph@codesourcery.com>
39788 * sysdeps/unix/common/lxstat.c: Remove file.
39789 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39791 * sysdeps/unix/sysv/Makefile: Remove file.
39793 * sysdeps/unix/sysv/direct.h: Remove file.
39795 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39796 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39797 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39798 * sysdeps/unix/sysv/bits/signum.h: Likewise.
39799 * sysdeps/unix/sysv/bits/stat.h: Likewise.
39800 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39801 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39803 * sysdeps/unix/sysv/setrlimit.c: Remove file.
39805 * sysdeps/unix/xmknod.c: Remove file.
39806 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39808 * sysdeps/unix/sysv/settimeofday.c: Remove file.
39810 * sysdeps/unix/sysv/i386/time.S: Remove file.
39812 * sysdeps/unix/fxstat.c: Remove file.
39813 * sysdeps/unix/xstat.c: Likewise.
39814 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39816 * sysdeps/unix/sysv/sigaction.c: Remove file.
39818 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39819 (sysdep_headers): Remove variable.
39820 [termio.h not in sysdep_headers] (generated): Likewise.
39821 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39822 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39823 * sysdeps/unix/sysv/tcdrain.c: Likewise.
39824 * sysdeps/unix/sysv/tcflow.c: Likewise.
39825 * sysdeps/unix/sysv/tcflush.c: Likewise.
39826 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39827 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39828 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39829 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39830 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39832 * sysdeps/unix/siglist.c: Remove file.
39834 * sysdeps/unix/getppid.S: Remove file.
39836 * sysdeps/unix/mkdir.c: Remove file.
39837 * sysdeps/unix/rmdir.c: Likewise.
39839 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
39841 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39843 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39844 errlist-compat value.
39846 2012-04-18 David S. Miller <davem@davemloft.net>
39848 * sysdeps/generic/memcopy.h (reg_char): Delete.
39849 * debug/strcat_chk.c: Use char, not reg_char.
39850 * debug/strcpy_chk.c: Likewise.
39851 * debug/strncat_chk.c: Likewise.
39852 * debug/strncpy_chk.c: Likewise.
39853 * string/memchr.c: Likewise.
39854 * string/memrchr.c: Likewise.
39855 * string/rawmemchr.c: Likewise.
39856 * string/strcat.c: Likewise.
39857 * string/strchr.c: Likewise.
39858 * string/strchrnul.c: Likewise.
39859 * string/strcmp.c: Likewise.
39860 * string/strcpy.c: Likewise.
39861 * string/strncat.c: Likewise.
39862 * string/strncmp.c: Likewise.
39863 * string/strncpy.c: Likewise.
39865 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39867 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39868 __builtin_memcopy is called when src and dest ranges are known to not
39871 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39873 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39874 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39875 fwd_align_merge macro call.
39876 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39877 bwd_align_merge macro call.
39878 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39880 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
39882 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39883 bwd_align_merge macros.
39884 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39885 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39886 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39888 2012-04-18 David S. Miller <davem@davemloft.net>
39890 * sysdeps/sparc/sparc64/memcopy.h: Delete.
39892 2012-04-18 Andreas Jaeger <aj@suse.de>
39895 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39896 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39897 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39899 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39900 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39901 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39903 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39904 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39905 Adjust for changed ldbl-128 files.
39907 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39908 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39909 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39911 2012-04-17 David S. Miller <davem@davemloft.net>
39913 * sysdeps/sparc/sparc32/memcopy.h: Delete.
39915 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
39917 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39918 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39919 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39920 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39921 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39922 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39924 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39927 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39928 * math/libm-test.inc: Add ilogb errno and exception tests.
39929 * math/w_ilogb.c: New file: ilogb wrapper.
39930 * math/w_ilogbf.c: New file: ilogbf wrapper.
39931 * math/w_ilogbl.c: New file: ilogbl wrapper.
39932 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39933 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39934 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39935 exception being thrown with 0.0 as argument.
39936 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39937 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39938 exception being thrown with 0.0 as argument.
39939 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39940 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39941 exception being thrown with 0.0 as argument.
39942 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39943 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39944 exception being thrown with 0.0 as argument.
39945 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39946 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39947 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39948 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39949 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39950 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39951 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39952 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39953 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39955 2012-04-17 Petr Baudis <pasky@ucw.cz>
39957 * include/sys/uio.h: Change __vector to __iovec to avoid clash
39960 2012-04-16 Marek Polacek <polacek@redhat.com>
39962 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39964 2012-04-16 Marek Polacek <polacek@redhat.com>
39966 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39967 operands of fdivp instruction.
39969 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39971 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39972 * elf/tst-auditmod3b.c: Likewise.
39973 * elf/tst-auditmod4b.c: Likewise.
39974 * elf/tst-auditmod5b.c: Likewise.
39975 * elf/tst-auditmod6b.c: Likewise.
39976 * elf/tst-auditmod6c.c: Likewise.
39977 * elf/tst-auditmod7b.c: Likewise.
39978 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39979 * sysdeps/x86_64/preconfigure.in: Likewise.
39980 * sysdeps/x86_64/preconfigure: Regenerated.
39982 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
39984 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39987 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
39989 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39990 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39992 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
39995 * locale/iso-639.def: Fix gl language name. Spotted by
39998 2012-04-12 Roland McGrath <roland@hack.frob.com>
40001 * libio/libio.h (__io_write_fn): Update comment.
40003 2012-04-12 Petr Baudis <pasky@ucw.cz>
40006 * stdio.texi (Hook Functions): The user provided writer function
40007 is not allowed to return -1.
40009 2012-04-11 David S. Miller <davem@davemloft.net>
40011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40013 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40015 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40016 Add a leading slash to rtkaio.
40018 2012-04-11 Jim Meyering <meyering@redhat.com>
40021 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40022 It is not necessarily an error to ignore fwrite's return
40023 value. One can reliably use ferror to test for errors after
40026 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40028 * bits/types.h (__snseconds_t): New type.
40029 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40031 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40032 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40033 (__SNSECONDS_T_TYPE): Likewise.
40034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40035 (__SNSECONDS_T_TYPE): Likewise.
40036 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40037 (__SNSECONDS_T_TYPE): Likewise.
40039 2012-04-10 Andreas Jaeger <aj@suse.de>
40042 * manual/time.texi (Processor Time): Return type of times is
40043 elapsed real time since an arbitrary point in the past.
40044 (CPU Time): Move CLK_TCK from here...
40045 (Processor Time): ...to here. Correct description.
40046 * manual/conf.texi (Constants for Sysconf): Correct description of
40049 2012-04-10 David S. Miller <davem@davemloft.net>
40052 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40053 where the is a gap between DT_REL(A) and DT_JMPREL.
40055 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40057 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40058 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40059 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40061 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40063 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40064 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40065 (dl_main): Handle --inhibit-cache.
40066 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40068 * elf/dl-load.c (_dl_map_object): Use it.
40069 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40071 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40074 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40075 (__ieee754_powl): Saturate large exponents rather than testing for
40076 overflow of y*log2(x).
40077 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40078 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40082 * math/s_ctan.c: Include <float.h>.
40083 (__ctan): Avoid internal overflow or cancellation in calculating
40085 * math/s_ctanf.c: Likewise.
40086 * math/s_ctanl.c: Likewise.
40087 * math/s_ctanh.c: Likewise.
40088 * math/s_ctanhf.c: Likewise.
40089 * math/s_ctanhl.c: Likewise.
40090 * math/libm-test.inc (ctan_test): Add more tests.
40091 (ctanh_test): Likewise.
40092 * sysdeps/i386/fpu/libm-test-ulps: Update.
40093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40095 2012-04-09 Andreas Jaeger <aj@suse.de>
40098 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40099 is an optional BSD extension.
40102 * manual/stdio.texi (Opening Streams): Document additional fopen
40105 2012-04-09 Roland McGrath <roland@hack.frob.com>
40107 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40108 %eax without telling the compiler.
40110 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40113 * manual/install.texi: Use sourceware.org.
40115 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40118 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40119 (__ieee754_pow): Generate overflow and underflow using huge*huge
40120 and tiny*tiny rather than just returning constant infinity or zero
40121 for large exponents.
40122 * math/libm-test.inc (pow_test): Require overflow exceptions for
40123 applicable cases of large exponents.
40126 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40127 (__ieee754_pow): Use iterative multiplication algorithm only for
40128 integer exponents with absolute value below 1024. Check for odd
40129 integer exponents when using algorithm for real exponents.
40130 * math/libm-test.inc (pow_test): Add more tests.
40131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40133 2012-04-08 Joseph Myers <joseph@codesourcery.com>
40136 * math/libm-test.inc (exp_test): Do not allow overflow exception
40139 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40142 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40143 instead of __kernel_standard_f.
40145 2012-04-08 Mike Frysinger <vapier@gentoo.org>
40147 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40148 * sysdeps/x86_64/memset_chk.S: Likewise.
40150 2012-04-08 Andreas Jaeger <aj@suse.de>
40153 * manual/startup.texi (Environment Access): Describe return value
40154 for putenv and setenv.
40157 * manual/filesys.texi (Directory Entries): Add description for
40161 * manual/filesys.texi (Directory Entries): Clarify that it's file
40162 system not operating system in the description of DT_UNKNOWN.
40165 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40167 2012-04-08 Stephen Compall <s11@member.fsf.org>
40170 * manual/llio.texi (Opening and Closing Files): Add cross
40171 reference to explain mode argument.
40173 2012-04-07 Mike Frysinger <vapier@gentoo.org>
40175 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40176 * sysdeps/x86_64/memset_chk.S: Likewise.
40178 2012-04-07 David S. Miller <davem@davemloft.net>
40180 * elf/elf.h (R_SPARC_WDISP10): Define.
40181 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40183 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40184 R_SPARC_SIZE64 and R_SPARC_H34.
40186 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40188 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40189 conditions and remove no longer applicable assertion.
40191 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40193 * bits/byteswap.h: Include <features.h>.
40194 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40195 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40197 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40199 * bits/byteswap.h (__bswap_16): Removed.
40200 Include <bits/byteswap-16.h> to get __bswap_16.
40201 * sysdeps/i386/bits/byteswap.h: Likewise.
40202 * sysdeps/s390/bits/byteswap.h: Likewise.
40203 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40204 * bits/byteswap-16.h: New file.
40205 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40206 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40207 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40208 * string/Makefile (headers): Add bits/byteswap-16.h.
40210 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40213 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40215 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40216 * nss/tst-nss-static.c: New.
40218 2012-04-06 Robert Millan <rmh@gnu.org>
40221 * manual/llio.texi (File Position Primitive): lseek
40222 refers to WHENCE when it really means OFFSET.
40224 2012-04-06 Andreas Jaeger <aj@suse.de>
40226 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40227 strncmp declarations.
40229 * abilist/libc.abilist: Add __poll and __ppoll.
40231 2012-04-05 David S. Miller <davem@davemloft.net>
40233 * scripts/check-local-headers.sh: Accept a host triplet in the
40234 path matched by the exclude regexp.
40236 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40238 * sysdeps/powerpc/powerpc32/dl-machine.h
40239 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40240 * sysdeps/s390/s390-32/dl-machine.h
40241 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40242 * sysdeps/sparc/sparc32/dl-machine.h
40243 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40244 * sysdeps/sparc/sparc64/dl-machine.h
40245 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40247 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40249 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40250 undefined symbol errors.
40252 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40255 2012-04-05 Michael Matz <matz@suse.de>
40258 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40260 2012-04-05 Andreas Jaeger <aj@suse.de>
40263 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40266 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40268 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40269 which ROUND is no valid rounding mode.
40271 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40273 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40275 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40277 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40279 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40280 an exception using FPU order intentionally.
40282 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40284 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40285 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40286 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40287 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40289 2012-04-05 Simon Josefsson <simon@josefsson.org>
40292 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40293 EINVAL when BUFLEN is too smal.
40295 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40298 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40299 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40301 2012-04-03 Andreas Jaeger <aj@suse.de>
40304 * manual/setjmp.texi (System V contexts): Fix sentence.
40307 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40308 New macro for this case.
40309 [!__GNUC__] (__bswap_64): New inline function for this case.
40310 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40311 * bits/byteswap.h: Likewise.
40312 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40313 ull, guard with __GLIBC_HAVE_LONG_LONG.
40315 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40316 __GLIBC_HAVE_LONG_LONG.
40318 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40319 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40321 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40324 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40325 inptr and inend, rather than using last_ch.
40327 2012-04-02 David S. Miller <davem@davemloft.net>
40329 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40330 * stdio-common/printf-parse.h (read_int): Change return type to
40331 'int', return -1 on INT_MAX overflow.
40332 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40333 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40334 overflows INT_MAX. Check for overflow of in-format-string precision
40335 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40336 SIZE_MAX not INT_MAX for integer overflow test.
40337 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40338 skip the construct in the format string but do not record anything.
40339 * stdio-common/bug22.c: Adjust to test both width/prevision
40340 INT_MAX overflow as well as total length INT_MAX overflow. Check
40341 explicitly for proper errno values.
40343 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40345 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40347 * string/test-strcmp.c [! WIDE]: Likewise.
40348 * time/tst-mktime2.c: Likewise for INT_MAX.
40349 * string/test-string.h: #include <sys/param.h> for MIN.
40351 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40352 * sysdeps/i386/init-first.c (init): Likewise.
40353 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40354 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40355 * sysdeps/sh/init-first.c (init): Likewise.
40357 2012-04-01 Ulrich Drepper <drepper@gmail.com>
40359 * po/ru.po: Update from translation team.
40360 * po/vi.po: Likewise.
40362 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40364 * resolv/nss_dns/dns-host.c: Merge copyright years.
40366 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40368 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40369 Optimize memcpy with prefetch if
40370 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40371 src, dst pointers have unequal 16 byte alignments.
40373 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40376 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40377 from a CNAME entry and return the minimum ttl for the query.
40378 (gaih_getanswer_slice): Likewise.
40380 2012-03-30 Jeff Law <law@redhat.com>
40382 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40384 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40385 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40387 * resolv/nss_dns/dns-host.c: Update copyright year.
40389 2012-03-30 Ulrich Drepper <drepper@gmail.com>
40391 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40392 requests to save a system call. Fix check that all bytes are sent.
40394 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40395 comments for sendmmsg.
40397 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40400 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40401 with only 1 character between 0x0041 and 0x01b0.
40402 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40403 * wcsmbs/tst-mbsnrtowcs.c: New file.
40405 2012-03-29 David S. Miller <davem@davemloft.net>
40407 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40408 small copies by hand.
40410 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40413 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40414 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40417 2012-03-28 David S. Miller <davem@davemloft.net>
40419 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40420 that branches into memcpy.
40421 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40422 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40423 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40424 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40427 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40428 implementation too.
40429 * sysdeps/sparc/mempcpy.S: New file.
40431 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40432 the IFUNC routine in the libc case.
40433 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40435 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40436 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40437 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40438 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40439 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40440 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40441 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40442 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40444 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40445 loop to 256 bytes instead of 64 bytes and fix test signedness.
40447 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40448 * sysdeps/sparc/sparc32/Makefile: rather than here...
40449 * sysdeps/sparc/sparc64/Makefile: and here.
40451 2012-03-28 Ulrich Drepper <drepper@gmail.com>
40453 * malloc/mallocbug.c: Avoid warnings about unused variables.
40455 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40458 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40459 in the right place. Discard and retry query if response is
40460 larger than input buffer size.
40462 2012-03-28 Joseph Myers <joseph@codesourcery.com>
40467 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40468 x for large integer exponent.
40469 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40470 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40471 sign of result as needed afterwards.
40472 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40473 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40474 result for underflowing pow the same as for overflow.
40475 (__kernel_standard_l): Handle powl overflow and underflow here
40476 rather than calling __kernel_standard.
40477 * math/libm-test.inc (pow_test): Add more tests.
40492 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40493 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40494 (__kernel_standard_l): New function.
40495 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40497 * math/w_acosl.c (__acosl): Likewise.
40498 * math/w_asinl.c (__asinl): Likewise.
40499 * math/w_atan2l.c (__atan2l): Likewise.
40500 * math/w_atanhl.c (__atanhl): Likewise.
40501 * math/w_coshl.c (__coshl): Likewise.
40502 * math/w_exp10l.c (__exp10l): Likewise.
40503 * math/w_exp2l.c (__exp2l): Likewise.
40504 * math/w_fmodl.c (__fmodl): Likewise.
40505 * math/w_hypotl.c (__hypotl): Likewise.
40506 * math/w_j0l.c (__j0l, __y0l): Likewise.
40507 * math/w_j1l.c (__j1l, __y1l): Likewise.
40508 * math/w_jnl.c (__jnl, __ynl): Likewise.
40509 * math/w_lgammal.c (__lgammal): Likewise.
40510 * math/w_log10l.c (__log10l): Likewise.
40511 * math/w_log2l.c (__log2l): Likewise.
40512 * math/w_logl.c (__logl): Likewise.
40513 * math/w_powl.c (__powl): Likewise.
40514 * math/w_remainderl.c (__remainderl): Likewise.
40515 * math/w_scalbl.c (sysv_scalbl): Likewise.
40516 * math/w_sinhl.c (__sinhl): Likewise.
40517 * math/w_sqrtl.c (__sqrtl): Likewise.
40518 * math/w_tgammal.c (__tgammal): Likewise.
40519 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40520 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40521 * math/libm-test.inc (acos_test): Add more tests.
40522 (acosh_test): Likewise.
40523 (asin_test): Likewise.
40524 (atanh_test): Likewise.
40525 (exp_test): Likewise.
40526 (exp10_test): Likewise.
40527 (exp2_test): Likewise.
40528 (expm1_test): Likewise.
40529 (lgamma_test): Likewise.
40530 (log_test): Likewise.
40531 (log10_test): Likewise.
40532 (log1p_test): Likewise.
40533 (log2_test): Likewise.
40534 (pow_test): Do not allow some spurious overflow exceptions.
40535 (sqrt_test): Add more tests.
40536 (tgamma_test): Likewise.
40537 (y0_test): Likewise.
40538 (y1_test): Likewise.
40539 (yn_test): Likewise.
40541 2012-03-27 Anton Blanchard <anton@samba.org>
40543 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40545 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40546 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40547 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40549 2012-03-27 David S. Miller <davem@davemloft.net>
40551 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40553 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40554 have-as-vis3 check.
40556 2012-03-27 Andreas Jaeger <aj@suse.de>
40558 * sysdeps/x86_64/elf/configure.in: Moved to ...
40559 * sysdeps/x86_64/configure.in: ... here.
40560 * sysdeps/x86_64/elf/start.S: Moved to ...
40561 * sysdeps/x86_64/start.S: ... here.
40562 * sysdeps/x86_64/elf/configure: Delete.
40564 * sysdeps/x86_64/configure.in: Merge contents from
40565 sysdeps/i386/configure.in (without i686 check).
40567 * sysdeps/i386/elf/Versions: Merge into ...
40568 * sysdeps/i386/Versions: ... this.
40569 * sysdeps/i386/elf/Versions: Delete file.
40570 * sysdeps/i386/elf/start.S: Moved to ...
40571 * sysdeps/i386/start.S: ...here.
40572 * sysdeps/i386/elf/configure.in: Merge into...
40573 * sysdeps/i386/configure.in: ...here.
40574 * sysdeps/i386/elf/configure.in: Delete file.
40575 * sysdeps/i386/elf/configure: Delete file.
40577 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40578 * debug/backtracesyms.c: ... here.
40579 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40580 * debug/backtracesymsfd.c: ... here.
40581 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40582 * sysdeps/generic/ifunc-sel.h: ... here.
40584 * sysdeps/unix/i386/start.c: Delete file.
40585 * sysdeps/unix/sparc/start.c: Delete file.
40586 * sysdeps/unix/start.c: Delete file.
40588 * sysdeps/sh/elf/configure.in: Moved to ...
40589 * sysdeps/sh/configure.in: ... here.
40590 * sysdeps/sh/elf/start.S: Moved to ...
40591 * sysdeps/sh/start.S: ... here.
40592 * sysdeps/sh/elf/configure: Delete file.
40594 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40595 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40596 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40597 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40598 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40599 * sysdeps/powerpc/powerpc64/start.S: here.
40600 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40601 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40602 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40603 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40604 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40606 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40607 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40608 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40609 * sysdeps/powerpc/powerpc32/start.S: ... here.
40610 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40611 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40612 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40614 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40615 * sysdeps/powerpc/ifunc-sel.h: ... here.
40616 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40617 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40619 * sysdeps/sparc/elf/configure.in: Moved to ...
40620 * sysdeps/sparc/configure.in: ... here.
40621 * sysdeps/sparc/elf/configure: Delete file.
40622 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40623 * sysdeps/sparc/sparc32/start.S: ... here.
40624 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40625 * sysdeps/sparc/sparc64/start.S: ... here.
40626 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40627 * sysdeps/sparc/sparc32/Makefile: ... this.
40628 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40629 * sysdeps/sparc/sparc64/Makefile: ... this.
40631 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40632 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40633 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40634 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40635 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40636 * sysdeps/s390/s390-32/setjmp.S: ... here.
40637 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40638 * sysdeps/s390/s390-32/configure.in: ... here.
40639 * sysdeps/s390/s390-32/elf/configure: Delete file.
40640 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40641 * sysdeps/s390/s390-32/start.S: ... here.
40643 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40644 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40645 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40646 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40647 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40648 * sysdeps/s390/s390-64/setjmp.S: ... here.
40649 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40650 * sysdeps/s390/s390-64/configure.in: ... here
40651 * sysdeps/s390/s390-64/elf/configure: Delete file.
40652 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40653 * sysdeps/s390/s390-64/start.S: ... here.
40654 * sysdeps/s390/s390-64/elf/configure: Delete.
40656 * configure.in: Remove support for elf directories in sysdeps.
40658 * configure: Regenerated.
40659 * sysdeps/i386/configure: Regenerated.
40660 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40661 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40662 * sysdeps/s390/s390-32/configure: Regenerated.
40663 * sysdeps/s390/s390-64/configure: Regenerated.
40664 * sysdeps/sh/configure: Regenerated.
40665 * sysdeps/sparc/configure: Regenerated.
40666 * sysdeps/x86_64/configure: Regenerated.
40668 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40672 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40673 denormal result into account.
40675 2012-03-25 Roland McGrath <roland@hack.frob.com>
40677 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40678 Reported by Allan McRae <allan@archlinux.org>.
40680 2012-03-23 Jeff Law <law@redhat.com>
40682 * nss/getnssent.c (__nss_getent): Fix typo.
40684 2012-03-23 David S. Miller <davem@davemloft.net>
40686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40688 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40690 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40691 to pad to uint64_t for each field.
40692 (dl_tls_index): Replace unsigned long with uint64_t.
40694 2012-03-23 Daniel Jacobowitz <dmj@google.com>
40695 Paul Pluzhnikov <ppluzhnikov@google.com>
40698 * grp/Makefile (otherlibs): Don't set it.
40699 * inet/Makefile (otherlibs): Likewise.
40700 * login/Makefile (otherlibs): Likewise.
40701 * nscd/Makefile (otherlibs): Likewise.
40702 * posix/Makefile (otherlibs): Likewise.
40703 * pwd/Makefile (otherlibs): Likewise.
40704 * rt/Makefile (otherlibs): Likewise.
40705 * sunrpc/Makefile (otherlibs): Likewise.
40706 * nss/Makefile (otherlibs): Likewise.
40707 Add libnss_files to routines and static-only-routines.
40708 ($(objpfx)getent): Remove rule.
40709 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40710 static-only-routines.
40712 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40715 * math/s_cexp.c: Include <float.h>.
40716 (__cexp): Handle exp result overflowing not necessarily
40717 overflowing both real and imaginary parts of result.
40718 * math/s_cexpf.c: Likewise.
40719 * math/s_cexpl.c: Likewise.
40720 * math/libm-test.inc (cexp_test): Add more tests.
40721 * sysdeps/i386/fpu/libm-test-ulps: Update.
40722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40724 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40726 * include/link.h (ELFW): New macro.
40727 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40728 Replace ELF64_R_TYPE with ELFW(R_TYPE).
40730 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40732 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40735 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40737 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40739 (struct La_x32_retval): Likewise.
40741 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
40743 * sysdeps/x86_64/preconfigure.in: New file.
40744 * sysdeps/x86_64/preconfigure: New generated file.
40746 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40749 * math/e_exp2l.c: Include <float.h>.
40750 (__ieee754_exp2l): Handle overflow and underflow cases
40751 separately. Only pass fractional part of argument to
40753 * math/libm-test.inc (exp2_test): Add more tests.
40755 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40756 negating x to take absolute value.
40757 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40759 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40760 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40762 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40763 computing low part if x was negated.
40764 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40766 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40768 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40769 la_x32_gnu_pltexit.
40770 (pltexit): Cast int_retval to ptrdiff_t.
40771 * elf/tst-auditmod3b.c: Likewise.
40772 * elf/tst-auditmod4b.c: Likewise.
40773 * elf/tst-auditmod5b.c: Likewise.
40774 * elf/tst-auditmod6b.c: Likewise.
40775 * elf/tst-auditmod6c.c: Likewise.
40776 * elf/tst-auditmod7b.c: Likewise.
40778 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40779 and x32_gnu_pltexit.
40781 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40782 __ELF_NATIVE_CLASS.
40783 (La_x32_regs): New macro.
40784 (La_x32_retval): Likewise.
40785 (la_x32_gnu_pltenter): New function prototype.
40786 (la_x32_gnu_pltexit): Likewise.
40788 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
40790 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40795 * configure.in (libc_cv_cc_nofma): Check for option to disable
40796 generation of FMA instructions.
40797 * configure: Regenerate.
40798 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40799 * sysdeps/ieee754/dbl-64/Makefile: New file.
40800 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40801 Remove brandred-fma4.
40802 (CFLAGS-brandred-fma4.c): Remove.
40803 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40804 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40806 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40809 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40811 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40812 LLONG_MAX != LONG_MAX.
40813 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40814 (_fitoa_word): Likewise.
40815 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40816 LLONG_MAX != LONG_MAX.
40817 * stdio-common/_itowa.h: Include <_itoa.h>.
40818 (_itowa_word): Use _ITOA_WORD_TYPE on value.
40819 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
40820 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
40821 only if not defined.
40822 (_ITOA_WORD_TYPE): Likewise.
40823 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40824 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40826 2012-03-21 David S. Miller <davem@davemloft.net>
40828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40830 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
40832 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40833 of x86_64 when setting libc_cv_slibdir, libdir and
40835 * sysdeps/unix/sysv/linux/configure: Regenerated.
40837 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40839 * manual/lang.texi (Old Varargs): Remove section.
40840 (How Variadic): Update menu.
40841 (va_start): Do not mention varargs.h.
40843 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40844 Joseph Myers <joseph@codesourcery.com>
40846 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40848 * configure: Regenerated.
40850 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
40852 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40853 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40856 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40859 * Makefile (files-for-dist): Remove NOTES.
40860 (NOTES): Remove rule.
40861 * README: Don't refer to NOTES.
40862 * manual/creature.texi: Don't include macros.texi.
40863 * manual/intro.texi (creature.texi): Remove comment referring to
40866 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40867 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40868 * configure: Regenerated.
40869 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40870 LIBC_TRY_CC_OPTION.
40871 (libc_cv_as_i686): Likewise.
40872 (libc_cv_cc_avx): Likewise.
40873 (libc_cv_cc_sse2avx): Likewise.
40874 (libc_cv_cc_fma4): Likewise.
40875 (libc_cv_cc_novzeroupper): Likewise.
40876 * sysdeps/i386/configure: Regenerated.
40879 * sysdeps/i386/fpu/s_cexp.S: Remove.
40880 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40881 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40882 * math/libm-test.inc (cexp_test): Add more tests.
40883 * sysdeps/i386/fpu/libm-test-ulps: Update.
40884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40886 2012-03-21 Allan McRae <allan@archlinux.org>
40888 * timezone/Makefile: Do not install iso3166.tab and zone.tab
40890 2012-03-21 Joseph Myers <joseph@codesourcery.com>
40893 * math/w_exp2.c: Do not include <float.h>.
40894 (o_threshold, u_threshold): Remove.
40895 (__exp2): Calculate result before checking finiteness and calling
40897 * math/w_exp2f.c: Likewise.
40898 * math/w_exp2l.c: Likewise.
40899 * math/libm-test.inc (exp2_test): Require overflow exception for
40903 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40904 range of signed 64-bit integers before using fistpll. Remove
40905 checks for whether integers fit in mantissa bits.
40906 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40907 the range of signed 32-bit integers before using fistpl. Remove
40908 checks for whether integers fit in mantissa bits.
40909 * sysdeps/i386/fpu/e_powl.S (p64): New object.
40910 (__ieee754_powl): Test for y outside the range of signed 64-bit
40911 integers before using fistpll. Reduce 64-bit values to 63-bit
40913 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40914 divide-by-zero is raised for zero to large negative powers.
40915 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40916 (__ieee754_powl): Test for y outside the range of signed 64-bit
40917 integers before using fistpll. Reduce 64-bit values to 63-bit
40919 * math/libm-test.inc (pow_test): Add more tests.
40921 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40923 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40924 <stdio-common/_itoa.h>.
40925 * debug/segfault.c: Likewise.
40926 * elf/dl-cache.c: Likewise.
40927 * elf/dl-minimal.c: Likewise.
40928 * elf/dl-misc.c: Likewise.
40929 * elf/dl-sysdep.c: Likewise.
40930 * elf/dl-version.c: Likewise.
40931 * elf/rtld.c: Likewise.
40932 * hurd/hurdsock.c: Likewise.
40933 * hurd/lookup-retry.c: Likewise.
40934 * malloc/malloc.c: Likewise.
40935 * malloc/mtrace.c: Likewise.
40936 * nscd/nscd_getgr_r.c: Likewise.
40937 * nscd/nscd_getpw_r.c: Likewise.
40938 * nscd/nscd_getserv_r.c: Likewise.
40939 * posix/getopt_init.c: Likewise.
40940 * posix/wordexp.c: Likewise.
40941 * stdio-common/_itoa.c: Likewise.
40942 * stdio-common/printf_fphex.c: Likewise.
40943 * stdio-common/vfprintf.c: Likewise.
40944 * string/_strerror.c: Likewise.
40945 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40946 * sysdeps/i386/i686/hp-timing.h: Likewise.
40947 * sysdeps/mach/_strerror.c: Likewise.
40948 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40949 * sysdeps/mach/hurd/sethostid.c: Likewise.
40950 * sysdeps/mach/hurd/xmknodat.c: Likewise.
40951 * sysdeps/mach/xpg-strerror.c: Likewise.
40952 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40953 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40954 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40955 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40956 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40957 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40958 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40959 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40960 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40961 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40962 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40963 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40964 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40965 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40966 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40967 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40968 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40969 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40970 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40971 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40972 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40974 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40976 * stdio-common/_itoa.h: Moved to ...
40977 * sysdeps/generic/_itoa.h: Here.
40979 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40981 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40982 instead of "_itoa.h" and "_itowa.h".
40983 * stdio-common/vfprintf.: Likewise.
40985 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40987 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40989 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40990 (__signbit): Likwise.
40991 (llrintf): Likwise.
40994 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
40996 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40999 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41001 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41002 OVERFLOW_EXCEPTION_OK.
41003 * math/libm-test.inc ("Philosophy"): Update comment about
41005 (OVERFLOW_EXCEPTION): Define.
41006 (OVERFLOW_EXCEPTION_OK): Likewise.
41007 (INVALID_EXCEPTION_OK): Renumber.
41008 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41009 (IGNORE_ZERO_INF_SIGN): Likewise.
41010 (test_exceptions): Handle FE_OVERFLOW.
41011 (exp10_test): Expect overflow exceptions.
41012 (exp2_test): Likewise.
41013 (expm1_test): Likewise.
41014 (nextafter_test): Likewise.
41015 (pow_test): Likewise.
41016 (scalbn_test): Likewise.
41017 (scalbln_test): Likewise.
41019 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41021 * sysdeps/x86_64/bits/atomic.h
41022 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41024 (atomic_exchange_acq): Likewise.
41025 (__arch_exchange_and_add_body): Likewise.
41026 (__arch_add_body): Likewise.
41027 (atomic_add_negative): Likewise.
41028 (atomic_add_zero): Likewise.
41030 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41032 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41033 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41035 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41037 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41038 Check __x86_64__ instead of __WORDSIZE.
41040 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41042 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41044 2012-03-19 David S. Miller <davem@davemloft.net>
41046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41048 * sysdeps/sparc/fpu/fenv_private.h: New file.
41049 * sysdeps/sparc/fpu/math_private.h: Use it.
41050 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41052 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41053 (libc_feholdexcept_setroundl): Remove.
41054 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41056 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41057 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41059 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41061 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41062 int64_t instead of long int.
41063 (INSERT_WORDS64): Likwise.
41065 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41067 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41068 _Unwind_GetCFA return to _Unwind_Ptr first.
41070 2012-03-19 Joseph Myers <joseph@codesourcery.com>
41073 * math/s_clog.c: Include <float.h>.
41074 (__clog): Scale large or subnormal inputs.
41075 * math/s_clogf.c: Likewise.
41076 * math/s_clogl.c: Likewise.
41077 * math/s_clog10.c: Include <float.h>.
41078 (M_LOG10_2): Define.
41079 (__clog10): Scale large or subnormal inputs.
41080 * math/s_clog10f.c: Likewise.
41081 * math/s_clog10l.c: Likewise.
41082 * math/libm-test.inc (clog_test): Add more tests.
41083 (clog10_test): Likewise.
41084 * sysdeps/i386/fpu/libm-test-ulps: Update.
41085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41088 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41090 * math/libm-test.inc (atan2_test): Add another test.
41092 * Makerules (common-objdir-compile): Remove.
41093 * sysdeps/unix/Makefile (config-generated): Do not add
41094 $(unix-generated) to variable.
41095 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41096 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41098 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41100 [generic bits/local_lim.h] (before-compile): Do not append to
41102 [generic bits/local_lim.h] (common-generated): Likewise.
41103 [generic sys/param.h] (before-compile): Do not append to variable.
41104 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41105 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41106 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41107 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41109 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41110 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41111 [generic sys/param.h] ($(addprefix
41112 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41113 [generic sys/param.h] (common-generated): Do not append to
41115 [generic sys/param.h] (sysdep_headers): Likewise.
41116 [generic bits/errno.h] (before-compile): Do not append to
41118 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41120 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41121 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41122 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41123 [generic bits/errno.h] (common-generated): Do not append to
41125 [generic bits/ioctls.h] (before-compile): Do not append to
41127 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41129 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41130 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41131 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41133 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41134 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41135 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41136 [generic bits/ioctls.h] (common-generated): Do not append to
41138 [generic sys/syscall.h] (syscall.h): Remove variable.
41139 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41141 [generic sys/syscall.h] (before-compile): Do not append to
41143 [generic sys/syscall.h] (common-generated): Likewise.
41144 * sysdeps/unix/errnos-tmpl.c: Remove file.
41145 * sysdeps/unix/errnos.awk: Likewise.
41146 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41147 * sysdeps/unix/ioctls.awk: Likewise.
41148 * sysdeps/unix/mk-local_lim.c: Likewise.
41149 * sysdeps/unix/snarf-ioctls: Likewise.
41151 2012-03-19 Richard Henderson <rth@twiddle.net>
41153 * sysdeps/i386/fpu/fenv_private.h: New file.
41154 * sysdeps/i386/fpu/math_private.h: Use it.
41155 (math_opt_barrier, math_force_eval): Remove.
41156 (libc_feholdexcept_setround_53bit): Remove.
41157 (libc_feupdateenv_53bit): Remove.
41158 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41159 (math_opt_barrier, math_force_eval): Remove.
41160 (libc_feholdexcept): Remove.
41161 (libc_feholdexcept_setround): Remove.
41162 (libc_fetestexcept, libc_fesetenv): Remove.
41163 (libc_feupdateenv_test): Remove.
41164 (libc_feupdateenv, libc_feholdsetround): Remove.
41165 (libc_feresetround): Remove.
41167 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41168 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41170 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41171 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41172 (libc_feupdateenv_testl): New.
41173 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41174 (libc_feupdateenv_testf): New.
41175 (libc_feupdateenv): Use libc_feupdateenv_test.
41176 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41177 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41179 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41180 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41181 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41182 (libc_feresetround_noex): New.
41183 (libc_feresetround_noexf): New.
41184 (libc_feresetround_noexl): New.
41185 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41186 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41187 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41188 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41191 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41193 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41194 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41195 SET_RESTORE_ROUND_NOEX.
41196 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41197 SET_RESTORE_ROUND_NOEXF.
41198 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41199 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41200 (libc_feholdsetroundf): New.
41201 (libc_feresetround, libc_feresetroundf): New.
41203 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41204 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41205 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41207 * sysdeps/generic/math_private.h: Include <fenv.h>.
41208 (default_libc_feholdexcept): New.
41209 (default_libc_feholdexcept_setround): New.
41210 (default_libc_fesetenv, default_libc_feupdateenv): New.
41211 (libc_feholdexcept): Only define if undefined.
41212 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41213 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41214 (libc_feholdexcept_setroundl): Likewise.
41215 (libc_feholdexcept_setround_53bit): Likewise.
41216 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41217 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41218 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41219 (libc_feupdateenv_53bit): Likewise.
41220 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41221 (libc_feholdexcept): Convert from macro to inline function.
41222 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41223 (libc_fesetenv, libc_feupdateenv): Likewise.
41225 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41226 not previously defined.
41227 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41228 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41229 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41230 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41231 * sysdeps/ieee754/flt-32/math_private.h: New file.
41232 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41233 math_private.h below SET_FLOAT_WORD.
41234 (__isnan, __isinf_ns, __finite): Remove.
41235 (__isnanf, __isinf_nsf, __finitef): Remove.
41237 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41241 2012-03-17 David S. Miller <davem@davemloft.net>
41244 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41247 2012-03-16 David S. Miller <davem@davemloft.net>
41249 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41253 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41255 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41256 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41257 sysdep_routines when subdir is sysvipc.
41258 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41259 __getshmlba helper.
41261 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41263 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41265 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41268 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41270 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41271 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41272 (__lround): Renamed to ...
41273 (__llround): This. Replace long int with long long int.
41274 Define lround functions as aliases of llround functions.
41275 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41277 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41279 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41280 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41281 adresses to uintptr_t. Replace "long int" and "unsigned long
41282 int" with "greg_t" on va_arg.
41284 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41286 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41287 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41289 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41290 Move e_machine check before EI_CLASS check. Handle x32
41291 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41292 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41293 SKIP_EM_IA_64 and include
41294 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41296 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41297 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41298 (add_system_dir): New macro.
41300 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41301 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41303 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41314 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41316 * math/w_j0f.c (j0f): Likewise.
41318 * math/w_j0l.c (__j0l): Likewise.
41320 * math/w_j1.c (j1): Likewise.
41322 * math/w_j1f.c (j1f): Likewise.
41324 * math/w_j1l.c (__j1l): Likewise.
41326 * math/w_jn.c (jn): Likewise.
41328 * math/w_jnf.c (jnf): Likewise.
41330 * math/w_jnl.c (__jnl): Likewise.
41332 * math/libm-test.inc (j0_test): Add more tests.
41333 (j1_test): Likewise.
41334 (jn_test): Likewise. Add trailing semicolon to existing test.
41335 (y0_test): Likewise.
41336 (y1_test): Likewise.
41337 * sysdeps/i386/fpu/libm-test-ulps: Update.
41338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41342 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41343 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41344 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41345 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41346 (__tanl): Set errno for infinite argument.
41347 * sysdeps/i386/fpu/mptan.c: Remove.
41348 * sysdeps/i386/fpu/s_tan.S: Likewise.
41349 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41350 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41351 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41352 * math/libm-test.inc (tan_test): Add more tests and enable more
41353 tests for double and long double.
41354 * sysdeps/i386/fpu/libm-test-ulps: Update.
41355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41357 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41359 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41360 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41362 2012-03-16 Roland McGrath <roland@hack.frob.com>
41364 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41365 * configure.in: Use it for both main tree and add-ons.
41366 * configure: Regenerated.
41368 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41370 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41372 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41374 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41378 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41379 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41380 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41381 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41382 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41384 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41386 != 0 for prec == 2.
41387 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41388 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41389 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41390 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41391 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41392 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41393 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41394 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41395 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41396 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41397 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41398 * math/libm-test.inc (cos_test): Add more tests and enable more
41399 tests for long double.
41400 (sin_test): Likewise.
41401 (sincos_test): Likewise.
41402 * sysdeps/i386/fpu/libm-test-ulps: Update.
41403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41405 2012-03-16 David S. Miller <davem@davemloft.net>
41407 * sysdeps/sparc/fpu/math_private.h: New file.
41409 2012-03-15 David S. Miller <davem@davemloft.net>
41411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41421 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41425 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41426 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41428 * sysdeps/sparc/sparc-ifunc.h: New file.
41429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41455 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41456 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41467 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41468 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41470 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41471 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41472 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41474 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41476 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41480 2012-03-15 Andreas Jaeger <aj@suse.de>
41483 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41484 ieee754/flt-32 implementation for sin, cos and sincos.
41485 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41486 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41487 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41488 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41489 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41490 ieee754/flt-32 implementation for tan.
41492 * math/libm-test.inc (cos_test): Enable some large input tests for
41494 (sin_test): Likewise.
41495 (sincos_test): Likewise.
41496 (tan_test): Add tests for large input.
41498 * sysdeps/i386/fpu/libm-test-ulps: Update.
41500 2012-03-15 Andreas Jaeger <aj@suse.de>
41503 * math/libm-test.inc (cos_test): Add more test cases.
41504 (sin_test): Likewise.
41505 (sincos_test): Likewise.
41507 2012-03-15 Andreas Jaeger <aj@suse.de>
41510 * math/libm-test.inc (cos_test): Add a test case for large input
41512 (sin_test): Likewise.
41513 (sincos_test): Likewise.
41515 2012-03-15 Andreas Jaeger <aj@suse.de>
41516 Joseph Myers <joseph@codesourcery.com>
41519 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41520 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41521 * sysdeps/i386/fpu/branred.c: Likewise.
41522 * sysdeps/i386/fpu/dosincos.c: Likewise.
41523 * sysdeps/i386/fpu/mpa.c: Likewise.
41524 * sysdeps/i386/fpu/s_cos.S: Likewise.
41525 * sysdeps/i386/fpu/s_sin.S: Likewise.
41526 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41527 * sysdeps/i386/fpu/sincos32.c: Likewise.
41529 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41531 (libc_feupdateenv_53bit): Define.
41532 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41534 (libc_feupdateenv_53bit): Define.
41536 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41537 53 bit (without extend i386 double precision).
41539 * math/libm-test.inc (sincos_test): Add tests for large input.
41543 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41545 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41549 2012-03-15 David S. Miller <davem@davemloft.net>
41551 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41552 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41553 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41554 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41578 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41579 fmin/fmax sysdep routines.
41580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41582 2012-03-14 David S. Miller <davem@davemloft.net>
41584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41586 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41587 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41588 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41589 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41590 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41591 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41592 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41598 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41606 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41607 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41608 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41609 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41610 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41611 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41612 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41656 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41661 * sysdeps/sparc/configure.in: New file.
41662 * sysdeps/sparc/configure: Generate.
41663 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41664 * configure: Regenerate.
41665 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41666 * config.make.in (have-as-vis3): New.
41667 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41668 available use -Av9d instead of -Av9a.
41669 * sysdeps/sparc/sparc64/Makefile: Likewise.
41670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41679 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41680 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41681 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41682 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41683 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41685 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41686 fzeros/fnegs to load 0x80000000 into a float register instead of
41688 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41690 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41694 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41695 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41696 ($(inst_includedir)/bits/syscall.h): Remove rule.
41697 ($(objpfx)bits/syscall.d): Include instead of
41698 $(objpfx)syscall-list.d.
41699 (generated): Change syscall-list.h and syscall-list.d to
41700 bits/syscall.h and bits/syscall.d.
41702 2012-03-14 Roland McGrath <roland@hack.frob.com>
41705 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41707 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41710 * math/s_csqrt.c: Include <float.h>.
41711 (__csqrt): Scale large or subnormal inputs.
41712 * math/s_csqrtf.c: Likewise.
41713 * math/s_csqrtl.c: Likewise.
41714 * math/libm-test.inc (csqrt_test): Add more tests.
41715 * sysdeps/i386/fpu/libm-test-ulps: Update.
41716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41719 * math/libm-test.inc (hypot_test): Add more tests.
41721 2012-03-13 David S. Miller <davem@davemloft.net>
41724 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41725 double-precision for the calculation instead of scaling.
41727 2012-03-13 Joseph Myers <joseph@codesourcery.com>
41729 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41730 manipulate bits before adding and subtracting TWO52[sx].
41731 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41732 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41734 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41736 2012-03-13 David S. Miller <davem@davemloft.net>
41738 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41739 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41741 rtld-global-offsets.h
41742 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41744 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41747 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41749 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41750 'err' in the ifdef scope in which it is actually used.
41752 * nss/nss_db/db-init.c: Include string.h
41754 2012-03-12 David S. Miller <davem@davemloft.net>
41756 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41757 masking out of the most significant byte of random value used.
41758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41759 Fix coding style in previous change.
41761 * sysdeps/unix/sysv/linux/kernel-features.h
41762 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41763 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41765 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41768 2012-03-11 David S. Miller <davem@davemloft.net>
41770 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41771 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41772 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41773 for 'resultvar' otherwise things get truncated on 64-bit.
41775 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41776 Fix masking out of the most significant byte of random value used.
41778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41780 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
41782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41784 2012-03-09 David S. Miller <davem@davemloft.net>
41786 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41787 variables with appropriate CPP guards.
41788 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41789 from the frame pointer, not the stack pointer. Correct layout
41790 comments. Fix test on resulting framesize and the management of
41791 the outregs buffer for pltexit. Preserve floating point return
41792 values across _dl_call_pltexit call.
41793 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41794 framesize and the management of the outregs buffer for pltexit.
41795 Preserve floating point return values across _dl_call_pltexit
41797 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41798 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41799 (la_sparc64_gnu_pltexit): New functions.
41800 (print_exit): Fix format string for return register value.
41802 2012-03-10 Joseph Myers <joseph@codesourcery.com>
41804 * sunrpc/Makefile (others): Add rpcgen.
41805 ($(objpfx)rpcgen): Remove special build rule and dependency on
41807 * sunrpc/rpcgen.c: New file.
41809 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
41812 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41813 * stdio-common/bug-vfprintf-nargs.c: Likewise.
41814 * sysdeps/i386/crti.S: Likewise.
41815 * sysdeps/i386/crtn.S: Likewise.
41816 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41817 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41818 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41819 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41820 * sysdeps/sh/crti.S: Likewise.
41821 * sysdeps/sh/crtn.S: Likewise.
41822 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41825 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41827 * locale/programs/locfile-kw.gperf: Likewise.
41828 * locale/programs/charmap-kw.h: Regenerated.
41829 * locale/programs/locfile-kw.h: Likewise.
41832 * intl/plural.y: Replace FSF snail mail address with URL.
41833 * intl/plural.c: Regenerated.
41835 2012-03-09 Richard Henderson <rth@twiddle.net>
41837 * include/math_private.h: Remove file.
41838 * math/math_private.h: Move file ...
41839 * sysdeps/generic/math_private.h: ... here.
41841 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41842 * sysdeps/powerpc/fpu/math_private.h: Likewise.
41843 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41845 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41846 and <math_private.h>.
41847 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41848 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41849 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41850 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41851 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41852 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41853 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41855 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41856 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41858 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41859 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41860 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41861 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41862 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41863 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41864 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41865 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41866 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41867 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41868 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41869 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41871 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41872 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41873 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41874 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41875 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41877 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41878 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41879 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41880 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41881 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41882 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41883 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41884 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41885 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41886 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41887 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41888 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41889 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41890 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41891 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41892 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41893 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41894 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41895 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41896 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41897 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41898 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41899 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41900 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41901 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41902 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41903 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41904 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41905 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41906 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41907 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41908 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41910 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41911 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41912 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41913 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41914 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41915 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41916 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41917 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41918 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41919 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41921 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41922 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41923 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41924 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41925 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41926 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41928 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41929 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41930 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41931 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41932 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41933 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41934 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41935 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41936 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41937 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41938 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41939 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41940 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41941 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41942 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41943 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41944 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41945 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41946 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41947 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41948 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41949 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41950 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41951 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41952 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41953 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41954 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41955 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41956 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41957 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41958 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41959 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41960 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41961 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41962 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41963 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41964 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41965 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41966 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41967 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41968 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41969 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41970 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41971 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41972 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41973 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41974 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41975 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41976 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41977 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41978 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41979 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41980 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41981 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41982 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41983 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41984 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41985 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41986 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41987 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41988 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41989 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41990 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41991 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41992 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41993 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41994 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41995 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41996 * sysdeps/ieee754/k_standard.c: Likewise.
41997 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41998 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41999 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42000 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42001 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42002 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42003 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42004 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42005 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42006 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42007 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42008 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42009 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42010 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42011 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42012 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42013 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42014 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42015 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42016 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42017 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42018 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42019 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42020 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42021 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42022 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42023 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42024 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42025 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42026 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42027 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42028 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42029 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42030 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42031 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42032 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42033 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42034 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42035 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42036 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42037 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42038 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42039 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42040 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42041 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42042 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42043 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42045 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42046 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42047 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42048 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42049 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42050 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42051 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42052 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42053 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42054 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42055 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42056 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42057 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42058 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42059 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42060 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42061 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42063 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42064 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42065 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42066 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42067 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42069 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42070 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42071 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42072 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42073 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42074 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42075 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42076 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42077 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42078 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42079 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42080 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42081 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42082 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42083 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42084 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42085 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42086 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42087 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42088 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42089 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42090 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42091 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42092 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42093 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42094 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42095 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42096 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42097 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42098 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42099 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42100 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42101 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42102 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42103 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42104 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42105 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42106 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42107 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42108 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42109 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42110 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42111 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42112 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42113 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42114 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42115 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42116 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42117 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42118 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42119 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42120 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42121 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42122 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42123 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42124 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42125 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42126 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42127 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42128 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42129 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42130 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42131 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42132 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42133 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42134 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42135 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42136 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42137 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42138 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42139 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42140 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42141 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42142 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42143 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42144 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42145 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42146 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42147 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42148 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42149 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42150 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42151 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42152 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42153 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42154 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42155 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42156 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42157 * sysdeps/ieee754/s_lib_version.c: Likewise.
42158 * sysdeps/ieee754/s_matherr.c: Likewise.
42159 * sysdeps/ieee754/s_signgam.c: Likewise.
42160 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42161 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42162 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42163 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42164 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42165 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42166 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42167 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42168 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42169 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42170 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42171 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42172 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42173 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42174 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42175 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42176 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42177 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42178 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42179 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42182 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42184 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42185 * sunrpc/rpc_main.c: Likewise.
42186 * sunrpc/rpc_svcout.c: Likewise.
42188 2012-03-09 David S. Miller <davem@davemloft.net>
42190 * include/math_private.h: New file.
42192 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42194 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42195 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42196 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42197 from <bits/socket_type.h>.
42198 (enum __socket_type): Don't define here.
42199 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42201 bits/socket_type.h.
42204 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42205 checking __USE_GNU.
42207 * Makerules ($(inst_includedir)/%.h): New rule.
42208 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42209 (install-others): Remove variable setting.
42210 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42212 2012-03-08 Richard Henderson <rth@twiddle.net>
42214 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42215 from macro to inline function; merge with the
42216 !__LIBC_INTERNAL_MATH_INLINES version.
42217 (__ieee754_sqrtf): Likewise.
42219 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42220 to inline function.
42221 (__rintf, __floor, __floorf): Likewise.
42223 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42224 macro to inline function.
42225 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42227 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42228 not <math/math_private.h>.
42230 2012-03-08 David S. Miller <davem@davemloft.net>
42232 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42234 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42236 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42238 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42240 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42241 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42243 2012-03-08 Ulrich Drepper <drepper@gmail.com>
42245 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42246 be defined individually, they must be defined as a block. Define
42247 S for printing a string instead of hidint the different by using a
42248 macro for adding the 'l'.
42249 * stdio-common/tst-fphex-wide.c: Adjust.
42251 2012-03-07 Marek Polacek <polacek@redhat.com>
42253 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42255 2012-03-08 Marek Polacek <polacek@redhat.com>
42258 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42259 * stdio-common/tst-fphex.c: Define a few macros to make the
42260 test reusable. Use them.
42261 * stdio-common/tst-fphex-wide.c: New file.
42263 2012-03-08 Joseph Myers <joseph@codesourcery.com>
42266 * manual/macros.texi (gnusystems): New macro.
42267 (nongnusystems): Likewise.
42268 (gnulinuxhurdsystems): Likewise.
42269 (gnuhurdsystems): Likewise..
42270 (gnulinuxsystems): Likewise.
42271 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42272 variants of the GNU system, not "GNU system".
42273 * manual/conf.texi: Likewise.
42274 * manual/errno.texi: Likewise. Update example of errno macro
42276 * manual/filesys.texi: Likewise.
42277 (getumask): Document as specific to GNU/Hurd.
42278 * manual/install.texi: Likewise. Reword some references to
42280 * manual/intro.texi: Likewise.
42281 * manual/io.texi: Likewise.
42282 (File Name Portability): Detail which constraints are inapplicable
42283 to all GNU systems and which are only inapplicable to GNU/Hurd.
42284 * manual/job.texi: Likewise.
42285 * manual/llio.texi: Likewise.
42286 (O_NOCTTY): Document as present on GNU/Linux.
42287 * manual/maint.texi: Likewise.
42288 * manual/memory.texi: Likewise.
42289 * manual/pattern.texi: Likewise.
42290 * manual/pipe.texi: Likewise.
42291 * manual/process.texi: Likewise.
42292 * manual/resource.texi: Likewise.
42293 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42295 * manual/setjmp.texi: Likewise.
42296 * manual/signal.texi: Likewise.
42297 * manual/startup.texi: Likewise.
42298 * manual/stdio.texi: Likewise.
42299 * manual/terminal.texi: Likewise.
42300 (ONLCR): Document as POSIX.
42301 (OXTABS): Document availability on GNU/Linux as XTABS.
42302 (ONOEOT): Document availability separately from other bits.
42303 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42304 * manual/time.texi: Likewise.
42305 * manual/users.texi: Likewise.
42306 * INSTALL: Regenerated.
42307 * sysdeps/gnu/errlist.c: Regenerated.
42309 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42310 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42311 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42313 * configure: Regenerated.
42315 2012-03-07 Joseph Myers <joseph@codesourcery.com>
42317 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42318 default includes instead of AC_HEADER_CHECK.
42319 * sysdeps/i386/configure: Regenerated.
42322 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42323 * math/s_cacoshf.c (__cacoshf): Likewise.
42324 * math/s_cacoshl.c (__cacoshl): Likewise.
42325 * math/s_casinh.c (__casinh): Set signs of result from argument.
42326 * math/s_casinhf.c (__casinhf): Likewise.
42327 * math/s_casinhl.c (__casinhl): Likewise.
42328 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42329 (casinh_test): Add more tests.
42330 * sysdeps/i386/fpu/libm-test-ulps: Update.
42331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42333 2012-03-07 Ulrich Drepper <drepper@gmail.com>
42335 * po/zh_TW.po: Update from translation team.
42337 * login/Makefile (distribute): Remove variable.
42338 * catgets/Makefile: Likewise.
42339 * mach/Makefile: Likewise.
42340 * malloc/Makefile: Likewise.
42341 * misc/Makefile: Likewise.
42342 * iconv/Makefile: Likewise.
42343 * nscd/Makefile: Likewise.
42344 * hurd/Makefile: Likewise.
42345 * manual/Makefile: Likewise.
42346 * locale/Makefile: Likewise.
42347 * intl/Makefile: Likewise.
42348 * conform/Makefile: Likewise.
42349 * nss/Makefile: Likewise.
42350 * time/Makefile: Likewise.
42351 * soft-fp/Makefile: Likewise.
42352 * dirent/Makefile: Likewise.
42353 * gmon/Makefile: Likewise.
42354 * po/Makefile: Likewise.
42355 * rt/Makefile: Likewise.
42356 * socket/Makefile: Likewise.
42357 * math/Makefile: Likewise.
42358 * signal/Makefile: Likewise.
42359 * debug/Makefile: Likewise.
42360 * elf/Makefile: Likewise.
42361 * timezone/Makefile: Likewise.
42362 * stdlib/Makefile: Likewise.
42363 * iconvdata/Makefile: Likewise.
42364 * sunrpc/Makefile: Likewise.
42365 * io/Makefile: Likewise.
42366 * argp/Makefile: Likewise.
42367 * inet/Makefile: Likewise.
42368 * hesiod/Makefile: Likewise.
42369 * grp/Makefile: Likewise.
42370 * csu/Makefile: Likewise.
42371 * wctype/Makefile: Likewise.
42372 * crypt/Makefile: Likewise.
42373 * libio/Makefile: Likewise.
42374 * string/Makefile: Likewise.
42375 * nis/Makefile: Likewise.
42376 * resolv/Makefile: Likewise.
42377 * stdio-common/Makefile: Likewise.
42378 * wcsmbs/Makefile: Likewise.
42379 * dlfcn/Makefile: Likewise.
42380 * posix/Makefile: Likewise.
42383 * timezone/Makefile: Don't install timezone files, just the programs
42386 2012-03-06 Ulrich Drepper <drepper@gmail.com>
42388 * nss/databases.def: Add missing gshadow entry.
42390 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42392 2012-03-06 Marek Polacek <polacek@redhat.com>
42395 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42396 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42397 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42398 * stdio-common/tst-long-dbl-fphex.c: New file.
42400 2012-03-06 David S. Miller <davem@davemloft.net>
42402 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42403 (set_obp_int): New function.
42404 (get_obp_int): New function.
42405 (__get_clockfreq_via_dev_openprom): Likewise.
42406 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42407 Avoid unused variable warnings on 'val' and use builtin_expect.
42408 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42410 (INLINE_CLONE_SYSCALL): Likewise.
42412 2012-03-05 David S. Miller <davem@davemloft.net>
42414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42416 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42420 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42421 only for |x| >= 40.
42422 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42424 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
42426 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42427 Replace gettimeofday with __vdso_gettimeofday.
42429 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42430 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42431 __vdso_clock_gettime and __vdso_getcpu.
42433 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42434 time with __vdso_time.
42436 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42438 * manual/lang.texi (size_t): Note types to which size_t may be
42439 equivalent with the GNU C Library, but do not describe when
42440 differences between them are significant.
42442 2012-03-05 Andreas Jaeger <aj@suse.de>
42444 * sysdeps/i386/fpu/libm-test-ulps: Update.
42446 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42449 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42450 (__ieee754_pow): Save and restore rounding mode and use
42451 round-to-nearest for main computations.
42452 * math/libm-test.inc (pow_test_tonearest): New function.
42453 (pow_test_towardzero): Likewise.
42454 (pow_test_downward): Likewise.
42455 (pow_test_upward): Likewise.
42456 (main): Call the new functions.
42457 * sysdeps/i386/fpu/libm-test-ulps: Update.
42458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42461 * math/libm-test.inc (cosh_test_tonearest): New function.
42462 (cosh_test_towardzero): Likewise.
42463 (cosh_test_downward): Likewise.
42464 (cosh_test_upward): Likewise.
42465 (sinh_test_tonearest): Likewise.
42466 (sinh_test_towardzero): Likewise.
42467 (sinh_test_downward): Likewise.
42468 (sinh_test_upward): Likewise.
42469 (main): Call the new functions.
42470 * sysdeps/i386/fpu/libm-test-ulps: Update.
42471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42473 2012-03-05 Tom de Vries <tom@codesourcery.com>
42475 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42476 default stack guard is set in last bytes.
42477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42479 2012-03-05 Kees Cook <keescook@chromium.org>
42481 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42484 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42485 possibly allocate from heap instead of stack.
42486 * stdio-common/bug-vfprintf-nargs.c: New file.
42487 * stdio-common/Makefile (tests): Add nargs overflow test.
42489 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42493 2012-03-03 Marek Polacek <polacek@redhat.com>
42495 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42496 * math/math_private.h: Likewise.
42497 * stdlib/tst-strtod.c: Likewise.
42498 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42499 * sysdeps/x86_64/bits/atomic.h: Likewise.
42501 2012-03-02 David S. Miller <davem@davemloft.net>
42503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42507 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42508 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42509 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42510 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42512 2012-03-02 Roland McGrath <roland@hack.frob.com>
42515 * manual/examples/README: New file, says the example source files
42516 can be used under GPL>=2.
42517 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42518 line containing just "*/".
42519 * manual/examples/add.c: Add copyright header (GPL>=2).
42520 * manual/examples/argp-ex1.c: Likewise.
42521 * manual/examples/argp-ex2.c: Likewise.
42522 * manual/examples/argp-ex3.c: Likewise.
42523 * manual/examples/argp-ex4.c: Likewise.
42524 * manual/examples/atexit.c: Likewise.
42525 * manual/examples/db.c: Likewise.
42526 * manual/examples/dir.c: Likewise.
42527 * manual/examples/dir2.c: Likewise.
42528 * manual/examples/execinfo.c: Likewise.
42529 * manual/examples/filecli.c: Likewise.
42530 * manual/examples/filesrv.c: Likewise.
42531 * manual/examples/fmtmsgexpl.c: Likewise.
42532 * manual/examples/genpass.c: Likewise.
42533 * manual/examples/inetcli.c: Likewise.
42534 * manual/examples/inetsrv.c: Likewise.
42535 * manual/examples/isockad.c: Likewise.
42536 * manual/examples/longopt.c: Likewise.
42537 * manual/examples/memopen.c: Likewise.
42538 * manual/examples/memstrm.c: Likewise.
42539 * manual/examples/mkfsock.c: Likewise.
42540 * manual/examples/mkisock.c: Likewise.
42541 * manual/examples/mygetpass.c: Likewise.
42542 * manual/examples/pipe.c: Likewise.
42543 * manual/examples/popen.c: Likewise.
42544 * manual/examples/rprintf.c: Likewise.
42545 * manual/examples/search.c: Likewise.
42546 * manual/examples/select.c: Likewise.
42547 * manual/examples/setjmp.c: Likewise.
42548 * manual/examples/sigh1.c: Likewise.
42549 * manual/examples/sigusr.c: Likewise.
42550 * manual/examples/stpcpy.c: Likewise.
42551 * manual/examples/strdupa.c: Likewise.
42552 * manual/examples/strftim.c: Likewise.
42553 * manual/examples/strncat.c: Likewise.
42554 * manual/examples/subopt.c: Likewise.
42555 * manual/examples/swapcontext.c: Likewise.
42556 * manual/examples/termios.c: Likewise.
42557 * manual/examples/testopt.c: Likewise.
42558 * manual/examples/testpass.c: Likewise.
42559 * manual/examples/timeval_subtract.c: Likewise.
42562 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42564 * manual/timeval_subtract.c.texi: ... here, new file.
42566 2012-03-02 David S. Miller <davem@davemloft.net>
42568 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42570 2012-03-02 Joseph Myers <joseph@codesourcery.com>
42573 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42574 (__sin): Save and restore rounding mode and use round-to-nearest
42575 for all computations.
42576 (__cos): Save and restore rounding mode and use round-to-nearest
42577 for all computations.
42578 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42580 (tan): Save and restore rounding mode and use round-to-nearest for
42582 * math/libm-test.inc (cos_test_tonearest): New function.
42583 (cos_test_towardzero): Likewise.
42584 (cos_test_downward): Likewise.
42585 (cos_test_upward): Likewise.
42586 (sin_test_tonearest): Likewise.
42587 (sin_test_towardzero): Likewise.
42588 (sin_test_downward): Likewise.
42589 (sin_test_upward): Likewise.
42590 (tan_test_tonearest): Likewise.
42591 (tan_test_towardzero): Likewise.
42592 (tan_test_downward): Likewise.
42593 (tan_test_upward): Likewise.
42594 (main): Call the new functions.
42595 * sysdeps/i386/fpu/libm-test-ulps: Update.
42596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42599 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42600 small n, then large n, before computing and testing k+n.
42601 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42602 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42604 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42606 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42607 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42608 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42609 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42610 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42611 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42612 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42613 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42614 * math/libm-test.inc (scalbn_test): Add more tests.
42615 (scalbln_test): Likewise.
42617 * manual/filesys.texi (mode_t): Describe constraints on size and
42618 signedness, not exact equivalence to a particular type.
42620 (ino64_t): Likewise.
42622 (nlink_t): Likewise.
42623 (blkcnt_t): Likewise.
42624 (blkcnt64_t): Likewise.
42625 * manual/llio.texi (off_t): Likewise.
42628 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42629 (__ieee754_exp): Save and restore rounding mode and use
42630 round-to-nearest for all computations.
42631 * math/libm-test.inc (exp_test_tonearest): New function.
42632 (exp_test_towardzero): Likewise.
42633 (exp_test_downward): Likewise.
42634 (exp_test_upward): Likewise.
42635 (main): Call the new functions.
42636 * sysdeps/i386/fpu/libm-test-ulps: Update.
42637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42639 2012-03-01 Chris Demetriou <cgd@google.com>
42641 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42642 have predictable order.
42644 2012-03-01 David S. Miller <davem@davemloft.net>
42646 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42648 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42649 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42650 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42651 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42653 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42654 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42655 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42657 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42658 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42659 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42660 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42661 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42665 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42666 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42667 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42669 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42670 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42671 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42672 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42673 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42674 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42675 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42676 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42677 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42678 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42679 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42680 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42682 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42683 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42685 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42686 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42687 * sysdeps/sparc/elf/configure: Regenerated.
42689 2012-03-01 Joseph Myers <joseph@codesourcery.com>
42691 * configure.in (AS, LD): Require binutils 2.20 or later.
42692 * configure: Regenerated.
42693 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42694 as required minimum version.
42695 * INSTALL: Regenerated.
42699 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42700 before squaring exponent.
42701 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42702 bottom long double and 27 bits of top long double before squaring
42704 * math/libm-test.inc (erfc_test): Add more tests.
42705 * sysdeps/i386/fpu/libm-test-ulps: Update.
42706 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42709 2012-03-01 Kai Tietz <ktietz@redhat.com>
42711 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42712 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42713 containing bit-fields.
42714 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42715 * soft-fp/single.h (_FP_UNION_S): Likewise.
42716 * soft-fp/double.h (_FP_UNION_D): Likewise.
42718 2012-02-29 Joseph Myers <joseph@codesourcery.com>
42721 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42722 not include ../strcmp.S.
42723 [USE_AS_STRNCASECMP_L]: Likewise.
42724 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42725 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42726 * sysdeps/i386/i686/multiarch/strncase_l-c.c
42727 (__strncasecmp_l_ia32): Define as alias to
42728 __strncasecmp_l_nonascii.
42731 * math/libm-test.inc (expm1_test): Add test for bug 5794.
42732 * sysdeps/i386/fpu/libm-test-ulps: Update.
42733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42735 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42738 2012-02-29 Jeff Law <law@redhat.com>
42740 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42741 out of bounds read.
42743 2012-02-29 Marek Polacek <polacek@redhat.com>
42746 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42747 * elf/Makefile: Add rules to run tst-unused-dep.out.
42749 2012-02-28 David S. Miller <davem@davemloft.net>
42751 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42752 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42753 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42754 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42755 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42756 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42758 2012-02-29 Joseph Myers <joseph@codesourcery.com>
42760 * math/libm-test.inc (llround_test): Move one test from
42761 lround_test. Use TEST_f_L in moved test.
42762 (lround_test): Move misplaced test to llround_test. Add testcase
42765 2012-02-28 Ulrich Drepper <drepper@gmail.com>
42767 * sysdeps/x86_64/fpu/e_expf.S: New file.
42768 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42770 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
42773 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42774 of remain_len that may cause incomplete multi-byte character and
42776 * posix/bug-regex33.c: New file.
42777 * posix/Makefile (tests): Add bug-regex33.
42779 2012-02-28 Joseph Myers <joseph@codesourcery.com>
42781 * manual/macros.texi: New file.
42782 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42783 * manual/libc.texinfo: Include macros.texi.
42784 * manual/creatute.texi: Likewise.
42785 * manual/install.texi: Likewise.
42786 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42787 @glibcadj{} in references to the GNU C Library.
42788 * manual/charset.texi: Likewise.
42789 * manual/conf.texi: Likewise.
42790 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
42791 when not using those macros.
42792 * manual/creature.texi: Likewise.
42793 * manual/crypt.texi: Likewise.
42794 * manual/errno.texi: Likewise.
42795 * manual/filesys.texi: Likewise.
42796 * manual/header.texi: Likewise.
42797 * manual/install.texi: Likewise.
42798 * manual/intro.texi: Likewise.
42799 * manual/io.texi: Likewise.
42800 * manual/job.texi: Likewise.
42801 * manual/lang.texi: Likewise.
42802 * manual/libc.texiinfo: Likewise.
42803 * manual/llio.texi: Likewise.
42804 * manual/locale.texi: Likewise.
42805 * manual/maint.texi: Likewise.
42806 * manual/math.texi: Likewise.
42807 * manual/memory.texi: Likewise.
42808 * manual/message.texi: Likewise.
42809 * manual/nss.texi: Likewise.
42810 * manual/pattern.texi: Likewise.
42811 * manual/process.texi: Likewise.
42812 * manual/resource.texi: Likewise.
42813 * manual/search.texi: Likewise.
42814 * manual/setjmp.texi: Likewise.
42815 * manual/signal.texi: Likewise.
42816 * manual/socket.texi: Likewise.
42817 * manual/startup.texi: Likewise.
42818 * manual/stdio.texi: Likewise.
42819 * manual/string.texi: Likewise.
42820 * manual/sysinfo.texi: Likewise.
42821 * manual/syslog.texi: Likewise.
42822 * manual/terminal.texi: Likewise.
42823 * manual/time.texi: Likewise.
42824 * manual/users.texi: Likewise.
42825 * INSTALL: Regenerated.
42826 * NOTES: Regenerated.
42827 * sysdeps/gnu/errlist.c: Regenerated.
42829 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
42831 * include/dirent.h: Include <dirstream.h> before
42834 2012-02-28 David S. Miller <davem@davemloft.net>
42836 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42837 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42838 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42839 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42841 2012-02-27 David S. Miller <davem@davemloft.net>
42843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42845 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42846 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42849 frame pointer instead of stack pointer relative arg slot.
42850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42851 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42852 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42854 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
42857 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42859 2012-02-27 David S. Miller <davem@davemloft.net>
42861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42865 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42866 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42867 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42868 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42870 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42872 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42873 later. Allow versions 5-9.
42874 * configure: Regenerated.
42875 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42876 required minimum version and 4.6 as recommended version. Do not
42877 mention bugs in GCC 2.7 and 2.8.
42878 * INSTALL: Regenerated.
42880 2012-02-27 David S. Miller <davem@davemloft.net>
42882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42886 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42887 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42888 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42889 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42891 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42892 manipulate bits before adding and subtracting TWO112[sx].
42893 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42895 2012-02-27 Roland McGrath <roland@hack.frob.com>
42898 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42899 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42900 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42901 being in POSIX, because they are in 1003.1-2008.
42903 * rt/tst-aio.c: Include <fcntl.h>.
42904 * rt/tst-aio7.c: Likewise.
42905 * rt/tst-aio64.c: Likewise.
42907 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42909 2012-02-27 Joseph Myers <joseph@codesourcery.com>
42911 * manual/install.texi (--with-headers): Describe headers as
42912 interface headers, not private headers.
42913 (Specific advice for GNU/Linux systems): Describe use of headers
42914 from "make headers_install", not private headers from older
42916 * INSTALL: Regenerated.
42917 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42919 * sysdeps/unix/sysv/linux/configure: Regenerated.
42921 * manual/llio.texi (fclean): Remove documentation.
42923 * manual/Makefile (libc-texi-generated): New variable. Include
42925 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42926 $(libc-texi-generated), not duplicated list of files.
42927 (version.texi, stamp-version): New rules.
42928 (realclean): Remove $(libc-texi-generated), not individual files
42929 from that list. Do not remove dir-add.texinfo.
42930 * manual/libc.texinfo: Comment out uses of edition numbers and
42931 references to printed manual. Remove last-updated dates.
42932 (EDITION): Comment out.
42934 (VERSION, UPDATED): Remove.
42935 (version.texi): Include.
42937 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
42939 * sysdeps/posix/spawni.c: Include <signal.h>.
42940 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42941 * sysdeps/pthread/aio_fsync.c: Likewise.
42943 2012-02-26 Ulrich Drepper <drepper@gmail.com>
42945 * conform/Makefile (tests): Run only when not cross-compiling and
42946 when fast-check is not defined.
42948 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42949 * conform/data/limits.h-data: Fixes for POSIX2008.
42950 * conform/run-conformtest.sh: Run all tests.
42951 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42953 * include/bits/dlfcn.h: Likewise.
42954 * include/langinfo.h: Likewise.
42955 * include/monetary.h: Likewise.
42956 * include/sys/poll.h: Likewise.
42958 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42960 * posix/spawn.h: Define __need_sigset_t.
42961 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42962 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42963 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
42964 to get sigevent_t only.
42965 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42966 only for __USE_GNU.
42967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42968 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42969 process_vm_writev only for __USE_GNU.
42970 * termios/termios.h: Declare tcgetsid also for POSIX2008.
42972 * conform/Makefile: For now ignore errors from run-conformtest.
42973 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
42974 POSIX to avoid namespace pollution. Don't prepend headers.
42975 * conform/data/aio.h-data: Fixes for POSIX testing.
42976 * conform/data/fcntl.h-data: Likewise.
42977 * conform/data/glob.h-data: Likewise.
42978 * conform/data/grp.h-data: Likewise.
42979 * conform/data/pthread.h-data: Likewise.
42980 * conform/data/pwd.h-data: Likewise.
42981 * conform/data/signal.h-data: Likewise.
42982 * conform/data/spawn.h-data: Likewise.
42983 * conform/data/stdio.h-data: Likewise.
42984 * conform/data/stdlib.h-data: Likewise.
42985 * conform/data/stropts.h-data: Likewise.
42986 * conform/data/sys/mman.h-data: Likewise.
42987 * conform/data/sys/stat.h-data: Likewise.
42988 * conform/data/sys/types.h-data: Likewise.
42989 * conform/data/sys/wait.h-data: Likewise.
42990 * conform/data/time.h-data: Likewise.
42991 * conform/data/unistd.h-data: Likewise.
42992 * conform/data/utime.h-data: Likewise.
42994 * io/sys/stat.h: fchmod was always in POSIX.
42995 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42996 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42997 * rt/aio.h: Define __need_timespec before including <time.h>.
42998 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42999 struct. Add forward declaration of pthread_attr_t and use it in
43001 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43002 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43003 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43004 always remove CLK_TCK definition.
43006 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43008 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43010 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43012 * conform/run-conformtest.sh: New file.
43013 * conform/Makefile: Run run-conformtest for tests.
43014 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43017 * conform/data/uchar.h-data: New file.
43018 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43019 * conform/data/arpa/inet.h-data: Likewise.
43020 * conform/data/assert.h-data: Likewise.
43021 * conform/data/complex.h-data: Likewise.
43022 * conform/data/cpio.h-data: Likewise.
43023 * conform/data/ctype.h-data: Likewise.
43024 * conform/data/dirent.h-data: Likewise.
43025 * conform/data/dlfcn.h-data: Likewise.
43026 * conform/data/errno.h-data: Likewise.
43027 * conform/data/fcntl.h-data: Likewise.
43028 * conform/data/float.h-data: Likewise.
43029 * conform/data/fmtmsg.h-data: Likewise.
43030 * conform/data/fnmatch.h-data: Likewise.
43031 * conform/data/ftw.h-data: Likewise.
43032 * conform/data/glob.h-data: Likewise.
43033 * conform/data/grp.h-data: Likewise.
43034 * conform/data/iconv.h-data: Likewise.
43035 * conform/data/inttypes.h-data: Likewise.
43036 * conform/data/langinfo.h-data: Likewise.
43037 * conform/data/libgen.h-data: Likewise.
43038 * conform/data/limits.h-data: Likewise.
43039 * conform/data/locale.h-data: Likewise.
43040 * conform/data/math.h-data: Likewise.
43041 * conform/data/monetary.h-data: Likewise.
43042 * conform/data/mqueue.h-data: Likewise.
43043 * conform/data/ndbm.h-data: Likewise.
43044 * conform/data/net/if.h-data: Likewise.
43045 * conform/data/netdb.h-data: Likewise.
43046 * conform/data/netinet/in.h-data: Likewise.
43047 * conform/data/nl_types.h-data: Likewise.
43048 * conform/data/poll.h-data: Likewise.
43049 * conform/data/pthread.h-data: Likewise.
43050 * conform/data/pwd.h-data: Likewise.
43051 * conform/data/regex.h-data: Likewise.
43052 * conform/data/sched.h-data: Likewise.
43053 * conform/data/search.h-data: Likewise.
43054 * conform/data/semaphore.h-data: Likewise.
43055 * conform/data/setjmp.h-data: Likewise.
43056 * conform/data/signal.h-data: Likewise.
43057 * conform/data/spawn.h-data: Likewise.
43058 * conform/data/stdarg.h-data: Likewise.
43059 * conform/data/stdio.h-data: Likewise.
43060 * conform/data/stdlib.h-data: Likewise.
43061 * conform/data/string.h-data: Likewise.
43062 * conform/data/strings.h-data: Likewise.
43063 * conform/data/stropts.h-data: Likewise.
43064 * conform/data/sys/ipc.h-data: Likewise.
43065 * conform/data/sys/mman.h-data: Likewise.
43066 * conform/data/sys/msg.h-data: Likewise.
43067 * conform/data/sys/resource.h-data: Likewise.
43068 * conform/data/sys/select.h-data: Likewise.
43069 * conform/data/sys/sem.h-data: Likewise.
43070 * conform/data/sys/shm.h-data: Likewise.
43071 * conform/data/sys/socket.h-data: Likewise.
43072 * conform/data/sys/stat.h-data: Likewise.
43073 * conform/data/sys/statvfs.h-data: Likewise.
43074 * conform/data/sys/time.h-data: Likewise.
43075 * conform/data/sys/timeb.h-data: Likewise.
43076 * conform/data/sys/times.h-data: Likewise.
43077 * conform/data/sys/types.h-data: Likewise.
43078 * conform/data/sys/uio.h-data: Likewise.
43079 * conform/data/sys/un.h-data: Likewise.
43080 * conform/data/sys/utsname.h-data: Likewise.
43081 * conform/data/sys/wait.h-data: Likewise.
43082 * conform/data/syslog.h-data: Likewise.
43083 * conform/data/tar.h-data: Likewise.
43084 * conform/data/termios.h-data: Likewise.
43085 * conform/data/utime.h-data: Likewise.
43086 * conform/data/utmpx.h-data: Likewise.
43087 * conform/data/varargs.h-data: Likewise.
43088 * conform/data/wchar.h-data: Likewise.
43089 * conform/data/wctype.h-data: Likewise.
43090 * conform/data/wordexp.h-data: Likewise.
43092 * include/stropts.h: New file.
43093 * include/uchar.h: New file.
43094 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43095 * include/assert.h: Likewise.
43096 * include/ctype.h: Likewise.
43097 * include/dirent.h: Likewise.
43098 * include/dlfcn.h: Likewise.
43099 * include/fcntl.h: Likewise.
43100 * include/fnmatch.h: Likewise.
43101 * include/glob.h: Likewise.
43102 * include/grp.h: Likewise.
43103 * include/libio.h: Likewise.
43104 * include/locale.h: Likewise.
43105 * include/math.h: Likewise.
43106 * include/net/if.h: Likewise.
43107 * include/netdb.h: Likewise.
43108 * include/netinet/in.h: Likewise.
43109 * include/pthread.h: Likewise.
43110 * include/pwd.h: Likewise.
43111 * include/regex.h: Likewise.
43112 * include/sched.h: Likewise.
43113 * include/search.h: Likewise.
43114 * include/setjmp.h: Likewise.
43115 * include/signal.h: Likewise.
43116 * include/stdio.h: Likewise.
43117 * include/stdlib.h: Likewise.
43118 * include/string.h: Likewise.
43119 * include/sys/cdefs.h: Likewise.
43120 * include/sys/mman.h: Likewise.
43121 * include/sys/msg.h: Likewise.
43122 * include/sys/resource.h: Likewise.
43123 * include/sys/select.h: Likewise.
43124 * include/sys/socket.h: Likewise.
43125 * include/sys/stat.h: Likewise.
43126 * include/sys/statvfs.h: Likewise.
43127 * include/sys/time.h: Likewise.
43128 * include/sys/times.h: Likewise.
43129 * include/sys/uio.h: Likewise.
43130 * include/sys/utsname.h: Likewise.
43131 * include/sys/wait.h: Likewise.
43132 * include/termios.h: Likewise.
43133 * include/time.h: Likewise.
43134 * include/ulimit.h: Likewise.
43135 * include/unistd.h: Likewise.
43136 * include/utime.h: Likewise.
43137 * include/wchar.h: Likewise.
43138 * include/wctype.h: Likewise.
43139 * include/wordexp.h: Likewise.
43141 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43143 * time/time.h: TIME_UTC must be a macro.
43144 Make timespec_get available for ISO C11 only as well.
43146 2012-02-24 Ulrich Drepper <drepper@gmail.com>
43148 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43149 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43151 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43153 * configure.in: Use -o not -a in test for unsupported multi-arch.
43155 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43157 * manual/texinfo.tex: Update to version 2012-01-19.16.
43159 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43161 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43163 2012-02-24 Roland McGrath <roland@hack.frob.com>
43166 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43167 * manual/fdl-1.3.texi: New file.
43168 * manual/fdl-1.1.texi: File removed.
43171 * manual/libc.texinfo (FDL_VERSION): New @set.
43172 Use it for mention of FDL in cover text.
43173 (Documentation License): Use it in @include file name.
43175 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43176 Roland McGrath <roland@hack.frob.com>
43179 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43180 (not LONG_LONG_MAX and LONG_LONG_MIN.
43181 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43182 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43184 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43186 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43190 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43191 manipulate bits before adding and subtracting TWO23[sx].
43192 * math/libm-test.inc (nearbyint_test): Add more tests.
43194 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43197 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43198 bits before adding and subtracting TWO23[sx].
43199 * math/libm-test.inc (rint_test): Add more tests.
43200 (rint_test_tonearest): Likewise.
43201 (rint_test_towardzero): Likewise.
43202 (rint_test_downward): Likewise.
43203 (rint_test_upward: Likewise.
43205 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43208 * include/stdc-predef.h: New file. Extracted from features.h.
43209 * include/features.h: Include stdc-predef.h.
43210 * Makefile (headers): Add stdc-predef.h.
43211 * CONFORMANCE (Compiler limitations): Update.
43213 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43215 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43217 2012-02-21 David S. Miller <davem@davemloft.net>
43219 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43220 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43222 2012-02-20 David S. Miller <davem@davemloft.net>
43224 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43225 using a normal save/restore sequence, rather than allocating a
43226 dummy stack frame just to store a frame pointer and restore.
43227 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43229 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43231 * manual/install.texi: Fix stray word in line-wrapped comment.
43233 2012-02-20 David S. Miller <davem@davemloft.net>
43235 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43236 both binutils and gcc support GOTDATA.
43238 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43239 "rd %pc" in the PIC register setup sequences.
43241 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43242 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43243 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43244 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43245 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43246 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43248 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43249 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43250 (SYSCALL_ERROR_HANDLER): Likewise.
43251 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43252 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43254 (SYSCALL_ERROR_HANDLER): Likewise.
43256 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43257 (HAVE_GCC_GOTDATA): New.
43258 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43259 relocation support in both binutils and gcc.
43260 * sysdeps/sparc/elf/configure: Regenerate.
43262 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43263 * sysdeps/sparc/sparc32/elf/configure: Delete.
43264 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43265 * sysdeps/sparc/sparc64/elf/configure: Delete.
43266 * sysdeps/sparc/elf/configure.in: New file.
43267 * sysdeps/sparc/elf/configure: Generate.
43269 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43270 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43271 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43272 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43273 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43275 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43277 * manual/install.texi: Do not mention specific glibc version
43279 * manual/libc.texinfo (VERSION, UPDATED): Update.
43280 (@copying): Use @copyright{} and range of years.
43282 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43285 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43286 [crti.S not in sysdirs] (generated): Do not append.
43287 [crti.S not in sysdirs] (omit-deps): Likewise.
43288 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43289 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43290 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43291 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43292 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43294 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43295 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43296 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43297 * csu/defs.awk: Remove file.
43298 * sysdeps/generic/initfini.c: Likewise.
43299 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43301 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43304 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43306 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43307 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43308 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43309 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43310 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43311 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43313 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43314 (__EPOLL_PACKED): Define to empty if not defined by
43316 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43320 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43322 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43323 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43324 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43325 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43327 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43331 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43333 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43335 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43336 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43337 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43340 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43343 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43345 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43347 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43348 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43350 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43352 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43355 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43357 * math/w_acos.c: Use non-signaling floating-point comparisons.
43358 * math/w_acosf.c: Likewise.
43359 * math/w_acosh.c: Likewise.
43360 * math/w_acoshf.c: Likewise.
43361 * math/w_acoshl.c: Likewise.
43362 * math/w_acosl.c: Likewise.
43363 * math/w_asin.c: Likewise.
43364 * math/w_asinf.c: Likewise.
43365 * math/w_asinl.c: Likewise.
43366 * math/w_atanh.c: Likewise.
43367 * math/w_atanhf.c: Likewise.
43368 * math/w_atanhl.c: Likewise.
43369 * math/w_exp2.c: Likewise.
43370 * math/w_exp2f.c: Likewise.
43371 * math/w_exp2l.c: Likewise.
43372 * math/w_j0.c: Likewise.
43373 * math/w_j0f.c: Likewise.
43374 * math/w_j0l.c: Likewise.
43375 * math/w_j1.c: Likewise.
43376 * math/w_j1f.c: Likewise.
43377 * math/w_j1l.c: Likewise.
43378 * math/w_jn.c: Likewise.
43379 * math/w_jnf.c: Likewise.
43380 * math/w_log.c: Likewise.
43381 * math/w_log10.c: Likewise.
43382 * math/w_log10f.c: Likewise.
43383 * math/w_log10l.c: Likewise.
43384 * math/w_log2.c: Likewise.
43385 * math/w_log2f.c: Likewise.
43386 * math/w_log2l.c: Likewise.
43387 * math/w_logf.c: Likewise.
43388 * math/w_logl.c: Likewise.
43389 * math/w_sqrt.c: Likewise.
43390 * math/w_sqrtf.c: Likewise.
43391 * math/w_sqrtl.c: Likewise.
43392 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43393 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43394 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43395 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43396 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43398 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43401 * manual/string.texi (strnlen): Use correct parameter name in
43402 equivalent expression.
43404 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43407 * manual/users.texi (seteuid): Consistently use neweuid for
43410 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43413 * manual/nss.texi (Services in the NSS configuration): Correct
43414 list of services in example configuration file.
43416 2012-02-19 Nick Bowler <nbowler@draconx.ca>
43419 * manual/arith.texi: Remove statements about negative zero
43420 behaving identically to zero.
43422 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43425 * manual/install.texi: Do not document upgrading from libc5.
43427 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43430 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43432 2012-02-18 David S. Miller <davem@davemloft.net>
43434 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43435 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43436 %o7 across the call.
43437 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43440 SETUP_PIC_REG_LEAF.
43441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43442 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43443 * sysdeps/sparc/crtn.S: Likewise.
43445 2012-02-17 Ulrich Drepper <drepper@gmail.com>
43447 * aout/Makefile: Remove.
43449 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43452 * manual/examples/argp-ex1.c (main): Format definition in GNU
43454 * manual/examples/argp-ex2.c (main): Likewise.
43455 * manual/examples/argp-ex3.c (main): Likewise.
43456 * manual/examples/argp-ex4.c (main): Likewise.
43457 * manual/examples/longopt.c (main): Use new-style prototype
43459 * manual/examples/strncat.c (main): Specify return type and use
43460 (void) for arguments.
43461 * manual/examples/subopt.c (main): Use char **argv argument.
43463 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43466 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43469 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43472 * manual/string.texi (strchr): Change when strchrnul is
43475 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43478 * manual/locale.texi (setlocale): Document LOCPATH.
43480 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43483 * manual/process.texi (execle): Move @dots{} before last argument.
43485 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
43488 * manual/charset.texi (Generic Charset Conversion): Fix typo
43489 (LC_TYPE -> LC_CTYPE).
43491 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43494 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43495 (scalbnf): Likewise.
43496 (scalbnl): Likewise.
43497 (scalbln): Likewise.
43498 (scalblnf): Likewise.
43499 (scalblnl): Likewise.
43500 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43501 (vwarnx): Likewise.
43504 * manual/filesys.texi (telldir): Use braces around return type.
43505 * manual/llio.texi (mmap): Add space after comma.
43506 (mmap64): Likewise.
43507 * manual/math.texi (jn): Use @var{} on parameter names.
43513 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43515 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43517 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43518 (sched_get_priority_max): Likewise.
43519 * manual/signal.texi (sigvec): Add space after comma.
43520 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43522 (if_indextoname): Likewise.
43523 (if_freenameindex): Likewise.
43524 (sendto): Use ',' instead of '.' in prototype.
43525 * manual/startup.texi (syscall): Use @dots{} instead of literal
43527 * manual/stdio.texi (__fpending): Separate initial words of
43528 paragraph from @deftypefun line.
43529 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43531 (vsyslog): Use @var{} on parameter names.
43532 * manual/terminal.texi (stty): Use @var{} on parameter names.
43533 * manual/users.texi (getutmp): Use @var{} on parameter names.
43534 (getutmpx): Likewise.
43536 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43539 * manual/stdio.texi (fopen): Fix typos in description of
43542 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43545 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43546 get clock_id definition.
43548 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
43551 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43552 (madvise): Cast every argument to void on its own.
43554 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43557 * manual/startup.texi (Exit Status): Fix typo.
43559 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43562 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43563 * manual/examples/argp-ex2.c: Likewise.
43564 * manual/examples/argp-ex3.c: Likewise.
43566 2012-02-16 Richard Henderson <rth@redhat.com>
43568 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43569 * sysdeps/s390/s390-32/initfini.c: Remove.
43570 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43571 * sysdeps/s390/s390-64/initfini.c: Remove.
43573 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43575 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43576 compiler output for sysdeps/generic/initfini.c.
43577 * sysdeps/sh/elf/initfini.c: Remove file.
43579 2012-02-16 David S. Miller <davem@davemloft.net>
43582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43584 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43585 * sysdeps/sparc/crti.S: New file.
43586 * sysdeps/sparc/crtn.S: New file.
43587 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43588 * sysdeps/sparc/sparc64/Makefile: Likewise.
43590 2012-02-15 Mike Frysinger <vapier@gentoo.org>
43593 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43595 2012-02-15 Roland McGrath <roland@hack.frob.com>
43598 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43600 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43601 (write, read, close): Likewise.
43602 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43604 2012-02-15 Joseph Myers <joseph@codesourcery.com>
43606 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43607 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43608 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43609 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43611 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43615 2012-02-14 Marek Polacek <polacek@redhat.com>
43617 * sysdeps/x86_64/crti.S: New file.
43618 * sysdeps/x86_64/crtn.S: New file.
43619 * sysdeps/x86_64/elf/initfini.c: Remove file.
43621 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43623 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43624 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43625 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43626 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43628 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43632 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43634 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43635 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43636 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43637 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43639 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43643 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43645 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43646 __feraiseexcept instead of feraiseexcept.
43648 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43649 nanosleep invocations.
43650 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43651 strings, and add error checking for a nanosleep invocations.
43653 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43655 Replace FSF snail mail address with URLs, as per GNU coding standards.
43656 Most of the snail mail addresses were wrong anyway, and omitting
43657 them makes the source code easier to maintain. Almost all of the
43658 changes are to license notices and to locale LC_IDENTIFICATION
43659 addresses, except for this one:
43660 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43661 not its snail mail address.
43663 2012-02-09 Richard Henderson <rth@twiddle.net>
43665 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43666 of kernel-features.h.
43668 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43670 2012-02-08 Marek Polacek <polacek@redhat.com>
43672 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43673 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43674 * sysdeps/gnu/_G_config.h: Likewise.
43675 * sysdeps/generic/_G_config.h: Likewise.
43677 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43679 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43683 * sysdeps/powerpc/powerpc32/crti.S: New file.
43684 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43685 * sysdeps/powerpc/powerpc64/crti.S: New file.
43686 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43688 * Makeconfig (have-initfini): Don't set.
43689 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43690 * configure.in (nopic_initfini): Don't substitute.
43691 * config.h.in (HAVE_INITFINI): Don't #undef.
43692 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43693 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43695 2012-02-08 Joseph Myers <joseph@codesourcery.com>
43697 Support crti.S and crtn.S provided directly by architectures.
43698 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43699 [crti.S in sysdirs] (omit-deps): Likewise.
43700 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43701 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43702 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43703 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43704 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43705 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43706 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43707 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43708 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43709 compiler output for sysdeps/generic/initfini.c.
43710 * sysdeps/i386/elf/Makefile: Remove file.
43711 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43713 2012-02-07 Marek Polacek <polacek@redhat.com>
43715 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43716 * sysdeps/gnu/_G_config.h: Likewise.
43717 * sysdeps/mach/hurd/_G_config.h: Likewise.
43719 2012-02-07 Marek Polacek <polacek@redhat.com>
43721 * math/Makefile (tests): Add tst-CMPLX2.
43722 * math/tst-CMPLX2.c: New file.
43724 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
43726 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43728 * math/libm-test.inc (jn_test): Add missing L suffix.
43730 2012-02-06 Marek Polacek <polacek@redhat.com>
43732 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43733 * sysdeps/i386/fpu/e_powf.S: Likewise.
43734 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43735 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43736 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43737 * sysdeps/i386/fpu/e_pow.S: Likewise.
43738 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43739 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43740 * sysdeps/i386/fpu/s_expm1.S: Likewise.
43741 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43742 * sysdeps/i386/fpu/e_log2.S: Likewise.
43743 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43744 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43745 * sysdeps/i386/fpu/e_powl.S: Likewise.
43746 * sysdeps/i386/fpu/s_log1p.S: Likewise.
43747 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43748 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43749 * sysdeps/i386/fpu/e_logl.S: Likewise.
43750 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43751 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43752 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43753 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43754 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43755 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43756 * sysdeps/i386/fpu/e_log.S: Likewise.
43757 * sysdeps/i386/fpu/s_cexp.S: Likewise.
43758 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43759 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43760 * sysdeps/i386/fpu/e_logf.S: Likewise.
43761 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43762 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43763 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43764 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43765 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43766 * sysdeps/i386/fpu/e_log10.S: Likewise.
43767 * sysdeps/i386/fpu/s_frexp.S: Likewise.
43768 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43769 * sysdeps/i386/fpu/s_asinh.S: Likewise.
43770 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43771 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43772 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43773 * sysdeps/i386/asm-syntax.h: Likewise.
43774 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43775 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43776 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43777 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43778 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43779 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43780 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43781 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43782 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43783 * sysdeps/powerpc/sysdep.h: Likewise.
43784 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43785 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43787 2012-02-06 Joseph Myers <joseph@codesourcery.com>
43790 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43792 2012-02-06 Joseph Myers <joseph@codesourcery.com>
43794 * sysdeps/i386/sysdep.h: Include <features.h>.
43795 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43798 2012-02-05 Joseph Myers <joseph@codesourcery.com>
43800 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43802 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43805 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43807 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43808 (SETUP_PIC_REG): Use GET_PC_THUNK.
43809 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43812 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43814 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43815 for non-PIC compilation.
43816 (SETUP_PIC_REG): Add .p2align directive.
43817 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43818 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43819 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43820 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43821 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43822 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43823 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43824 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43825 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43826 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43827 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43828 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43829 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43830 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43831 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43832 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43833 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43834 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43835 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43836 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43837 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43839 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43840 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43841 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43842 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43843 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43844 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43845 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43846 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43847 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43848 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43849 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43850 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43851 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43852 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43853 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43854 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43855 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43856 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43857 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43859 2012-02-03 Joseph Myers <joseph@codesourcery.com>
43861 * math/tst-CMPLX.c: Include <stdio.h>.
43863 2012-01-31 Joseph Myers <joseph@codesourcery.com>
43865 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43867 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43868 * sysdeps/sparc/bits/mathdef.h: Likewise.
43870 2012-01-31 Marek Polacek <polacek@redhat.com>
43872 * libio/libio.h: Don't define _PARAMS.
43873 * locale/programs/config.h: Don't define PARAMS.
43874 * stdlib/strtol_l.c: Likewise.
43875 (__strtol_l): Remove PARAMS from the prototype.
43877 2012-01-31 Ulrich Drepper <drepper@gmail.com>
43879 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
43880 names. Just use the correct names. Remove unnecessary wrapper
43882 * malloc/arena.c: Likewise.
43883 * malloc/hooks.c: Likewise.
43885 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43886 ARENA_TEST says not to. Simplify test for creation of a new arena.
43887 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43889 2012-01-30 Ulrich Drepper <drepper@gmail.com>
43891 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43893 (update_get_addr): New function.
43894 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43895 GET_ADDR_MODULE parameter.
43897 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43899 * crypt/cert.c: Remove __STDC__ conditionals.
43900 * crypt/crypt-entry.c: Likewise.
43901 * crypt/crypt_util.c: Likewise.
43902 * libio/filedoalloc.c: Likewise.
43903 * libio/fileops.c: Likewise.
43904 * libio/genops.c: Likewise.
43905 * libio/iofclose.c: Likewise.
43906 * libio/iofdopen.c: Likewise.
43907 * libio/iofopen.c: Likewise.
43908 * libio/iofopen64.c: Likewise.
43909 * libio/iogetdelim.c: Likewise.
43910 * libio/iopopen.c: Likewise.
43911 * libio/obprintf.c: Likewise.
43912 * libio/oldfileops.c: Likewise.
43913 * libio/oldiofclose.c: Likewise.
43914 * libio/oldiofdopen.c: Likewise.
43915 * libio/oldiofopen.c: Likewise.
43916 * libio/oldiopopen.c: Likewise.
43917 * libio/wfiledoalloc.c: Likewise.
43918 * libio/wgenops.c: Likewise.
43919 * locale/programs/xmalloc.c: Likewise.
43920 * misc/syslog.c: Likewise.
43921 * stdio-common/xbug.c: Likewise.
43922 * string/memchr.c: Likewise.
43923 * string/memcmp.c: Likewise.
43924 * string/memrchr.c: Likewise.
43925 * string/rawmemchr.c: Likewise.
43926 * sysdeps/posix/getcwd.c: Likewise.
43927 * time/strftime_l.c: Likewise.
43929 2012-01-30 Joseph Myers <joseph@codesourcery.com>
43931 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43932 * config.make.in (config-cflags-sse2avx): Define.
43933 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43936 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
43938 * scripts/config.guess: Update from upstream config git repository.
43939 * scripts/config.sub: Likewise.
43941 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
43943 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43945 (R_TILEPRO_*, R_TILEGX_*): New macros.
43947 * scripts/firstversions.awk: Fix bug in version range handling.
43949 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43951 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43953 * include/sys/epoll.h: New file.
43954 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43957 2012-01-28 Ulrich Drepper <drepper@gmail.com>
43959 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43960 Avoid unnecessary __WORDSIZE == 64 test.
43961 (fmaxf): Use VEX format if possible.
43966 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43967 * math/math_private.h: Remove libc_fegetround* and
43969 * sysdeps/i386/configure.in: Check for -msse2avx.
43970 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43971 also if SSE2AVX is defined.
43972 Remove libc_fegetround* and libc_fesetround*.
43973 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43974 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
43975 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43977 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43978 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43979 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43980 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43981 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43983 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43985 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43987 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43989 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43991 2012-01-27 Ulrich Drepper <drepper@gmail.com>
43994 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43996 * Makeconfig (libm): Define.
43997 * elf/Makefile: Add rules to build and run tst-relsort1.
43998 * elf/tst-relsort1.c: New file.
43999 * elf/tst-relsort1mod1.c: New file.
44000 * elf/tst-relsort1mod2.c: New file.
44002 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44004 * math/s_ldexp.c: Remove __STDC__ conditionals.
44005 * math/s_ldexpf.c: Likewise.
44006 * math/s_ldexpl.c: Likewise.
44007 * math/s_nextafter.c: Likewise.
44008 * math/s_nexttowardf.c: Likewise.
44009 * math/s_significand.c: Likewise.
44010 * math/s_significandf.c: Likewise.
44011 * math/s_significandl.c: Likewise.
44012 * math/w_jnl.c: Likewise.
44013 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44014 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44015 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44016 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44017 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44018 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44019 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44020 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44021 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44022 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44023 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44024 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44026 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44027 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44028 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44029 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44030 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44032 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44033 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44034 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44035 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44036 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44037 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44038 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44039 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44040 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44041 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44042 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44043 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44044 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44045 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44046 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44047 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44048 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44049 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44050 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44051 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44052 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44053 * sysdeps/ieee754/k_standard.c: Likewise.
44054 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44055 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44056 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44057 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44058 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44059 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44060 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44061 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44062 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44063 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44064 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44065 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44066 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44067 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44068 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44069 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44070 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44071 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44072 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44073 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44074 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44075 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44076 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44077 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44078 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44079 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44080 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44081 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44082 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44083 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44084 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44085 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44086 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44087 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44088 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44089 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44090 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44091 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44092 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44093 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44094 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44095 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44096 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44097 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44098 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44099 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44100 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44101 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44102 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44103 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44104 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44105 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44106 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44107 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44108 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44109 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44110 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44111 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44112 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44113 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44114 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44115 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44116 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44117 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44118 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44119 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44120 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44121 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44122 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44123 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44124 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44125 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44126 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44127 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44128 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44129 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44130 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44131 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44132 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44133 * sysdeps/ieee754/s_matherr.c: Likewise.
44134 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44135 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44136 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44137 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44139 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44141 * crypt/md5.h: Remove __STDC__ conditionals.
44142 * libio/libioP.h: Likewise.
44143 * locale/programs/config.h: Likewise.
44144 * sysdeps/generic/sysdep.h: Likewise.
44145 * sysdeps/i386/asm-syntax.h: Likewise.
44146 * sysdeps/s390/asm-syntax.h: Likewise.
44147 * sysdeps/unix/sysdep.h: Likewise.
44148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44151 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44153 * libio/libio.h: Remove __STDC__ conditionals.
44154 * malloc/obstack.h: Likewise.
44155 * math/complex.h: Likewise.
44156 * math/math.h: Likewise.
44157 * sysdeps/generic/_G_config.h: Likewise.
44158 * sysdeps/gnu/_G_config.h: Likewise.
44159 * sysdeps/mach/hurd/_G_config.h: Likewise.
44160 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44161 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44162 * sysdeps/sparc/bits/mathdef.h: Likewise.
44164 2012-01-26 Ulrich Drepper <drepper@gmail.com>
44167 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44168 Clean up HAS_* macros.
44169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44170 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44172 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44174 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44175 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44176 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44177 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44178 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44180 2012-01-25 Joseph Myers <joseph@codesourcery.com>
44182 * elf/tst-unique3.cc (gets): Remove declaration.
44183 * elf/tst-unique3lib.cc (gets): Likewise.
44184 * elf/tst-unique3lib2.cc (gets): Likewise.
44185 * elf/tst-unique4.cc (gets): Likewise.
44187 2012-01-24 Ulrich Drepper <drepper@gmail.com>
44189 * include/stdio.h: Add C++ protection. Add gets declarations and
44191 * debug/tst-chk1.c: Don't declare gets here.
44192 * stdio-common/tst-gets.c: Likewise.
44194 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44196 * posix/glob: Remove directory.
44198 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44200 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44202 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44204 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44205 of the non-standard EPFNOSUPPORT.
44207 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44209 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44210 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44211 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44213 2012-01-21 Ulrich Drepper <drepper@gmail.com>
44215 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44217 2012-01-20 Ulrich Drepper <drepper@gmail.com>
44219 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44221 * nscd/grpcache.c (cache_addgr): Likewise.
44222 * nscd/hstcache.c (cache_addhst): Likewise.
44223 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44224 * nscd/pwdcache.c (cache_addpw): Likewise.
44225 * nscd/servicescache.c (cache_addserv): Likewise.
44227 2012-01-16 Ulrich Drepper <drepper@gmail.com>
44229 * malloc/malloc.c: Various cleanups.
44230 * malloc/hooks.c: Likewise.
44232 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44233 * stdlib/bug-fmtmsg1.c: New file.
44235 * stdlib/fmtmsg.c (init): Add missing unlock.
44236 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44238 2012-01-12 Marek Polacek <polacek@redhat.com>
44240 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44243 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44245 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44246 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44247 macro to ensure uniqueness of label name.
44248 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44249 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44251 2012-01-11 Ulrich Drepper <drepper@gmail.com>
44253 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44255 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44256 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44257 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44260 2012-01-10 Ulrich Drepper <drepper@gmail.com>
44262 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44264 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44265 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44266 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44268 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44270 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44271 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44272 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44275 * math/bits/math-finite.h: Add ldexp support.
44277 2012-01-10 Marek Polacek <polacek@redhat.com>
44279 * locale/programs/localedef.h (show_archive_content): Add noreturn
44282 2012-01-09 Ulrich Drepper <drepper@gmail.com>
44284 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44286 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44288 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44290 * io/Makefile (headers): Add bits/poll2.h.
44292 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44295 typo #include statement.
44297 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44299 * include/sys/cdefs.h: Define __attribute_alloc_size.
44300 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44301 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44302 * elf/pldd.c: Likewise.
44303 * iconv/iconv_charmap.c: Likewise.
44304 * iconv/iconvconfig.c: Likewise.
44305 * iconv/strtab.c: Likewise.
44306 * locale/programs/locale.c: Likewise.
44307 * locale/programs/localedef.h: Likewise.
44308 * locale/programs/simple-hash.c: Likewise.
44309 * nscd/nscd.h: Likewise.
44310 * nss/makedb.c: Likewise.
44311 * sysdeps/generic/ldconfig.h: Likewise.
44312 * locale/programs/localedef.c: Remove xmalloc prototype.
44313 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44315 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44317 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44320 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44322 * math/Makefile (tests): Add tst-CMPLX.
44323 * math/tst-CMPLX.c: New file.
44325 * math/complex.h (CMPLXL): Fix typo.
44327 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44328 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44330 * debug/tst-chk1.c: Add poll and ppoll tests.
44331 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44332 * include/sys/poll.h: Add hidden proto for ppoll.
44333 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44334 * sysdeps/mach/hurd/ppoll.c: Likewise.
44335 * io/ppoll.c: Likewise.
44336 * debug/poll_chk.c: New file.
44337 * debug/ppoll_chk.c: New file.
44338 * include/bits/poll2.h: New file.
44339 * io/bits/poll2.h: New file.
44342 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44344 * configure.in: static is always set to yes. Remove.
44345 * config.make.in: Don't set build-static.
44346 * Makeconfig: Remove use of build-static.
44347 * dlfcn/Makefile: Likewise.
44348 * elf/Makefile: Likewise.
44349 * math/Makefile: Likewise.
44350 * misc/Makefile: Likewise.
44351 * nptl/Makefile: Likewise.
44352 * sysdeps/mach/hurd/Makefile: Likewise.
44354 * configure.in: PWD_P is not used anymore.
44355 * config.make.in: Remove PWD_P entry.
44357 * configure.in: Remove last remnants of RANLIB.
44358 No need to check for signed size_t anymore.
44359 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44361 Remove __builtin_expect test because we require at least gcc 3.4.
44362 * aclocal.m4: Likewise.
44364 * wcsmbs/mbrtoc16.c: Implement using towc function.
44365 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44366 * wcsmbs/wcsmbsload.c: Likewise.
44367 * iconv/gconv_simple.c: Likewise.
44368 * iconv/gconv_int.h: Likewise.
44369 * iconv/gconv_builtin.h: Likewise.
44370 * iconv/iconv_prog.c: Remove CHAR16 handling.
44372 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44374 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44376 * configure.in: Remove --with-elf and --enable-bounded options.
44377 Dont set base_machine for ia64. More non-ELF conditions removed.
44378 Remove testing and setting of leading underscore information.
44379 * config.make.in (build-bounded): Set to no.
44380 * config.h.in: Remove NO_UNDERSCORES entry.
44381 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44383 * csu/start.c: Remove !NO_UNDERSCORE code.
44384 * locale/localeinfo.h: Likewise.
44385 * sysdeps/generic/machine-gmon.h: Likewise.
44386 * sysdeps/generic/sysdep.h: Likewise.
44387 * sysdeps/i386/sysdep.h: Likewise.
44388 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44389 * sysdeps/mach/sysdep.h: Likewise.
44390 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44391 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44392 * sysdeps/sh/sysdep.h: Likewise.
44393 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44394 * sysdeps/unix/i386/sysdep.S: Likewise.
44395 * sysdeps/unix/sparc/start.c: Likewise.
44396 * sysdeps/unix/sparc/sysdep.S: Likewise.
44397 * sysdeps/unix/sparc/sysdep.h: Likewise.
44398 * sysdeps/unix/start.c: Likewise.
44399 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44400 * sysdeps/x86_64/sysdep.h: Likewise.
44402 2012-01-07 Ulrich Drepper <drepper@gmail.com>
44405 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44407 * argp/argp-fmtstream.h: Use const instead __const.
44408 * argp/argp.h: Likewise.
44409 * assert/assert.h: Likewise.
44410 * bits/fenv.h: Likewise.
44411 * bits/sched.h: Likewise.
44412 * bits/sigset.h: Likewise.
44413 * bits/sigthread.h: Likewise.
44414 * catgets/nl_types.h: Likewise.
44415 * conform/data/pthread.h-data: Likewise.
44416 * crypt/crypt-private.h: Likewise.
44417 * crypt/crypt.h: Likewise.
44418 * crypt/crypt_util.c: Likewise.
44419 * ctype/ctype.h: Likewise.
44420 * debug/execinfo.h: Likewise.
44421 * debug/mbsnrtowcs_chk.c: Likewise.
44422 * debug/mbsrtowcs_chk.c: Likewise.
44423 * debug/wcsnrtombs_chk.c: Likewise.
44424 * debug/wcsrtombs_chk.c: Likewise.
44425 * debug/wcstombs_chk.c: Likewise.
44426 * dirent/dirent.h: Likewise.
44427 * dlfcn/dlfcn.h: Likewise.
44428 * elf/neededtest4.c: Likewise.
44429 * grp/grp.h: Likewise.
44430 * gshadow/gshadow.h: Likewise.
44431 * iconv/gconv.h: Likewise.
44432 * iconv/gconv_int.h: Likewise.
44433 * iconv/gconv_simple.c: Likewise.
44434 * iconv/iconv.h: Likewise.
44435 * iconv/loop.c: Likewise.
44436 * iconv/skeleton.c: Likewise.
44437 * include/aio.h: Likewise.
44438 * include/aliases.h: Likewise.
44439 * include/argz.h: Likewise.
44440 * include/arpa/inet.h: Likewise.
44441 * include/assert.h: Likewise.
44442 * include/dirent.h: Likewise.
44443 * include/dlfcn.h: Likewise.
44444 * include/execinfo.h: Likewise.
44445 * include/fcntl.h: Likewise.
44446 * include/fenv.h: Likewise.
44447 * include/glob.h: Likewise.
44448 * include/grp.h: Likewise.
44449 * include/libintl.h: Likewise.
44450 * include/mntent.h: Likewise.
44451 * include/netdb.h: Likewise.
44452 * include/pwd.h: Likewise.
44453 * include/rpc/netdb.h: Likewise.
44454 * include/sched.h: Likewise.
44455 * include/search.h: Likewise.
44456 * include/shadow.h: Likewise.
44457 * include/signal.h: Likewise.
44458 * include/stdio.h: Likewise.
44459 * include/stdlib.h: Likewise.
44460 * include/string.h: Likewise.
44461 * include/sys/socket.h: Likewise.
44462 * include/sys/stat.h: Likewise.
44463 * include/sys/statfs.h: Likewise.
44464 * include/sys/statvfs.h: Likewise.
44465 * include/sys/syslog.h: Likewise.
44466 * include/sys/time.h: Likewise.
44467 * include/sys/uio.h: Likewise.
44468 * include/time.h: Likewise.
44469 * include/unistd.h: Likewise.
44470 * include/utmp.h: Likewise.
44471 * include/wchar.h: Likewise.
44472 * include/wctype.h: Likewise.
44473 * inet/aliases.h: Likewise.
44474 * inet/arpa/inet.h: Likewise.
44475 * inet/netinet/ether.h: Likewise.
44476 * inet/netinet/in.h: Likewise.
44477 * intl/libintl.h: Likewise.
44478 * io/bits/fcntl2.h: Likewise.
44479 * io/fcntl.h: Likewise.
44480 * io/ftw.h: Likewise.
44481 * io/sys/poll.h: Likewise.
44482 * io/sys/stat.h: Likewise.
44483 * io/sys/statfs.h: Likewise.
44484 * io/sys/statvfs.h: Likewise.
44485 * io/utime.h: Likewise.
44486 * libio/bits/stdio.h: Likewise.
44487 * libio/bits/stdio2.h: Likewise.
44488 * libio/libio.h: Likewise.
44489 * libio/libioP.h: Likewise.
44490 * libio/stdio.h: Likewise.
44491 * locale/lc-ctype.c: Likewise.
44492 * locale/locale.h: Likewise.
44493 * login/utmp.h: Likewise.
44494 * malloc/arena.c: Likewise.
44495 * malloc/malloc.c: Likewise.
44496 * malloc/malloc.h: Likewise.
44497 * malloc/mcheck.c: Likewise.
44498 * malloc/mtrace.c: Likewise.
44499 * math/bits/mathcalls.h: Likewise.
44500 * math/fenv.h: Likewise.
44501 * math/math_private.h: Likewise.
44502 * misc/bits/error.h: Likewise.
44503 * misc/bits/syslog.h: Likewise.
44504 * misc/err.h: Likewise.
44505 * misc/error.h: Likewise.
44506 * misc/fstab.h: Likewise.
44507 * misc/mntent.h: Likewise.
44508 * misc/regexp.h: Likewise.
44509 * misc/search.h: Likewise.
44510 * misc/sgtty.h: Likewise.
44511 * misc/sys/mman.h: Likewise.
44512 * misc/sys/syslog.h: Likewise.
44513 * misc/sys/uio.h: Likewise.
44514 * misc/sys/xattr.h: Likewise.
44515 * misc/ttyent.h: Likewise.
44516 * nis/rpcsvc/ypclnt.h: Likewise.
44517 * nss/nss.h: Likewise.
44518 * posix/bits/unistd.h: Likewise.
44519 * posix/fnmatch.h: Likewise.
44520 * posix/glob.h: Likewise.
44521 * posix/sched.h: Likewise.
44522 * posix/spawn.h: Likewise.
44523 * posix/sys/wait.h: Likewise.
44524 * posix/unistd.h: Likewise.
44525 * posix/wordexp.h: Likewise.
44526 * pwd/pwd.h: Likewise.
44527 * resolv/netdb.h: Likewise.
44528 * resource/sys/resource.h: Likewise.
44529 * rt/aio.h: Likewise.
44530 * rt/bits/mqueue2.h: Likewise.
44531 * rt/mqueue.h: Likewise.
44532 * shadow/shadow.h: Likewise.
44533 * signal/signal.h: Likewise.
44534 * socket/send.c: Likewise.
44535 * socket/sendto.c: Likewise.
44536 * socket/sys/socket.h: Likewise.
44537 * stdio-common/printf.h: Likewise.
44538 * stdlib/bits/stdlib.h: Likewise.
44539 * stdlib/fmtmsg.h: Likewise.
44540 * stdlib/monetary.h: Likewise.
44541 * stdlib/stdlib.h: Likewise.
44542 * stdlib/ucontext.h: Likewise.
44543 * streams/stropts.h: Likewise.
44544 * string/argz.h: Likewise.
44545 * string/bits/string2.h: Likewise.
44546 * string/string.h: Likewise.
44547 * string/strings.h: Likewise.
44548 * sunrpc/rpc/auth.h: Likewise.
44549 * sunrpc/rpc/auth_des.h: Likewise.
44550 * sunrpc/rpc/clnt.h: Likewise.
44551 * sunrpc/rpc/netdb.h: Likewise.
44552 * sunrpc/rpc/pmap_clnt.h: Likewise.
44553 * sunrpc/rpc/xdr.h: Likewise.
44554 * sysdeps/generic/inttypes.h: Likewise.
44555 * sysdeps/generic/net/if.h: Likewise.
44556 * sysdeps/generic/sys/swap.h: Likewise.
44557 * sysdeps/gnu/net/if.h: Likewise.
44558 * sysdeps/gnu/utmpx.h: Likewise.
44559 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44560 * sysdeps/i386/i486/bits/string.h: Likewise.
44561 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44562 * sysdeps/s390/bits/string.h: Likewise.
44563 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44564 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44565 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44566 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44567 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44568 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44569 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44570 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44571 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44572 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44573 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44574 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44575 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44576 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44577 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44578 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44579 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44581 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44582 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44583 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44584 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44585 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44586 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44587 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44588 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44589 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44590 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44591 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44592 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44593 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44594 * sysvipc/sys/ipc.h: Likewise.
44595 * sysvipc/sys/msg.h: Likewise.
44596 * sysvipc/sys/sem.h: Likewise.
44597 * sysvipc/sys/shm.h: Likewise.
44598 * termios/termios.h: Likewise.
44599 * time/sys/time.h: Likewise.
44600 * time/time.h: Likewise.
44601 * wcsmbs/bits/wchar2.h: Likewise.
44602 * wcsmbs/uchar.h: Likewise.
44603 * wcsmbs/wchar.h: Likewise.
44604 * wctype/wctype.h: Likewise.
44607 * Makeconfig: Remove all but ELF support including AIX support.
44608 * Makerules: Likewise.
44609 * config.h.in: Likewise.
44610 * config.make.in: Likewise.
44611 * configure: Likewise.
44612 * configure.in: Likewise.
44613 * csu/Makefile: Likewise.
44614 * csu/version.c: Likewise.
44615 * debug/Makefile: Likewise.
44616 * dlfcn/Makefile: Likewise.
44617 * elf/Makefile: Likewise.
44618 * extra-lib.mk: Likewise.
44619 * iconv/Makefile: Likewise.
44620 * include/libc-symbols.h: Likewise.
44621 * include/shlib-compat.h: Likewise.
44622 * resolv/Makefile: Likewise.
44623 * resolv/res_libc.c: Likewise.
44624 * rt/Makefile: Likewise.
44625 * sysdeps/i386/asm-syntax.h: Likewise.
44626 * sysdeps/i386/sysdep.h: Likewise.
44627 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44628 * sysdeps/mach/sysdep.h: Likewise.
44629 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44630 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44631 * sysdeps/s390/asm-syntax.h: Likewise.
44632 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44633 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44634 * sysdeps/sh/sysdep.h: Likewise.
44635 * sysdeps/unix/sparc/sysdep.h: Likewise.
44636 * sysdeps/wordsize-32/divdi3.c: Likewise.
44637 * sysdeps/x86_64/sysdep.h: Likewise.
44639 * argp/Versions: Remove _argp_unlock_xxx.
44642 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44643 * abilist/libBrokenLocale.abilist: Likewise.
44644 * abilist/libanl.abilist: Likewise.
44645 * abilist/libc.abilist: Likewise.
44646 * abilist/libcrypt.abilist: Likewise.
44647 * abilist/libdl.abilist: Likewise.
44648 * abilist/libm.abilist: Likewise.
44649 * abilist/libnsl.abilist: Likewise.
44650 * abilist/libpthread.abilist: Likewise.
44651 * abilist/libresolv.abilist: Likewise.
44652 * abilist/librt.abilist: Likewise.
44653 * abilist/libthread_db.abilist: Likewise.
44654 * abilist/libutil.abilist: Likewise.
44655 * abilist/libnss_db.abilist: New file.
44657 * scripts/abilist.awk: Add support for indirect functions.
44659 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44661 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44663 * shlib-versions: Remove entries for ports architectures.
44665 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44667 * elf/stackguard-macros.h: Remove support for IA-64.
44668 * elf/tst-auditmod1.c: Likewise.
44669 * sysdeps/generic/ldsodefs.h: Likewise.
44671 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44672 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44676 * configure.in: Remove --enable-omitfp support.
44678 * config.make.in: Likewise.
44679 * Makeconfig: Likewise.
44680 * manual/install.texi: Likewise.
44682 In case anyone cares, the IA-64 architecture could move to ports.
44683 * sysdeps/ia64/*: Removed.
44684 * sysdeps/unix/sysv/linux/ia64/*: Removed.
44685 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44688 * configure.in: Remove entries for unsupported architectures.
44691 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44692 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44694 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44695 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44696 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44697 fall back to using wcrtomb.
44698 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44699 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44701 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44702 * wcsmbs/tst-c16c32-1.c: New file.
44704 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44707 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44709 * elf/tst-unique3.cc: Add explicit declaration of gets.
44710 * elf/tst-unique3lib.cc: Likewise.
44711 * elf/tst-unique3lib2.cc: Likewise.
44712 * elf/tst-unique4.cc: Likewise.
44714 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44716 2012-01-06 Joseph Myers <joseph@codesourcery.com>
44719 * assert/assert.h (static_assert): Don't define for C++.
44720 * libio/stdio.h (gets): Do declare for C++ <= C++11.
44721 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44723 2012-01-03 Ulrich Drepper <drepper@gmail.com>
44725 * iconv/loop.c (single loop): Fix assertion in storing of
44728 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44730 2012-01-01 Ulrich Drepper <drepper@gmail.com>
44732 * posix/getconf.c: Update copyright year.
44733 * nss/getent.c: Likewise.
44734 * nss/makedb.c: Likewise.
44735 * iconv/iconvconfig.c: Likewise.
44736 * iconv/iconv_prog.c: Likewise.
44737 * elf/ldconfig.c: Likewise.
44738 * elf/pldd.c: Likewise.
44739 * elf/sotruss.ksh: Likewise.
44740 * catgets/gencat.c: Likewise.
44741 * csu/version.c: Likewise.
44742 * elf/ldd.bash.in: Likewise.
44743 * elf/sprof.c (print_version): Likewise.
44744 * locale/programs/locale.c: Likewise.
44745 * locale/programs/localedef.c: Likewise.
44746 * login/programs/pt_chown.c: Likewise.
44747 * nscd/nscd.c (print_version): Likewise.
44748 * debug/xtrace.sh: Likewise.
44749 * malloc/memusage.sh: Likewise.
44750 * malloc/mtrace.pl: Likewise.
44751 * debug/catchsegv.sh: Likewise.
44753 2011-12-30 Jakub Jelinek <jakub@redhat.com>
44755 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44758 2011-12-24 Ulrich Drepper <drepper@gmail.com>
44761 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44762 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44764 * iconv/gconv_int.h: Likewise.
44765 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44766 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44767 from libc for GLIBC_2.16.
44768 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44769 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44770 * wcsmbs/uchar.h: Really define mbstate_t.
44771 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44772 * wcsmbs/c16rtomb.c: New file.
44773 * wcsmbs/mbrtoc16.c: New file.
44774 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44775 for C/POSIX locale.
44776 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44777 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44779 * wcsmbs/wchar.h: Add missing __restrict.
44781 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44784 * time/Makefile (routines): Add timespec_get.
44785 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44786 * time/time.h: Define TIME_UTC and declare timespec_get. Define
44787 timespec for ISO C11.
44788 * time/timespec_get.c: New file.
44789 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44790 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44793 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44794 * stdlib/stdlib.h: Declare aligned_alloc.
44795 * Versions.def: Add GLIBC_2.16 for libc.
44796 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44799 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44802 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44806 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44809 * assert/assert.h (static_assert): Define.
44811 * version.h: Update for 2.16 development version.
44814 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44817 * version.h (RELEASE): Bump for 2.15 release.
44818 * include/features.h (__GLIBC_MINOR__): Bump to 15.
44820 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44821 Patch by Marek Polacek <mpolacek@redhat.com>.
44823 * bits/byteswap.h: Protect long long constants with __extension__.
44824 * sysdeps/i386/bits/byteswap.h: Likewise.
44825 * sysdeps/ia64/bits/byteswap.h: Likewise.
44826 * sysdeps/s390/bits/byteswap.h: Likewise.
44827 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44829 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44832 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44833 destination buffer.
44834 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44836 2011-12-23 Marek Polacek <polacek@redhat.com>
44838 * elf/dl-addr.c (determine_info): Add inline keyword.
44839 * elf/tst-auditmod4b.c (check_avx): Likewise.
44840 * elf/tst-auditmod6b.c (check_avx): Likewise.
44841 * elf/tst-auditmod6c.c (check_avx): Likewise.
44842 * elf/tst-auditmod7b.c (check_avx): Likewise.
44844 2011-12-23 Ulrich Drepper <drepper@gmail.com>
44846 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44849 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44852 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44853 processing for last bytes.
44855 2011-08-06 Bruno Haible <bruno@clisp.org>
44858 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44859 U+0385, not to U+1FEE.
44862 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44863 entry for U+00A5 U+0301.
44865 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44868 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44869 buffer for the output is too small.
44871 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44875 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44876 SSE flags if possible.
44878 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44881 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44882 processing for last bytes.
44884 2011-12-22 Joseph Myers <joseph@codesourcery.com>
44886 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44887 (syscall-list-default-options, syscall-list-default-condition)
44888 (syscall-list-includes): Define.
44889 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44890 list of ABIs and options and #if conditions for each ABI. Do not
44891 handle common syscalls between ABIs specially.
44892 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44894 (syscall-list-variants, syscall-list-32bit-options)
44895 (syscall-list-32bit-condition, syscall-list-64bit-options)
44896 (syscall-list-64bit-condition): Define.
44897 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44898 (syscall-list-variants, syscall-list-32bit-options)
44899 (syscall-list-32bit-condition, syscall-list-64bit-options)
44900 (syscall-list-64bit-condition): Define.
44901 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44903 (syscall-list-variants, syscall-list-32bit-options)
44904 (syscall-list-32bit-condition, syscall-list-64bit-options)
44905 (syscall-list-64bit-condition): Define.
44906 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44908 (syscall-list-variants, syscall-list-32bit-options)
44909 (syscall-list-32bit-condition, syscall-list-64bit-options)
44910 (syscall-list-64bit-condition): Define.
44912 2011-12-22 Ulrich Drepper <drepper@gmail.com>
44914 * locale/iso-639.def: Add brx entry.
44917 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44918 Proposed by Mariusz_Cukr <marcukr@op.pl>.
44920 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44921 __feraiseexcept_renamed.
44923 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44926 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44927 EPOLLET with unsigned values.
44928 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44929 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44931 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44932 to large cancellation.
44933 * math/s_cacoshf.c: Likewise.
44934 * math/s_cacoshl.c: Likewise.
44936 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
44940 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44941 * math/s_cacoshf.c: Likewise.
44942 * math/s_cacoshl.c: Likewise.
44944 2011-12-21 Ulrich Drepper <drepper@gmail.com>
44947 * iconv/gconv.h: Define __GCONV_SWAP.
44948 * iconvdata/unicode.c: The swap bit must be stored in __flags.
44949 * iconvdata/utf-16.c: Likewise.
44950 * iconvdata/utf-32.c: Likewise.
44952 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
44955 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44956 numerator after shifting it by one limb.
44958 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
44960 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44961 under [__USE_EXTERN_INLINES].
44963 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44966 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44968 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44970 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44971 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44973 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44974 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44975 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44976 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44977 for strncasecmp/strncasecmp_l compilation.
44978 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44979 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44981 2011-12-08 Marek Polacek <mpolacek@redhat.com>
44984 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44987 2011-12-17 Ulrich Drepper <drepper@gmail.com>
44990 * time/tzfile.c (__tzfile_read): Check values from file header.
44992 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44994 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44995 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44996 * powerpc/powerpc32/dl-start.S: Likewise.
44997 * powerpc/powerpc32/elf/start.S: Likewise.
44998 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44999 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45000 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45001 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45002 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45003 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45004 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45005 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45006 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45007 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45008 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45009 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45010 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45011 * powerpc/powerpc32/memset.S: Likewise.
45012 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45013 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45014 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45015 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45016 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45017 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45018 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45019 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45020 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45021 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45022 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45023 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45024 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45026 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45028 * math/libm-test.inc: Added more nearbyint tests.
45029 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45030 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45031 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45032 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45034 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45036 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45039 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45041 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45042 Add wcscpy-ssse3 wcscpy-c.
45043 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45044 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45045 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45046 * sysdeps/x86_64/wcschr.S: New file.
45047 * sysdeps/x86_64/wcsrchr.S: New file.
45048 * string/test-strcmp.c: Remove checking of wcscmp function for
45050 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45051 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45052 wcsrchr-sse2 wcsrchr-c.
45053 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45054 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45055 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45056 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45057 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45058 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45059 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45060 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45061 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45062 * wcsmbc/wcschr.c (WCSCHR): New macro.
45064 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45066 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45067 * wcsmbs/test-wcsrchr.c: New file.
45068 * string/test-strrchr.c: Add wcsrchr support.
45070 * wcsmbs/test-wcscpy.c: New file.
45071 * string/test-strcpy.c: Add wcscpy support.
45074 2011-12-10 Ulrich Drepper <drepper@gmail.com>
45076 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45079 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45082 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45084 2011-12-04 Ulrich Drepper <drepper@gmail.com>
45086 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45087 Minor optimizations.
45089 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45090 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45091 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45093 2011-12-03 Ulrich Drepper <drepper@gmail.com>
45095 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45096 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45097 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45098 for gcc to avoid warnings.
45099 * inet/Makefile (tests): Add tst-checks.
45100 * inet/tst-checks.c: New file.
45102 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45105 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45108 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45109 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45111 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45113 2011-12-02 Ulrich Drepper <drepper@gmail.com>
45115 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45118 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45120 2011-11-29 Joseph Myers <joseph@codesourcery.com>
45122 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45123 conditional on GCC version.
45124 (__arch_compare_and_exchange_val_8_acq)
45125 (__arch_compare_and_exchange_val_16_acq)
45126 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45127 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45128 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45130 2011-12-02 Joseph Myers <joseph@codesourcery.com>
45132 * sysdeps/sh/backtrace.c: New file.
45134 2011-12-02 Andreas Schwab <schwab@redhat.com>
45136 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45139 2011-12-01 Andreas Schwab <schwab@redhat.com>
45141 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45142 falling back to utime.
45144 2011-11-30 Andreas Schwab <schwab@redhat.com>
45146 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45147 expectations for float.
45149 2011-11-29 Andreas Schwab <schwab@redhat.com>
45151 * locale/weight.h (findidx): Add parameter len.
45152 * locale/weightwc.h (findidx): Likewise.
45153 * posix/fnmatch_loop.c (FCT): Adjust caller.
45154 * posix/regcomp.c (build_equiv_class): Likewise.
45155 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45156 * posix/regexec.c (check_node_accept_bytes): Likewise.
45157 * string/strcoll_l.c (STRCOLL): Likewise.
45158 * string/strxfrm_l.c (STRXFRM): Likewise.
45160 2011-11-17 Ulrich Drepper <drepper@gmail.com>
45162 * Makefile.in: Remove CVSOPT handling.
45163 * configure.in: Remove use of AC_REVISION.
45164 * iconvdata/Makefile (distribute): No need to filter out CVS.
45165 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45168 2011-11-16 Andreas Schwab <schwab@redhat.com>
45170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45171 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45172 [USE_AS_STRNCASECMP_L]: Likewise.
45173 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45174 NO_TLS_DIRECT_SEG_REFS.
45175 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45176 Fix argument offsets for non-PIC.
45177 [USE_AS_STRNCASECMP_L]: Likewise.
45178 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45179 NO_TLS_DIRECT_SEG_REFS.
45181 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45183 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45185 * locale/loadlocale.c (_nl_load_locale): Likewise.
45187 2011-11-15 Andreas Schwab <schwab@redhat.com>
45189 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45190 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45191 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45192 (SYSCALL_GETTIME): Set errno on error.
45194 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45195 count references to noai6ai_cached.
45197 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45199 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45201 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45202 FD_CLOEXEC for /proc/self/maps.
45204 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45205 FD_CLOEXEC for /proc/meminfo.
45207 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45210 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45211 FD_CLOEXEC for given file.
45213 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45215 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45216 FD_CLOEXEC for /etc/hosts.
45217 (_gethtent): Likewise.
45219 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45221 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45222 cancellation and set FD_CLOEXEC for /etc/netgroup.
45224 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45225 reading /etc/publickey.
45227 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45228 allow cancellation when reading /etc/group.
45230 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45232 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45234 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45235 when using data file.
45237 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45239 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45240 (write_nis_obj): Use "c" and "e" in fopen.
45242 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45244 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45246 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45248 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45250 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45253 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45255 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45257 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45259 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45260 file parsing and set FD_CLOEXEC.
45262 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45264 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45266 2011-11-14 Andreas Schwab <schwab@redhat.com>
45268 * malloc/arena.c (arena_get2): Don't call reused_arena when
45269 _int_new_arena failed.
45271 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45273 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45274 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45275 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45276 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45277 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45278 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45279 to compile strcasecmp and strncasecmp.
45280 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45281 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45285 2011-11-13 Ulrich Drepper <drepper@gmail.com>
45287 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45288 locale-defines.sym to gen-as-const-headers.
45289 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45290 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45291 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45292 to compile strcasecmp and strncasecmp.
45293 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45294 strcasecmp_l and strncasecmp_l.
45295 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45296 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45297 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45298 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45299 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45300 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45301 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45302 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45303 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45304 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45305 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45307 2011-11-12 Ulrich Drepper <drepper@gmail.com>
45309 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45310 result of SYSDEP_GETTIME_CPU to retval.
45311 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45312 parameter list to macro. Remove trailing semicolon. Adjust users.
45314 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45317 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45319 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45321 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45322 from unused variable.
45324 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45326 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45329 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45332 * sunrpc/rpc_prot.c (rejected): Fix case value.
45334 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45335 unsigned long long int to avoid warnings in shift.
45337 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45339 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45342 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45343 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45344 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45346 * nis/nis_table.c (nis_list): Use variable of correct type for
45347 result of __follow_path call.
45349 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45351 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45352 of math functions ceil, trunc, floor, round, and sqrt, when
45353 avaliable on the platform.
45354 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45356 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45357 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45358 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45360 2011-10-30 Marek Polacek <mpolacek@redhat.com>
45362 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45363 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45365 2011-11-11 Roland McGrath <roland@hack.frob.com>
45367 * include/unistd.h: Fix __readlink return type.
45368 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45370 2011-11-11 Ulrich Drepper <drepper@gmail.com>
45372 * stdlib/ucontext.h: Undo last change for makecontext.
45374 2011-11-11 Andreas Schwab <schwab@redhat.com>
45376 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45378 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45379 * setjmp/setjmp.h: Mark functions as non-leaf.
45380 * setjmp/bits/setjmp2.h: Likewise.
45381 * stdlib/ucontext.h: Likewise.
45383 2011-11-10 Andreas Schwab <schwab@redhat.com>
45385 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45386 (reused_arena): Don't check arena limit.
45387 (arena_get2): Atomically check arena limit.
45389 2011-11-08 Ulrich Drepper <drepper@gmail.com>
45391 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45392 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45397 2011-11-07 Andreas Schwab <schwab@redhat.com>
45399 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45400 handler when locking.
45402 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45403 Fix size of allocated buffer.
45405 2011-11-04 Andreas Schwab <schwab@redhat.com>
45408 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45409 declarations for long double functions.
45410 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45412 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45414 2011-11-03 Andreas Schwab <schwab@redhat.com>
45416 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45419 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45422 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45424 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45426 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45428 * include/alloca.h (stackinfo_alloca_round): Define.
45429 (extend_alloca): Use it.
45430 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45431 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45434 * scripts/check-local-headers.sh: Ignore libaudit.h.
45436 * nscd/Makefile (extra-objs): Make recursively expanded.
45438 2011-11-01 Ulrich Drepper <drepper@gmail.com>
45440 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45441 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45443 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45444 * posix/tst-rfc3484-2.c: Likewise.
45445 * posix/tst-rfc3484-3.c: Likewise.
45447 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45449 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45451 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45452 process_vm_writev from libc using GLIBC_2.15 version.
45454 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45456 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45458 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45461 2011-10-31 Ulrich Drepper <drepper@gmail.com>
45464 * nss/getent.c (initgroups_keys): Show error message in case no group
45467 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45468 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45469 __bump_nl_timestamp.
45470 * nscd/connections (nscd_init): When host database is served open
45471 netlink socket and request notification about configuration changes.
45472 (main_loop_poll): Track netlink file descriptor and bump timestamp
45473 in case data becomes available.
45474 (main_loop_epoll): Likewise.
45475 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45476 (database_pers_head): Add extra_data fileds.
45477 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45478 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45479 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45481 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45482 in6ai data, call __free_in6ai.
45483 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45484 Add -DHAVE_NETLINK.
45485 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45486 interface information. Reuse previous data if netlink timestamp
45488 (__bump_nl_timestamp): New function.
45489 (__free_in6ai): New function.
45491 2011-10-30 Ulrich Drepper <drepper@gmail.com>
45493 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45494 close_not_cancel_no_status here.
45495 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45497 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45500 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45503 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45504 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45505 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45507 2011-07-03 Andreas Jaeger <aj@suse.de>
45510 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45511 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45512 * math/libm-test.inc (sin_test): Add test case.
45514 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45517 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45518 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45520 * elf/chroot_canon.c (chroot_canon): Cleanups.
45522 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45525 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45526 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45528 * string/test-strchr.c: Make usable for strchrnul testing.
45529 * string/test-strchrnul.c: New file.
45530 * string/Makefile (strop-tests): Add strchrnul.
45532 * po/it.po: Update from translation team.
45533 * po/es.po: Likewise.
45535 2011-10-28 Ulrich Drepper <drepper@gmail.com>
45537 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45538 the three constants needed as parameters. Drop the others.
45539 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45540 __m128i_strloadu_tolower.
45541 Create and initialize variable zero and use it in all the places
45542 where _mm_setzero_si128 was used.
45544 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45545 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45546 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45547 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45549 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45550 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45551 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45552 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45553 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45554 __mpranred, __mptan.
45555 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45556 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45557 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45558 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45559 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45560 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45562 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45563 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45565 2011-10-28 Andreas Schwab <schwab@redhat.com>
45567 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45568 redefine if SHARED.
45569 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45572 wide char related routines to wcsmbs subdir.
45574 2011-10-27 Andreas Schwab <schwab@redhat.com>
45577 * misc/sys/cdefs.h (__THROWNL): Define.
45578 * posix/unistd.h: Use __THREADNL instead of __THREAD
45579 for memory synchronization functions.
45581 2011-10-26 Roland McGrath <roland@hack.frob.com>
45584 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45586 * manual/stdio.texi (Obstack Streams): Node removed.
45588 2011-10-26 Andreas Schwab <schwab@redhat.com>
45590 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45592 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45594 * math/math_private.h (math_force_eval): Allow non-addressable
45596 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45598 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45600 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45601 file is not needed.
45603 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45604 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45610 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45612 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45613 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45614 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45615 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45616 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45617 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45618 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45619 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45620 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45621 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45622 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45623 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45624 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45625 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45626 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45627 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45628 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45629 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45630 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45632 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45633 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45635 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45636 place. Use VEX encoding when compiling for AVX.
45638 2011-10-25 Andreas Schwab <schwab@redhat.com>
45640 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45641 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45643 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45645 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45647 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45648 useless if() expression.
45649 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45650 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45651 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45653 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45654 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45655 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45656 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45657 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45658 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45659 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45660 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45661 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45662 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45663 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45664 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45665 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45666 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45667 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45669 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45671 2011-10-25 Andreas Schwab <schwab@redhat.com>
45673 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45675 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45677 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45679 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45680 .text section. Avoid duplicate constants.
45681 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45683 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45685 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45689 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45690 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45691 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45692 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45693 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45694 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45695 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45696 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45697 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45698 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45699 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45700 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45701 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45702 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45703 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45704 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45705 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45706 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45707 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45708 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45709 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45710 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45711 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45712 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45713 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45714 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45715 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45716 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45717 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45718 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45719 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45720 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45721 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45722 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45723 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45724 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45725 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45727 2011-10-24 Ulrich Drepper <drepper@gmail.com>
45729 * sysdeps/x86_64/dla.h: Move to ...
45730 * sysdeps/x86_64/fpu/dla.h: ...here.
45731 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45732 situations. Use __builtin_fma only for gcc 4.6 and up.
45734 * config.make.in: Add have-mfma4 entry.
45735 * configure.in: Substitute libc_cv_cc_fma4.
45736 * math/Makefile (dbl-only-routines): Add sincostab.
45737 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45738 Use __sincostab not sincos.
45739 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45741 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
45746 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
45747 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
45748 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45749 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45751 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45752 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45754 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
45755 define aliases when function name is a macro.
45756 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45757 sysdeps/ieee754/dbl-64/sincos.tbl.
45758 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45759 fma4-enabled routines.
45760 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45761 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45762 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45763 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45764 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45765 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45766 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45768 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45769 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45770 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45771 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45772 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45773 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45774 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45775 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45776 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45777 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45778 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45779 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45780 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45781 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45782 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45783 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45784 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45785 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45786 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45787 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45788 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45789 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45791 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45793 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45799 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45800 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45802 2011-10-24 Andreas Schwab <schwab@redhat.com>
45804 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45806 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45808 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45810 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45812 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45814 * string/strnlen.c: Don't define STRNLEN, reverse logic.
45815 Remove unused variable magic_bits.
45816 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45818 * string/strnlen.c: Define and use STRNLEN macro.
45819 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45820 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45821 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45822 * wcsmbs/wcslen.c: Define and use WCSLEN.
45823 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45824 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45825 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45826 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45827 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45828 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45829 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45831 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45834 strnlen-sse2-no-bsf.
45835 Rename strlen-no-bsf to strlen-sse2-no-bsf.
45836 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45837 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45838 Add strnlen support.
45839 (USE_AS_STRNLEN): New macro.
45840 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45841 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45842 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45843 * sysdeps/x86_64/wcslen.S: New file.
45845 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
45847 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45848 XMM-moves are used for copying on small sizes.
45850 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45852 * wcsmbs/Makefile (strop-tests): Add wcschr.
45853 * wcsmbs/test-wcschr.c: New file.
45854 * string/test-strchr.c: Update.
45855 Add wcschr support.
45858 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45860 * wcsmbs/Makefile (strop-tests): Add wcslen.
45861 * wcsmbs/test-wcslen.c: New file.
45862 * string/test-strlen.c: Update.
45863 Add wcslen support.
45866 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45868 * po/it.po: Update from translation team.
45870 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45872 * sysdeps/x86_64/wcscmp.S: Update.
45873 Fix wrong comparison semantics.
45874 wcscmp shall use signed comparison not unsigned.
45875 Don't use substraction to avoid overflow bug.
45876 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45877 * wcsmbc/wcscmp.c: Likewise.
45878 * string/test-strcmp.c: Likewise.
45879 Add new tests to check cases with negative values.
45881 2011-10-23 Ulrich Drepper <drepper@gmail.com>
45883 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45884 * sysdeps/x86_64/dla.h: ...here. New file.
45885 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45890 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45895 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
45897 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45898 __ynl_finite aliases.
45900 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45904 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45906 [DLA_FMA] (EMULV): Use DLA_FMA.
45907 [DLA_FMA] (MUL12): Use EMULV.
45908 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45909 that are not needed.
45910 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45914 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45915 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45916 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45918 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
45920 * math/s_nan.c: Undef __nan.
45921 * math/s_nanf.c: Undef __nanf.
45922 * math/s_nanl.c: Undef __nanl.
45923 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45926 2011-10-22 Ulrich Drepper <drepper@gmail.com>
45928 * math/s_catan.c: Add branch predictions.
45929 * math/s_catanf.c: Likewise.
45930 * math/s_catanh.c: Likewise.
45931 * math/s_catanhf.c: Likewise.
45932 * math/s_catanhl.c: Likewise.
45933 * math/s_catanl.c: Likewise.
45934 * math/s_cexp.c: Likewise.
45935 * math/s_cexpf.c: Likewise.
45936 * math/s_cexpl.c: Likewise.
45937 * math/s_clog.c: Likewise.
45938 * math/s_clog10.c: Likewise.
45939 * math/s_clog10f.c: Likewise.
45940 * math/s_clog10l.c: Likewise.
45941 * math/s_clogf.c: Likewise.
45942 * math/s_clogl.c: Likewise.
45943 * math/s_csqrt.c: Likewise.
45944 * math/s_csqrtf.c: Likewise.
45945 * math/s_csqrtl.c: Likewise.
45946 * math/s_ctanf.c: Likewise.
45947 * math/s_ctanh.c: Likewise.
45948 * math/s_ctanhf.c: Likewise.
45949 * math/s_ctanhl.c: Likewise.
45950 * math/s_ctanl.c: Likewise.
45952 * math/math_private.h: Define __nan, __nanf, __nanl.
45953 * math/s_cacosh.c: Include <math_private.h>.
45954 * math/s_cacoshl.c: Likewise.
45955 * math/s_casinh.c: Likewise.
45956 * math/s_casinhf.c: Likewise.
45957 * math/s_casinhl.c: Likewise.
45958 * math/s_ccos.c: Rely entire on ccosh.
45959 * math/s_ccosf.c: Rely entire on ccoshf.
45960 * math/s_ccosl.c: Rely entirely on ccoshl.
45961 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
45962 Remove tests for FE_INVALID.
45963 * math/s_ccoshf.c: Likewise.
45964 * math/s_ccoshl.c: Likewise.
45965 * math/s_csin.c: Likewise.
45966 * math/s_csinf.c: Likewise.
45967 * math/s_csinh.c Likewise.
45968 * math/s_csinhf.c: Likewise.
45969 * math/s_csinhl.c: Likewise.
45970 * math/s_csinl.c: Likewise.
45971 * math/s_ctan.c: Likewise.
45972 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45973 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45974 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45976 2011-10-21 Ulrich Drepper <drepper@gmail.com>
45978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45979 compilation problems.
45981 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45984 2011-10-20 Ulrich Drepper <drepper@gmail.com>
45986 * sysdeps/i386/configure.in: Test for -mfma4 option.
45987 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45988 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45989 COMMON_CPUID_INDEX_80000001.
45990 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45991 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45992 use it if FMA3 is not supported.
45993 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45995 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45996 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45998 2011-10-20 Andreas Schwab <schwab@redhat.com>
46001 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46002 it would create a cycle with a link time dependency.
46004 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46006 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46008 * string/Makefile (strop-tests): Add rawmemchr.
46009 * string/test-rawmemchr.c: New file.
46011 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46012 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46013 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46014 when compiling str{,n}casecmp and when AVX is available. Hook up
46015 new optimized code in initializers.
46017 2011-10-19 Andreas Schwab <schwab@redhat.com>
46019 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46020 __feraiseexcept instead of feraiseexcept.
46022 2011-10-18 Ulrich Drepper <drepper@gmail.com>
46024 * math/math_private.h: Define defaults for libc_fetestexcept and
46026 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46027 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46028 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46029 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46030 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46031 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46032 libc_fetestexcept and libc_feupdateenv.
46034 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46035 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46036 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46037 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46038 libc_feholdexcept_setround.
46040 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46041 Add s_nearbyint-c and s_nearbyintf-c.
46042 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46043 nearbyintf inlines.
46044 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46045 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46046 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46047 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46049 * math/math_private.h: Define defaults for libc_fegetround,
46050 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46051 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46052 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46053 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46054 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46055 standard functions.
46056 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46057 Remove comments and hacks for old compiler versions.
46058 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46059 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46060 libc_feholdexceptl.
46062 2011-10-18 Andreas Schwab <schwab@redhat.com>
46064 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46065 (__feraiseexcept_renamed): Add __NTH.
46066 (feraiseexcept): Add __NTH. Rename local variables to fix
46067 namespace violations.
46069 2011-10-17 Ulrich Drepper <drepper@gmail.com>
46071 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46073 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46075 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46076 recently added interfaces.
46077 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46079 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46080 about macro parameter expansion.
46082 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46083 __NO_MATH_INLINES is defined. Cleanups.
46085 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46086 and __floorf is target has SSE4.1.
46087 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46088 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46089 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46090 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46092 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46094 (floorf): Likewise.
46096 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46098 2011-10-17 Andreas Schwab <schwab@redhat.com>
46100 * misc/sys/cdefs.h: Fix last change.
46102 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46105 2011-10-16 Ulrich Drepper <drepper@gmail.com>
46107 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46109 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46110 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46111 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46112 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46113 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46114 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46115 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46116 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46117 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46118 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46119 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46120 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46121 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46122 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46123 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46124 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46125 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46126 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46127 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46128 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46129 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46130 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46132 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46133 ceil, ceilf, floor, floorf.
46135 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46136 Perform IRELATIVE relocations last.
46138 * elf/do-rel.h: Add another parameter nrelative, replacing the
46139 local variable with the same name. Change name of the function
46140 to end in Rel or Rela (uppercase).
46141 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46142 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46143 elf_dynamic_do_##reloc function.
46145 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46147 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46148 is sufficient, at least on modern CPUs.
46150 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46152 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46153 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46155 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46157 * math/bits/math-finite.h: Add entries for exp.
46158 * math/e_expl.c: Add __*_finite alias.
46159 * sysdeps/i386/fpu/e_exp.S: Likewise.
46160 * sysdeps/i386/fpu/e_expf.S: Likewise.
46161 * sysdeps/i386/fpu/e_expl.c: Likewise.
46162 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46163 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46164 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46165 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46166 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46167 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46168 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46170 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46171 is sufficient, at least on modern CPUs.
46173 * ctype/ctype-info.c (__ctype_init): Define.
46174 * include/ctype.h (__ctype_init): Declare.
46175 (__ctype_b_loc): The variable is always initialized.
46176 (__ctype_toupper_loc): Likewise.
46177 (__ctype_tolower_loc): Likewise.
46178 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46179 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46181 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46183 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46185 * configure.in: Also look in $cxxmachine/include for C++ system
46188 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46190 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46191 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46192 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46193 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46194 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46195 (USE_AS_WMEMCMP): New macro.
46197 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46198 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46199 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46200 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46202 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46203 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46204 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46205 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46206 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46207 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46208 (USE_AS_WMEMCMP): New macro.
46209 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46210 * sysdeps/string/test-memcmp.c: Update.
46211 Fix simple_wmemcmp.
46213 * wcsmbs/wmemcmp.c: Update.
46214 (WMEMCMP): New macro.
46217 2011-10-12 Andreas Jaeger <aj@suse.de>
46220 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46222 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46224 * libio/iofwide.c (do_length): Avoid warning.
46226 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46228 2011-10-14 Ulrich Drepper <drepper@gmail.com>
46230 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46232 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46233 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46234 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46235 * sysdeps/i386/i686/fpu/e_log.S: New file.
46236 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46237 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46239 * ctype/ctype.h: Add support for inlined isXXX functions when
46240 compiling C++ code.
46242 2011-10-14 Andreas Schwab <schwab@redhat.com>
46244 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46246 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46248 2011-10-13 Roland McGrath <roland@hack.frob.com>
46251 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46253 2011-10-13 Andreas Schwab <schwab@redhat.com>
46255 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46256 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46259 * sysdeps/x86_64/memrchr.S: Check for zero size.
46261 * string/stratcliff.c: Add memrchr tests.
46263 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46266 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46267 rawmemchr-sse2 rawmemchr-sse2-bsf.
46268 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46269 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46270 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46271 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46272 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46273 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46274 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46275 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46276 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46277 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46278 * string/memrchr.c (MEMRCHR): New macro.
46280 2011-10-12 Ulrich Drepper <drepper@gmail.com>
46282 Add integration with gcc's -ffinite-math-only and optimize wrapper
46284 * Versions.def: Define GLIBC_2.15 version for libm.
46285 * math/Makefile (headers): Add bits/math-finite.h.
46286 * math/bits/math-finite.h: New file.
46287 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46288 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46289 * math/e_acoshl.c: Add __*_finite alias.
46290 * math/e_acosl.c: Likewise.
46291 * math/e_asinl.c: Likewise.
46292 * math/e_atan2l.c: Likewise.
46293 * math/e_atanhl.c: Likewise.
46294 * math/e_coshl.c: Likewise.
46295 * math/e_exp10.c: Likewise.
46296 * math/e_exp10f.c: Likewise.
46297 * math/e_exp10l.c: Likewise.
46298 * math/e_exp2l.c: Likewise.
46299 * math/e_fmodl.c: Likewise.
46300 * math/e_gammal_r.c: Likewise.
46301 * math/e_hypotl.c: Likewise.
46302 * math/e_j0l.c: Likewise.
46303 * math/e_j1l.c: Likewise.
46304 * math/e_jnl.c: Likewise.
46305 * math/e_lgammal_r.c: Likewise.
46306 * math/e_log10l.c: Likewise.
46307 * math/e_log2l.c: Likewise.
46308 * math/e_logl.c: Likewise.
46309 * math/e_powl.c: Likewise.
46310 * math/e_sinhl.c: Likewise.
46311 * math/e_sqrtl.c: Likewise.
46312 * math/e_scalb.c: Completely rewritten and optimized.
46313 * math/e_scalbf.c: Likewise.
46314 * math/e_scalbl.c: Likewise.
46315 * math/w_acos.c: Likewise.
46316 * math/w_acosf.c: Likewise.
46317 * math/w_acosl.c: Likewise.
46318 * math/w_acosh.c: Likewise.
46319 * math/w_acoshf.c: Likewise.
46320 * math/w_acoshl.c: Likewise.
46321 * math/w_asin.c: Likewise.
46322 * math/w_asinf.c: Likewise.
46323 * math/w_asinl.c: Likewise.
46324 * math/w_atan2.c: Likewise.
46325 * math/w_atan2f.c: Likewise.
46326 * math/w_atan2l.c: Likewise.
46327 * math/w_atanh.c: Likewise.
46328 * math/w_atanhf.c: Likewise.
46329 * math/w_atanhl.c: Likewise.
46330 * math/w_exp10.c: Likewise.
46331 * math/w_exp10f.c: Likewise.
46332 * math/w_exp10l.c: Likewise.
46333 * math/w_fmod.c: Likewise.
46334 * math/w_fmodf.c: Likewise.
46335 * math/w_fmodl.c: Likewise.
46336 * math/w_j0.c: Likewise.
46337 * math/w_j0f.c: Likewise.
46338 * math/w_j0l.c: Likewise.
46339 * math/w_j1.c: Likewise.
46340 * math/w_j1f.c: Likewise.
46341 * math/w_j1l.c: Likewise.
46342 * math/w_jn.c: Likewise.
46343 * math/w_jnf.c: Likewise.
46344 * math/w_log.c: Likewise.
46345 * math/w_logf.c: Likewise.
46346 * math/w_logl.c: Likewise.
46347 * math/w_log10.c: Likewise.
46348 * math/w_log10f.c: Likewise.
46349 * math/w_log10l.c: Likewise.
46350 * math/w_log2.c: Likewise.
46351 * math/w_log2f.c: Likewise.
46352 * math/w_log2l.c: Likewise.
46353 * math/w_pow.c: Likewise.
46354 * math/w_powf.c: Likewise.
46355 * math/w_powl.c: Likewise.
46356 * math/w_remainder.c: Likewise.
46357 * math/w_remainderf.c: Likewise.
46358 * math/w_remainderl.c: Likewise.
46359 * math/w_scalb.c: Likewise.
46360 * math/w_scalbf.c: Likewise.
46361 * math/w_scalbl.c: Likewise.
46362 * math/w_sqrt.c: Likewise.
46363 * math/w_sqrtf.c: Likewise.
46364 * math/w_sqrtl.c: Likewise.
46365 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46366 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46368 * math/math_private.h: Declare __kernel_standard_f.
46369 * math/w_cosh.c: Remove cruft and optimize a bit.
46370 * math/w_coshf.c: Likewise.
46371 * math/w_coshl.c: Likewise.
46372 * math/w_exp2.c: Likewise.
46373 * math/w_exp2f.c: Likewise.
46374 * math/w_exp2l.c: Likewise.
46375 * math/w_hypot.c: Likewise.
46376 * math/w_hypotf.c: Likewise.
46377 * math/w_hypotl.c: Likewise.
46378 * math/w_lgamma.c: Likewise.
46379 * math/w_lgamma_r.c: Likewise.
46380 * math/w_lgammaf.c: Likewise.
46381 * math/w_lgammaf_r.c: Likewise.
46382 * math/w_lgammal.c: Likewise.
46383 * math/w_lgammal_r.c: Likewise.
46384 * math/w_sinh.c: Likewise.
46385 * math/w_sinhf.c: Likewise.
46386 * math/w_sinhl.c: Likewise.
46387 * math/w_tgamma.c: Likewise.
46388 * math/w_tgammaf.c: Likewise.
46389 * math/w_tgammal.c: Likewise.
46390 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46391 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46392 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46393 Minor optimizations. Pretty printing. Remove cruft.
46394 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46395 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46396 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46397 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46398 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46399 * sysdeps/i386/fpu/e_asin.S: Likewise.
46400 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46401 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46402 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46403 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46404 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46405 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46406 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46407 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46408 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46409 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46410 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46411 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46412 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46413 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46414 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46415 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46416 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46417 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46418 * sysdeps/i386/fpu/e_log.S: Likewise.
46419 * sysdeps/i386/fpu/e_log10.S: Likewise.
46420 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46421 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46422 * sysdeps/i386/fpu/e_log2.S: Likewise.
46423 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46424 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46425 * sysdeps/i386/fpu/e_logf.S: Likewise.
46426 * sysdeps/i386/fpu/e_logl.S: Likewise.
46427 * sysdeps/i386/fpu/e_pow.S: Likewise.
46428 * sysdeps/i386/fpu/e_powf.S: Likewise.
46429 * sysdeps/i386/fpu/e_powl.S: Likewise.
46430 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46431 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46432 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46433 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46434 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46435 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46436 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46437 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46438 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46439 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46440 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46442 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46443 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46444 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46445 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46446 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46447 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46448 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46449 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46450 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46453 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46455 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46456 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46457 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46458 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46459 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46460 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46461 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46462 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46463 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46464 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46465 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46466 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46467 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46468 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46469 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46470 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46471 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46472 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46473 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46474 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46475 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46476 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46477 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46478 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46479 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46480 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46481 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46482 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46483 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46484 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46485 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46486 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46487 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46488 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46489 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46490 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46491 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46492 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46493 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46494 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46495 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46496 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46497 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46498 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46499 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46500 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46501 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46502 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46503 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46504 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46505 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46506 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46507 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46508 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46509 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46510 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46511 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46512 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46513 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46514 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46515 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46516 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46517 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46518 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46519 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46520 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46521 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46522 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46523 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46524 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46525 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46526 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46527 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46528 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46529 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46530 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46531 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46532 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46533 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46534 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46535 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46536 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46537 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46538 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46539 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46540 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46541 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46542 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46543 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46544 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46545 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46546 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46547 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46548 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46549 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46550 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46551 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46552 (__isnanf): Likewise.
46553 (__isinf_ns): Likewise.
46554 (__isinf_nsf): Likewise.
46555 (__finite): Likewise.
46556 (__finitef): Likewise.
46557 (__ieee754_sqrt): Define as macro.
46558 (__ieee754_sqrtf): Define as macro.
46559 (__ieee754_sqrtl): Define as macro.
46560 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46562 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46563 __FINITE_MATH_ONLY__ consistent.
46564 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46566 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46568 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46571 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46573 2011-10-09 Ulrich Drepper <drepper@gmail.com>
46575 * po/ja.po: Update from translation team.
46577 2011-10-08 Roland McGrath <roland@hack.frob.com>
46579 * locale/programs/locarchive.c (prepare_address_space): New function.
46580 (create_archive, enlarge_archive, open_archive): Use it.
46582 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46583 inside [SHARED], where it is used.
46585 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46587 * nss/getent.c (netgroup_keys): Remove unused variable.
46588 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46590 2011-10-08 Ulrich Drepper <drepper@gmail.com>
46592 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46593 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46595 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46596 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46597 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46598 * math/Makefile (libm-calls): Add s_isinf_ns.
46599 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46600 * math/multc3.c: Likewise.
46601 * math/s_casin.c: Likewise.
46602 * math/s_casinf.c: Likewise.
46603 * math/s_casinl.c: Likewise.
46604 * math/s_ccos.c: Likewise.
46605 * math/s_ccosf.c: Likewise.
46606 * math/s_ccosl.c: Likewise.
46607 * math/s_ctan.c: Likewise.
46608 * math/s_ctanf.c: Likewise.
46609 * math/s_ctanh.c: Likewise.
46610 * math/s_ctanhf.c: Likewise.
46611 * math/s_ctanhl.c: Likewise.
46612 * math/s_ctanl.c: Likewise.
46613 * math/w_fmod.c: Likewise.
46614 * math/w_fmodf.c: Likewise.
46615 * math/w_fmodl.c: Likewise.
46616 * math/w_remainder.c: Likewise.
46617 * math/w_remainderf.c: Likewise.
46618 * math/w_remainderl.c: Likewise.
46619 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46620 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46621 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46623 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46624 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46625 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46626 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46628 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46630 * stdio-common/printf_fphex.c: Likewise.
46631 * stdio-common/printf_size.c: Likewise.
46633 * math/e_exp10.c: Include math_private.h using <...> not "...".
46634 * math/e_exp10f.c: Likewise.
46635 * math/e_exp10l.c: Likewise.
46636 * math/e_exp2l.c: Likewise.
46637 * math/e_j0l.c: Likewise.
46638 * math/e_j1l.c: Likewise.
46639 * math/e_jnl.c: Likewise.
46640 * math/e_lgammal_r.c: Likewise.
46641 * math/e_rem_pio2l.c: Likewise.
46642 * math/e_scalb.c: Likewise.
46643 * math/e_scalbf.c: Likewise.
46644 * math/e_scalbl.c: Likewise.
46645 * math/k_cosl.c: Likewise.
46646 * math/k_sinl.c: Likewise.
46647 * math/k_tanl.c: Likewise.
46648 * math/s_cacoshf.c: Likewise.
46649 * math/s_catan.c: Likewise.
46650 * math/s_catanf.c: Likewise.
46651 * math/s_catanh.c: Likewise.
46652 * math/s_catanhf.c: Likewise.
46653 * math/s_catanhl.c: Likewise.
46654 * math/s_catanl.c: Likewise.
46655 * math/s_ccosh.c: Likewise.
46656 * math/s_ccoshf.c: Likewise.
46657 * math/s_ccoshl.c: Likewise.
46658 * math/s_cexp.c: Likewise.
46659 * math/s_cexpf.c: Likewise.
46660 * math/s_cexpl.c: Likewise.
46661 * math/s_clog.c: Likewise.
46662 * math/s_clog10.c: Likewise.
46663 * math/s_clog10f.c: Likewise.
46664 * math/s_clog10l.c: Likewise.
46665 * math/s_clogf.c: Likewise.
46666 * math/s_clogl.c: Likewise.
46667 * math/s_csin.c: Likewise.
46668 * math/s_csinf.c: Likewise.
46669 * math/s_csinh.c: Likewise.
46670 * math/s_csinhf.c: Likewise.
46671 * math/s_csinhl.c: Likewise.
46672 * math/s_csinl.c: Likewise.
46673 * math/s_csqrt.c: Likewise.
46674 * math/s_csqrtf.c: Likewise.
46675 * math/s_csqrtl.c: Likewise.
46676 * math/s_ctan.c: Likewise.
46677 * math/s_ctanf.c: Likewise.
46678 * math/s_ctanh.c: Likewise.
46679 * math/s_ctanhf.c: Likewise.
46680 * math/s_ctanhl.c: Likewise.
46681 * math/s_ctanl.c: Likewise.
46682 * math/s_ldexp.c: Likewise.
46683 * math/s_ldexpf.c: Likewise.
46684 * math/s_ldexpl.c: Likewise.
46685 * math/s_significand.c: Likewise.
46686 * math/s_significandf.c: Likewise.
46687 * math/s_significandl.c: Likewise.
46688 * math/w_acos.c: Likewise.
46689 * math/w_acosf.c: Likewise.
46690 * math/w_acosh.c: Likewise.
46691 * math/w_acoshf.c: Likewise.
46692 * math/w_acoshl.c: Likewise.
46693 * math/w_acosl.c: Likewise.
46694 * math/w_asin.c: Likewise.
46695 * math/w_asinf.c: Likewise.
46696 * math/w_asinl.c: Likewise.
46697 * math/w_atan2.c: Likewise.
46698 * math/w_atan2f.c: Likewise.
46699 * math/w_atan2l.c: Likewise.
46700 * math/w_atanh.c: Likewise.
46701 * math/w_atanhf.c: Likewise.
46702 * math/w_atanhl.c: Likewise.
46703 * math/w_cosh.c: Likewise.
46704 * math/w_coshf.c: Likewise.
46705 * math/w_coshl.c: Likewise.
46706 * math/w_dremf.c: Likewise.
46707 * math/w_exp10.c: Likewise.
46708 * math/w_exp10f.c: Likewise.
46709 * math/w_exp10l.c: Likewise.
46710 * math/w_exp2.c: Likewise.
46711 * math/w_exp2f.c: Likewise.
46712 * math/w_fmod.c: Likewise.
46713 * math/w_fmodf.c: Likewise.
46714 * math/w_fmodl.c: Likewise.
46715 * math/w_hypot.c: Likewise.
46716 * math/w_hypotf.c: Likewise.
46717 * math/w_hypotl.c: Likewise.
46718 * math/w_j0.c: Likewise.
46719 * math/w_j0f.c: Likewise.
46720 * math/w_j0l.c: Likewise.
46721 * math/w_j1.c: Likewise.
46722 * math/w_j1f.c: Likewise.
46723 * math/w_j1l.c: Likewise.
46724 * math/w_jn.c: Likewise.
46725 * math/w_jnf.c: Likewise.
46726 * math/w_jnl.c: Likewise.
46727 * math/w_lgamma.c: Likewise.
46728 * math/w_lgamma_r.c: Likewise.
46729 * math/w_lgammaf.c: Likewise.
46730 * math/w_lgammaf_r.c: Likewise.
46731 * math/w_lgammal.c: Likewise.
46732 * math/w_lgammal_r.c: Likewise.
46733 * math/w_log.c: Likewise.
46734 * math/w_log10.c: Likewise.
46735 * math/w_log10f.c: Likewise.
46736 * math/w_log10l.c: Likewise.
46737 * math/w_log2.c: Likewise.
46738 * math/w_log2f.c: Likewise.
46739 * math/w_log2l.c: Likewise.
46740 * math/w_logf.c: Likewise.
46741 * math/w_logl.c: Likewise.
46742 * math/w_pow.c: Likewise.
46743 * math/w_powf.c: Likewise.
46744 * math/w_powl.c: Likewise.
46745 * math/w_remainder.c: Likewise.
46746 * math/w_remainderf.c: Likewise.
46747 * math/w_remainderl.c: Likewise.
46748 * math/w_scalb.c: Likewise.
46749 * math/w_scalbf.c: Likewise.
46750 * math/w_scalbl.c: Likewise.
46751 * math/w_sinh.c: Likewise.
46752 * math/w_sinhf.c: Likewise.
46753 * math/w_sinhl.c: Likewise.
46754 * math/w_sqrt.c: Likewise.
46755 * math/w_sqrtf.c: Likewise.
46756 * math/w_sqrtl.c: Likewise.
46757 * math/w_tgamma.c: Likewise.
46758 * math/w_tgammaf.c: Likewise.
46759 * math/w_tgammal.c: Likewise.
46761 * po/ja.po: Update from translation team.
46763 2011-09-29 Andreas Jaeger <aj@suse.de>
46766 * sunrpc/netname.c (netname2host): Fix logic.
46770 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46772 * math/w_remainder.c (__remainder): Likewise.
46773 * math/w_remainderf.c (__remainderf): Likewise.
46774 * math/libm-test.inc (remainder_test): Add test cases.
46776 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46778 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
46781 2011-10-07 Ulrich Drepper <drepper@gmail.com>
46783 * string/test-memcmp.c: Avoid unncessary #defines.
46784 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46786 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46788 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46789 Use new sse2 version for core i3 - i7 as it's faster
46790 than sse42 version.
46791 (bit_Prefer_PMINUB_for_stringop): New.
46792 * sysdeps/x86_64/rawmemchr.S: Update.
46793 Replace with faster SSE2 version.
46794 * sysdeps/x86_64/memrchr.S: New file.
46795 * sysdeps/x86_64/memchr.S: Update.
46796 Replace with faster SSE2 version.
46798 2011-09-12 Marek Polacek <mpolacek@redhat.com>
46800 * elf/dl-load.c (lose): Add cast to avoid warning.
46802 2011-10-07 Ulrich Drepper <drepper@gmail.com>
46804 * po/ca.po: Update from translation team.
46806 * inet/getnetgrent_r.c: Hook up nscd.
46807 * nscd/Makefile (routines): Add nscd_netgroup.
46808 (nscd-modules): Add netgroupcache.
46809 (CFLAGS-netgroupcache.c): Define.
46810 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46811 (cache_search): Add const to second parameter.
46812 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46814 (dbs): Add netgrdb entry.
46815 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46816 (verify_persistent_db): Handle netgrdb.
46817 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46818 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46820 (netgroup_response_header): Define.
46821 (innetgroup_response_header): Define.
46822 (datahead): Add netgroup_response_header and innetgroup_response_header
46824 * nscd/nscd.conf: Add entries for netgroup cache.
46825 * nscd/nscd.h (dbtype): Add netgrdb.
46826 (_PATH_NSCD_NETGROUP_DB): Define.
46827 (netgroup_iov_disabled): Declare.
46828 (xmalloc, xcalloc, xrealloc): Move declarations here.
46829 (cache_search): Adjust prototype.
46830 Add netgroup-related prototypes.
46831 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46832 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46833 (__nscd_innetgr): Declare.
46834 * nscd/selinux.c (perms): Use access_vector_t as element type and
46835 add netgroup-related initializers.
46836 * nscd/netgroupcache.c: New file.
46837 * nscd/nscd_netgroup.c: New file.
46838 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46839 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46840 For four parameters use innetgr.
46841 * nss/nss_files/files-init.c: Add definition and callback for netgr.
46842 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46843 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46844 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46846 * nscd/connections.c (register_traced_file): Don't register file
46847 for disabled databases.
46849 2011-10-06 Ulrich Drepper <drepper@gmail.com>
46851 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46853 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46854 from tree and freeing node.
46856 2011-09-25 Jiri Olsa <jolsa@redhat.com>
46858 * nss/nsswitch.c (__nss_database_lookup): Handle
46859 nss_parse_service_list out of memory case.
46861 2011-09-15 Jiri Olsa <jolsa@redhat.com>
46863 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46864 out of memory case.
46866 2011-10-04 Andreas Schwab <schwab@redhat.com>
46868 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46869 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46871 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46872 elf_machine_rela, elf_machine_lazy_rel.
46873 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46874 (ELF_DYNAMIC_DO_REL): Likewise.
46875 (ELF_DYNAMIC_DO_RELA): Likewise.
46876 (ELF_DYNAMIC_RELOCATE): Likewise.
46877 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46878 to ELF_DYNAMIC_DO_REL.
46879 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46880 (dl_main): In trace mode always set __RTLD_NOIFUNC.
46881 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46883 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46884 skip_ifunc, don't call ifunc function if non-zero.
46885 (elf_machine_rela): Likewise.
46886 (elf_machine_lazy_rel): Likewise.
46887 (elf_machine_lazy_rela): Likewise.
46888 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46889 (elf_machine_lazy_rel): Likewise.
46890 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46892 (elf_machine_lazy_rel): Likewise.
46893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46895 (elf_machine_lazy_rel): Likewise.
46896 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46897 (elf_machine_lazy_rel): Likewise.
46898 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46899 (elf_machine_lazy_rel): Likewise.
46900 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46901 (elf_machine_lazy_rel): Likewise.
46902 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46903 (elf_machine_lazy_rel): Likewise.
46904 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46905 (elf_machine_lazy_rel): Likewise.
46906 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46907 (elf_machine_lazy_rel): Likewise.
46909 2011-09-28 Ulrich Drepper <drepper@gmail.com>
46911 * nss/nss_files/files-init.c (_nss_files_init): Use static
46912 initialization for all the *_traced_file variables.
46914 2011-09-28 Andreas Schwab <schwab@redhat.com>
46916 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46918 2011-09-27 Roland McGrath <roland@hack.frob.com>
46921 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46923 2011-09-27 Andreas Schwab <schwab@redhat.com>
46925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46926 Reread the line before reparsing it.
46928 2011-09-26 Andreas Schwab <schwab@redhat.com>
46930 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46932 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
46933 Maxim Kuvyrkov <maxim@codesourcery.com>
46934 Joseph Myers <joseph@codesourcery.com>
46936 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46937 if needed for __stack_chk_guard.
46939 2011-09-19 Roland McGrath <roland@hack.frob.com>
46941 * sysdeps/posix/spawni.c (script_execute): Always define it.
46942 It will be optimized away if unused.
46943 (maybe_script_execute): New function.
46944 (__spawni): Call it.
46946 * Makerules: Don't include tls.make.
46947 (config-tls): Always set to thread.
46948 * tls.make.c: File removed.
46950 2011-09-19 Mike Frysinger <vapier@gentoo.org>
46952 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46953 * config.make.in (CPPFLAGS-config): New substituted variable.
46955 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46957 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46960 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46961 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46963 2011-09-15 Roland McGrath <roland@hack.frob.com>
46965 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46966 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46967 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46968 (CALL_FAIL): Likewise.
46969 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46970 (CALL_FAIL): Macro removed.
46971 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46973 2011-09-15 Ulrich Drepper <drepper@gmail.com>
46975 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46976 for __FINITE_MATH_ONLY__ == 1.
46978 2011-09-15 Andreas Schwab <schwab@redhat.com>
46980 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46981 __ieee754_sqrt instead of sqrt.
46982 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46983 __ieee754_sqrtf instead of sqrtf.
46984 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46985 __floorf instead of floorf.
46986 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46987 __floorf, __truncf instead of floorf, truncf.
46989 2011-09-14 Ulrich Drepper <drepper@gmail.com>
46991 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46993 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46994 __extern_always_inline.
46995 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46998 2011-09-14 Andreas Schwab <schwab@redhat.com>
47000 * elf/rtld.c (dl_main): Also relocate in dependency order when
47001 doing symbol dependency testing.
47003 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47005 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47006 Always define `refsym'.
47008 2011-09-13 Andreas Schwab <schwab@redhat.com>
47010 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47011 (__FD_ELT): Renamed from __FDELT.
47012 * misc/bits/select2.h (__FD_ELT): Likewise.
47013 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47014 __FD_MASK instead of __FDELT, __FDMASK.
47015 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47017 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47020 * elf/Makefile (gen-ldd): Fix pattern.
47022 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47023 (init_tls): Likewise.
47025 2011-09-12 Ulrich Drepper <drepper@gmail.com>
47027 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47029 2011-09-12 Andreas Schwab <schwab@redhat.com>
47031 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47032 `struct cmsghdr *' instead of `void *'.
47033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47036 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47038 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47040 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47041 ldd_rewrite_script.
47043 2011-09-11 Ulrich Drepper <drepper@gmail.com>
47045 * configure.in: Remove --with-tls option.
47046 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47047 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47048 out in case it is missing.
47049 * sysdeps/ia64/elf/configure.in: Likewise.
47050 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47051 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47052 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47053 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47054 * sysdeps/sh/elf/configure.in: Likewise.
47055 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47056 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47057 * sysdeps/x86_64/elf/configure.in: Likewise.
47058 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47059 * sysdeps/mach/hurd/tls.h: Likewise.
47062 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47065 * configure.in: Fix use of AC_INIT.
47067 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47069 2011-09-10 Ulrich Drepper <drepper@gmail.com>
47071 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47073 * malloc/hooks.c: Likewise.
47076 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47077 variables statically.
47078 (narenas): Initialize.
47079 (list_lock): Initialize.
47080 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47081 initializtion of main_arena and list_lock. Small cleanups.
47082 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47083 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47084 Add initializers to main_arena and mp_.
47085 (malloc_state): Remove pagesize member. Change all users to use
47088 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47089 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47090 is always initialized.
47092 * malloc/malloc.c: Removed unused configurations and dead code.
47093 * malloc/arena.c: Likewise.
47094 * malloc/hooks.c: Likewise.
47095 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47097 * include/tls.h: Removed. USE___THREAD must always be defined.
47098 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47099 * elf/dl-libc.c: Likewise.
47100 * elf/dl-tsd.c: Likewise.
47101 * include/errno.h: Likewise.
47102 * include/netdb.h: Likewise.
47103 * include/resolv.h: Likewise.
47104 * inet/herrno-loc.c: Likewise.
47105 * inet/herrno.c: Likewise.
47106 * malloc/arena.c: Likewise.
47107 * malloc/hooks.c: Likewise.
47108 * malloc/malloc.c: Likewise.
47109 * resolv/res-state.c: Likewise.
47110 * resolv/res_libc.c: Likewise.
47111 * sysdeps/i386/dl-machine.h: Likewise.
47112 * sysdeps/ia64/dl-machine.h: Likewise.
47113 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47114 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47115 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47116 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47117 * sysdeps/sh/dl-machine.h: Likewise.
47118 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47119 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47120 * sysdeps/unix/i386/sysdep.S: Likewise.
47121 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47122 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47123 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47125 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47127 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47128 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47131 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47132 * sysdeps/x86_64/dl-machine.h: Likewise.
47133 * tls.make.c: Likewise.
47135 * configure.in: Remove --with-__thread option. Make tests for
47136 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47137 tls_model attribute fail if no support is available. Remove
47139 * Makeconfig: Adjust for dropped configure option. All features are
47141 * Makerules: Likewise.
47142 * Versions.def: Likewise.
47143 * argp/argp-fmtstream.c: Likewise.
47144 * argp/argp-fmtstream.h: Likewise.
47145 * argp/argp-help.c: Likewise.
47146 * assert/assert.c: Likewise.
47147 * config.h.in: Likewise.
47148 * config.make.in: Likewise.
47149 * configure: Likewise.
47150 * configure.in: Likewise.
47151 * csu/Versions: Likewise.
47152 * csu/init.c: Likewise.
47153 * elf/tst-audit2.c: Likewise.
47154 * elf/tst-tls10.c: Likewise.
47155 * elf/tst-tls10.h: Likewise.
47156 * elf/tst-tls11.c: Likewise.
47157 * elf/tst-tls12.c: Likewise.
47158 * elf/tst-tls14.c: Likewise.
47159 * elf/tst-tlsmod11.c: Likewise.
47160 * elf/tst-tlsmod12.c: Likewise.
47161 * elf/tst-tlsmod13.c: Likewise.
47162 * elf/tst-tlsmod13a.c: Likewise.
47163 * elf/tst-tlsmod14a.c: Likewise.
47164 * elf/tst-tlsmod15b.c: Likewise.
47165 * elf/tst-tlsmod16a.c: Likewise.
47166 * elf/tst-tlsmod16b.c: Likewise.
47167 * elf/tst-tlsmod7.c: Likewise.
47168 * elf/tst-tlsmod8.c: Likewise.
47169 * elf/tst-tlsmod9.c: Likewise.
47170 * gmon/gmon.c: Likewise.
47171 * grp/fgetgrent_r.c: Likewise.
47172 * grp/putgrent.c: Likewise.
47173 * hurd/fopenport.c: Likewise.
47174 * include/libc-symbols.h: Likewise.
47175 * include/tls.h: Likewise.
47176 * intl/gettextP.h: Likewise.
47177 * intl/loadinfo.h: Likewise.
47178 * locale/global-locale.c: Likewise.
47179 * locale/localeinfo.h: Likewise.
47180 * mach/devstream.c: Likewise.
47181 * malloc/arena.c: Likewise.
47182 * malloc/set-freeres.c: Likewise.
47183 * misc/err.c: Likewise.
47184 * misc/getttyent.c: Likewise.
47185 * misc/mntent_r.c: Likewise.
47186 * posix/getopt.c: Likewise.
47187 * posix/wordexp.c: Likewise.
47188 * pwd/fgetpwent_r.c: Likewise.
47189 * resolv/Versions: Likewise.
47190 * resolv/res_hconf.c: Likewise.
47191 * shadow/fgetspent_r.c: Likewise.
47192 * shadow/putspent.c: Likewise.
47193 * stdio-common/printf_fphex.c: Likewise.
47194 * stdio-common/tmpfile.c: Likewise.
47195 * stdlib/abort.c: Likewise.
47196 * stdlib/fmtmsg.c: Likewise.
47197 * sunrpc/auth_unix.c: Likewise.
47198 * sunrpc/clnt_perr.c: Likewise.
47199 * sunrpc/clnt_tcp.c: Likewise.
47200 * sunrpc/clnt_udp.c: Likewise.
47201 * sunrpc/clnt_unix.c: Likewise.
47202 * sunrpc/openchild.c: Likewise.
47203 * sunrpc/svc_simple.c: Likewise.
47204 * sunrpc/svc_tcp.c: Likewise.
47205 * sunrpc/svc_udp.c: Likewise.
47206 * sunrpc/svc_unix.c: Likewise.
47207 * sunrpc/xdr.c: Likewise.
47208 * sunrpc/xdr_array.c: Likewise.
47209 * sunrpc/xdr_rec.c: Likewise.
47210 * sunrpc/xdr_ref.c: Likewise.
47211 * sunrpc/xdr_stdio.c: Likewise.
47213 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47215 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47217 2011-07-03 Andreas Jaeger <aj@suse.de>
47219 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47220 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47221 regenerate with gen-libm-tests.pl.
47223 2010-05-12 Petr Baudis <pasky@suse.cz>
47226 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47227 around j0() zero points by switching to j1().
47228 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47229 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47230 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47231 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47233 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47235 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47237 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47239 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47240 Patch in part by Pavel Roskin <proski@gnu.org>.
47243 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47245 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47246 Free memory block if necessary.
47249 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47250 be NULL. Don't lock in this case.
47252 2011-09-09 Roland McGrath <roland@hack.frob.com>
47254 * elf/elf.h (ELFOSABI_GNU): New macro.
47255 (ELFOSABI_LINUX): Define to that.
47257 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47259 * string/strncat.c (strncat): Undef the symbol in case it has been
47260 defined in bits/string.h.
47262 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47264 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47266 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47269 2011-08-17 Andreas Jaeger <aj@suse.de>
47271 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47273 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47274 Ian Lance Taylor <iant@google.com>
47276 * math/libm-test.inc (lround_test): New testcase.
47277 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47279 2011-09-08 Ulrich Drepper <drepper@gmail.com>
47281 * Makefile: Remove support for automatic cvs check-ins.
47282 * Makerules: Likewise.
47283 * config.make.in: Likewise.
47284 * configure.in: Likewise.
47285 * intl/Makefile: Likewise.
47286 * locale/Makefile: Likewise.
47287 * po/Makefile: Likewise.
47288 * posix/Makefile: Likewise.
47289 * sysdeps/gnu/Makefile: Likewise.
47290 * sysdeps/mach/hurd/Makefile: Likewise.
47291 * sysdeps/sparc/sparc32/Makefile: Likewise.
47294 * posix/Makefile (bug-regex32-ENV): Define.
47295 Patch by John Stanley <jpsinthemix@verizon.net>.
47297 * misc/Makefile (headers): Add bits/select2.h.
47298 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47299 * misc/bits/select2.h: New file.
47300 * include/bits/select2.h: New file.
47301 * debug/Makefile (routines): Add fdelt_chk.
47302 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47303 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47305 * debug/fdelt_chk.c: New file.
47307 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47308 * wcsmbs/test-wmemcmp.c: Likewise.
47309 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47310 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47312 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47314 * string/Makefile (strop-tests): Add memcmp.
47315 * string/test-wmemcmp.c: New file.
47316 * string/test-memcmp.c: Add wmemcmp support.
47318 2011-09-08 Roland McGrath <roland@hack.frob.com>
47321 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47324 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47325 garbage value in a __mach_port_mod_refs call in the cases of the
47326 task-self and thread-self ports.
47328 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47330 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47332 2011-09-08 Andreas Schwab <schwab@redhat.com>
47334 * elf/dl-load.c (lose): Check for non-null L.
47336 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47338 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47340 * elf/dl-libc.c (dlerror_run): Pass back error code from
47344 * elf/dl-load.c (lose): Free l_origin if it is valid.
47346 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47348 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47349 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47350 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47351 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47352 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47353 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47355 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47357 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47358 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47359 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47360 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47361 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47362 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47363 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47364 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47365 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47366 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47368 2011-08-15 Alan Modra <amodra@gmail.com>
47371 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47372 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47373 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47374 ppc_mcount to static-only-routines.
47375 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47377 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47378 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47380 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47382 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47383 for finite and infinity parameters.
47385 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47387 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47388 and add nop instructions for throughput optimization.
47389 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47391 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47393 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47394 aligned copy for power7 with vector-scalar instructions.
47395 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47397 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47402 2011-09-07 Andreas Schwab <schwab@redhat.com>
47405 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47408 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47410 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47411 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47412 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47413 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47416 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47418 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47419 Forgot to demangle the pointer.
47421 * sysdeps/i386/sysdep.h: Define atom_text_section.
47422 * sysdeps/x86_64/sysdep.h: Likewise.
47423 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47424 section with atom_text_section.
47425 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47426 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47427 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47428 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47429 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47431 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47432 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47433 already be defined. Change to take two parameters and don't assign
47434 result to variable. Adjust all users.
47435 Define INTERNAL_GETTIME if not already defined.
47436 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47439 HAVE_CLOCK_GETTIME_VSYSCALL.
47440 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47443 gettimeofday vsyscall, just use time.
47445 2011-09-06 Andreas Schwab <schwab@redhat.com>
47447 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47450 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47452 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47456 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47457 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47458 syscall if possible.
47460 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47462 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47463 e_ident. Don't pass to find_mapsXX.
47464 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47466 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47469 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47470 * sysdeps/x86_64/multiarch/strchr.S: Update.
47471 Check bit_slow_BSF bit.
47472 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47473 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47474 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47476 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47479 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47481 (tryshell): Define.
47482 (__spawni): Change last parameter to be flag. Test
47483 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47484 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47485 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47486 * posix/spawni.c: Likewise.
47487 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47488 * posix/spawnp.c: Likewise. Change normal version to use
47489 SPAWN_XFLAGS_USE_PATH.
47490 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47491 SPAWN_XFLAGS_TRY_SHELL.
47494 * posix/glob.h: Remove gcc 1.x support.
47497 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47499 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47502 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47504 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47505 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47506 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47507 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47508 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47509 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47511 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47513 * sysdeps/x86_64/wcscmp.S: New file.
47515 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47516 wcscmp-c wcscmp-sse2
47517 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47518 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47519 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47520 * wcsmbs/wcscmp.c: Allow renaming.
47522 2011-09-05 David S. Miller <davem@davemloft.net>
47524 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47525 stack slot, rather than the struct return pointer slot.
47526 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47527 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47529 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47531 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47533 * po/ja.po: Update from translation team.
47536 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47537 kernel in 64-bit binaries.
47539 2011-09-01 David S. Miller <davem@davemloft.net>
47541 * elf/elf.h (HWCAP_SPARC_*): Move to..
47542 * sysdeps/sparc/sysdep.h: this new file and add new values.
47543 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47544 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47545 _DL_HWCAP_COUNT to 24.
47546 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47548 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47549 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47550 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47552 instead of magic constants.
47553 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47555 2011-08-31 David S. Miller <davem@davemloft.net>
47557 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47559 Reimplement to do errno handling inline.
47560 (SYSCALL_ERROR_HANDLER): New macro.
47561 (__SYSCALL_STRING): Do not do errno handling in asm.
47562 (__CLONE_SYSCALL_STRING): Delete.
47563 (__INTERNAL_SYSCALL_STRING): Delete.
47564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47565 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47566 (PSEUDO): Reimplement to do errno handling inline.
47567 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47568 (SYSCALL_ERROR_HANDLER): New macro.
47569 (__SYSCALL_STRING): Do not do errno handling in asm.
47570 (__CLONE_SYSCALL_STRING): Delete.
47571 (__INTERNAL_SYSCALL_STRING): Delete.
47572 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47573 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47575 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47576 (inline_syscall*): Add 'err' argument.
47577 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47578 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47579 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47580 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47582 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47583 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47585 2011-08-30 Andreas Schwab <schwab@redhat.com>
47587 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47589 2011-08-29 Jiri Olsa <jolsa@redhat.com>
47591 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47594 2011-08-24 David S. Miller <davem@davemloft.net>
47596 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47598 2011-08-24 Andreas Schwab <schwab@redhat.com>
47600 * elf/Makefile: Add rules to build and run unload8 test.
47601 * elf/unload8.c: New file.
47602 * elf/unload8mod1.c: New file.
47603 * elf/unload8mod1x.c: New file.
47604 * elf/unload8mod2.c: New file.
47605 * elf/unload8mod3.c: New file.
47607 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47610 2011-08-23 David S. Miller <davem@davemloft.net>
47612 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47613 subtract stack bias.
47614 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47615 %sp not %fp in calculations.
47616 (_JMPBUF_UNWINDS_ADJ): Likewise.
47618 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47619 (aio_suspend): Call it to force an exception region around the
47620 AIO_MISC_WAIT() invocation.
47622 2011-08-23 Andreas Schwab <schwab@redhat.com>
47624 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47627 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47629 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47631 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47632 and <dl-machine.h>.
47633 (Elf64_FuncDesc): Remove.
47635 2011-08-22 David S. Miller <davem@davemloft.net>
47637 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47638 sigaltstack check, add missing cfi directives.
47639 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47640 missing cfi directives, and sigaltstack handling.
47642 2011-08-16 Andreas Schwab <schwab@redhat.com>
47645 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47646 object is seen twice.
47647 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47649 * elf/Makefile (distribute): Add tst-initorder2.c.
47650 (tests): Add tst-initorder2.
47651 (modules-names): Add tst-initorder2a tst-initorder2b
47652 tst-initorder2c tst-initorder2d. Add rules to build them.
47653 ($(objpfx)tst-initorder2.out): New rule.
47654 * elf/tst-initorder2.c: New file.
47655 * elf/tst-initorder2.exp: New file.
47657 2011-08-22 Andreas Schwab <schwab@redhat.com>
47659 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47661 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47662 dependencies back to end of function.
47664 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47665 $(elfobjdir)/ld.so.
47667 2011-08-21 Ulrich Drepper <drepper@gmail.com>
47669 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47670 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47671 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47672 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47673 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47674 of __vdso_gettimeofday.
47675 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47676 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47678 (_libc_vdso_platform_setup): Remove initialization of
47679 __vdso_gettimeofday and __vdso_time.
47681 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47683 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47684 and fgetc_unlocked.
47685 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47688 * elf/dl-open.c (add_to_global): Report additions to the global scope
47689 for LD_DEBUG=scopes.
47690 (dl_open_worker): Also print scope of newly loaded dependencies.
47691 (_dl_show_scope): Indicate if there is no scope.
47694 * stdio-common/Makefile (tests): Add bug24.
47695 * stdio-common/bug24.c: New file.
47697 2011-08-19 Andreas Jaeger <aj@suse.de>
47700 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47701 non-existant file when using close-on-exec mode.
47703 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47706 the very first instruction.
47708 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47709 the CFI state in the end.
47710 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47711 inclusion of dl-trampoline.h.
47712 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47714 2011-08-19 Andreas Schwab <schwab@redhat.com>
47716 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47717 expectations for long double.
47719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47720 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47722 2011-08-14 David S. Miller <davem@davemloft.net>
47724 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47725 artificual limit depends upon the system page size.
47727 2011-08-17 Ulrich Drepper <drepper@gmail.com>
47729 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47730 * resolv/Makefile: Define CFLAGS-libresolv.
47732 2011-08-17 Andreas Schwab <schwab@redhat.com>
47734 * nss/makedb.c (compute_tables): Make variables used in nested
47737 2011-08-17 Ulrich Drepper <drepper@gmail.com>
47739 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47740 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47741 if buffer was too small.
47743 * elf/pldd.c (main): Attach to all threads in the process.
47744 Rewrite /proc handling to use *at functions.
47746 2011-08-16 Ulrich Drepper <drepper@gmail.com>
47748 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47749 specifies first scope to show.
47750 (dl_open_worker): Update callers. Move printing scope of new
47751 object to before the relocation.
47752 * elf/rtld.c (dl_main): Update _dl_show_scope call.
47753 * sysdeps/generic/ldsodefs.h: Update declaration.
47755 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47756 string for the scope number.
47758 2011-08-14 Ulrich Drepper <drepper@gmail.com>
47760 * nscd/servicescache.c (cache_addserv): Make sure written is always
47763 2011-08-14 Roland McGrath <roland@hack.frob.com>
47765 * sysdeps/i386/i486/bits/atomic.h
47766 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47767 statement expression, so as to suppress "set but not used" warning.
47768 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47770 * string/strncat.c (STRNCAT): Use prototype definition.
47772 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47773 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47775 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47776 (localedef-modules): Add localedef.
47777 (locale-modules): Add locale.
47779 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47780 * elf/rtld.c (dl_main): Invert order of assignment in last change,
47781 to avoid a warning.
47783 2011-08-14 David S. Miller <davem@davemloft.net>
47785 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47786 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47788 2011-08-13 Ulrich Drepper <drepper@gmail.com>
47790 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
47791 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47792 * elf/rtld.c (dl_main): Set l_name of vDSO.
47793 Call _dl_show_scope when DL_DEBUG_SCOPES.
47794 (process_dl_debug): Recognize scopes flag and also set it for all.
47795 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47796 Declare _dl_show_scope.
47798 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47799 (do_dlopen): Pass caller_dlopen to dl_open.
47800 (__libc_dlopen_mode): Initialize caller_dlopen.
47802 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47803 of libc. Make tolower call locale-independent. Optimize a bit by
47804 using isdigit instead of isalnum.
47805 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47807 2011-08-12 Ulrich Drepper <drepper@gmail.com>
47809 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47810 was a dependency or dynamically loaded.
47812 2011-08-11 Ulrich Drepper <drepper@gmail.com>
47814 * intl/l10nflist.c: Allow architecture-specific pop function.
47815 * sysdeps/x86_64/l10nflist.c: New file.
47817 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47820 2011-08-10 Andreas Schwab <schwab@redhat.com>
47822 * include/dirent.h: Add libc_hidden_proto for scandirat and
47823 scandirat64. Don't declare __scandirat64.
47824 * dirent/scandirat.c: Add libc_hidden_def.
47825 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47826 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47828 2011-08-10 David S. Miller <davem@davemloft.net>
47830 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47832 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47833 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47834 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47836 2011-08-09 Ulrich Drepper <drepper@gmail.com>
47838 * Versions.def [libc]: Add GLIBC_2.15.
47839 * dirent/Makefile (routines): Add scandirat and scandirat64.
47840 * dirent/Versions [libc]: Export scandirat and scandirat64 for
47842 * dirent/dirent.h: Declare scandirat and scandirat64.
47843 * dirent/scandirat.c: New file.
47844 * dirent/scandirat64.c: New file.
47845 * sysdeps/wordsize-64/scandirat.c: New file.
47846 * sysdeps/wordsize-64/scandirat64.c: New file.
47847 * dirent/opendir.c: Define opendirat.
47848 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
47850 * dirent/scandir64.c: Adjust for scandir.c change.
47851 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
47852 __scandirat64, and __scandir_cancel_handler.
47853 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
47854 additional parameter and use openat instead of open (outside of ld.so).
47855 Add new __opendir as wrapper around __opendirat.
47856 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47857 here without requiring old scandirat implementation.
47859 2011-08-08 Ulrich Drepper <drepper@gmail.com>
47861 * dirent/scandir.c (cancel_handler): Renamed to
47862 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
47863 defined. Adjust users.
47864 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47865 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47867 2011-08-04 Ulrich Drepper <drepper@gmail.com>
47869 * string/test-string.h (IMPL): Use __STRING to expand name and then
47872 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
47875 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47877 * string/Makefile: Update.
47878 (strop-tests): Append strncat.
47879 * string/test-wcscmp.c: New file.
47880 New comprehensive test for wcscmp.
47881 * string/test-strcmp.c: Update.
47882 (WIDE): New define.
47884 2011-07-22 Andreas Schwab <schwab@redhat.com>
47886 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47889 2011-07-26 Andreas Schwab <schwab@redhat.com>
47891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47892 encoding to ACE if AI_IDN.
47894 2011-08-01 Jakub Jelinek <jakub@redhat.com>
47896 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47897 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47899 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47901 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47902 Fix overflow bug in strncat.
47903 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47905 * string/test-strncat.c: Update.
47906 Add new tests for checking overflow bugs.
47908 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47911 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47912 * sysdeps/i386/i686/multiarch/strcat.S: New file.
47913 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47914 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47915 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47916 * sysdeps/i386/i686/multiarch/strncat.S: New file.
47917 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47918 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47920 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47921 (USE_AS_STRCAT): Define.
47922 Add strcat and strncat support.
47923 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47925 2011-07-25 Andreas Schwab <schwab@redhat.com>
47927 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47928 __n bigger than INT_MAX+1.
47929 (__strncmp_g): Likewise.
47931 2011-07-23 Ulrich Drepper <drepper@gmail.com>
47933 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47934 * libio/stido.h: Likewise.
47936 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47938 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47941 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47942 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47943 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47944 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47945 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47948 * scripts/test-installation.pl: Don't expect libnss_test1 to be
47951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47953 (_dl_x86_64_save_sse): Likewise.
47955 2011-07-22 Ulrich Drepper <drepper@gmail.com>
47957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47959 (_dl_x86_64_save_sse): Likewise.
47961 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47963 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47965 2011-07-21 Andreas Schwab <schwab@redhat.com>
47967 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47969 (_dl_x86_64_save_sse): Use correct AVX check.
47971 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47973 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47974 bug in strncpy/strncat.
47975 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47977 2011-07-21 Ulrich Drepper <drepper@gmail.com>
47979 * string/tester.c (test_strcat): Add tests for different alignments
47980 of source and destination.
47981 (test_strncat): Likewise.
47983 2011-07-20 Ulrich Drepper <drepper@gmail.com>
47986 * posix/glob.c (glob): Check passed in values before using them in
47987 expressions to avoid some overflows.
47988 (glob_in_dir): Likewise.
47991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47992 check for AVX enablement so that we don't crash with old kernels and
47994 * elf/tst-audit4.c: Add same checks here.
47995 * elf/tst-audit6.c: Likewise.
47997 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47999 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48001 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48003 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48005 * po/cs.po: Update from translation team.
48006 * po/bg.po: Likewise.
48008 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48010 * misc/sys/cdefs.h: Add support for const attribute.
48011 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48012 to gnu_dev_{major,minor,makedev} functions.
48014 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48016 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48018 2011-07-20 Andreas Schwab <schwab@redhat.com>
48020 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48023 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48025 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48026 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48027 register in order to avoid conflicts with the soft frame pointer
48028 being held in r11 when necessary.
48029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48030 (INTERNAL_VSYSCALL_NCS): Likewise.
48032 2011-07-14 Marek Polacek <mpolacek@redhat.com>
48034 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48035 * elf/dl-fini.c (_dl_fini): Adjust caller.
48036 * elf/dl-close.c (_dl_close_worker): Likewise.
48037 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48039 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48041 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48042 "aux_cache->nlibs < 0".
48044 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48045 in the reload-count case.
48047 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48050 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48051 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48052 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48053 * sysdeps/x86_64/multiarch/strcat.S: New file.
48054 * sysdeps/x86_64/multiarch/strncat.S: New file.
48055 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48056 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48057 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48058 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48059 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48060 (USE_AS_STRCAT): Define.
48061 Add strcat and strncat support.
48062 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48063 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48064 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48065 * string/strncat.c: Update.
48066 (USE_AS_STRNCAT): Define.
48067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48068 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48070 * sysdeps/x86_64/multiarch/init-arch.h
48071 (bit_Prefer_PMINUB_for_stringop): New.
48072 (index_Prefer_PMINUB_for_stringop): Likewise.
48073 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48074 bit_Prefer_PMINUB_for_stringop.
48076 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48078 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48080 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48081 of casting of buffer.
48082 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48083 buffer32 and buffer64.
48084 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48085 writes instead of casting of buffer.
48086 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48088 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48091 2011-07-19 Andreas Schwab <schwab@redhat.com>
48093 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48095 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48097 * nscd/nscd.c (termination_handler): Don't do anything for a database
48098 if it has not yet been initialized.
48100 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48102 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48104 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48106 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48108 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48110 * po/nl.po: Update from translation team.
48111 * po/sv.po: Likewise.
48113 2011-07-16 Roland McGrath <roland@hack.frob.com>
48115 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48116 now disallowed by GCC.
48118 * configure.in (use-default-link): Default to yes if a test -shared
48119 link meets our qualifications.
48120 * configure: Regenerated.
48122 * config.make.in (output-format): New variable.
48123 * configure.in: Check for ld --print-output-format support.
48124 * configure: Regenerated.
48125 * Makerules ($(common-objpfx)format.lds)
48126 [$(output-format) != unknown]: Just use $(output-format),
48127 instead of the linker-script munging.
48129 2011-07-14 Roland McGrath <roland@hack.frob.com>
48131 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48132 of $(common-objpfx)shlib.lds.
48133 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48135 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48136 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48138 * configure.in (-z relro check): Adjust test code to add a large
48139 writable data section after it.
48140 * configure: Regenerated.
48142 2011-07-11 Roland McGrath <roland@hack.frob.com>
48144 * configure.in (-z relro check): Fix test code to make the variable
48146 * configure: Regenerated.
48148 2011-07-11 Ulrich Drepper <drepper@gmail.com>
48150 * nscd/nscd.h (struct traced_file): Define.
48151 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48152 elements. Add traced_files.
48153 (inotify_fd): Declare.
48154 (register_traced_file): Declare.
48155 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48156 (inotify_fd): Export.
48157 (resolv_conf_descr): Remove.
48158 (nscd_init): Move inotify descriptor creation to main.
48159 Don't register files for notification here.
48160 (register_traced_file): New function.
48161 (invalidate_cache): Don't use reset_res to determine whether to call
48162 res_init, go through the list of registered files.
48163 (main_loop_poll): The inotify descriptors are now stored in the
48164 structures for the traced files.
48165 (main_loop_epoll): Likewise
48166 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48167 to __nss_disable_nscd.
48168 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48169 for a database anymore. Check the records for all the registered
48171 * nss/Makefile (libnss_files-routines): Add files-init.
48172 (libnss_db-routines): Add db-init.
48173 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48174 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48175 * nss/nss_db/db-init.c: New file.
48176 * nss/nss_files/files-init.c: New file.
48177 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48178 __nss_lookup_function.
48179 (__nss_lookup_function): Call nss_load_library.
48180 (nss_load_all_libraries): New function.
48181 (__nss_disable_nscd): Take parameter with callback function for files
48182 to register. Set is_nscd. Load all the DSOs for the NSS modules
48183 used for the cached services.
48184 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48185 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48186 options for features to all the files in nscd.
48188 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48190 2011-07-10 Roland McGrath <roland@hack.frob.com>
48192 * csu/elf-init.c (__libc_csu_init): Comment typo.
48194 2011-07-09 Ulrich Drepper <drepper@gmail.com>
48196 * po/pl.po: Update from translation team.
48197 * po/ja.po: Likewise.
48198 * po/ru.po: Likewise.
48199 * po/ko.po: Likewise.
48200 * po/fr.po: Likewise.
48202 2011-07-09 Roland McGrath <roland@hack.frob.com>
48204 * configure.in (.ctors/.dtors header and trailer check):
48205 Use an empirical test on a built program.
48206 * configure: Regenerated.
48208 * configure.in (-z relro check): Use an empirical test on a built DSO.
48209 Detect, but do not require, on ia64.
48210 * configure: Regenerated.
48212 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48213 Update tests that use readelf to use $READELF instead.
48214 * configure: Regenerated.
48216 2011-07-08 Ulrich Drepper <drepper@gmail.com>
48218 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48219 if the result is not used.
48221 2011-07-05 Andreas Jaeger <aj@suse.de>
48224 * stdlib/tst-strtod.c: Add testcase.
48226 2011-07-07 Ulrich Drepper <drepper@gmail.com>
48228 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48229 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48230 The latter has a higher limit. Take additional parameter to pass to
48232 (__pathconf): Pass file to __statfs_link_max.
48233 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48235 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48239 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48240 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48242 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48243 (__statfs_filesize_max): Likewise.
48244 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48246 2011-07-05 Andreas Jaeger <aj@suse.de>
48248 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48250 2011-07-06 Marek Polacek <mpolacek@redhat.com>
48252 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48254 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48257 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48259 * Makefile (strop-tests): Add strncat.
48260 * string/test-strncat.c: New file.
48262 2011-06-30 Marek Polacek <mpolacek@redhat.com>
48264 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48266 2011-06-21 Andreas Jaeger <aj@suse.de>
48268 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48269 Copy rule from iconvdata/Makefile.
48271 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48274 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48275 but no long options are defined, just return 'W'.
48277 2011-06-22 Marek Polacek <mpolacek@redhat.com>
48280 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48282 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48284 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48286 (innetgr): Likewise.
48288 2011-07-05 Roland McGrath <roland@hack.frob.com>
48290 * config.make.in (install_root): Default to $(DESTDIR).
48292 2011-07-05 Ulrich Drepper <drepper@gmail.com>
48294 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48296 2011-07-02 Roland McGrath <roland@hack.frob.com>
48298 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48300 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48301 containing directory rather than embedding absolute directory names.
48303 * scripts/check-local-headers.sh: Rewritten using awk.
48304 Match by word, not by line. Print error messages for matches.
48305 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48307 * Makerules [shlib-lds-flags empty]:
48308 ($(common-objpfx)libc_pic.opts): New target.
48309 ($(common-objpfx)libc_pic.os.clean): New target.
48310 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48312 * config.make.in (OBJCOPY): New variable.
48313 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48314 * configure: Regenerated.
48316 * config.make.in (use-default-link): New variable.
48317 * configure.in (use_default_link): Grok --with-default-link to set it.
48318 * configure: Regenerated.
48319 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48320 (shlib-lds, shlib-lds-flags): Define to empty.
48322 * Makerules (shlib-lds): New variable.
48323 (shlib-lds-flags): New variable.
48324 (build-shlib, build-moduile, build-module-asneeded): Use it.
48325 ($(common-objpfx)libc.so): Use $(shlib-lds).
48326 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48327 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48329 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48330 DT_FLAGS/DT_FLAGS_1 with zero flags.
48332 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48333 linker script munging.
48335 2011-07-02 Ulrich Drepper <drepper@gmail.com>
48337 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48339 * crypt/sha512.c (sha512_process_block): Perform total addition using
48340 128-bit if possible.
48341 (__sha512_finish_ctx): Likewise.
48342 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48344 * crypt/sha256.c (SWAP64): Define.
48345 (sha256_process_block): Perform total addition using 64-bit if
48347 (__sha256_finish_ctx): Likewise.
48349 2011-07-01 Ulrich Drepper <drepper@gmail.com>
48351 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48352 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48353 * nscd/hstcache.c (cache_addhst): Likewise.
48354 * nscd/grpcache.c (cache_addgr): Likewise.
48355 * nscd/aicache.c (addhstaiX): Likewise
48356 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48358 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
48360 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48361 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48362 * nscd/hstcache.c (cache_addhst): Likewise.
48363 * nscd/grpcache.c (cache_addgr): Likewise.
48364 * nscd/aicache.c (addhstaiX): Likewise
48366 2011-07-01 Andreas Schwab <schwab@redhat.com>
48368 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48369 domain only when needed.
48371 2011-06-30 Andreas Schwab <schwab@redhat.com>
48373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48374 is always restored.
48376 2011-06-29 Ulrich Drepper <drepper@gmail.com>
48378 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48379 are re-adding the entry.
48380 * nscd/servicescache.c (cache_addserv): Likewise.
48382 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48384 * sysdeps/generic/dl-irel.h: fix protection against multiple
48386 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48388 2011-06-28 Ulrich Drepper <drepper@gmail.com>
48391 * malloc/memusage.sh: Fix quoting in message.
48392 * debug/xtrace.sh: Likewise.
48394 * configure.in: Remove support for --experimental-malloc option, make
48396 * config.make.in: Likewise.
48397 * malloc/Makefile: Likewise.
48399 2011-06-27 Andreas Schwab <schwab@redhat.com>
48401 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48402 two-byte characters.
48404 2011-06-27 Roland McGrath <roland@hack.frob.com>
48406 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48407 AC_CACHE_CHECK invocation.
48408 * configure: Regenerated.
48410 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48412 2011-06-27 Ulrich Drepper <drepper@gmail.com>
48415 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48416 bit from old_res_options.
48418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48420 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48421 value type for setfct.
48423 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48425 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48426 __gettimeofday instead of gettimeofday.
48428 2011-06-26 Ulrich Drepper <drepper@gmail.com>
48430 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48432 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48434 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48436 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48439 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48442 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48443 strcpy-sse2-unaligned strncpy-sse2-unaligned
48444 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48445 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48446 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48447 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48448 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48449 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48450 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48451 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48452 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48453 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48454 (STRCPY): Support SSE2 and SSSE3 versions.
48456 2011-06-24 Ulrich Drepper <drepper@gmail.com>
48459 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48460 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48461 kernels which artificially limit size of requests.
48463 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48466 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48467 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48468 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48469 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48470 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48471 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48472 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48473 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48474 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48475 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48476 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48477 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48478 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48479 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48481 Enable unaligned load optimization for Intel Core i3, i5 and i7
48483 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48485 (index_Fast_Unaligned_Load): Define.
48486 (HAS_FAST_UNALIGNED_LOAD): Define.
48488 2011-06-23 Marek Polacek <mpolacek@redhat.com>
48490 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48492 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48495 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48496 until it is clear that the information is realy needed.
48497 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48499 2011-06-22 Andreas Schwab <schwab@redhat.com>
48501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48503 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48505 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48506 /sys/devices/system/cpu/online if it is usable.
48508 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48509 reading the information from the /proc filesystem to once a second.
48511 2011-06-21 Andreas Jaeger <aj@suse.de>
48513 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48514 NULL after inclusion of kernel headers.
48516 2011-06-21 Ulrich Drepper <drepper@gmail.com>
48518 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48519 calls to internal_setent.
48522 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48523 addresses using gethostbyname4_r ignore IPv4 addresses.
48525 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48526 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48528 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48530 2011-06-20 David S. Miller <davem@davemloft.net>
48532 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48534 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48536 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48537 (elf_irel): Use it.
48538 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48539 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48540 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48541 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48542 * sysdeps/x86_64/dl-irel.h: Likewise.
48544 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48545 * elf/dl-sym.c: Likewise.
48547 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48549 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48550 need to dereference resplen2.
48552 2011-06-14 Andreas Schwab <schwab@redhat.com>
48554 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48556 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48558 * Makeconfig: Define vardbdir and inst_vardbdir.
48559 * nss/Makefile: Add rules to install db-Makefile.
48561 * nss/nss_db/db-XXX.c: Cleanup.
48563 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48564 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48566 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48567 * nss/makedb.c: Implement -g option to specify that value strings
48568 are generated and should not be added to table iterated over for
48570 * nss/nss_db/db-initgroups.c: New file.
48572 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48575 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48576 (internal_getgrouplist): Adjust to name change.
48577 Update use_initgroups_entry if this is not the first call.
48578 * nss/databases.def: Add initgroups entry.
48580 * nss/makedb.c (compute_tables): Check result of multiple hash table
48581 sizes to minimize maximum chain length.
48583 2011-06-14 Ulrich Drepper <drepper@gmail.com>
48585 * Versions.def: Add entry for libnss_db.
48586 * shlib-versions: Likewise.
48587 * nss/Makefile: Add rules to build libnss_db.
48588 * nss/Versions: Add libnss_db information. Organize libnss_files
48590 * nss/db-Makefile: Add gshadow support. Change rules for the new
48591 makedb progra. Some minor improvements to generate smaller files.
48592 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48594 * nss/makedb.c: ...here.
48595 Improve database format to be smaller and require less memory at
48597 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48599 * nss/nss_db/db-netgrp.c: Likewise.
48600 * nss/nss_db/db-open.c: Likewise.
48601 * nss/nss_files/flies-XXX.x: Adjust comments.
48602 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48603 * nss/nss_files/files-grp.c: Likewise.
48604 * nss/nss_files/files-hosts.c: Likewise.
48605 * nss/nss_files/files-network.c: Likewise.
48606 * nss/nss_files/files-proto.c: Likewise.
48607 * nss/nss_files/files-pwd.c: Likewise.
48608 * nss/nss_files/files-rpc.c: Likewise.
48609 * nss/nss_files/files-service.c: Likewise.
48610 * nss/nss_files/files-sgrp.c: Likewise.
48611 * nss/nss_files/files-spwd.c: Likewise.
48612 * nss/nss_db/db-alias.c: Removed.
48613 * nss/nss_db/dummy-db.h: Removed.
48615 2011-06-02 Ulrich Drepper <drepper@gmail.com>
48617 * nss/makedb.c: Rewritten to not use database library.
48618 * nss/Makefile: Update to build new makedb program.
48620 2011-06-14 Andreas Jaeger <aj@suse.de>
48622 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48623 memset declaration.
48625 2011-06-10 Andreas Schwab <schwab@redhat.com>
48627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48630 2011-06-10 Roland McGrath <roland@hack.frob.com>
48632 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48633 * elf/Makefile ($(objpfx)ld.so): Likewise.
48635 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48636 Don't list ld.so twice in dependencies.
48638 * posix/bug-regex31.c: Include <stdlib.h>.
48640 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48642 * nis/nss_compat/compat-spwd.c
48643 (getspent_next_nss_netgr): Remove unused variable.
48644 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48646 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48647 nonmembers" output to use the right array.
48649 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48651 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48653 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48654 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48655 * catgets/gencat.c (read_input_file): Likewise.
48656 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48658 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48659 variable definition inside #if's controlling its use.
48661 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48663 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48665 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48667 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48670 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48672 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48673 * configure: Regenerated.
48675 * Makerules: Revert last change.
48676 * elf/Makefile: Likewise.
48678 2011-06-09 Roland McGrath <roland@hack.frob.com>
48680 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48681 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48682 (reloc-link): Likewise.
48684 2011-06-09 Ulrich Drepper <drepper@gmail.com>
48686 * elf/Makefile: Add rules to build pldd.
48687 * elf/pldd.c: New file.
48688 * elf/pldd-xx.c: New file.
48690 2011-06-07 Ulrich Drepper <drepper@gmail.com>
48692 * version.h: Update for 2.15 development version.
48694 2011-06-07 David S. Miller <davem@davemloft.net>
48696 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48698 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48699 elf_machine_lazy_rel): Likewise.
48700 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48701 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48702 elf_machine_lazy_rel): Likewise.
48703 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48704 dl_hwcap via passed in argument.
48705 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48708 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48710 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48712 2011-06-06 Roland McGrath <roland@hack.frob.com>
48715 * manual/fdl-1.1.texi: New file, verbatim from:
48716 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48717 * manual/lgpl-2.1.texi: New file, verbatim from:
48718 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48719 * manual/Makefile (licenses): New variable, list those new file names.
48721 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48723 * manual/fdl.texi: File removed.
48724 * manual/lesser.texi: File removed.
48725 * manual/libc.texinfo (Copying, Documentation License):
48726 Use new @include file names, put @appendix directive before @include.
48728 2011-06-04 Jakub Jelinek <jakub@redhat.com>
48731 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48732 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48733 (mq_open): Add __NTH.
48735 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
48737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48738 Assume Intel Core i3/i5/i7 processor if AVX is available.
48740 2011-05-31 Ulrich Drepper <drepper@gmail.com>
48742 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48745 2011-05-31 Andreas Schwab <schwab@redhat.com>
48747 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48748 memory. Use alloca_account. Fix memory leak when retrying.
48750 2011-05-31 Ulrich Drepper <drepper@gmail.com>
48752 * version.h (RELEASE): Bump for 2.14 release.
48753 * include/features.h (__GLIBC_MINOR__): Bump to 14.
48755 * config.make.in (RANLIB): Remove entry.
48757 2011-05-30 Ulrich Drepper <drepper@gmail.com>
48759 * po/Makefile (po-sed-cmd): Add ksh to extensions.
48760 (libc.pot): Work around missing support for .ksh extension in xgettext.
48763 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48764 if both request failed.
48765 (send_dg): In case of server errors clear resplen or *resplen2.
48768 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48769 when there are multiple maps.
48770 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48771 (_dl_fini): Remove test here.
48773 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48775 2011-05-29 Ulrich Drepper <drepper@gmail.com>
48778 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48779 bit from old_res_options.
48780 (gaih_inet): Likewise.
48783 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
48786 * resolv/res_init.c (res_setoptions): Make the code more compact.
48789 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48793 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48795 * malloc/malloc.h: Mark malloc hook variables as deprecated.
48798 * malloc/malloc.h: Declare malloc hook variables as volatile.
48800 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48804 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48805 raise in the comment.
48806 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48807 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48808 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48810 2011-05-28 Ulrich Drepper <drepper@gmail.com>
48813 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48814 grow the buffers more if it already has to be sufficient.
48815 (build_wcs_upper_buffer): Likewise.
48816 * posix/regexec.c (check_matching): Likewise.
48817 (clean_state_log_if_needed): Likewise.
48818 (extend_buffers): Don't enlarge buffers beyond size of the input
48820 Patches mostly by Emil Wojak <emil@wojak.eu>.
48821 * posix/bug-regex32.c: New file.
48822 * posix/Makefile (tests): Add bug-regex32.
48824 * locale/findlocale.c (_nl_find_locale): Return right away if
48825 _nl_explode_name failed.
48826 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48828 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48830 * debug/xtrace.sh: Unify messages.
48831 * malloc/memusage.sh: Likewise.
48834 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48835 time symbol from vDSO. Substitute with vsyscall if not available.
48836 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48839 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48840 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48841 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48842 Add sendmmsg and internal_sendmmsg.
48843 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48844 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48845 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48847 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48848 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48849 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48851 2011-05-27 Ulrich Drepper <drepper@gmail.com>
48854 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48855 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
48857 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48861 * iconvdata/Makefile (tests): Add bug-iconv9.
48862 * iconvdata/bug-iconv9.c: New file.
48864 2011-05-27 Andreas Schwab <schwab@redhat.com>
48867 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48869 2011-05-25 Jakub Jelinek <jakub@redhat.com>
48871 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48872 (struct user_regs_struct): Change intcs field back to cs.
48874 2011-05-25 Ulrich Drepper <drepper@gmail.com>
48876 * po/ja.po: Update from translation team.
48878 2011-05-23 Ulrich Drepper <drepper@gmail.com>
48881 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48882 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48884 2011-05-20 Andreas Schwab <schwab@redhat.com>
48886 * stdlib/longlong.h: Update from GCC.
48888 2011-05-23 Andreas Schwab <schwab@redhat.com>
48890 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48892 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48893 Add parameter name.
48894 (__sysconf): Pass it down.
48896 2011-05-22 Ulrich Drepper <drepper@gmail.com>
48899 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48901 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48902 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48903 add in in __libc_use_alloca calls. Adjust callers.
48904 (glob): Use malloc in some situations.
48906 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48907 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48910 2011-05-21 Ulrich Drepper <drepper@gmail.com>
48912 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48913 and CLOCK_BOOTTIME_ALARM.
48916 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48919 * string/_strerror.c (__strerror_r): Print negative errors as signed
48923 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48924 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48925 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48927 * configure.in: Fix typo in redirection and correct removal of test
48928 files in two cases.
48931 * locale/setlocale.c (new_composite_name): Fix test to check for
48932 identical name of all categories.
48935 * libio/filedoalloc.c (local_isatty): New function.
48936 (_IO_file_doallocate): Use local_isatty.
48937 * stdio-common/perror.c (perror): In case a new stream is used
48938 forward the stream error.
48939 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48942 2011-05-20 Ulrich Drepper <drepper@gmail.com>
48945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48947 * include/alloca.h (extend_alloca_account): Define.
48950 * posix/regex.h: Fix comments with documentation of user-accessible
48951 fields after compilation and describe correct free'ing of pattern
48952 after re_compile_pattern.
48953 Patch by Reuben Thomas <rrt@sc3d.org>.
48955 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
48957 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48958 and -mno-altivec to prevent the compiler from using Altivec and/or
48959 VSX instructions when the corresponding registers are not available.
48961 2011-05-19 Andreas Schwab <schwab@redhat.com>
48963 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48965 2011-05-19 Ulrich Drepper <drepper@gmail.com>
48967 * libio/freopen.c (freopen): Use __dup2, not dup2.
48968 * libio/freopen64.c (freopen64): Likewise.
48970 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
48973 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48974 * math/Makefile (tests): Add test-powl.
48975 (CFLAGS-test-powl.c): Define.
48976 * math/test-powl.c: New file.
48978 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
48980 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48982 2011-05-17 Ulrich Drepper <drepper@gmail.com>
48985 * iconvdata/gb18030.c: Update to GB18020-2005.
48987 2011-05-16 Ulrich Drepper <drepper@gmail.com>
48989 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48990 RE_SYNTAX_POSIX_AWK): Update to match recent development.
48991 Patch by Aharon Robbins <arnold@skeeve.com>.
48994 * stdlib/putenv.c (putenv): Don't always create copy of the variable
48998 * misc/pselect.c (__pselect): Handle timeout value errors hidden
48999 through underflows.
49002 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49003 point to strings before performing equality test for error_one_per_line
49007 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49010 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49011 (struct user_fpregs_struct): Avoid __uint*_t types.
49014 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49015 symbol info. Use it instead of calling _dl_addr locally.
49016 (lock_and_info): New function.
49017 (tr_freehook): Call lock_and_info and pass symbol info as additional
49018 parameter to tr_where.
49019 (tr_mallochook): Likewise.
49020 (tr_reallochook): Likewise.
49021 (tr_memalignhook): Likewise.
49023 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49024 used and couldn't be at all thread-safe.
49026 2011-05-15 Ulrich Drepper <drepper@gmail.com>
49028 * libio/freopen.c (freopen): Don't close old file descriptor
49029 before the new one is opened. Instead dup the new file descriptor
49030 to the old one after the new stream is created.
49031 * libio/freopen64.c (freopen64): Likewise.
49032 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49033 * libio/fileops.c (_IO_new_file_close_it): Handle new
49034 _IO_FLAGS2_NOCLOSE flag.
49035 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49036 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49037 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49038 _IO_FLAGS2_NOCLOSE flag.
49039 * include/unistd.h: Add hidden_proto for dup3.
49040 Define __have_dup3.
49041 * io/dup3.c: Define hidden symbol.
49042 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49045 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49046 when an incomplete long option is used.
49047 * posix/tst-getopt_long1.c: New file.
49048 * posix/Makefile (tests): Add tst-getopt_long1.
49051 * scripts/config.guess: Update from autoconf-2.68.
49052 * scripts/config.sub: Likewise.
49055 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49057 (has_cpuclock): ...this. New function.
49058 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49059 macro here based on has_cpuclock code.
49062 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49063 First byte (not low byte) is now always NUL.
49064 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49066 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49067 Use non-cancelable interfaces.
49070 * locale/iso-639.def: Add entry for Sorani.
49073 * include/stdlib.h: Move include protection to the right place.
49074 Define abort_msg_s. Declare __abort_msg with it.
49075 * stdlib/abort.c (__abort_msg): Adjust type.
49076 * assert/assert.c (__assert_fail_base): New function. Majority
49077 of code from __assert_fail. Allocate memory for __abort_msg with
49079 (__assert_fail): Now call __assert_fail_base.
49080 * assert/assert-perr.c: Remove bulk of implementation. Use
49081 __assert_fail_base.
49082 * include/assert.hL Declare __assert_fail_base.
49083 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49085 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49087 2011-05-14 Ulrich Drepper <drepper@gmail.com>
49091 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49092 until all modules are registered in the DTV.
49093 * elf/Makefile: Add rules to build and run tst-tls19.
49094 * elf/tst-tls19.c: New file.
49095 * elf/tst-tls19mod1.c: New file.
49096 * elf/tst-tls19mod2.c: New file.
49097 * elf/tst-tls19mod3.c: New file.
49098 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49101 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49105 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49106 two-byte sequence errors.
49107 * iconvdata/Makefile (tests): Add bug-iconv8.
49108 * iconvdata/bug-iconv8.c: New file.
49111 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49114 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49117 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49118 (dummy_getcfa): New function.
49119 (init): Get _Unwind_GetCFA address, use dummy if not found.
49120 (backtrace_helper): In recursion check, also check whether CFA changes.
49121 (__backtrace): Completely initialize arg.
49123 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49124 storing incomplete byte sequence in state object. Avoid testing for
49125 guaranteed too small input if we know there is enough data available.
49127 2011-05-11 Andreas Schwab <schwab@redhat.com>
49129 * Makeconfig (+link-pie): Indent.
49130 * Rules (binaries-pie): Define if $(have-fpie) and
49132 (binaries-shared): Also filter out $(binaries-pie).
49133 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49134 * nscd/Makefile (others-pie): Add nscd.
49135 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49136 ($(objpfx)nscd): Remove command override.
49137 * login/Makefile (others-pie): Add pt_chown.
49138 ($(objpfx)pt_chown): Remove command override.
49139 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49140 remove command overrides.
49142 2011-05-13 Ulrich Drepper <drepper@gmail.com>
49144 * libio/tst_putwc.c: Fix error messages.
49147 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49148 currently writing and seek to current position when not.
49149 * libio/Makefile (tests): Add bug-fclose1.
49150 * libio/bug-fclose1.c: New file.
49152 2011-05-12 Ulrich Drepper <drepper@gmail.com>
49155 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49156 don't set DF_1_NODELETE here.
49157 (do_lookup_x): When entering new entry test for copy relocation
49158 and if necessary set DF_1_NODELETE flag.
49159 * elf/tst-unique4.cc: New file.
49160 * elf/tst-unique4.h: New file.
49161 * elf/tst-unique4lib.cc: New file.
49162 * elf/Makefile: Add rules to build and run tst-unique4.
49163 Patch by Piotr Bury <pbury@goahead.com>.
49165 2011-05-11 Ulrich Drepper <drepper@gmail.com>
49168 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49171 * misc/mntent_r.c (addmntent): Flush the stream after the output
49174 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49175 (is_trusted_path_normalize): Skip initial colon. Append slash
49176 to empty buffer. Duplicate is_trusted_path code but allow
49177 constructed patch to be prefix.
49178 (is_dst): Allow $ORIGIN followed by /.
49179 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49180 Correct testing of result of is_trusted_path_normalize
49181 (decompose_rpath): Fix warning.
49183 2011-05-10 Ulrich Drepper <drepper@gmail.com>
49186 * grp/initgroups.c (internal_getgrouplist): When we found the service
49187 list through the initgroups entry in nsswitch.conf do not always
49188 continue on a successful lookup. Don't always use the
49189 __nss_group_database value if it is set.
49190 * nss/nsswitch.conf (initgroups): Change action for successful db
49191 lookup to continue for compatibility.
49193 2011-05-09 Ulrich Drepper <drepper@gmail.com>
49196 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49198 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49200 * iconvdata/tst-tables.sh: Likewise.
49201 * iconvdata/cp770.c: New file.
49202 * iconvdata/cp771.c: New file.
49203 * iconvdata/cp772.c: New file.
49204 * iconvdata/cp773.c: New file.
49205 * iconvdata/cp774.c: New file.
49206 * iconvdata/testdata/CP770: New file.
49207 * iconvdata/testdata/CP770..UTF8: New file.
49208 * iconvdata/testdata/CP771: New file.
49209 * iconvdata/testdata/CP771..UTF8: New file.
49210 * iconvdata/testdata/CP772: New file.
49211 * iconvdata/testdata/CP772..UTF8: New file.
49212 * iconvdata/testdata/CP773: New file.
49213 * iconvdata/testdata/CP773..UTF8: New file.
49214 * iconvdata/testdata/CP774: New file.
49215 * iconvdata/testdata/CP774..UTF8: New file.
49217 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49219 * iconvdata/gen-8bit-gap.sh: Likewise.
49220 * iconvdata/gen-8bit.sh: Likewise.
49222 * locale/iso-639.def: Add ary entry.
49225 * locale/C-translit.h.in: Add U20A1 transliteration.
49228 * locale/iso-639.def: Add wae entry.
49229 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49232 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49236 * locale/C-translit.h.in: Add entry for U20B9.
49237 Patch by pravin.d.s@gmail.com.
49239 2011-05-08 Ulrich Drepper <drepper@gmail.com>
49242 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49243 ENAMETOOLONG use generic getcwd.
49244 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49245 in rtld. Use *stat64.
49246 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49247 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49248 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49249 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49250 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49251 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49252 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49253 __fstatat64 macros.
49254 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49255 * dirent/rewinddir.c: Add libc_hidden_def.
49256 * sysdeps/mach/hurd/rewinddir.c: Likewise.
49257 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
49259 * include/dirent.h (__alloc_dir): Add flags parameter.
49260 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49261 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49263 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49264 from fdopendir if O_CLOEXEC is already set.
49266 2011-03-15 Alan Modra <amodra@gmail.com>
49268 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49269 l_tls_firstbyte_offset non-zero. Save padding offset in
49270 l_tls_firstbyte_offset for later use.
49271 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49272 freeing static tls block.
49274 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49276 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49277 where #ifdef was intended. The intent is to prevent ARG_MAX from
49278 being defined by the kernel headers.
49280 2011-05-07 Ulrich Drepper <drepper@gmail.com>
49283 * resolv/resolv.h: Define RES_NOTLDQUERY.
49284 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49285 no-tld-query and set RES_NOTLDQUERY.
49286 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49287 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49288 modern BIND to search name as TLD unless forbidden.
49290 2011-05-07 Petr Baudis <pasky@suse.cz>
49291 Ulrich Drepper <drepper@gmail.com>
49294 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49295 (is_trusted_path): ...to here.
49296 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49297 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49298 using is_trusted_path_normalize() in setuid scripts.
49300 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49302 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49303 __BEGIN/__END_DECLS.
49305 2011-05-06 Ulrich Drepper <drepper@gmail.com>
49307 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49308 NSS_STATUS_NOTFOUND if no record was found.
49310 2011-05-05 Andreas Schwab <schwab@redhat.com>
49312 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49313 (headers-not-in-tirpc): Remove rpc/netdb.h
49314 * resolv/netdb.h: Revert last change.
49316 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49318 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49319 circular dependency between libgcc.a and libc.a.
49321 2011-05-05 Andreas Schwab <schwab@redhat.com>
49323 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49324 * nis/Makefile: Don't install rpcsvc/*.
49325 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49326 instead of <rpc/types.h>.
49327 (MAXHOSTNAMELEN): Define.
49329 2011-05-03 Andreas Schwab <schwab@redhat.com>
49331 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49333 2011-04-28 Maciej Babinski <mbabinski@google.com>
49336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49337 gethostbyname4_r when IPv6 results are possible.
49339 2011-05-02 Ulrich Drepper <drepper@gmail.com>
49342 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49343 _PC_PIPE_BUF handling.
49345 2011-04-30 Bruno Haible <bruno@clisp.org>
49348 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49349 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49351 * inet/getnameinfo.c (getnameinfo): Likewise.
49353 2011-04-29 Ulrich Drepper <drepper@gmail.com>
49355 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49356 to groups setting in database lookup.
49357 * nss/nsswitch.conf: Add initgroups entry.
49359 2011-04-22 Ulrich Drepper <drepper@gmail.com>
49362 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49364 Patch by Eric Blake <eblake@redhat.com>.
49366 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49368 * sunrpc/Makefile (need-export-routines): Add svc_run.
49369 (routines): Remove svc_run.
49370 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49371 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49372 * sunrpc/svc_run.c (svc_run): Likewise.
49373 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49375 2011-04-21 Ulrich Drepper <drepper@gmail.com>
49377 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49378 problem in reallocation in last patch.
49380 2011-04-20 Ulrich Drepper <drepper@gmail.com>
49382 * sunrpc/Makefile: Move inclusion of Rules.
49384 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49386 * nss/nss_files/files-initgroups.c: New file.
49387 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49388 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49389 _nss_files_initgroups_dyn.
49391 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49393 * elf/elf.h (R_ARM_IRELATIVE): Define.
49395 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49397 * po/ru.po: Update from translation team.
49399 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49401 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49404 2011-02-06 Mike Frysinger <vapier@gentoo.org>
49407 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49408 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49409 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49410 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49411 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49413 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49415 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49417 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49418 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49421 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49424 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49426 * stdlib/bug-getcontext.c: New file.
49427 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49429 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49431 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49432 instructions into .machine "z9-109".
49433 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49434 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49436 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49438 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49439 between environment variables and auxiliary vector.
49441 2011-04-16 Ulrich Drepper <drepper@gmail.com>
49443 * Makefile: Add rules to build linkobj/libc.so.
49444 * include/libc-symbols.h: Define libc_hidden_nolink.
49445 * include/rpc/auth.h: Mark functions which are to be hidden.
49446 * include/rpc/auth_des.h: Likewise.
49447 * include/rpc/auth_unix.h: Likewise.
49448 * include/rpc/clnt.h: Likewise.
49449 * include/rpc/des_crypt.h: Likewise.
49450 * include/rpc/key_prot.h: Likewise.
49451 * include/rpc/pmap_clnt.h: Likewise.
49452 * include/rpc/pmap_prot.h: Likewise.
49453 * include/rpc/pmap_rmt.h: Likewise.
49454 * include/rpc/rpc_msg.h: Likewise.
49455 * include/rpc/svc.h: Likewise.
49456 * include/rpc/svc_auth.h: Likewise.
49457 * include/rpc/xdr.h: Likewise.
49458 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49459 * nss/Makefile: Likewise.
49460 * sunrpc/Makefile: Don't install headers. Build library with normal
49461 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49462 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49463 for the compat linking library. Remove use of INTDEF/INTUSE.
49464 * sunrpc/auth_none.c: Likewise.
49465 * sunrpc/auth_unix.c: Likewise.
49466 * sunrpc/authdes_prot.c: Likewise.
49467 * sunrpc/authuxprot.c: Likewise.
49468 * sunrpc/clnt_gen.c: Likewise.
49469 * sunrpc/clnt_perr.c: Likewise.
49470 * sunrpc/clnt_raw.c: Likewise.
49471 * sunrpc/clnt_simp.c: Likewise.
49472 * sunrpc/clnt_tcp.c: Likewise.
49473 * sunrpc/clnt_udp.c: Likewise.
49474 * sunrpc/clnt_unix.c: Likewise.
49475 * sunrpc/des_crypt.c: Likewise.
49476 * sunrpc/des_soft.c: Likewise.
49477 * sunrpc/get_myaddr.c: Likewise.
49478 * sunrpc/key_call.c: Likewise.
49479 * sunrpc/key_prot.c: Likewise.
49480 * sunrpc/netname.c: Likewise.
49481 * sunrpc/pm_getmaps.c: Likewise.
49482 * sunrpc/pm_getport.c: Likewise.
49483 * sunrpc/pmap_clnt.c: Likewise.
49484 * sunrpc/pmap_prot.c: Likewise.
49485 * sunrpc/pmap_prot2.c: Likewise.
49486 * sunrpc/pmap_rmt.c: Likewise.
49487 * sunrpc/publickey.c: Likewise.
49488 * sunrpc/rpc_cmsg.c: Likewise.
49489 * sunrpc/rpc_common.c: Likewise.
49490 * sunrpc/rpc_dtable.c: Likewise.
49491 * sunrpc/rpc_prot.c: Likewise.
49492 * sunrpc/rpc_thread.c: Likewise.
49493 * sunrpc/rtime.c: Likewise.
49494 * sunrpc/svc.c: Likewise.
49495 * sunrpc/svc_auth.c: Likewise.
49496 * sunrpc/svc_authux.c: Likewise.
49497 * sunrpc/svc_raw.c: Likewise.
49498 * sunrpc/svc_run.c: Likewise.
49499 * sunrpc/svc_simple.c: Likewise.
49500 * sunrpc/svc_tcp.c: Likewise.
49501 * sunrpc/svc_udp.c: Likewise.
49502 * sunrpc/svc_unix.c: Likewise.
49503 * sunrpc/svcauth_des.c: Likewise.
49504 * sunrpc/xcrypt.c: Likewise.
49505 * sunrpc/xdr.c: Likewise.
49506 * sunrpc/xdr_array.c: Likewise.
49507 * sunrpc/xdr_float.c: Likewise.
49508 * sunrpc/xdr_intXX_t.c: Likewise.
49509 * sunrpc/xdr_mem.c: Likewise.
49510 * sunrpc/xdr_rec.c: Likewise.
49511 * sunrpc/xdr_ref.c: Likewise.
49512 * sunrpc/xdr_sizeof.c: Likewise.
49513 * sunrpc/xdr_stdio.c: Likewise.
49515 2011-04-10 Ulrich Drepper <drepper@gmail.com>
49518 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49519 * sysdeps/ia64/dl-tls.h: Likewise.
49520 * sysdeps/powerpc/dl-tls.h: Likewise.
49521 * sysdeps/s390/dl-tls.h: Likewise.
49522 * sysdeps/sh/dl-tls.h: Likewise.
49523 * sysdeps/sparc/dl-tls.h: Likewise.
49524 * sysdeps/x86_64/dl-tls.h: Likewise.
49525 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49527 2011-03-14 Andreas Schwab <schwab@redhat.com>
49529 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49530 rpath element also skip the following colon.
49531 (expand_dynamic_string_token): Add is_path parameter and pass
49532 down to DL_DST_REQUIRED and _dl_dst_substitute.
49533 (decompose_rpath): Call expand_dynamic_string_token with
49534 non-zero is_path. Ignore empty rpaths.
49535 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49538 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49543 2011-04-09 Ulrich Drepper <drepper@gmail.com>
49546 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49547 Patch by Filipe David Manana <fdmanana@apache.org>.
49549 2011-04-07 Andreas Schwab <schwab@redhat.com>
49551 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49552 Maintain aligned stack.
49553 (CHECK_RSP): Remove unused macro.
49555 2011-04-03 Ulrich Drepper <drepper@gmail.com>
49557 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49558 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49560 2011-04-02 Ulrich Drepper <drepper@gmail.com>
49562 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49564 * include/features.h: Mention __USE_XOPEN2K8 in comment.
49566 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49569 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49570 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49571 * sysdeps/x86_64/memmove.c: New file.
49572 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49573 (memcpy): Renamed to ...
49574 (__new_memcpy): This.
49575 (memcpy): Provide GLIBC_2_14 memcpy.
49576 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49577 (memcpy): Provide GLIBC_2_2_5 memcpy.
49579 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49582 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49584 2011-03-30 Andreas Schwab <schwab@redhat.com>
49586 * misc/syncfs.c: New file.
49587 * misc/Makefile (routines): Add syncfs.
49588 * posix/unistd.h: Declare syncfs.
49589 * sysdeps/unix/syscalls.list: Add syncfs.
49591 2011-04-01 Andreas Schwab <schwab@redhat.com>
49593 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49595 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49596 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49598 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49600 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49601 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49603 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49606 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49607 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49611 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49613 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49614 sync_file_range.c with -fexceptions.
49615 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49616 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49617 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49618 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49619 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49620 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49622 sync_file_range as cancellation point
49623 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49624 now a wrapper around __call_sync_file_range with cancellation handling.
49625 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49626 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49627 function name to __call_sync_file_range.
49628 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49629 Add call_sync_file_range.
49631 2011-04-01 Andreas Schwab <schwab@redhat.com>
49633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49636 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49638 * iconv/iconv.h: Fix typo in comment.
49639 * io/fcntl.h: Likewise.
49640 * libio/stdio.h: Likewise.
49641 * posix/spawn.h: Likewise.
49642 * posix/unistd.h: Likewise.
49643 * stdlib/stdlib.h: Likewise.
49644 * time/time.h: Likewise.
49645 * wcsmbs/wchar.h: Likewise.
49647 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49648 open_by_handle): Add.
49649 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49650 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49651 Augment a few comments.
49652 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49654 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49657 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49660 * io/fcntl.h (AT_EMPTY_PATH): Define.
49662 2011-03-30 Ulrich Drepper <drepper@gmail.com>
49664 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49665 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49666 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49668 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
49669 * Versions.def: Add GLIBC_2.14.
49670 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49673 2011-03-22 Ulrich Drepper <drepper@gmail.com>
49675 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49677 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49679 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49682 * string/test-strncmp.c (do_page_test): New function.
49683 (check2): Likewise.
49684 (test_main): Call check2.
49685 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49687 2011-03-20 Ulrich Drepper <drepper@gmail.com>
49690 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49691 Handle cache information in CPU leaf 4.
49692 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49694 2011-03-18 Ulrich Drepper <drepper@gmail.com>
49697 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49698 character representation.
49699 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49701 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49703 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49704 END(__isnan) to END(__isnanf) to match function entry point/label
49705 EALIGN(__isnanf,...).
49707 2011-03-10 Jakub Jelinek <jakub@redhat.com>
49709 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49711 2011-03-10 Ulrich Drepper <drepper@gmail.com>
49714 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49715 copy from the symbol referenced in the relocation to initialize the
49717 Patch by Piotr Bury <pbury@goahead.com>.
49718 * elf/Makefile: Add rules to build and tst-unique3.
49719 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49720 * elf/tst-unique3.cc: New file.
49721 * elf/tst-unique3.h: New file.
49722 * elf/tst-unique3lib.cc: New file.
49723 * elf/tst-unique3lib2.cc: New file.
49725 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49727 2011-03-10 Mike Frysinger <vapier@gentoo.org>
49729 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49730 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
49733 2011-03-06 Ulrich Drepper <drepper@gmail.com>
49735 * elf/dl-load.c (_dl_map_object): If we are looking for the first
49736 to-be-loaded object along a path to loader is ld.so.
49738 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49739 Ulrich Drepper <drepper@gmail.com>
49741 * sysdeps/x86_64/memset.S: After aligning destination, code
49742 branches to different locations depending on the value of
49743 misalignment, when multiarch is enabled. Fix this.
49745 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
49747 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49748 Set _x86_64_preferred_memory_instruction for AMD processsors.
49749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49750 Set bit_Prefer_SSE_for_memop for AMD processors.
49752 2011-03-04 Ulrich Drepper <drepper@gmail.com>
49754 * libio/fmemopen.c (fmemopen): Optimize a bit.
49756 2011-03-03 Andreas Schwab <schwab@redhat.com>
49758 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49760 2011-03-03 Roland McGrath <roland@redhat.com>
49762 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49764 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
49766 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
49767 __bzero_ultra1 instead of __memset_ultra1.
49769 2011-02-23 Andreas Schwab <schwab@redhat.com>
49770 Ulrich Drepper <drepper@gmail.com>
49773 * include/link.h (struct link_map): Add l_orig_initfini.
49774 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49775 returning unsuccessfully.
49776 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49777 close of a file loaded at startup, restore the original l_initfini
49779 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49780 list, store the pointer.
49781 * elf/Makefile ($(objpfx)noload-mem): New rule.
49782 (noload-ENV): Define.
49783 (tests): Add $(objpfx)noload-mem.
49784 * elf/noload.c: Include <memcheck.h>.
49785 (main): Call mtrace. Close all opened handles.
49787 2011-02-17 Andreas Schwab <schwab@redhat.com>
49790 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49791 dependencies are missing.
49793 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
49795 Fix __if_freereq crash: Unlike the generic version which uses free,
49797 * sysdeps/mach/hurd/ifreq.h: New file.
49799 2011-01-27 Petr Baudis <pasky@suse.cz>
49800 Ulrich Drepper <drepper@gmail.com>
49803 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49804 to extend_alloca().
49805 * stdio-common/bug23.c: New file.
49806 * stdio-common/Makefile (tests): Add bug23.
49808 2010-09-28 Andreas Schwab <schwab@redhat.com>
49809 Ulrich Drepper <drepper@gmail.com>
49812 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49813 before performing relro protection. At old place add assertion
49814 to make sure nothing changed.
49816 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
49817 Glauber de Oliveira Costa <glommer@gmail.com>
49819 * elf/elf.h: Add new ARM TLS relocs.
49821 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
49823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49824 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49826 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
49828 * sysdeps/wordsize-64/tst-writev.c: New file.
49830 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
49832 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49833 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49834 insns in _dl_start to prevent a TOC reference before relocs are
49837 2011-02-15 Ulrich Drepper <drepper@gmail.com>
49840 * Makeconfig: Remove RANLIB definition.
49841 * Makerules: Don't use RANLIB.
49842 * aclocal.m4: Remove ranlib test.
49843 * configure.in: No need to check for ranlib.
49844 * elf/rtld-Rules: Don't use RANLIB.
49846 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
49848 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49850 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49851 inclusion protection macro.
49853 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49854 SIGRTMIN and SIGRTMAX and print information in that case only when
49855 SIGRTMIN is defined.
49857 2011-02-11 Jakub Jelinek <jakub@redhat.com>
49859 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49860 arginfo fn returning -1.
49862 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49863 and thousands string is zero terminated.
49865 2011-02-03 Andreas Schwab <schwab@redhat.com>
49867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49868 sysdeps/unix/sysv/linux/bits/socket.h.
49870 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
49872 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49873 (__CPU_COUNT): Remove old macros.
49874 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49875 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49876 (__CPU_ALLOC, __CPU_FREE): Add macros.
49877 (__sched_cpualloc, __sched_cpufree): Add declarations.
49879 2011-02-05 Ulrich Drepper <drepper@gmail.com>
49881 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49882 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49883 * nscd/aicache.c (addhstaiX): Return timeout of added value.
49884 (readdhstai): Return value of addhstaiX call.
49885 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49886 (addgrbyX): Return value returned by cache_addgr.
49887 (readdgrbyname): Return value returned by addgrbyX.
49888 (readdgrbygid): Likewise.
49889 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49890 (addpwbyX): Return value returned by cache_addpw.
49891 (readdpwbyname): Return value returned by addhstbyX.
49892 (readdpwbyuid): Likewise.
49893 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49894 (addservbyX): Return value returned by cache_addserv.
49895 (readdservbyname): Return value returned by addservbyX:
49896 (readdservbyport): Likewise.
49897 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49898 (addhstbyX): Return value returned by cache_addhst.
49899 (readdhstbyname): Return value returned by addhstbyX.
49900 (readdhstbyaddr): Likewise.
49901 (readdhstbynamev6): Likewise.
49902 (readdhstbyaddrv6): Likewise.
49903 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49904 (readdinitgroups): Return value returned by addinitgroupsX.
49905 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49906 (prune_cache): Keep track of timeout value of re-added entries.
49907 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49908 * nscd/nscd.h: Adjust prototypes of readd* functions.
49910 2011-02-04 Roland McGrath <roland@redhat.com>
49912 * nis/nis_server.c (nis_servstate): Use the right name for 0.
49913 (nis_stats): Likewise.
49914 * nis/nis_modify.c (nis_modify): Likewise.
49915 * nis/nis_remove.c (nis_remove): Likewise.
49916 * nis/nis_add.c (nis_add): Likewise.
49918 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49920 * posix/fnmatch_loop.c: Add some consts.
49922 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49924 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
49927 * config.make.in (config-cflags-novzeroupper): Define.
49928 * configure.in: Substitute libc_cv_cc_novzeroupper.
49929 * elf/Makefile (AVX-CFLAGS): Define.
49930 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49931 (CFLAGS-tst-auditmod4a.c): Likewise.
49932 (CFLAGS-tst-auditmod4b.c): Likewise.
49933 (CFLAGS-tst-auditmod6b.c): Likewise.
49934 (CFLAGS-tst-auditmod6c.c): Likewise.
49935 (CFLAGS-tst-auditmod7b.c): Likewise.
49936 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49938 2011-02-02 Ulrich Drepper <drepper@gmail.com>
49940 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49941 function to the callback.
49942 Patch partly by Jiri Olsa <jolsa@redhat.com>.
49944 2011-02-02 Andreas Schwab <schwab@redhat.com>
49946 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49949 2011-01-19 Ulrich Drepper <drepper@gmail.com>
49952 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49954 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49956 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49959 * elf/Makefile: Add rules to build and run new test.
49960 * elf/tst-initorder.c: New file.
49961 * elf/tst-initorder.exp: New file.
49962 * elf/tst-initordera1.c: New file.
49963 * elf/tst-initordera2.c: New file.
49964 * elf/tst-initordera3.c: New file.
49965 * elf/tst-initordera4.c: New file.
49966 * elf/tst-initorderb1.c: New file.
49967 * elf/tst-initorderb2.c: New file.
49968 * elf/tst-order-a1.c: New file.
49969 * elf/tst-order-a2.c: New file.
49970 * elf/tst-order-a3.c: New file.
49971 * elf/tst-order-a4.c: New file.
49972 * elf/tst-order-b1.c: New file.
49973 * elf/tst-order-b2.c: New file.
49974 * elf/tst-order-main.c: New file.
49975 New test case by George Gensure <werkt0@gmail.com>.
49977 2010-10-01 Andreas Schwab <schwab@redhat.com>
49979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49980 decoding ACE if AI_CANONIDN.
49982 2011-01-18 Ulrich Drepper <drepper@gmail.com>
49984 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49986 2011-01-17 Ulrich Drepper <drepper@gmail.com>
49988 * version.h (RELEASE): Bump for 2.13 release.
49989 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49991 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49993 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49995 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49996 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49997 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49998 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49999 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50000 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50002 * posix/getconf.c: Update copyright year.
50003 * catgets/gencat.c: Likewise.
50004 * csu/version.c: Likewise.
50005 * debug/catchsegv.sh: Likewise.
50006 * debug/xtrace.sh: Likewise.
50007 * elf/ldconfig.c: Likewise.
50008 * elf/ldd.bash.in: Likewise.
50009 * elf/sprof.c (print_version): Likewise.
50010 * iconv/iconv_prog.c: Likewise.
50011 * iconv/iconvconfig.c: Likewise.
50012 * locale/programs/locale.c: Likewise.
50013 * locale/programs/localedef.c: Likewise.
50014 * malloc/memusage.sh: Likewise.
50015 * malloc/mtrace.pl: Likewise.
50016 * nscd/nscd.c (print_version): Likewise.
50017 * nss/getent.c: Likewise.
50019 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50020 PF_CAIF, and PF_ALG.
50021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50023 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50025 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50026 (modules-names): Use them.
50027 (ifunc-test-modules, ifunc-pie-tests): Define.
50028 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50029 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50030 (test-extras): Likewise.
50031 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50032 $(compile-command.c).
50033 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50034 (all-built-dso): Define.
50035 (check-textrel.out, check-execstack.out): Depend on it.
50037 * configure.in: Don't override --enable-multi-arch.
50039 2011-01-15 Ulrich Drepper <drepper@gmail.com>
50042 * nscd/hstcache.c (tryagain): Define.
50043 (cache_addhst): Return tryagain not notfound for temporary errors.
50044 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50047 2011-01-14 Ulrich Drepper <drepper@gmail.com>
50050 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50051 to make the syscall.
50052 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50055 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50056 and fall back to matching as normal character if the string ends before
50057 the matching ']' is found. This is what POSIX requires.
50058 * posix/testfnm.c: Adjust test result.
50059 * posix/globtest.sh: Adjust test result. Add new test.
50060 * posix/tst-fnmatch.input: Likewise.
50061 * posix/tst-fnmatch2.c: Add new test.
50063 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50065 * elf/Makefile (check-execstack): Revert last change. Depend on
50067 (check-execstack.h): New target.
50068 (generated): Add check-execstack.h.
50069 * elf/check-execstack.c: Include "check-execstack.h".
50070 (main): Revert last change.
50071 (handle_file): Return zero if GNU_STACK is absent and
50072 DEFAULT_STACK_PERMS doesn't include PF_X.
50074 2011-01-13 Ulrich Drepper <drepper@gmail.com>
50076 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50077 in child fails because the descriptor is already closed.
50078 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50079 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50080 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50083 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50087 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50088 temporary buffer used to handle multi lookups locally.
50089 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50091 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50093 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50096 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50098 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50099 alignment for SSE2.
50101 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50104 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50105 characters. When rounding increased number of integer digits recompute
50107 * stdio-common/tst-grouping.c: New file.
50108 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50110 2011-01-09 Ulrich Drepper <drepper@gmail.com>
50112 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50113 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50115 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50117 * bits/select.h: Likewise.
50119 2011-01-08 Ulrich Drepper <drepper@gmail.com>
50121 * po/ja.po: Update from translation team.
50123 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
50126 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50127 implementation just like for lxstat, fxstatat, et al.
50129 2010-12-27 Jim Meyering <meyering@redhat.com>
50132 * posix/regexec.c (build_trtable): Return failure indication upon
50133 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50135 2010-12-25 Ulrich Drepper <drepper@gmail.com>
50138 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50139 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50140 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50141 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50144 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50147 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50148 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50150 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50152 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50153 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50154 script has SORT_BY_INIT_PRIORITY.
50155 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50156 NO_CTORS_DTORS_SECTIONS is defined.
50157 * elf/soinit.c: Likewise.
50158 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50159 NO_CTORS_DTORS_SECTIONS is defined.
50160 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50161 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50162 * sysdeps/sh/init-first.c: Likewise.
50163 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50165 2010-12-24 Ulrich Drepper <drepper@gmail.com>
50167 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50168 always use the slow path.
50170 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50172 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50173 similar rule which adds the sysdep directories to the header search in
50174 order to pick up the correct platform stackinfo.h.
50175 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50176 perform test if it is, otherwise return successfully without testing.
50177 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50178 DEFAULT_STACK_PERMS define in stackinfo.h.
50179 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50180 defined in stackinfo.h.
50181 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50182 DEFAULT_STACK_PERMS defined in stackinfo.h.
50183 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50184 * sysdeps/ia64/stackinfo.h: Likewise.
50185 * sysdeps/s390/stackinfo.h: Likewise.
50186 * sysdeps/sh/stackinfo.h: Likewise.
50187 * sysdeps/sparc/stackinfo.h: Likewise.
50188 * sysdeps/x86_64/stackinfo.h: Likewise.
50189 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50190 PF_X for powerpc64. Retain PF_X for powerpc32.
50192 2010-12-19 Ulrich Drepper <drepper@gmail.com>
50194 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50196 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50197 GETDENTS_64BIT_ALIGNED.
50199 2010-12-14 Ulrich Drepper <dreper@gmail.com>
50201 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50203 2010-12-10 Andreas Schwab <schwab@redhat.com>
50205 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50208 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50209 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50211 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50212 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50214 2010-12-09 Ulrich Drepper <drepper@gmail.com>
50217 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50220 2010-12-09 Jakub Jelinek <jakub@redhat.com>
50222 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50224 2010-12-03 Ulrich Drepper <drepper@gmail.com>
50226 * po/it.po: Update from translation team.
50228 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50230 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50233 2010-11-30 Ulrich Drepper <drepper@gmail.com>
50235 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50237 2010-11-24 Andreas Schwab <schwab@redhat.com>
50239 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50241 (gaih_getanswer_slice): Likewise.
50243 2010-10-20 Jakub Jelinek <jakub@redhat.com>
50245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50247 2010-05-31 Petr Baudis <pasky@suse.cz>
50250 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50251 silently even in the chroot mode.
50253 2010-11-22 Ulrich Drepper <drepper@gmail.com>
50255 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50256 last patch a bit. Pretty printing
50258 2010-05-31 Petr Baudis <pasky@suse.cz>
50261 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50262 initialization of skip_initgroups_dyn.
50264 2010-11-19 Ulrich Drepper <drepper@gmail.com>
50266 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50269 2010-11-16 Ulrich Drepper <drepper@gmail.com>
50271 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50273 2010-11-11 Andreas Schwab <schwab@redhat.com>
50275 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50276 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50277 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50278 ($(objpfx)tst-fnmatch-mem): New rule.
50279 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50280 * posix/tst-fnmatch.c (main): Call mtrace.
50282 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50285 Support Intel processor model 6 and model 0x2c.
50287 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
50289 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50292 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50295 * string/test-strncasecmp.c (check_result): New function.
50296 (do_one_test): Use it.
50297 (check1): New function.
50298 (test_main): Use it.
50299 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50300 Support strcasecmp and strncasecmp.
50302 2010-11-08 Ulrich Drepper <drepper@gmail.com>
50305 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50306 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50308 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50310 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50314 * sysdeps/x86_64/multiarch/bzero.S: New file.
50315 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50316 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50317 * sysdeps/x86_64/multiarch/memset.S: New file.
50318 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50320 Set bit_Prefer_SSE_for_memop for Intel processors.
50321 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50323 (index_Prefer_SSE_for_memop): Define.
50324 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50326 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
50328 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50329 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50331 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50334 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50335 (__x86_64_raw_data_cache_size_half): Likewise.
50336 (__x86_64_raw_shared_cache_size): Likewise.
50337 (__x86_64_raw_shared_cache_size_half): Likewise.
50339 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50340 (__x86_64_raw_data_cache_size_half): Likewise.
50341 (__x86_64_raw_shared_cache_size): Likewise.
50342 (__x86_64_raw_shared_cache_size_half): Likewise.
50343 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50344 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50345 and __x86_64_raw_shared_cache_size_half. Round
50346 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50347 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50348 to multiple of 256 bytes.
50350 2010-11-03 Ulrich Drepper <drepper@gmail.com>
50353 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50354 of inacessible symlinks. Verify result of symlink before returning it.
50355 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50356 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50358 2010-10-28 Erich Ritz <erichritz@gmail.com>
50360 * math/math.h (isinf): Fix typo in comment.
50362 2010-11-01 Ulrich Drepper <drepper@gmail.com>
50364 * po/da.po: Update from translation team.
50366 2010-10-26 Ulrich Drepper <drepper@gmail.com>
50368 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50369 is added to the list.
50371 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50372 Ulrich Drepper <drepper@gmail.com>
50374 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50375 the global list here. Move code to...
50376 (_dl_add_to_namespace_list): ...here. New function.
50377 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50378 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50379 * elf/dl-load.c (lose): Don't remove the element from the list.
50380 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50381 (_dl_map_object): Likewise.
50383 2010-10-25 Ulrich Drepper <drepper@gmail.com>
50386 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50387 into all bytes of SSE register.
50388 Patch by Richard Li <richardpku@gmail.com>.
50390 2010-10-24 Ulrich Drepper <drepper@gmail.com>
50393 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50396 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50398 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50399 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50400 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50401 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50406 2010-10-22 Andreas Schwab <schwab@redhat.com>
50408 * include/dlfcn.h (__RTLD_SECURE): Define.
50409 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50410 mode & __RTLD_SECURE instead.
50411 (open_path): Rename preloaded parameter to secure.
50412 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50413 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50414 * elf/dl-deps.c (openaux): Likewise.
50415 * elf/rtld.c (struct map_args): Remove is_preloaded.
50416 (map_doit): Don't use it.
50417 (dl_main): Likewise.
50418 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50419 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50421 2010-09-09 Andreas Schwab <schwab@redhat.com>
50423 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50424 (sysd-rules-targets): Remove duplicates.
50425 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50426 rtld-%.$o dependency.
50428 2010-10-18 Andreas Schwab <schwab@redhat.com>
50430 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50431 _dl_map_object do it.
50433 2010-10-19 Ulrich Drepper <drepper@gmail.com>
50435 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50436 fast fma builtins, define the macros in the C99 standard.
50437 (FP_FAST_FMAF): Likewise.
50438 (FP_FAST_FMAL): Likewise.
50439 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50441 * bits/mathdef.h: Update copyright year.
50442 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50444 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50446 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50447 builtins, define the macros in the C99 standard.
50448 (FP_FAST_FMAF): Likewise.
50449 (FP_FAST_FMAL): Likewise.
50450 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50452 (FP_FAST_FMAF): Likewise.
50454 2010-10-15 Jakub Jelinek <jakub@redhat.com>
50457 * math/libm-test.inc (fma_test): Some new testcases.
50458 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50459 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50460 y and infinite z. Do multiplication by C already in long double.
50461 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50463 y and infinite z. Do bitwise or of inexact bit into u.d.
50464 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50465 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50466 * sysdeps/i386/fpu/s_fma.S: Removed.
50467 * sysdeps/i386/fpu/s_fmal.S: Removed.
50469 2010-10-16 Jakub Jelinek <jakub@redhat.com>
50472 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50474 computation is not scheduled after fetestexcept. Fix value
50475 of minimum denormal long double.
50477 2010-10-14 Jakub Jelinek <jakub@redhat.com>
50480 * math/libm-test.inc (fma_test): Add some more tests.
50481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50484 2010-10-15 Andreas Schwab <schwab@redhat.com>
50486 * scripts/data/localplt-s390-linux-gnu.data: New file.
50487 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50489 2010-10-13 Jakub Jelinek <jakub@redhat.com>
50492 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50493 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50495 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50497 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50499 if one of x and y is very large and the other is subnormal.
50500 * sysdeps/s390/fpu/s_fmaf.c: New file.
50501 * sysdeps/s390/fpu/s_fma.c: New file.
50502 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50503 * sysdeps/powerpc/fpu/s_fma.S: New file.
50504 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50505 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50506 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50508 2010-10-12 Jakub Jelinek <jakub@redhat.com>
50511 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50513 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50514 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50515 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50516 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50517 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50518 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50519 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50521 2010-10-12 Ulrich Drepper <drepper@redhat.com>
50524 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50525 * posix/bug-regex31.input: Add test case.
50527 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50529 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50530 * posix/bug-regex31.input: New file.
50533 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50534 (parse_sub_exp): Fix last change, use postorder.
50536 * posix/bug-regex31.c: New file.
50537 * posix/Makefile: Add rules to build and run bug-regex31.
50539 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50542 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50545 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50546 to have entries in sys_siglist.
50549 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50552 2010-10-07 Jakub Jelinek <jakub@redhat.com>
50555 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50556 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50557 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50558 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50559 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50560 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50561 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50562 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50563 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50564 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50565 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50566 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50567 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50568 * math/ftestexcept.c (fetestexcept): Likewise.
50569 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50570 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50571 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50572 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50573 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50574 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50575 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50577 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50580 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50583 2010-10-06 Ulrich Drepper <drepper@gmail.com>
50585 * string/bug-strstr1.c: New file.
50586 * string/Makefile: Add rules to build and run bug-strstr1.
50588 2010-10-05 Eric Blake <eblake@redhat.com>
50591 * string/str-two-way.h (two_way_long_needle): Always clear memory
50592 when skipping input due to the shift table.
50594 2010-10-03 Ulrich Drepper <drepper@gmail.com>
50597 * malloc/mcheck.c: Handle large requests.
50600 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50601 for strncmp and strncasecmp.
50602 * string/stratcliff.c: Add tests for strcmp and strncmp.
50603 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50605 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50607 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50610 2010-09-30 Andreas Jaeger <aj@suse.de>
50612 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50613 (CGROUP_SUPER_MAGIC): Define.
50614 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50615 Handle btrfs and cgroup file systems.
50616 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50619 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
50621 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50622 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50624 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50627 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50628 trying to locate the ELF header.
50630 2010-09-27 Andreas Schwab <schwab@redhat.com>
50633 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50634 Mask out sign-bit copies when constructing f_fsid.
50636 2010-09-24 Petr Baudis <pasky@suse.cz>
50638 * debug/stack_chk_fail_local.c: Add missing licence exception.
50639 * debug/warning-nop.c: Likewise.
50641 2010-09-15 Joseph Myers <joseph@codesourcery.com>
50643 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50644 implementing getdents64 using getdents syscall, set d_type if
50645 __ASSUME_GETDENTS32_D_TYPE.
50647 2010-09-16 Andreas Schwab <schwab@redhat.com>
50649 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50650 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50652 2010-09-21 Ulrich Drepper <drepper@redhat.com>
50655 * posix/unistd.h: Undo change of feature selection for ftruncate from
50658 2010-09-20 Ulrich Drepper <drepper@redhat.com>
50660 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50663 2010-09-20 Andreas Schwab <schwab@redhat.com>
50665 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50667 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50669 2010-09-14 Andreas Schwab <schwab@redhat.com>
50671 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50672 variables after CHECK_SP call.
50673 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50675 2010-09-13 Andreas Schwab <schwab@redhat.com>
50676 Ulrich Drepper <drepper@redhat.com>
50678 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50679 re-relocationg ld.so.
50680 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50681 _dl_init_paths call.
50682 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50685 2010-09-14 Ulrich Drepper <drepper@redhat.com>
50687 * resolv/res_init.c (__res_vinit): Count the default server we added.
50689 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50690 Ulrich Drepper <drepper@redhat.com>
50693 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50694 (____longjmp_chk): Use %ebx for saving value across system call.
50697 2010-09-06 Andreas Schwab <schwab@redhat.com>
50699 * manual/Makefile: Don't mix pattern rules with normal rules.
50701 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50703 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50705 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50706 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50707 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50708 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50712 2010-09-04 Ulrich Drepper <drepper@redhat.com>
50715 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50716 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50718 2010-09-02 Ulrich Drepper <drepper@redhat.com>
50720 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50721 * sysdeps/x86_64/addmul_1.S: Likewise.
50722 * sysdeps/x86_64/lshift.S: Likewise.
50723 * sysdeps/x86_64/mul_1.S: Likewise.
50724 * sysdeps/x86_64/rshift.S: Likewise.
50725 * sysdeps/x86_64/sub_n.S: Likewise.
50726 * sysdeps/x86_64/submul_1.S: Likewise.
50728 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
50730 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50731 Define __sched_param instead of SCHED_* and sched_param when
50732 <bits/sched.h> is included with __need_schedparam defined.
50733 * bits/sched.h [__need_schedparam]
50734 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
50735 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50736 (__defined_schedparam): Define to 1.
50737 (__sched_param): New structure, identical to sched_param.
50738 (__need_schedparam): Undefine.
50740 2010-08-31 Mike Frysinger <vapier@gentoo.org>
50742 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50743 (epoll_create1): Declare.
50745 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50747 2010-08-31 Andreas Schwab <schwab@redhat.com>
50750 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50751 shifting retval into place.
50753 2010-09-01 Ulrich Drepper <drepper@redhat.com>
50755 * nis/rpcsvc/nis.h: Update copyright notice.
50756 * nis/rpcsvc/nis.x: Likewise.
50757 * nis/rpcsvc/nis_callback.h: Likewise.
50758 * nis/rpcsvc/nis_callback.x: Likewise.
50759 * nis/rpcsvc/nis_object.x: Likewise.
50760 * nis/rpcsvc/nis_tags.h: Likewise.
50761 * nis/rpcsvc/yp.h: Likewise.
50762 * nis/rpcsvc/yp.x: Likewise.
50763 * nis/rpcsvc/ypupd.h: Likewise.
50764 * nis/yp_xdr.c: Likewise.
50765 * nis/ypupdate_xdr.c: Likewise.
50767 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
50768 mainly the body of pmap_getport. Add parameters to specify timeouts.
50769 (pmap_getport): Use __libc_rpc_getport.
50770 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50771 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50772 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50774 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
50776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50779 2010-08-27 Roland McGrath <roland@redhat.com>
50781 * sysdeps/i386/i686/multiarch/Makefile
50782 (CFLAGS-varshift.c): New variable.
50784 2010-08-27 Ulrich Drepper <drepper@redhat.com>
50786 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50787 * sysdeps/i386/i686/multiarch/varshift.c: New file.
50789 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50791 * sysdeps/x86_64/strlen.S: Minimal code improvement.
50793 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
50795 * sysdeps/x86_64/strlen.S: Unroll the loop.
50796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50797 strlen-sse2 strlen-sse2-bsf.
50798 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50799 __strlen_no_bsf if bit_Slow_BSF is set.
50800 (__strlen_sse42): Removed.
50801 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50802 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50804 2010-08-25 Roland McGrath <roland@redhat.com>
50806 * sysdeps/x86_64/multiarch/varshift.S: File removed.
50807 * sysdeps/x86_64/multiarch/varshift.c: New file.
50808 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50809 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50810 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50811 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50813 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
50815 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50816 strlen-sse2 strlen-sse2-bsf.
50817 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50818 __strlen_sse2_bsf if bit_Slow_BSF is unset.
50819 (__strlen_sse2): Removed.
50820 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50821 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50823 bit_Slow_BSF for Atom.
50824 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50825 (index_Slow_BSF): Define.
50826 (HAS_SLOW_BSF): Define.
50828 2010-08-25 Ulrich Drepper <drepper@redhat.com>
50831 * resolv/res_init.c (__res_vinit): When no server address at all
50832 is given default to loopback.
50834 2010-08-24 Roland McGrath <roland@redhat.com>
50836 * configure.in: Remove config-name.h generation.
50837 * configure: Regenerated.
50838 * config-name.in: File removed.
50839 * scripts/config-uname.sh: New file.
50840 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50841 ($(objdir)config-name.h): New target.
50843 * sunrpc/rpc_parse.h: Avoid nested comment.
50845 2010-08-24 Richard Henderson <rth@redhat.com>
50846 Ulrich Drepper <drepper@redhat.com>
50847 H.J. Lu <hongjiu.lu@intel.com>
50849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50851 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50852 Replace _mm_srli_si128 with __m128i_shift_right. Replace
50853 _mm_alignr_epi8 with _mm_loadu_si128.
50854 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50855 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50856 (__m128i_shift_right): Removed.
50857 * sysdeps/i386/i686/multiarch/varshift.h: New file.
50858 * sysdeps/i386/i686/multiarch/varshift.S: New file.
50859 * sysdeps/x86_64/multiarch/varshift.h: New file.
50860 * sysdeps/x86_64/multiarch/varshift.S: New file.
50862 2010-08-21 Mike Frysinger <vapier@gentoo.org>
50864 * configure.in: Move assembler checks to before sysdep dir checking.
50866 2010-08-20 Petr Baudis <pasky@suse.cz>
50868 * LICENSES: Sync the sunrpc license.
50870 2010-08-19 Ulrich Drepper <drepper@redhat.com>
50872 * sunrpc/auth_des.c: Update copyright notice once again.
50873 * sunrpc/auth_none.c: Likewise.
50874 * sunrpc/auth_unix.c: Likewise.
50875 * sunrpc/authdes_prot.c: Likewise.
50876 * sunrpc/authuxprot.c: Likewise.
50877 * sunrpc/bindrsvprt.c: Likewise.
50878 * sunrpc/clnt_gen.c: Likewise.
50879 * sunrpc/clnt_perr.c: Likewise.
50880 * sunrpc/clnt_raw.c: Likewise.
50881 * sunrpc/clnt_simp.c: Likewise.
50882 * sunrpc/clnt_tcp.c: Likewise.
50883 * sunrpc/clnt_udp.c: Likewise.
50884 * sunrpc/clnt_unix.c: Likewise.
50885 * sunrpc/des_crypt.c: Likewise.
50886 * sunrpc/des_soft.c: Likewise.
50887 * sunrpc/get_myaddr.c: Likewise.
50888 * sunrpc/getrpcport.c: Likewise.
50889 * sunrpc/key_call.c: Likewise.
50890 * sunrpc/key_prot.c: Likewise.
50891 * sunrpc/openchild.c: Likewise.
50892 * sunrpc/pm_getmaps.c: Likewise.
50893 * sunrpc/pm_getport.c: Likewise.
50894 * sunrpc/pmap_clnt.c: Likewise.
50895 * sunrpc/pmap_prot.c: Likewise.
50896 * sunrpc/pmap_prot2.c: Likewise.
50897 * sunrpc/pmap_rmt.c: Likewise.
50898 * sunrpc/rpc/auth.h: Likewise.
50899 * sunrpc/rpc/auth_unix.h: Likewise.
50900 * sunrpc/rpc/clnt.h: Likewise.
50901 * sunrpc/rpc/des_crypt.h: Likewise.
50902 * sunrpc/rpc/key_prot.h: Likewise.
50903 * sunrpc/rpc/netdb.h: Likewise.
50904 * sunrpc/rpc/pmap_clnt.h: Likewise.
50905 * sunrpc/rpc/pmap_prot.h: Likewise.
50906 * sunrpc/rpc/pmap_rmt.h: Likewise.
50907 * sunrpc/rpc/rpc.h: Likewise.
50908 * sunrpc/rpc/rpc_des.h: Likewise.
50909 * sunrpc/rpc/rpc_msg.h: Likewise.
50910 * sunrpc/rpc/svc.h: Likewise.
50911 * sunrpc/rpc/svc_auth.h: Likewise.
50912 * sunrpc/rpc/types.h: Likewise.
50913 * sunrpc/rpc/xdr.h: Likewise.
50914 * sunrpc/rpc_clntout.c: Likewise.
50915 * sunrpc/rpc_cmsg.c: Likewise.
50916 * sunrpc/rpc_common.c: Likewise.
50917 * sunrpc/rpc_cout.c: Likewise.
50918 * sunrpc/rpc_dtable.c: Likewise.
50919 * sunrpc/rpc_hout.c: Likewise.
50920 * sunrpc/rpc_main.c: Likewise.
50921 * sunrpc/rpc_parse.c: Likewise.
50922 * sunrpc/rpc_parse.h: Likewise.
50923 * sunrpc/rpc_prot.c: Likewise.
50924 * sunrpc/rpc_sample.c: Likewise.
50925 * sunrpc/rpc_scan.c: Likewise.
50926 * sunrpc/rpc_scan.h: Likewise.
50927 * sunrpc/rpc_svcout.c: Likewise.
50928 * sunrpc/rpc_tblout.c: Likewise.
50929 * sunrpc/rpc_util.c: Likewise.
50930 * sunrpc/rpc_util.h: Likewise.
50931 * sunrpc/rpcinfo.c: Likewise.
50932 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50933 * sunrpc/rpcsvc/key_prot.x: Likewise.
50934 * sunrpc/rpcsvc/klm_prot.x: Likewise.
50935 * sunrpc/rpcsvc/mount.x: Likewise.
50936 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50937 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50938 * sunrpc/rpcsvc/rex.x: Likewise.
50939 * sunrpc/rpcsvc/rstat.x: Likewise.
50940 * sunrpc/rpcsvc/rusers.x: Likewise.
50941 * sunrpc/rpcsvc/sm_inter.x: Likewise.
50942 * sunrpc/rpcsvc/spray.x: Likewise.
50943 * sunrpc/rpcsvc/yppasswd.x: Likewise.
50944 * sunrpc/rtime.c: Likewise.
50945 * sunrpc/svc.c: Likewise.
50946 * sunrpc/svc_auth.c: Likewise.
50947 * sunrpc/svc_authux.c: Likewise.
50948 * sunrpc/svc_raw.c: Likewise.
50949 * sunrpc/svc_run.c: Likewise.
50950 * sunrpc/svc_simple.c: Likewise.
50951 * sunrpc/svc_tcp.c: Likewise.
50952 * sunrpc/svc_udp.c: Likewise.
50953 * sunrpc/svc_unix.c: Likewise.
50954 * sunrpc/svcauth_des.c: Likewise.
50955 * sunrpc/xcrypt.c: Likewise.
50956 * sunrpc/xdr.c: Likewise.
50957 * sunrpc/xdr_array.c: Likewise.
50958 * sunrpc/xdr_float.c: Likewise.
50959 * sunrpc/xdr_mem.c: Likewise.
50960 * sunrpc/xdr_rec.c: Likewise.
50961 * sunrpc/xdr_ref.c: Likewise.
50962 * sunrpc/xdr_sizeof.c: Likewise.
50963 * sunrpc/xdr_stdio.c: Likewise.
50965 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50968 2010-08-19 Andreas Schwab <schwab@redhat.com>
50970 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50972 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
50974 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50975 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50976 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50977 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50978 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50979 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50980 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50981 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50982 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50983 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50984 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50985 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50986 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50987 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50989 2010-07-26 Anton Blanchard <anton@samba.org>
50991 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50992 * malloc/arena.c (heap_trim): Likewise.
50994 2010-08-16 Ulrich Drepper <drepper@redhat.com>
50996 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50998 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50999 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51001 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51003 * sysdeps/i386/elf/Makefile: New file.
51005 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51007 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51008 from fanotify_init.
51009 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51010 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51012 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51014 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51016 * sysdeps/multiarch/strcmp.S: Likewise.
51018 2010-08-14 Ulrich Drepper <drepper@redhat.com>
51020 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51021 strncase_l-nonascii.
51022 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51023 Add strncase_l-ssse3.
51024 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51025 * sysdeps/x86_64/strcmp.S: Likewise.
51026 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51027 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51028 * sysdeps/x86_64/strncase.S: New file.
51029 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51030 * sysdeps/x86_64/strncase_l.S: New file.
51031 * string/Makefile (strop-tests): Add strncasecmp.
51032 * string/test-strncasecmp.c: New file.
51034 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51037 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51038 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51040 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51042 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51044 2010-08-12 Ulrich Drepper <drepper@redhat.com>
51046 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51047 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51048 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51050 2010-05-01 Alan Modra <amodra@gmail.com>
51052 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51053 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51054 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51055 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51056 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51057 tidying. Don't tail-call __sigjmp_save for static lib.
51058 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51060 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51061 (CALL_MCOUNT): Add eh info, and nop after bl.
51062 (TAIL_CALL_SYSCALL_ERROR): New macro.
51063 (PSEUDO_RET): Use it.
51064 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51065 Correct save location of integer regs and cr.
51066 (_dl_profile_resolve): Correct cr save location. Delete nops
51067 after bl when SHARED. Reduce cfi size a little by better
51068 placement of cfi directives.
51069 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51070 make a stack frame. Instead use parm save area as a temp.
51071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51072 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51074 Don't make a stack frame for parent, use parm save area.
51075 Increase child stack frame to 112 bytes. Don't save unused reg,
51076 and adjust reg usage. Set up cfi on error recovery and
51077 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51079 (__makecontext): Add dummy nop after jump to exit.
51080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51081 Use correct parm save area and cr save, reduce stack frame.
51082 Correct cfi for possible PSEUDO_RET frame setup.
51083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51084 Branch to local label emitted by PSEUDO_RET rather than
51087 2010-08-12 Andreas Schwab <schwab@redhat.com>
51090 * locale/programs/locale.c (print_assignment): New function.
51091 (show_locale_vars): Use it.
51093 2010-08-11 Ulrich Drepper <drepper@redhat.com>
51095 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51097 (struct statfs64): Likewise.
51098 (_STATFS_F_FLAGS): Define.
51099 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51100 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51101 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51102 (ST_VALID): Define locally.
51103 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51104 __statvfs_getflags, use the provided value.
51105 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51106 __ASSUME_STATFS_F_FLAGS.
51108 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51110 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51111 Add sys/fanotify.h.
51112 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51113 fanotify_mask for GLIBC_2.13.
51114 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51115 fanotify_init and fanotify_mark.
51116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51117 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51119 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51121 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51122 prlimit64 for GLIBC_2.13.
51123 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51125 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51128 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51129 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51130 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51131 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51133 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51136 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51137 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51139 * nss/Makefile: Add rules to build and run tst-nss-test1.
51140 * shlib-versions: Add entry for libnss_test1.
51141 * nss/nss_test1.c: New file.
51142 * nss/tst-nss-test1.c: New file.
51144 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51145 (__nss_configure_lookup): Set appropriate entry in
51146 __nss_configure_lookup to true.
51147 * nss/nsswitch.h: Define enum with indeces of databases in
51148 databases and __nss_database_custom arrays. Declare
51149 __nss_database_custom.
51150 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51151 to avoid using nscd when custom rules are installed.
51152 * nss/getXXbyYY_r.c: Likewise.
51153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51155 * nss/nss_files/files-parse.c: Whitespace fixes.
51157 2010-08-09 Ulrich Drepper <drepper@redhat.com>
51160 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51161 * posix/fnmatch_loop.c: Likewise.
51163 2010-07-17 Andi Kleen <ak@linux.intel.com>
51165 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51166 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51167 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51168 * Versions.def [GLIBC_2.13]: Add.
51170 2010-08-06 Ulrich Drepper <drepper@redhat.com>
51172 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51173 Also fail if tpwd after pwuid call is NULL.
51175 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51177 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51178 when converting to ms.
51180 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51182 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51183 EOPNOTSUPP errors with ENOTTY.
51184 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51185 EOPNOTSUPP errors with ENOTTY.
51187 2010-07-31 Ulrich Drepper <drepper@redhat.com>
51189 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51190 Add strcasecmp_l-ssse3.
51191 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51193 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51194 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51195 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51197 2010-07-30 Ulrich Drepper <drepper@redhat.com>
51199 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51201 * string/Makefile (strop-tests): Add strcasecmp.
51202 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51203 strcasecmp_l-nonascii.
51204 (gen-as-const-headers): Add locale-defines.sym.
51205 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51206 * sysdeps/x86_64/strcasecmp.S: New file.
51207 * sysdeps/x86_64/strcasecmp_l.S: New file.
51208 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51209 * sysdeps/x86_64/locale-defines.sym: New file.
51210 * string/test-strcasecmp.c: New file.
51212 * string/test-strcasestr.c: Test both ends of the range of characters.
51213 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51215 2010-07-29 Roland McGrath <roland@redhat.com>
51218 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51220 2010-07-27 Ulrich Drepper <drepper@redhat.com>
51222 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51225 2010-07-27 Andreas Schwab <schwab@redhat.com>
51227 * manual/memory.texi (Malloc Tunable Parameters): Document
51230 2010-07-26 Roland McGrath <roland@redhat.com>
51233 * configure.in (-fgnu89-inline check): Set and substitute
51234 gnu89_inline, not libc_cv_gnu89_inline.
51235 * configure: Regenerated.
51236 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51238 2010-07-26 Ulrich Drepper <drepper@redhat.com>
51240 * string/test-strnlen.c: New file.
51241 * string/Makefile (strop-tests): Add strnlen.
51242 * string/tester.c (test_strnlen): Add a few more test cases.
51243 * string/tst-strlen.c: Better error reporting.
51245 * sysdeps/x86_64/strnlen.S: New file.
51247 2010-07-24 Ulrich Drepper <drepper@redhat.com>
51249 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51250 lower-latency instructions.
51252 2010-07-23 Ulrich Drepper <drepper@redhat.com>
51254 * string/test-strcasestr.c: New file.
51255 * string/test-strstr.c: New file.
51256 * string/Makefile (strop-tests): Add strstr and strcasestr.
51257 * string/str-two-way.h: Don't undefine MAX.
51258 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51260 2010-07-21 Andreas Schwab <schwab@redhat.com>
51262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51263 strcasestr-nonascii.
51264 (CFLAGS-strcasestr-nonascii.c): Define.
51265 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51267 Remove unused attribute.
51269 2010-07-20 Roland McGrath <roland@redhat.com>
51271 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51272 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51273 ld.so.cache was broken. With it, there is no way to disable dsocaps
51274 like LD_HWCAP_MASK can disable hwcaps.
51276 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51278 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51280 2010-07-16 Ulrich Drepper <drepper@redhat.com>
51282 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51283 call in strcasestr.
51284 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51285 __strcasestr_sse42_nonascii.
51286 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51287 strcasestr-nonascii.c.
51288 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51290 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
51292 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51293 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51294 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51295 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51297 2010-07-09 Ulrich Drepper <drepper@redhat.com>
51299 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51302 2010-07-06 Andreas Schwab <schwab@redhat.com>
51305 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51308 2010-07-06 Ulrich Drepper <drepper@redhat.com>
51310 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51311 _PC_PIPE_BUF using F_GETPIPE_SZ.
51313 2010-07-05 Roland McGrath <roland@redhat.com>
51315 * manual/arith.texi (Rounding Functions): Fix rint description
51316 implicit in round description.
51318 2010-07-02 Ulrich Drepper <drepper@redhat.com>
51320 * elf/Makefile: Fix linking for a few tests to make recent linker
51323 2010-06-30 Andreas Schwab <schwab@redhat.com>
51325 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51326 $(common-objpfx)libc_nonshared.a.
51328 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
51330 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51331 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51332 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51333 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51334 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51335 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51336 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51337 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51352 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51353 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51354 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51355 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51356 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51357 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51358 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51359 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51360 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51361 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51362 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51363 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51379 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51381 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51382 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51383 * string/memmove.c (memmove): Renamed to ...
51384 (MEMMOVE): ...this. Default to memmove.
51385 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51386 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51389 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51390 mempcpy-ssse3-back memmove-ssse3-back.
51391 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51392 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51393 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51394 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51395 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51396 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51397 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51398 * sysdeps/x86_64/multiarch/memmove.c: New file.
51399 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51400 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51401 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51402 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51403 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51404 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51406 (index_Fast_Copy_Backward): Define.
51407 (HAS_ARCH_FEATURE): Define.
51408 (HAS_FAST_REP_STRING): Define.
51409 (HAS_FAST_COPY_BACKWARD): Define.
51411 2010-06-21 Andreas Schwab <schwab@redhat.com>
51413 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51414 Restore proper fallback handling.
51416 2010-06-19 Ulrich Drepper <drepper@redhat.com>
51419 * posix/group_member.c (__group_member): Correct checking loop.
51421 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51422 OOM in getpwuid_r correctly. Return error number when the caller
51423 should return, otherwise -1.
51424 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51425 call returning > 0 value.
51426 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51428 2010-06-07 Andreas Schwab <schwab@redhat.com>
51430 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51431 libc_nonshared.a from targets in modules-names.
51433 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51435 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51438 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
51440 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51441 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51443 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51445 2010-06-02 Andreas Schwab <schwab@redhat.com>
51447 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51449 2010-06-14 Ulrich Drepper <drepper@redhat.com>
51451 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51453 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51454 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51457 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51458 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51460 2010-06-14 Roland McGrath <roland@redhat.com>
51462 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51464 2010-06-07 Jakub Jelinek <jakub@redhat.com>
51466 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51467 __REDIRECT followed by __THROW.
51468 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51469 * posix/getopt.h (getopt): Likewise.
51471 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51473 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51474 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51475 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51477 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51478 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51480 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
51482 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51484 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51488 Properly check family and model.
51490 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51492 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51494 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
51496 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51498 2010-05-21 Ulrich Drepper <drepper@redhat.com>
51500 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51503 2010-05-19 Andreas Schwab <schwab@redhat.com>
51505 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51508 2010-05-21 Andreas Schwab <schwab@redhat.com>
51510 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51511 and internal_recvmmsg.
51512 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51513 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51514 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51515 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51517 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51518 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51519 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51521 2010-05-20 Andreas Schwab <schwab@redhat.com>
51523 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51525 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
51527 POWER7 optimizations.
51528 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51529 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51531 2010-05-19 Ulrich Drepper <drepper@redhat.com>
51533 * version.h: Update for 2.13 development version.
51535 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
51537 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51538 exceptions. Return 0.
51540 2010-05-07 Roland McGrath <roland@redhat.com>
51542 * elf/ldconfig.c (main): Add a const.
51544 2010-05-06 Ulrich Drepper <drepper@redhat.com>
51546 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51547 (args_options): Add no-idn option.
51548 (ahosts_keys_int): Add idn_flags to ai_flags.
51549 (parse_option): Handle 'i' option to clear idn_flags.
51551 * malloc/malloc.c (_int_free): Possible race in the most recently
51552 added check. Only act on the data if no current modification
51555 See ChangeLog.17 for earlier changes.